build-in-public-bot
Version:
AI-powered CLI bot for automating build-in-public tweets with code screenshots
43 lines • 1.14 kB
TypeScript
export interface ThemeConfig {
name: string;
background: string;
text: string;
comment: string;
keyword: string;
string: string;
number: string;
operator: string;
function: string;
variable: string;
type: string;
windowControls?: {
background: string;
};
shader?: {
colors?: {
primary: string;
secondary: string;
accent: string;
};
parameters?: {
intensity: number;
scale: number;
};
};
}
export declare class ThemeLoader {
private static instance;
private themes;
private initialized;
private constructor();
static getInstance(): ThemeLoader;
getTheme(themeName: string): Promise<ThemeConfig>;
getAllThemes(): string[];
private loadDefaultThemes;
private getDefaultTheme;
registerTheme(theme: ThemeConfig): void;
loadCustomThemes(themesDir: string): Promise<void>;
getThemeInfo(themeName: string): ThemeConfig | undefined;
getColorMapping(theme: ThemeConfig): Record<string, string>;
}
//# sourceMappingURL=theme-loader.d.ts.map