Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix(web): use black icons on settings card titles

tianma-if838fa978470a
diff --git a/apps/web/src/components/settings/AdvancedPlayCard.tsx b/apps/web/src/components/settings/AdvancedPlayCard.tsx
index cfce24f9..a7cf2279 100644
--- a/apps/web/src/components/settings/AdvancedPlayCard.tsx
+++ b/apps/web/src/components/settings/AdvancedPlayCard.tsx
@@ -33,7 +33,7 @@ export const AdvancedPlayCard = () => {
<button className="flex w-full min-w-0 items-start justify-between gap-3 text-left" type="button">
<span className="min-w-0">
<CardTitle className="flex items-center gap-2 text-sm">
- <Sparkles className="h-4 w-4 text-emerald-700" />
+ <Sparkles className="h-4 w-4 text-slate-900" />
{t("advancedPlay.title")}
</CardTitle>
<CardDescription className="mt-1 text-xs text-slate-500">{t("advancedPlay.description")}</CardDescription>
diff --git a/apps/web/src/components/settings/AiModelCard.tsx b/apps/web/src/components/settings/AiModelCard.tsx
index 3493f90f..b744646a 100644
--- a/apps/web/src/components/settings/AiModelCard.tsx
+++ b/apps/web/src/components/settings/AiModelCard.tsx
@@ -223,7 +223,7 @@ export const AiModelCard = () => {
</section>
<div className="flex items-start gap-2 border-t border-slate-200/60 pt-3 ">
- <ShieldCheck className="mt-0.5 h-3.5 w-3.5 shrink-0 text-emerald-600 " />
+ <ShieldCheck className="mt-0.5 h-3.5 w-3.5 shrink-0 text-slate-900" />
<p className="text-xs leading-relaxed text-slate-500 ">
{t("aiModel.privacyNotice")}
</p>
diff --git a/apps/web/src/components/settings/AiPromptsCard.tsx b/apps/web/src/components/settings/AiPromptsCard.tsx
index a74b0770..c09602ba 100644
--- a/apps/web/src/components/settings/AiPromptsCard.tsx
+++ b/apps/web/src/components/settings/AiPromptsCard.tsx
@@ -26,7 +26,7 @@ export const AiPromptsCard = ({ onOpenLibrary }: { onOpenLibrary: () => void })
<button className="flex w-full min-w-0 items-start justify-between gap-3 text-left" type="button">
<span className="min-w-0">
<CardTitle className="flex items-center gap-2 text-sm">
- <Sparkles className="h-4 w-4 text-emerald-700" />
+ <Sparkles className="h-4 w-4 text-slate-900" />
{t("aiPrompts.settingsTitle")}
</CardTitle>
<CardDescription className="mt-1 text-xs text-slate-500">{t("aiPrompts.settingsDescription")}</CardDescription>
diff --git a/apps/web/src/components/settings/DesktopLocalBackupCard.tsx b/apps/web/src/components/settings/DesktopLocalBackupCard.tsx
index 11ab833a..6ae2152b 100644
--- a/apps/web/src/components/settings/DesktopLocalBackupCard.tsx
+++ b/apps/web/src/components/settings/DesktopLocalBackupCard.tsx
@@ -55,7 +55,7 @@ export const DesktopLocalBackupCard = () => {
return (
<Card className="w-full min-w-0 overflow-hidden shadow-none">
<CardHeader className="p-4 pb-3">
- <CardTitle className="flex items-center gap-2 text-sm"><Database className="h-4 w-4 text-emerald-700" />{t("dataExport.desktopLocalTitle")}</CardTitle>
+ <CardTitle className="flex items-center gap-2 text-sm"><Database className="h-4 w-4 text-slate-900" />{t("dataExport.desktopLocalTitle")}</CardTitle>
</CardHeader>
<CardContent className="grid gap-3 p-4 pt-0">
<CardDescription className="text-xs leading-5">{t("dataExport.desktopLocalDescription")}</CardDescription>
diff --git a/apps/web/src/components/settings/ObjectStorageCard.tsx b/apps/web/src/components/settings/ObjectStorageCard.tsx
index 98ace787..62e1b28b 100644
--- a/apps/web/src/components/settings/ObjectStorageCard.tsx
+++ b/apps/web/src/components/settings/ObjectStorageCard.tsx
@@ -112,7 +112,7 @@ export const ObjectStorageCard = ({ demoMode }: { demoMode: boolean }) => {
provider === item ? "border-emerald-500 bg-emerald-50/70" : "border-slate-200 hover:bg-slate-50",
)}
>
- {item === "builtin" ? <Database className="mt-0.5 h-4 w-4 text-emerald-700" /> : <Cloud className="mt-0.5 h-4 w-4 text-emerald-700" />}
+ {item === "builtin" ? <Database className="mt-0.5 h-4 w-4 text-slate-900" /> : <Cloud className="mt-0.5 h-4 w-4 text-slate-900" />}
<span><span className={cn("block", SETTINGS_ITEM_TITLE_CLASSNAME)}>{t(`objectStorage.providers.${item}.title`)}</span><span className="mt-0.5 block text-xs leading-5 text-slate-500">{t(`objectStorage.providers.${item}.description`)}</span></span>
</button>
))}
diff --git a/apps/web/src/components/settings/PluginManagerCard.tsx b/apps/web/src/components/settings/PluginManagerCard.tsx
index 48d6435d..5523dae2 100644
--- a/apps/web/src/components/settings/PluginManagerCard.tsx
+++ b/apps/web/src/components/settings/PluginManagerCard.tsx
@@ -398,7 +398,7 @@ export const PluginManagerCard = ({
<CardHeader className="p-4 sm:p-5">
<div className="flex items-center justify-between gap-3">
<CardTitle className="flex min-w-0 items-center gap-2 text-sm">
- <Puzzle className="h-4 w-4 shrink-0 text-emerald-700" />
+ <Puzzle className="h-4 w-4 shrink-0 text-slate-900" />
{selectedPluginId ? t("plugins.details.title") : t("plugins.title")}
<span className="inline-flex items-center rounded-full border border-emerald-200/80 bg-emerald-50 px-2 py-0.5 text-xs font-semibold tracking-wide text-emerald-700">
Beta
diff --git a/apps/web/src/components/settings/ShortcutSettingsItem.tsx b/apps/web/src/components/settings/ShortcutSettingsItem.tsx
index 504b96d6..b5ea038b 100644
--- a/apps/web/src/components/settings/ShortcutSettingsItem.tsx
+++ b/apps/web/src/components/settings/ShortcutSettingsItem.tsx
@@ -131,7 +131,7 @@ export const ShortcutSettingsItem = ({ shortcutSettings, onShortcutSettingsChang
<DialogContent className="max-h-[min(640px,calc(100vh-2rem))] max-w-xl overflow-y-auto">
<DialogHeader>
<DialogTitle className="flex items-center gap-2">
- <Keyboard className="h-5 w-5 text-emerald-700" />
+ <Keyboard className="h-5 w-5 text-slate-900" />
{t("shortcuts.title")}
</DialogTitle>
<DialogDescription>{t("shortcuts.description")}</DialogDescription>
diff --git a/apps/web/src/components/settings/WebDavBackupCard.tsx b/apps/web/src/components/settings/WebDavBackupCard.tsx
index f0e3f976..756035b9 100644
--- a/apps/web/src/components/settings/WebDavBackupCard.tsx
+++ b/apps/web/src/components/settings/WebDavBackupCard.tsx
@@ -110,7 +110,7 @@ export const WebDavBackupCard = () => {
return (
<Card className="w-full min-w-0 overflow-hidden shadow-none">
<CardHeader className="p-4 pb-3">
- <CardTitle className="flex items-center gap-2 text-sm"><CloudUpload className="h-4 w-4 text-emerald-700" />{t("dataExport.webdavTitle")}</CardTitle>
+ <CardTitle className="flex items-center gap-2 text-sm"><CloudUpload className="h-4 w-4 text-slate-900" />{t("dataExport.webdavTitle")}</CardTitle>
</CardHeader>
<CardContent className="grid gap-3 p-4 pt-0">
<CardDescription className="text-xs leading-5">{t(WEBDAV_AUTO_BACKUP_ENABLED ? "dataExport.webdavDescription" : "dataExport.webdavManualDescription")}</CardDescription>
diff --git a/apps/web/src/components/settings/settings-ui.ts b/apps/web/src/components/settings/settings-ui.ts
index b96e504e..14f5d51a 100644
--- a/apps/web/src/components/settings/settings-ui.ts
+++ b/apps/web/src/components/settings/settings-ui.ts
@@ -4,7 +4,7 @@
export const SETTINGS_CARD_HEADER_CLASSNAME = "p-4";
export const SETTINGS_CARD_TITLE_CLASSNAME = "flex items-center gap-2 text-sm font-semibold text-slate-900";
export const SETTINGS_CARD_DESCRIPTION_CLASSNAME = "mt-0.5 text-xs leading-relaxed text-slate-500";
-export const SETTINGS_CARD_ICON_CLASSNAME = "h-4 w-4 text-emerald-700 shrink-0";
+export const SETTINGS_CARD_ICON_CLASSNAME = "h-4 w-4 text-slate-900 shrink-0";
/**
* Unified typography and layout constants for setting rows/items within cards.