export type ThemeMode = 'idle' | 'busy' | 'error' | 'success' | 'alert'; export class ThemeService { private static currentMode: ThemeMode = 'idle'; static setMode(mode: ThemeMode) { this.currentMode = mode; console.log(`[ThemeEngine] Mode shifted to: ${mode.toUpperCase()}`); // In a GUI, this would trigger CSS variable updates or broadcast to the frontend } static getMode(): ThemeMode { return this.currentMode; } }