UNPKG

xtreme-ui

Version:

Collection of reusable components that can be used in web projects

24 lines 700 B
import { ReactNode } from 'react'; export type TThemeInitialType = { isDarkTheme: boolean | undefined; themeScheme: TThemeScheme | undefined; setThemeScheme: (scheme: TThemeScheme | undefined) => void; themeColor: TThemeColor | undefined; setThemeColor: (color: TThemeColor | undefined) => void; }; export type TThemeProviderProps = { children?: ReactNode; }; export declare enum EThemeScheme { light = "light", dark = "dark", auto = "auto" } export type TThemeScheme = keyof typeof EThemeScheme; export declare const defaultScheme = EThemeScheme.auto; export type TThemeColor = { h: number; s: number; l: number; }; //# sourceMappingURL=types.d.ts.map