]> 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 eb6489558fa7d4cb6fc984fc33d5cf6b4ef1f164..cf54646dee424ef387d9d668fc77a49c3f3e9b20 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 36aebe11c95462d8e93c55839a0e3f1fb52884b1..d9387cdb63d676d69498f1c87c643384f44ba134 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>