export interface ThemeButtonColor { background: string; border: string; text: string; focus: string; } export interface ThemeButtonVariants { primary: ThemeButtonColor; secondary: ThemeButtonColor; danger: ThemeButtonColor; success: ThemeButtonColor; copy: ThemeButtonColor; menu: ThemeButtonColor; disabled: ThemeButtonColor; /** Low-emphasis buttons for secondary UI controls, such as Calendar selections and toolbar actions. */ subtle: ThemeButtonColor; } export type ThemeButtonVariant = keyof ThemeButtonVariants; export interface ThemeButton { variants: ThemeButtonVariants; } export interface ThemeTypographyColor { color: string; hover?: string; } export interface ThemeTypographyColors { display: ThemeTypographyColor; heading: ThemeTypographyColor; subheading: ThemeTypographyColor; body: ThemeTypographyColor; caption: ThemeTypographyColor; link: ThemeTypographyColor; validatorFormError: ThemeTypographyColor; validatorFormSuccess: ThemeTypographyColor; validatorInputError: ThemeTypographyColor; validatorDialogError: ThemeTypographyColor; validatorDialogSuccess: ThemeTypographyColor; loaderForm: ThemeTypographyColor; loaderPage: ThemeTypographyColor; } export type ThemeTypographyVariant = keyof ThemeTypographyColors; export interface ThemeTypography { colors: ThemeTypographyColors; } export interface ThemeSchema { name: string; fontFamily: string; components: { button: ThemeButton; typography: ThemeTypography; }; }