]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
fix dark mode
authorCameron Otsuka <cameron@otsuka.haus>
Sun, 15 Jun 2025 22:22:53 +0000 (15:22 -0700)
committerCameron Otsuka <cameron@otsuka.haus>
Sun, 15 Jun 2025 22:22:53 +0000 (15:22 -0700)
src/components/footer.astro
src/layouts/base.astro

index eb64895..cf54646 100644 (file)
@@ -6,7 +6,7 @@ const socials = await getCollection('socials');
 const currentYear = new Date().getFullYear();
 ---
 <div class="text-center">
-    <hr class="w-48 h-1 mx-auto bg-black border-0" />
+    <hr class="w-48 h-1 mx-auto bg-black dark:bg-white border-0" />
     <address>
         <menu>
             {socials.map((social) => (
index 36aebe1..d9387cd 100644 (file)
@@ -24,7 +24,7 @@ const { title, description } = Astro.props;
                        <HeadPage />
                </slot>
        </head>
-       <body class="antialiased md:subpixel-antialiased w-screen p-4">
+       <body class="antialiased md:subpixel-antialiased w-screen p-4 bg-white dark:bg-gray-900">
                <div id="container" class="max-w-3xl mx-auto prose dark:prose-invert prose-headings:mb-0">
                        <Heading />
                        <main>