UNPKG

@lcap/builder

Version:
28 lines (27 loc) 636 B
export interface ThemeVariable { title?: string; desc?: string; type?: string; name: string; value: string; hidden?: boolean; [key: string]: any; } export interface ThemeComponentVars { name: string; useGlobalTokens: string[]; selector: string; variables: ThemeVariable[]; hidden?: boolean; alias?: string[]; } export interface ThemeGlobalVars { selector: string; variables: ThemeVariable[]; } export interface ThemeInfo { global: ThemeGlobalVars; components: ThemeComponentVars[]; } declare const _default: (cssContent: string) => ThemeInfo; export default _default;