Skip to content

Commit

Permalink
Tweaking the hidden theme for fun and fixing mobile wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoore14 committed Nov 17, 2023
1 parent 58d49a0 commit b51bfec
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
>
<div class="navbar">
<Logo width={175} height={55} dark={ $themeStore === 'dark' ? true : false }/>
<Hamburger bind:open={$menuStore} --color={ $themeStore === 'light' || $themeStore === 'exp' ? 'black' : 'white' }/>
<Hamburger bind:open={$menuStore} --color={ $themeStore === 'light' || $themeStore === 'exp' ? 'white' : 'black' }/>
</div>
<div class="menubar">
<Menu />
Expand Down
8 changes: 2 additions & 6 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
position: relative;
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex-wrap: wrap-reverse;
justify-content: flex-start;
align-items: flex-start;
align-items: flex-end;
gap: 2rem;
width: 100%;
height: auto;
Expand All @@ -67,10 +67,6 @@
}
@media only screen and (max-width: 430px) {
.main-content {
margin-top: 10rem;
}
section {
width: 100%;
height: auto;
Expand Down
26 changes: 14 additions & 12 deletions src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
--slate: #2C6483;
--cream: #F3EAD9;

--whiteGlass: rgba(255, 255, 255, 0.5);
--whiteGlass: rgba(255, 255, 255, 0.65);
--blackGlass: rgba(0, 0, 0, 0.75);
--expGlass: rgba(204,225,249, 0.75);

Expand Down Expand Up @@ -64,18 +64,20 @@
}

[data-theme='exp'] {
--primary-bg-color: #fff;
--primary-text-color: #394e6a;
--cta-btn-bg: #057Aff;
--cta-btn-fg: #dbe1ff;
--primary-bg-color: #000;
--primary-text-color: green;
--cta-btn-bg: green;
--cta-btn-fg: white;
--cta-btn-hover-bg: #046DE5;
--header-gradient: linear-gradient(to right, #fff 0%, #f0f6ff 100%);
--header-text-color: #394e6a;
--gradient-bg-vert: linear-gradient(to bottom, #f0f6ff 0%, #fff 100%);
--glass-bg: var(--expGlass);
--filter-invert: invert(0);
--triforce-opacity: 0.75;
--border-color: #f0f6ff;
--header-gradient: linear-gradient(to right, #000 0%, #222 100%);
--header-text-color: green;
--gradient-bg-vert: linear-gradient(to bottom, #222 0%, #000 100%);
--glass-bg: var(--blackGlass);
--filter-invert: invert(1);
--triforce-opacity: 0.05;
--border-color: #222;
--header-font-family: 'Courier New', Courier, monospace;
--body-font-family: 'Courier New', Courier, monospace;
}

* {
Expand Down

0 comments on commit b51bfec

Please sign in to comment.