UNPKG

modulo-editor

Version:

A flexible and extensible block-based editor for React applications

37 lines (36 loc) 689 B
export interface ThemeColors { background: { default: string; paper: string; }; text: { primary: string; secondary: string; }; primary: { main: string; contrastText: string; }; secondary: { main: string; contrastText: string; }; border: { color: string; }; success: { main: string; }; error: { main: string; }; disabled: string; divider: string; } export type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]; }; export interface ThemeConfig { mode: "light" | "dark"; colors: ThemeColors; }