Dark ModeHow to enable dark mode in your app.feat: improve component UIWill change the components soon. will batter UI Dark Mode DarkModeToggle.tsx"use client"; import * as React from "react"; import { useTheme } from "@/provider/theme"; import { Button } from "@/components/ui/button"; export function ModeToggle() { const { setTheme } = useTheme(); return ( <div className="flex my-10 space-x-5"> <Button onClick={() => setTheme("light")}>Light</Button> <Button onClick={() => setTheme("dark")}>Dark</Button> <Button onClick={() => setTheme("system")}>system</Button> </div> ); }PreviousBlockNextruru.json