Skip to content

Commit db98332

Browse files
committed
fix theme swither
1 parent d6987df commit db98332

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/routes/+layout.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@
5353
</main>
5454

5555
<Footer text="Copyright &copy; 2025-Present Hyper-Z11. All rights reserved." />
56+
57+
<!--
58+
Ghost element for register some classes to make
59+
theme switcher works properly.
60+
-->
61+
<span class={["dark:bg-neutral-800", "dark:bg-neutral-900", "dark:text-white"].join(" ")}></span>

src/routes/about/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<Head {config} />
2626

2727
<section id="about">
28-
<img class="mx-auto w-1/3 rounded border-4 border-gray-700" src="/favicon.png" alt="Profile" />
28+
<img class="mx-auto w-1/3 rounded border-4 border-neutral-600" src="/favicon.png" alt="Profile" />
2929
<h2>About</h2>
3030
<p class="**:inline">
3131
Hello, i'm <b>Hyper-Z11</b> (he/him). The {yearsOld} years old beginner programmer. My real name is

0 commit comments

Comments
 (0)