Skip to content

Commit 03d01a0

Browse files
committed
fixup! feat: add catalog UI to browse the catalog
Change-Id: I50719b33e95c1453f2fccd39ff4be27cf521616f Signed-off-by: Florent Benoit <[email protected]>
1 parent c07360c commit 03d01a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/Appearance.svelte

+2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ $effect(() => {
99
// toggle the dark class on the html element
1010
if (isDarkTheme) {
1111
html.classList.add('dark');
12+
html.classList.remove('light');
1213
html.setAttribute('style', 'color-scheme: dark;');
1314
} else {
1415
html.classList.remove('dark');
16+
html.classList.add('light');
1517
html.setAttribute('style', 'color-scheme: light;');
1618
}
1719
});

0 commit comments

Comments
 (0)