UNPKG

@flanksource/clicky-ui

Version:

Flanksource Clicky UI — React component library built on shadcn/ui with light/dark and density theming.

17 lines 609 B
import { ReactNode } from 'react'; export type Theme = "light" | "dark" | "system"; export type ResolvedTheme = "light" | "dark"; type ThemeContextValue = { theme: Theme; resolvedTheme: ResolvedTheme; setTheme: (next: Theme) => void; }; export type ThemeProviderProps = { children: ReactNode; defaultTheme?: Theme; storageKey?: string; }; export declare function ThemeProvider({ children, defaultTheme, storageKey, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useTheme(): ThemeContextValue; export {}; //# sourceMappingURL=use-theme.d.ts.map