UNPKG

@twstyled/theme

Version:

Runtime theming support for twstyled -- the full-featured Tailwind CSS + CSS in JS Compiler

40 lines (39 loc) 853 B
export declare type ColorMode = 'light' | 'dark'; export interface Colors { accent: string; articleText: string; bg: string; brand: string; brandBg: string; button: string; buttonBg: string; buttonBorder: string; buttonHover: string; buttonHoverBg: string; card: string; error: string; errorBg: string; gradient: string; grey: string; headings: string; horizontalRule: string; hover: string; inputBg: string; primary: string; prism: any; progress: string; secondary: string; secondarygrey: string; success: string; track: string; } export interface Theme { colors: Colors & { modes: { dark: Colors; }; }; useColorSchemeMediaQuery: boolean; useLocalStorage: boolean; initialColorModeName: ColorMode; }