Skip to content

Commit ee8862f

Browse files
committed
use default font color styles for ThemeToggle
1 parent def7b9f commit ee8862f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/web/src/common/components/Button/ThemeToggle.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { PropsWithClassName } from '@/common/utils/types';
22
import { useSetSettings } from '@/common/api/useSetSettings';
33
import { useSettings } from '@/common/hooks/useSettings';
4-
import { cn } from '@/common/utils/css';
54
import Button from './Button';
65
import FAIcon from '@/common/components/Icon/FAIcon';
76

@@ -20,7 +19,7 @@ const ThemeToggle = ({ className }: PropsWithClassName) => {
2019
<Button
2120
variant="text"
2221
size="icon"
23-
className={cn('text-primary', className)}
22+
className={className}
2423
title="Dark Mode"
2524
onClick={() => setSettings({ theme: 'dark' })}
2625
testId="button-theme-dark"
@@ -31,7 +30,7 @@ const ThemeToggle = ({ className }: PropsWithClassName) => {
3130
<Button
3231
variant="text"
3332
size="icon"
34-
className={cn('text-primary', className)}
33+
className={className}
3534
title="Light Mode"
3635
onClick={() => setSettings({ theme: 'light' })}
3736
testId="button-theme-light"

0 commit comments

Comments
 (0)