Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix(web): update pills use readable theme foregrounds (#5938)
Chris Deeming3d74474f6cf8
diff --git a/apps/web/src/components/sidebar/SidebarProviderUpdatePill.tsx b/apps/web/src/components/sidebar/SidebarProviderUpdatePill.tsxindex 6e490f435..421934b98 100644--- a/apps/web/src/components/sidebar/SidebarProviderUpdatePill.tsx+++ b/apps/web/src/components/sidebar/SidebarProviderUpdatePill.tsx@@ -13,7 +13,7 @@ import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";const PROVIDER_UPDATE_PILL_STYLES = {loading:- "bg-update-surface text-update group-has-[button.provider-update-main:hover]/provider-update:bg-update/22",+ "bg-update-surface text-update-foreground group-has-[button.provider-update-main:hover]/provider-update:bg-update/22",success:"bg-success/12 text-success group-has-[button.provider-update-main:hover]/provider-update:bg-success/18",warning:diff --git a/apps/web/src/components/sidebar/SidebarUpdatePill.tsx b/apps/web/src/components/sidebar/SidebarUpdatePill.tsxindex f113e0fc9..89dd795d8 100644--- a/apps/web/src/components/sidebar/SidebarUpdatePill.tsx+++ b/apps/web/src/components/sidebar/SidebarUpdatePill.tsx@@ -159,7 +159,7 @@ export function SidebarUpdatePill() {)}{visible && (<div- className={`group/update relative flex h-7 w-full items-center rounded-lg bg-update-surface text-xs font-medium text-update ${+ className={`group/update relative flex h-7 w-full items-center rounded-lg bg-update-surface text-xs font-medium text-update-foreground ${disabled ? " cursor-not-allowed opacity-60" : ""}`}>@@ -224,7 +224,7 @@ export function SidebarUpdatePill() {<buttontype="button"aria-label="Dismiss update"- className="mr-1 inline-flex size-5 items-center justify-center rounded-md text-update/60 transition-colors hover:text-update"+ className="mr-1 inline-flex size-5 items-center justify-center rounded-md text-update-foreground transition-colors"onClick={() => setDismissed(true)}><XIcon className="size-3.5" />diff --git a/apps/web/src/index.css b/apps/web/src/index.cssindex 0b1cae8c5..72983930a 100644--- a/apps/web/src/index.css+++ b/apps/web/src/index.css@@ -975,7 +975,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil--warning-foreground: var(--color-amber-400);--warning-surface: color-mix(in srgb, var(--warning) 16%, transparent);--update: var(--primary);- --update-foreground: var(--primary);+ --update-foreground: var(--color-blue-400);--update-surface: color-mix(in srgb, var(--update) 18%, transparent);--sidebar: var(--card);--sidebar-foreground: var(--foreground);diff --git a/apps/web/src/themePalette.ts b/apps/web/src/themePalette.tsindex 2f6fb0434..686201fa2 100644--- a/apps/web/src/themePalette.ts+++ b/apps/web/src/themePalette.ts@@ -566,7 +566,7 @@ const T3_CODE_DARK_THEME_COLORS: ThemeColors = {warningForeground: "#ffb900",warningSurface: "#312108",update: "#366ffb",- updateForeground: "#366ffb",+ updateForeground: "#51a2ff",updateSurface: "#121c35",accentSurface: "#141414",accentSurfaceForeground: "#f5f5f5",