The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ai): standardize provider icon color treatment
Steven Enamakel51365235208f
diff --git a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx b/app/src/components/settings/panels/ai/ProviderAuthSection.tsxindex a2e34a64a5..f9005a388e 100644--- a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx+++ b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx@@ -240,7 +240,7 @@ export const ProviderAuthSection = ({</div><Card title={t('settings.ai.llmProviders')} description={t('settings.ai.llmProvidersDesc')}>- <div className="flex justify-end px-4 py-3">+ <div className="flex justify-end px-4 py-2"><Buttontype="button"variant="primary"diff --git a/app/src/components/settings/panels/ai/providerIcons.tsx b/app/src/components/settings/panels/ai/providerIcons.tsxindex 1225bb2010..b7a5a4b7b5 100644--- a/app/src/components/settings/panels/ai/providerIcons.tsx+++ b/app/src/components/settings/panels/ai/providerIcons.tsx@@ -94,21 +94,6 @@ const PROVIDER_ASSETS: Record<string, string> = {zai: zaiLogo,};-/** Brand colour treatment for marks that appear inside neutral provider swatches. */-const PROVIDER_ICON_COLORS: Record<string, string> = {- openai: 'text-white',- anthropic: 'text-[#D97757]',- 'claude-code': 'text-[#D97757]',- google: 'text-[#4285F4]',- mistral: 'text-[#FF7000]',- huggingface: 'text-[#FFD21E]',- nvidia: 'text-[#76B900]',- 'vercel-ai-gateway': 'text-black dark:text-white',- xai: 'text-black dark:text-white',- zai: 'text-[#FF6A00]',- ollama: 'text-black dark:text-white',-};-/*** The rendered brand mark for a provider slug, or `null` when we ship none.*@@ -121,10 +106,15 @@ const PROVIDER_ICON_COLORS: Record<string, string> = {*/export const providerIcon = (slug: string, className: string): ReactElement | null => {const icon = PROVIDER_ICONS[slug];- if (icon) return createElement(icon, { className: cn(className, PROVIDER_ICON_COLORS[slug]) });+ if (icon) return createElement(icon, { className: cn(className, 'text-white') });const asset = PROVIDER_ASSETS[slug];return asset ? (- <img src={asset} alt="" aria-hidden className={cn(className, 'object-contain')} />+ <img+ src={asset}+ alt=""+ aria-hidden+ className={cn(className, 'object-contain brightness-0 invert')}+ />) : null;};