import React from 'react' import { X, RotateCcw, ChevronDown } from 'lucide-react' import { themes } from '@/lib/lofi-themes' interface SettingsModalProps { isOpen: boolean onClose: () => void currentTheme: string setCurrentTheme: (themeId: string) => void } const SettingsModal: React.FC = ({ isOpen, onClose, currentTheme, setCurrentTheme, }) => { const handleResetDefaults = () => { if ( window.confirm( 'This will reset all settings to their defaults. Continue?' ) ) { localStorage.removeItem('lofi-volume') localStorage.removeItem('lofi-theme') localStorage.removeItem('lofi-effects-volume') localStorage.removeItem('lofi-effect-volumes') localStorage.removeItem('customChannels') localStorage.removeItem('hiddenDefaultChannels') localStorage.removeItem('customSoundEffects') window.location.reload() } } if (!isOpen) return null return (

Settings

) } export default SettingsModal