@@ -130,6 +133,7 @@
main {
width: 100%;
@apply bg-background;
+ @apply dark:bg-gray-800;
box-shadow:
0px -5px 10px 10px rgba(200,200,200,0.4);
}
diff --git a/src/routes/Navbar.svelte b/src/routes/Navbar.svelte
index cc0e47c..0f63ef0 100644
--- a/src/routes/Navbar.svelte
+++ b/src/routes/Navbar.svelte
@@ -2,6 +2,7 @@
import { page } from '$app/stores';
import { routes } from "$lib/sitemap.ts"
import { name } from '$content/metadata.json';
+ import ThemeSwitch from "$lib/components/ThemeSwitch.svelte"
import { Rss } from "lucide-svelte";
function isCurrentLink(pathname, route) {
@@ -19,6 +20,7 @@
class:disabled-link={item.disabled}
href={item.route}>{item.name}
{/each}
+