Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

feat(config-components): add dark mode background adaptation for configuring page cards

hairyf9f190b6d6fa6
diff --git a/src/components/config-core.tsx b/src/components/config-core.tsx
index df16048b..65c4d522 100644
--- a/src/components/config-core.tsx
+++ b/src/components/config-core.tsx
@@ -190,7 +190,7 @@ export function ConfigCore() {
{rows.map(core => (
<Card
key={core.id}
- className={`rounded-md bg-[#f5f5f5] py-3${core.present && !core.active ? ' cursor-pointer' : ''}`}
+ className={`rounded-md bg-[#f5f5f5] dark:bg-[#222222] 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-plugin.tsx b/src/components/config-plugin.tsx
index 30e97a29..a3edf057 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] py-3">
+ <Card key={plugin.id} className="rounded-md bg-[#f5f5f5] dark:bg-[#222222] 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.tsx
index ea09a007..44340758 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] rounded-md py-3 cursor-pointer" onClick={() => activate(profile.id)}>
+ <Card key={profile.id} className="bg-[#f5f5f5] dark:bg-[#222222] 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">