diff --git a/src/components/editor/theme-preset-select.tsx b/src/components/editor/theme-preset-select.tsx index fdd41ce4..a3600e29 100644 --- a/src/components/editor/theme-preset-select.tsx +++ b/src/components/editor/theme-preset-select.tsx @@ -26,6 +26,7 @@ import { } from "../ui/tooltip"; import { Input } from "../ui/input"; import { Badge } from "../ui/badge"; +import { cn } from "@/lib/utils"; interface ThemePresetSelectProps { presets: Record; @@ -56,6 +57,7 @@ const ThemePresetSelect: React.FC = ({ onPresetChange, }) => { const { themeState } = useEditorStore(); + const { hasChangedThemeFromDefault } = useEditorStore(); const { theme, toggleTheme } = useTheme(); const mode = themeState.currentMode; const [search, setSearch] = useState(""); @@ -118,7 +120,12 @@ const ThemePresetSelect: React.FC = ({