Skip to content

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): keep provider badge legible in dark themes (#7968)

Rakshith Bhata9cd94eb935f
diff --git a/apps/web/src/components/chat/ProviderInstanceIcon.tsx b/apps/web/src/components/chat/ProviderInstanceIcon.tsx
index a58e29fe1..53c66667f 100644
--- a/apps/web/src/components/chat/ProviderInstanceIcon.tsx
+++ b/apps/web/src/components/chat/ProviderInstanceIcon.tsx
@@ -65,7 +65,7 @@ export const ProviderInstanceIcon = memo(function ProviderInstanceIcon(props: {
"pointer-events-none absolute right-0 bottom-0 z-10 flex h-3.5 min-w-3.5 items-center justify-center rounded-full border px-0.5 text-[8px] font-semibold leading-none shadow-sm",
props.accentColor
? "bg-[var(--provider-accent)] text-white"
- : "bg-muted text-muted-foreground",
+ : "bg-card text-muted-foreground",
props.badgeClassName,
)}
style={{ borderColor: indicatorBackground }}