"use client"; import { useTheme } from "@/contexts/ThemeContext"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import { Sun, Moon, Accessibility } from "lucide-react"; const themes = [ { value: "light", label: "일반 모드", icon: Sun, color: "text-orange-500" }, { value: "dark", label: "다크 모드", icon: Moon, color: "text-blue-400" }, { value: "senior", label: "시니어 모드", icon: Accessibility, color: "text-green-500" }, ]; export function ThemeSelect() { const { theme, setTheme } = useTheme(); const currentTheme = themes.find((t) => t.value === theme); const CurrentIcon = currentTheme?.icon || Sun; return ( ); }