import { Stack, Text, Group, SegmentedControl, rem } from '@mantine/core'; import { Sun, Moon, Monitor } from 'lucide-react'; import { useTheme, type ThemeMode } from '@/contexts/ThemeContext'; export const AppearanceTab = () => { const { themeMode, setThemeMode } = useTheme(); return (
Theme Choose how the application should appear setThemeMode(value as ThemeMode)} data={[ { label: ( Light ), value: 'light', }, { label: ( Dark ), value: 'dark', }, { label: ( System ), value: 'system', }, ]} />
); };