UNPKG

@hakit/components

Version:
20 lines 901 B
export type ThemeStore = { theme: { /** the tint factor to apply to the shade colors @default 0.8 */ tint?: number; /** the color hue shift value @default 220 */ hue?: number; /** the color saturation value @default 60 */ saturation?: number; /** the color lightness value @default 54 */ lightness?: number; /** the contrast threshold for text @default 65 */ contrastThreshold?: number; /** dark mode or light mode @default true */ darkMode?: boolean; }; /** Will merge input theme values with the default values, undefined values passed through the setTheme function will be ignored */ setTheme: (partialTheme: ThemeStore["theme"]) => void; }; export declare const useThemeStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ThemeStore>>; //# sourceMappingURL=store.d.ts.map