Skip to content

Commit 651bf23

Browse files
committed
fix: theme toggle
1 parent 488c900 commit 651bf23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/dashboard/components/layout/theme-toggle.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ export function ThemeToggle({ className }: ThemeTogglerProps) {
3535
>
3636
<SunIcon
3737
className={cn(
38-
'h-5 w-5 transition-all duration-300',
38+
'h-5 w-5 transition-all duration-300 not-dark:text-primary',
3939
theme === 'light' ? 'scale-100 rotate-0' : 'scale-0 -rotate-90'
4040
)}
4141
size={32}
4242
weight="duotone"
4343
/>
4444
<MoonIcon
4545
className={cn(
46-
'absolute h-5 w-5 transition-all duration-300',
46+
'absolute h-5 w-5 transition-all duration-300 not-dark:text-primary',
4747
theme === 'dark' ? 'scale-100 rotate-0' : 'scale-0 rotate-90'
4848
)}
4949
size={32}
5050
weight="duotone"
5151
/>
5252
<MonitorIcon
5353
className={cn(
54-
'absolute h-5 w-5 transition-all duration-300',
54+
'absolute h-5 w-5 transition-all duration-300 not-dark:text-primary',
5555
theme === 'system' ? 'scale-100 rotate-0' : 'scale-0 rotate-90'
5656
)}
5757
size={32}

0 commit comments

Comments
 (0)