import { Theme, useTheme } from "remix-themes"; import { FloatingDock } from "./floatingdocks"; import { Sun, Moon } from "lucide-react"; interface ThemeFloatingDockProps { className?: string; } export function ThemeFloatingDock({ className }: ThemeFloatingDockProps) { const [theme, setTheme] = useTheme(); const items = [ { title: "Light Mode", icon: ( ), href: "#", isActive: theme === Theme.LIGHT, onClick: () => setTheme(Theme.LIGHT) }, { title: "Dark Mode", icon: ( ), href: "#", isActive: theme === Theme.DARK, onClick: () => setTheme(Theme.DARK) } ]; return ( ); }