Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import type { Theme } from '../types';
/*
* Eclipse — neutral charcoal surface (#0d1117) + vibrant teal accent (#0CD2A5).
* 单一品牌色 (teal) 配中性炭灰底,让 accent 在中性背景上最大化跳出。
*
* Anchor 常量名(SURFACE_NAVY / BOARD_NAVY 等)是历史命名,语义上现在就是
* "charcoal 三层",保留名字避免大面积 rename;值已经迁过(2026-05-28 从
* 冷紫 navy 切到中性炭灰)。
*/
// 既有分组/对比度/否决依据:docs/design-rules/design-decision-log.md
// 「2026-09-11 DS-8 内置主题依据迁移」→ eclipse(生成区外保留)。
// BEGIN GENERATED DS-8: theme
const GENERATED_OVERRIDES = {
"surface": "#0d1117",
"surface-hsl": "220 12% 7%",
"surface-elevated": "#161b22",
"surface-elevated-soft": "#161b22",
"surface-card-ivory": "#161b22",
"surface-chip": "#262c36",
"surface-chip-alt": "#262c36",
"surface-hover": "#1c2128",
"surface-hover-soft": "#1c2128",
"surface-hover-hsl": "213 16% 14%",
"surface-on-card": "#0d1117",
"border-default": "#30363d",
"border-default-hsl": "215 12% 21%",
"border-shadcn-hsl": "215 12% 21%",
"border-transparent-mixed": "#30363d",
"text-primary": "#e6e6e6",
"text-primary-on-dark": "#e6e6e6",
"text-primary-emphasis": "#e6e6e6",
"text-primary-inv": "#e6e6e6",
"text-primary-body-strong": "#e6e6e6",
"text-primary-hsl": "0 0% 90%",
"text-secondary": "#9ca3af",
"text-secondary-cross": "#9ca3af",
"text-secondary-mid": "#9ca3af",
"text-tertiary": "#6b7280",
"text-tertiary-stone": "#6b7280",
"text-tertiary-mid": "#6b7280",
"text-tertiary-hsl": "220 9% 46%",
"text-disabled": "#4b5563",
"text-disabled-tertiary": "#4b5563",
"accent-cta-bg": "#0CD2A5",
"accent-cta-bg-pure": "#0CD2A5",
"accent-emphasis": "#0CD2A5",
"accent-soft": "#5eead4",
"accent-hover": "#0f8a73",
"accent-pure-cta-fg": "#0d1117",
"switch-track-on": "#0CD2A5",
"accent": "213 16% 14%",
"agent-actions-rail": "#30363d",
"ask-checkbox-border": "#4b5563",
"background": "220 12% 7%",
"create-agent-control-bg": "#0d1117",
"create-agent-control-bg-hover": "#1c2128",
"create-agent-control-bg-pressed": "#262c36",
"create-agent-control-border": "#30363d",
"create-agent-control-icon": "#e6e6e6",
"create-agent-control-text": "#e6e6e6",
"create-agent-quick-card-bg": "#0d1117",
"create-agent-quick-card-bg-hover": "#1c2128",
"create-agent-quick-card-border": "#30363d",
"create-agent-quick-card-icon": "#e6e6e6",
"create-agent-quick-card-icon-bg": "#30363d",
"create-agent-quick-card-text": "#e6e6e6",
"create-agent-segment-inactive-text": "#6b7280",
"create-agent-segment-track-bg": "#0d1117",
"send-btn-bg": "#e6e6e6",
"send-btn-icon": "#0d1117",
"chat-input-chip-border": "#30363d",
"chat-input-text": "#e6e6e6",
"color-primary": "#e6e6e6",
"confirm-bg": "#161b22",
"confirm-btn-primary-bg": "#0CD2A5",
"confirm-btn-primary-text": "#0d1117",
"confirm-btn-secondary-border": "#30363d",
"confirm-btn-secondary-hover": "rgba(255, 255, 255, 0.06)",
"confirm-btn-secondary-text": "#e6e6e6",
"confirm-title": "#e6e6e6",
"drop-overlay-bg": "rgba(12, 210, 165, 0.1)",
"file-chip-bg": "#30363d",
"file-remove-bg": "#4b5563",
"info-700": "#5eead4",
"model-trigger-hover": "#1c2128",
"msg-link": "#5eead4",
"msg-scrollbar-hover": "#4b5563",
"muted": "215 16% 18%",
"muted-foreground": "220 9% 65%",
"perm-allow-btn-bg": "#0CD2A5",
"perm-allow-btn-text": "#0d1117",
"perm-allow-kbd-bg": "#262c36",
"perm-allow-kbd-border": "#30363d",
"perm-code-bg": "#0d1117",
"perm-item-selected-bg": "#262c36",
"plan-outline-active-bg": "#262c36",
"plan-toolbar-btn-hover-bg": "#1c2128",
"popover": "213 16% 11%",
"primary-foreground": "220 12% 7%",
"search-match-fg": "0 0% 90%",
"secondary": "213 16% 11%",
"settings-btn-primary-text": "#0d1117",
"settings-btn-secondary-hover-bg": "#1c2128",
"text-placeholder": "#4b5563",
"settings-integration-avatar-bg": "#262c36",
"settings-logout-bg": "#262c36",
"settings-menu-bg-hover": "#1c2128",
"settings-menu-bg-selected": "#262c36",
"settings-source-link": "#5eead4",
"settings-theme-auto-dark": "#0d1117",
"sidebar-action-icon": "220 9% 46%",
"sidebar-item-active": "215 16% 18%",
"splash-bg": "220 12% 7%",
"splash-text": "220 9% 65%",
"splash-text-destructive": "0 0% 90%",
"splash-text-muted": "220 9% 46%",
"titlebar-icon": "220 9% 65%",
"tooltip-bg": "#0d1117",
"tooltip-text": "#e6e6e6",
"update-btn-border": "#0CD2A5",
"update-btn-text": "#0CD2A5",
} as const;
// END GENERATED DS-8: theme
export const eclipse: Theme = {
id: 'eclipse',
name: 'Eclipse',
type: 'dark',
colors: GENERATED_OVERRIDES,
};