all the themes together + switcher

This commit is contained in:
2026-03-07 13:18:56 -05:00
parent 6bf81e0b20
commit 657ad09a20
3 changed files with 194 additions and 12 deletions

View File

@@ -1,10 +1,12 @@
---
import '@styles/main.css';
import ThemeSwitcher from '@components/ThemeSwitcher.astro';
---
<style>
header {
background-color: var(--primary-color-faded);
border-bottom: var(--header-border-width) solid var(--header-border-color);
}
nav {
@@ -26,6 +28,7 @@ import '@styles/main.css';
&:hover {
background: var(--nav-hover);
color: var(--nav-hover-color);
}
}
}
@@ -45,6 +48,8 @@ import '@styles/main.css';
</nav>
</header>
<ThemeSwitcher />
<main>
<slot />
</main>