diff --git a/docs/components/theme-toggler.tsx b/docs/components/theme-toggler.tsx index 50d157db..bed0ced5 100644 --- a/docs/components/theme-toggler.tsx +++ b/docs/components/theme-toggler.tsx @@ -4,55 +4,64 @@ import { Moon, Sun } from "lucide-react"; import { useTheme } from "next-themes"; import { Button } from "@/components/ui/button"; import { - DropdownMenu, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuTrigger, + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; export function ThemeToggle() { - const { setTheme } = useTheme(); + const { setTheme } = useTheme(); - return ( - - - - - - setTheme("light")}> - Light - - setTheme("dark")}> - Dark - - setTheme("system")}> - System - - - - ); + return ( + + + + + + setTheme("light")} + > + Light + + setTheme("dark")} + > + Dark + + setTheme("system")} + > + System + + + + ); } export function MobileThemeToggle() { - const { theme, setTheme } = useTheme(); - return ( -
- -
- ); + const { theme, setTheme } = useTheme(); + return ( +
+ +
+ ); }