UNPKG

@cmk/fe_utils

Version:
29 lines (28 loc) 811 B
export type MatchingObjectKeys<O, MatchType> = { [K in keyof O]-?: O[K] extends MatchType ? K : never; }[keyof O]; export declare enum ThemeColorsEnum { primary = "primary", secondary = "secondary", error = "error", warning = "warning", info = "info", success = "success" } export declare enum ThemeTextColorsEnum { primary = "text.primary", secondary = "text.secondary", disabled = "text.disabled" } export declare enum ThemeBackgroundColorsEnum { default = "background.default", paper = "background.paper" } export declare enum ThemeActionColorsEnum { active = "action.active", disabled = "action.disabled", disabledBackground = "action.disabledBackground", focus = "action.focus", hover = "action.hover", selected = "action.selected" }