useIsDarkMode
useIsDarkMode
A hook that returns whether the document is currently in dark mode, updating live as the `dark` class toggles.
Dark mode: false
Dark mode: false
npx shadcn add @ectopcoi-components/use-dark-modeA hook that returns whether the document is currently in dark mode, updating live as the `dark` class toggles.
Dark mode: false
Dark mode: false
npx shadcn add @ectopcoi-components/use-dark-mode