logsdx
Version:
<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>
29 lines (28 loc) • 824 B
TypeScript
export interface ColorPalette {
readonly primary: string;
readonly secondary: string;
readonly success: string;
readonly warning: string;
readonly error: string;
readonly info: string;
readonly text: string;
readonly background: string;
readonly [key: string]: string;
}
export interface ThemePreset {
readonly name: string;
readonly description?: string;
readonly mode?: "light" | "dark" | "auto";
}
export interface SimpleThemeConfig {
readonly name: string;
readonly description?: string;
readonly mode?: "light" | "dark" | "auto";
readonly colors: ColorPalette;
readonly keywords?: ReadonlyArray<string>;
readonly patterns?: ReadonlyArray<{
readonly name: string;
readonly pattern: string;
readonly color: string;
}>;
}