From dfc372e1d4279e66c90556b0350f420f1dc0c4af Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 1 Dec 2025 16:26:19 -0600 Subject: [PATCH] Preferences design improvements --- src/pages/Preferences.tsx | 85 +++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/src/pages/Preferences.tsx b/src/pages/Preferences.tsx index 39b3a028..7e4935fb 100644 --- a/src/pages/Preferences.tsx +++ b/src/pages/Preferences.tsx @@ -1,6 +1,7 @@ import { Settings2, ArrowLeft } from "lucide-react"; import { useTranslation } from 'react-i18next'; import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; import { ThemePicker } from "@/components/ThemePicker"; import { LanguagePicker } from "@/components/LanguagePicker"; import { Switch } from "@/components/ui/switch"; @@ -52,50 +53,54 @@ export function Preferences() { )} -
-
- -
- -
-

- {t('themeDescription')} -

-
+ + +
+
+ +
+ +
+

+ {t('themeDescription')} +

+
-
- -
- -
-

- {t('languageDescription')} -

-
+
+ +
+ +
+

+ {t('languageDescription')} +

+
-
-
-
- +
+
+
+ +
+ { + updateConfig((current) => ({ + ...current, + sentryEnabled: checked, + })); + }} + /> +
+

+ {t('shareErrorReportsDescription')} +

- { - updateConfig((current) => ({ - ...current, - sentryEnabled: checked, - })); - }} - />
-

- {t('shareErrorReportsDescription')} -

-
-
+ +
); }