"use client"; /** * ModeToggle * * Small theme toggle dropdown using next-themes. * * Note: * - This is not wired into the AppShell TopNav yet (RHL-019 uses a placeholder button). * - We keep it in the project because it is useful later and already proven working. */ import { Moon, Sun } from "lucide-react"; import { useTheme } from "next-themes"; import { Button } from "@/components/ui/button"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; export function ModeToggle() { const { setTheme } = useTheme(); return ( setTheme("light")}> Hell setTheme("dark")}> Dunkel setTheme("system")}> System ); }