Skip to content

Commit c9aeb8b

Browse files
committed
Swap sun and moon icons to make more sense
1 parent 3917053 commit c9aeb8b

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/routes/+page.svelte

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@
99
Card,
1010
Helper,
1111
Label,
12-
Button,
13-
Popover,
14-
Kbd,
15-
Dropzone,
16-
Alert
12+
Dropzone
1713
} from 'flowbite-svelte';
18-
import { ArrowUpRightFromSquareOutline } from 'flowbite-svelte-icons';
14+
import { ArrowUpRightFromSquareOutline, MoonOutline, SunOutline } from 'flowbite-svelte-icons';
1915
2016
let filesInDropzone: FileList | null = $state(null);
2117
@@ -50,9 +46,18 @@
5046
>
5147
</NavBrand>
5248
<NavUl>
53-
<NavLi href="https://github.com/colorblockifier/colorblockifier.github.io">About</NavLi>
49+
<NavLi class="underline" href="https://github.com/colorblockifier/colorblockifier.github.io"
50+
>About</NavLi
51+
>
5452
</NavUl>
55-
<DarkMode class="cursor-pointer" />
53+
<DarkMode class="cursor-pointer">
54+
{#snippet lightIcon()}
55+
<MoonOutline />
56+
{/snippet}
57+
{#snippet darkIcon()}
58+
<SunOutline />
59+
{/snippet}
60+
</DarkMode>
5661
</Navbar>
5762

5863
<div class="flex grow flex-col items-center bg-gray-100 p-4 dark:bg-gray-700">

0 commit comments

Comments
 (0)