authorgravatar for chris@xenforo.comChris Deeming <chris@xenforo.com> 2026-08-10 04:26:45+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-09 23:26:45-04:00
log3d74474f6cf825d3ef37b40dc7af0037e26a3bf9
tree4cdb85a8937985a0f931bcb04f2c00b2a5b6bc35
parentf0e2975180a85004e0d2604e3aa4125ed8bddb24
signature Signed by PGP key B5690EEEBB952194

fix(web): update pills use readable theme foregrounds (#5938)


4 files changed, 5 insertions(+), 5 deletions(-)

apps/web/src/components/sidebar/SidebarProviderUpdatePill.tsx+1-1
......@@ -13,7 +13,7 @@ import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
1313
1414const PROVIDER_UPDATE_PILL_STYLES = {
1515 loading:
16 "bg-update-surface text-update group-has-[button.provider-update-main:hover]/provider-update:bg-update/22",
16 "bg-update-surface text-update-foreground group-has-[button.provider-update-main:hover]/provider-update:bg-update/22",
1717 success:
1818 "bg-success/12 text-success group-has-[button.provider-update-main:hover]/provider-update:bg-success/18",
1919 warning:
apps/web/src/components/sidebar/SidebarUpdatePill.tsx+2-2
......@@ -159,7 +159,7 @@ export function SidebarUpdatePill() {
159159 )}
160160 {visible && (
161161 <div
162 className={`group/update relative flex h-7 w-full items-center rounded-lg bg-update-surface text-xs font-medium text-update ${
162 className={`group/update relative flex h-7 w-full items-center rounded-lg bg-update-surface text-xs font-medium text-update-foreground ${
163163 disabled ? " cursor-not-allowed opacity-60" : ""
164164 }`}
165165 >
......@@ -224,7 +224,7 @@ export function SidebarUpdatePill() {
224224 <button
225225 type="button"
226226 aria-label="Dismiss update"
227 className="mr-1 inline-flex size-5 items-center justify-center rounded-md text-update/60 transition-colors hover:text-update"
227 className="mr-1 inline-flex size-5 items-center justify-center rounded-md text-update-foreground transition-colors"
228228 onClick={() => setDismissed(true)}
229229 >
230230 <XIcon className="size-3.5" />
apps/web/src/index.css+1-1
......@@ -975,7 +975,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
975975 --warning-foreground: var(--color-amber-400);
976976 --warning-surface: color-mix(in srgb, var(--warning) 16%, transparent);
977977 --update: var(--primary);
978 --update-foreground: var(--primary);
978 --update-foreground: var(--color-blue-400);
979979 --update-surface: color-mix(in srgb, var(--update) 18%, transparent);
980980 --sidebar: var(--card);
981981 --sidebar-foreground: var(--foreground);
apps/web/src/themePalette.ts+1-1
......@@ -566,7 +566,7 @@ const T3_CODE_DARK_THEME_COLORS: ThemeColors = {
566566 warningForeground: "#ffb900",
567567 warningSurface: "#312108",
568568 update: "#366ffb",
569 updateForeground: "#366ffb",
569 updateForeground: "#51a2ff",
570570 updateSurface: "#121c35",
571571 accentSurface: "#141414",
572572 accentSurfaceForeground: "#f5f5f5",