fix: Switch button variant
This commit is contained in:
parent
da933c04d7
commit
0032c6c611
@ -12,7 +12,7 @@
|
||||
--popover-foreground: 240 10% 3.9%;
|
||||
--primary: 142.1 76.2% 36.3%;
|
||||
--primary-foreground: 355.7 100% 97.3%;
|
||||
--secondary: 240 4.8% 95.9%;
|
||||
--secondary: 20 6% 90%;
|
||||
--secondary-foreground: 240 5.9% 10%;
|
||||
--muted: 240 4.8% 95.9%;
|
||||
--muted-foreground: 240 3.8% 46.1%;
|
||||
|
@ -5,7 +5,7 @@
|
||||
import { Button } from '$lib/components/ui/button/index';
|
||||
</script>
|
||||
|
||||
<Button on:click={toggleMode} variant="outline" size="icon" class="ml-auto">
|
||||
<Button on:click={toggleMode} variant="secondary" size="icon" class="ml-auto">
|
||||
<Sun class="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />
|
||||
<Moon class="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" />
|
||||
<span class="sr-only">Toggle theme</span>
|
||||
|
Loading…
Reference in New Issue
Block a user