"use client" import { Monitor, Moon, Sun } from "lucide-react" import { useTheme } from "next-themes" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/shared/components/ui/card" import { Label } from "@/shared/components/ui/label" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/shared/components/ui/select" type ThemeChoice = "system" | "light" | "dark" export function ThemePreferencesCard() { const { theme, setTheme } = useTheme() const value: ThemeChoice = theme === "light" || theme === "dark" || theme === "system" ? theme : "system" return ( Theme Choose how the admin console looks on this device.
) }