diff --git a/apps/desktop/src/components/business/settings-section.tsx b/apps/desktop/src/components/business/settings-section.tsx index d0a4bbfd..379ea923 100644 --- a/apps/desktop/src/components/business/settings-section.tsx +++ b/apps/desktop/src/components/business/settings-section.tsx @@ -33,7 +33,7 @@ function SettingsSection({

{title}

diff --git a/apps/desktop/src/components/ui/button.tsx b/apps/desktop/src/components/ui/button.tsx index 5b31ab5b..c036e170 100644 --- a/apps/desktop/src/components/ui/button.tsx +++ b/apps/desktop/src/components/ui/button.tsx @@ -31,7 +31,7 @@ const buttonVariants = cva( field: "h-control-field gap-inline px-surface-inset has-[>svg]:px-module-inset", xs: "h-control-mini rounded-control text-metadata gap-1 px-2 has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3", - sm: "h-control-mini rounded-control has-[>svg]:px-module-inset gap-1.5 px-3", + sm: "h-control-mini gap-inline px-surface-inset has-[>svg]:px-module-inset", lg: "h-control-field rounded-control px-6 has-[>svg]:px-4", icon: "size-control", "icon-xs": diff --git a/apps/desktop/src/settings/AppearanceSettings.tsx b/apps/desktop/src/settings/AppearanceSettings.tsx index 2e20504d..21f052b8 100644 --- a/apps/desktop/src/settings/AppearanceSettings.tsx +++ b/apps/desktop/src/settings/AppearanceSettings.tsx @@ -2,6 +2,7 @@ import { useEffect, useRef, useState } from "react"; import { SettingRow } from "@/components/business/setting-row"; import { SettingToggle } from "@/components/business/setting-toggle"; +import { SettingsSection } from "@/components/business/settings-section"; import { ViewSwitcher } from "@/components/business/view-switcher"; import { Button } from "@/components/ui/button"; import { Copy, Download, Plus, Trash2, Upload } from "@/components/ui/icons"; @@ -664,16 +665,10 @@ export function AppearanceSettings({ return (
-
-

- {t("settings.colorScheme")} -

))}
-
+ -
-

- {t("settings.typography")} -

{PROFILE_SCHEMES.map((scheme) => ( setAppearanceSettings({ codeFontSize })} />
-
+ -
-
-

- {t("settings.themes")} -

-
+
-
+ + } + >
{catalog.map((theme) => ( ))}
-
- -
-
-
-

- {t("settings.themeEditor")} -

-

- {activeTheme.builtin - ? t("settings.builtinThemeHint") - : t("settings.customThemeHint")} -

-
-
+ + +
-
+ + } + >
{!activeTheme.builtin && (
- + -
-

- {t("settings.surfaces")} -

{PROFILE_SCHEMES.map((scheme) => ( ))}
-
+ -
-

- {t("settings.appearancePreferences")} -

-
+ {status && (

diff --git a/apps/desktop/src/settings/MemorySettings.tsx b/apps/desktop/src/settings/MemorySettings.tsx index 44471676..c5817c45 100644 --- a/apps/desktop/src/settings/MemorySettings.tsx +++ b/apps/desktop/src/settings/MemorySettings.tsx @@ -85,6 +85,7 @@ import { originLabelKey, } from "./memory-model"; import type { MemoryFilter, MemoryView } from "./memory-model"; +import { GroupHeading } from "./SettingsPrimitives"; import "./memory-settings.css"; @@ -616,7 +617,7 @@ function DetailPanel({

-

{t("memory.evidence")}

+ {t("memory.evidence")}