website-2/src/components/navbar/themeController.svelte
Nick Bland d0afdc696e
Improve Responsiveness
- Remove old SVG and use a proper library for iconography
~ Adjust formatting for various objects, including the footer, and countdown
+ Add in a barebones home page
2024-04-20 15:48:54 +10:00

14 lines
381 B
Svelte

<script lang="ts">
import Sun from "lucide-svelte/icons/sun";
import Moon from "lucide-svelte/icons/moon";
</script>
<label class="swap swap-rotate">
<!-- this hidden checkbox controls the state -->
<input type="checkbox" class="theme-controller" value="winter" />
<Sun class="w-7 h-7 swap-on fill-current" />
<Moon class="w-7 h-7 swap-off fill-current" />
</label>