import { Check } from 'lucide-react' import { useTranslation } from 'react-i18next' import { useTheme } from '../../context/ThemeProvider' import { cn } from '../../lib/utils' import { THEME_ICONS, THEME_OPTIONS } from './constants' export function AppearanceCard() { const { theme, setTheme } = useTheme() const { t } = useTranslation('settings') return (

{t('appearance.title')}

{t('appearance.description')}

{THEME_OPTIONS.map((option) => { const Icon = THEME_ICONS[option.value] const isSelected = theme === option.value return ( ) })}
) }