"use client"; import * as React from "react"; import { useTheme } from "next-themes"; import { hexToRGB } from "@/lib/utils"; import { cn } from "@/lib/utils"; import { Label } from "@/components/ui/label"; import { Icon } from "@/components/ui/icon" import { Check } from "lucide-react"; const allThemes = [ { key: "light", label: "Light", icon: "heroicons:sun" }, { key: "dark", label: "Dark", icon: "heroicons:moon" }, { key: "system", label: "System", icon: "heroicons:window" }, ]; const ColorSchema = () => { const { theme, setTheme, resolvedTheme: mode } = useTheme(); return (