auto-claude: 1.1 - Add ColorTheme type and ColorThemeDefinition interface
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 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
908eebfb16
commit
2ca89ce7c9
@@ -5,6 +5,23 @@
|
|||||||
import type { NotificationSettings } from './project';
|
import type { NotificationSettings } from './project';
|
||||||
import type { ChangelogFormat, ChangelogAudience, ChangelogEmojiLevel } from './changelog';
|
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)
|
// Thinking level for Claude model (budget token allocation)
|
||||||
export type ThinkingLevel = 'none' | 'low' | 'medium' | 'high' | 'ultrathink';
|
export type ThinkingLevel = 'none' | 'low' | 'medium' | 'high' | 'ultrathink';
|
||||||
|
|
||||||
@@ -44,6 +61,7 @@ export interface AgentProfile {
|
|||||||
|
|
||||||
export interface AppSettings {
|
export interface AppSettings {
|
||||||
theme: 'light' | 'dark' | 'system';
|
theme: 'light' | 'dark' | 'system';
|
||||||
|
colorTheme?: ColorTheme;
|
||||||
defaultModel: string;
|
defaultModel: string;
|
||||||
agentFramework: string;
|
agentFramework: string;
|
||||||
pythonPath?: string;
|
pythonPath?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user