()
| 147 | let cachedColors: Colors | null = null; |
| 148 | |
| 149 | export function getColors(): Colors { |
| 150 | if (!cachedColors) { |
| 151 | const selectedTheme = defaultTheme; |
| 152 | cachedColors = getThemeColors(selectedTheme); |
| 153 | } |
| 154 | return cachedColors; |
| 155 | } |
| 156 | |
| 157 | // Legacy export for backwards compatibility - use a getter to avoid circular dependency |
| 158 | export const colors = new Proxy({} as Colors, { |