From ba66aef272146fe27d6664a22bc3ef4cbd34cd87 Mon Sep 17 00:00:00 2001 From: spencrmartin Date: Sat, 14 Feb 2026 13:35:06 -0500 Subject: [PATCH] fix: Improve color-text-info preview examples Changed the preview to show more appropriate use cases: - Information heading on neutral background - Pro tip callout with accent bar Previously showed info text on info background which was confusing. Now clearly demonstrates where info text color is actually used in the UI (tips, notifications, informational messages). --- .../ThemeColorEditor/Preview/ColorPreview.tsx | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/ui/desktop/src/components/settings/app/ThemeColorEditor/Preview/ColorPreview.tsx b/ui/desktop/src/components/settings/app/ThemeColorEditor/Preview/ColorPreview.tsx index 1b92635a13..8d9a9db352 100644 --- a/ui/desktop/src/components/settings/app/ThemeColorEditor/Preview/ColorPreview.tsx +++ b/ui/desktop/src/components/settings/app/ThemeColorEditor/Preview/ColorPreview.tsx @@ -333,12 +333,24 @@ function TextPreview({ variable, color }: { variable: ColorVariable; color: stri if (varName === 'color-text-info') { return ( -
-

ℹ️ Tip

-

- You can use keyboard shortcuts to navigate faster -

-
+ <> +
+

ℹ️ Information

+

+ Info text is used for helpful tips, notifications, and informational messages +

+
+ +
+
+
+

Pro Tip

+

+ You can use keyboard shortcuts to navigate faster through the app +

+
+
+ ); }