DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
style: replace hard coded color values with theme CSS variables
hairyf0abbe7208336
diff --git a/src/components/config-core.tsx b/src/components/config-core.tsxindex 75da8998..f74d1331 100644--- a/src/components/config-core.tsx+++ b/src/components/config-core.tsx@@ -190,7 +190,7 @@ export function ConfigCore() {{rows.map(core => (<Cardkey={core.id}- className={`rounded-md bg-[#f5f5f5] dark:bg-[#222222] py-3${core.present && !core.active ? ' cursor-pointer' : ''}`}+ className={`rounded-md bg-panel2 py-3${core.present && !core.active ? ' cursor-pointer' : ''}`}onClick={() => onActivate(core)}><Card.Content className="flex flex-col gap-1.5">diff --git a/src/components/config-debug.tsx b/src/components/config-debug.tsxindex ce2bdafa..1777e95e 100644--- a/src/components/config-debug.tsx+++ b/src/components/config-debug.tsx@@ -188,7 +188,7 @@ export function ConfigDebug() {<InfoRow term={t('ui.dsh_version')}><span>{info?.dsh_version ?? '-'}</span><If cond={updateInfo}>- <Link className="ml-2 text-[10px] text-[rgb(65,118,230)]" onClick={store.updater.showToast}>+ <Link className="ml-2 text-[10px] text-accent" onClick={store.updater.showToast}>{t('menu.new_version')}<ChevronRight className="scale-75" /></Link>diff --git a/src/components/config-plugin.tsx b/src/components/config-plugin.tsxindex 12888397..9f096eaa 100644--- a/src/components/config-plugin.tsx+++ b/src/components/config-plugin.tsx@@ -145,7 +145,7 @@ export function ConfigPlugin() {><div className="space-y-3 flex-wrap gap-2">{plugins.map(plugin => (- <Card key={plugin.id} className="rounded-md bg-[#f5f5f5] dark:bg-[#222222] py-3">+ <Card key={plugin.id} className="rounded-md bg-panel2 py-3"><Card.Content className="flex flex-row items-center justify-between"><div className="min-w-0"><div className="flex min-w-0 items-center gap-1">diff --git a/src/components/config-profile.tsx b/src/components/config-profile.tsxindex 44340758..0cdff14a 100644--- a/src/components/config-profile.tsx+++ b/src/components/config-profile.tsx@@ -143,7 +143,7 @@ export function ConfigProfile() {><div className="space-y-3 flex-wrap gap-2">{profiles.map(profile => (- <Card key={profile.id} className="bg-[#f5f5f5] dark:bg-[#222222] rounded-md py-3 cursor-pointer" onClick={() => activate(profile.id)}>+ <Card key={profile.id} className="bg-panel2 rounded-md py-3 cursor-pointer" onClick={() => activate(profile.id)}><Card.Content className="flex flex-row justify-between"><div className="flex items-center gap-1"><Label className="min-w-0 truncate text-sm font-medium text-ink">diff --git a/src/style/main.css b/src/style/main.cssindex 4e93245c..8fbd7f1f 100644--- a/src/style/main.css+++ b/src/style/main.css@@ -8,6 +8,10 @@/* 主题变量:默认深色,html[data-theme="light"] 切换到浅色。取值与官方 dsw alias token(design-platform.css)逐项一致 */:root {+ --accent: #679efe; /* state-business-primary (deepseek-400) */+ --accent-hover: #4176e6; /* deepseek-500,hover 变深 */+ --danger: #f25a5a; /* state-error-primary (red-400) */+--color-canvas: #151517; /* bg-base (bluish-950) */--color-panel: #1b1b1c; /* specific-sidebar-fill (bluish-900) */--color-panel-2: #2c2c2e; /* bg-layer-2 / 输入控件底 (bluish-850) */