ultra-design
Version:
31 lines (30 loc) • 779 B
TypeScript
declare type ThemeMode = 'light' | 'dark';
interface ThemeModeStyle {
textColor: string;
reverseTextColor: string;
borderColor: string;
backgroundColor: string;
secondBackgroundColor: string;
thirdBackgroundColor: string;
reverseBgColor: string;
secondReverseBgColor: string;
thirdReverseBgColor: string;
disabledBgColor: string;
disabledTextColor: string;
disabledBorderColor: string;
}
export interface Theme {
mode: ThemeMode;
style: {
primaryColor: string;
radius: number;
boxShadow: string;
successColor: string;
warningColor: string;
errorColor: string;
};
light: ThemeModeStyle;
dark: ThemeModeStyle;
}
export declare const defaultTheme: Theme;
export {};