UNPKG

@coinmeca/ui

Version:

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

9 lines 303 B
export type Mode = "light" | "dark"; export interface Theme { theme: Mode; setTheme: (mode: Mode) => void; isForcedDark?: () => boolean; } export declare function detectForcedDarkMode(): boolean; export default function useTheme(initial?: Mode): Theme; //# sourceMappingURL=useTheme.d.ts.map