diff --git a/desktop/src/features/settings/ui/SettingsPanels.tsx b/desktop/src/features/settings/ui/SettingsPanels.tsx index f08fdf2312..4aa4032428 100644 --- a/desktop/src/features/settings/ui/SettingsPanels.tsx +++ b/desktop/src/features/settings/ui/SettingsPanels.tsx @@ -435,6 +435,41 @@ function ThemeSettingsCard() { ))} + {/* Accent color picker */} +
+

Accent color

+
+ {ACCENT_COLORS.map((color) => { + const isNeutral = color.value === NEUTRAL_ACCENT; + const swatchColor = isNeutral + ? "hsl(var(--foreground))" + : color.value; + const checkClassName = + isNeutral && isDark ? "text-black" : "text-white"; + + return ( + + ); + })} +
+
+ {/* Theme grid based on selected mode */}
@@ -475,41 +510,6 @@ function ThemeSettingsCard() { ))}
- - {/* Accent color picker */} -
-

Accent color

-
- {ACCENT_COLORS.map((color) => { - const isNeutral = color.value === NEUTRAL_ACCENT; - const swatchColor = isNeutral - ? "hsl(var(--foreground))" - : color.value; - const checkClassName = - isNeutral && isDark ? "text-black" : "text-white"; - - return ( - - ); - })} -
-
); } diff --git a/desktop/src/shared/theme/ThemePreviewFrame.tsx b/desktop/src/shared/theme/ThemePreviewFrame.tsx index 5c37b1bc38..116d61e795 100644 --- a/desktop/src/shared/theme/ThemePreviewFrame.tsx +++ b/desktop/src/shared/theme/ThemePreviewFrame.tsx @@ -278,7 +278,7 @@ function SystemPreferencePreviewSvg({ height="2.7" rx="1.35" width="2.7" - x="4.5" + x="3.5" y="4.72485" />