From e3fa64794bee14cc3b3031cd2d1978df7b8a0184 Mon Sep 17 00:00:00 2001 From: Danny White <3104761+dnywh@users.noreply.github.com> Date: Wed, 30 Sep 2026 17:40:22 +1000 Subject: [PATCH] use US english in theme color copy --- .../Account/Preferences/ThemeColorSettings.tsx | 9 ++------- apps/studio/lib/theme-overrides.ts | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/apps/studio/components/interfaces/Account/Preferences/ThemeColorSettings.tsx b/apps/studio/components/interfaces/Account/Preferences/ThemeColorSettings.tsx index d6178e9b0f1..8c25a6bc4ca 100644 --- a/apps/studio/components/interfaces/Account/Preferences/ThemeColorSettings.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/ThemeColorSettings.tsx @@ -19,7 +19,7 @@ import { themeOverrideToSliderValue, } from '@/lib/theme-overrides' -/** Full-hue OKLCH spectrum for the spot colour track. */ +/** Full-hue OKLCH spectrum for the spot color track. */ const HUE_SPECTRUM_TRACK = 'linear-gradient(to right, oklch(0.7 0.14 0), oklch(0.7 0.14 60), oklch(0.7 0.14 120), oklch(0.7 0.14 180), oklch(0.7 0.14 240), oklch(0.7 0.14 300), oklch(0.7 0.14 360))' @@ -34,13 +34,8 @@ const PRIMARY_SWATCHES = [ ] as const // `background` shorthand (not transparent + background-image) avoids a dark -// hairline at rounded caps in dark mode. A light outline keeps pale tracks -// visible against the card without eating into the fill. +// hairline at rounded caps in dark mode. const SPECTRUM_SLIDER_CLASS = cn( - '[&_[data-slot=slider-track]]:outline', - '[&_[data-slot=slider-track]]:outline-1', - '[&_[data-slot=slider-track]]:outline-foreground/10', - '[&_[data-slot=slider-track]]:outline-offset-0', '[&_[data-slot=slider-track]]:[background:var(--slider-track-fill)]', '[&_[data-slot=slider-range]]:invisible' ) diff --git a/apps/studio/lib/theme-overrides.ts b/apps/studio/lib/theme-overrides.ts index 7f129878146..dc7c9c05f34 100644 --- a/apps/studio/lib/theme-overrides.ts +++ b/apps/studio/lib/theme-overrides.ts @@ -28,7 +28,7 @@ export const THEME_OVERRIDE_KNOBS: readonly ThemeOverrideKnob[] = [ key: 'chroma', cssVar: '--chroma', label: 'Surface tint', - description: 'Controls how much colour tints backgrounds, text, and borders.', + description: 'Controls how much color tints backgrounds, text, and borders.', ranges: { dark: { min: 0, max: 0.04 }, light: { min: 0, max: 0.03 } }, }, {