diff --git a/src/components/settings-modal.tsx b/src/components/settings-modal.tsx index 35d1c82..9df9051 100644 --- a/src/components/settings-modal.tsx +++ b/src/components/settings-modal.tsx @@ -12,6 +12,7 @@ import { Stack, Switch, Text, + VisuallyHidden, rem, useMantineColorScheme, } from "@mantine/core"; @@ -89,6 +90,10 @@ function SettingsModal({ opened, onClose }: SettingsModalProps) { setLocale(locale); }; + const themeIconProps = { + style: { width: rem(16), height: rem(16), display: "block" }, + }; + const settingsItems: SettingsItem[] = [ { title: LL.THEME(), @@ -99,25 +104,28 @@ function SettingsModal({ opened, onClose }: SettingsModalProps) { { value: "light", label: ( -
- -
+ <> + + {LL.THEME_LIGHT()} + ), }, { value: "dark", label: ( -
- -
+ <> + + {LL.THEME_DARK()} + ), }, { value: "auto", label: ( -
- -
+ <> + + {LL.THEME_AUTO()} + ), }, ]}