From 2ca89ce7c9fbad67226c27b3d73f1ef409bf8c52 Mon Sep 17 00:00:00 2001 From: AndyMik90 Date: Sat, 20 Dec 2025 01:25:36 +0100 Subject: [PATCH] auto-claude: 1.1 - Add ColorTheme type and ColorThemeDefinition interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add multi-theme type definitions to settings.ts: - ColorTheme union type with 7 theme options - ThemePreviewColors interface for theme preview UI - ColorThemeDefinition interface for theme metadata - Optional colorTheme property in AppSettings interface 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- auto-claude-ui/src/shared/types/settings.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/auto-claude-ui/src/shared/types/settings.ts b/auto-claude-ui/src/shared/types/settings.ts index 9b5d0748..4629a7cd 100644 --- a/auto-claude-ui/src/shared/types/settings.ts +++ b/auto-claude-ui/src/shared/types/settings.ts @@ -5,6 +5,23 @@ import type { NotificationSettings } from './project'; import type { ChangelogFormat, ChangelogAudience, ChangelogEmojiLevel } from './changelog'; +// Color theme types for multi-theme support +export type ColorTheme = 'default' | 'dusk' | 'lime' | 'ocean' | 'retro' | 'neo' | 'forest'; + +export interface ThemePreviewColors { + bg: string; + accent: string; + darkBg: string; + darkAccent?: string; +} + +export interface ColorThemeDefinition { + id: ColorTheme; + name: string; + description: string; + previewColors: ThemePreviewColors; +} + // Thinking level for Claude model (budget token allocation) export type ThinkingLevel = 'none' | 'low' | 'medium' | 'high' | 'ultrathink'; @@ -44,6 +61,7 @@ export interface AgentProfile { export interface AppSettings { theme: 'light' | 'dark' | 'system'; + colorTheme?: ColorTheme; defaultModel: string; agentFramework: string; pythonPath?: string;