Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

feat(web): draw every AI platform's logo in one colour, centred and the same size, and show the Gemini mark for Google AI Mode (#1634)

Cihandb0c52662dd8
diff --git a/web/public/platforms/chatgpt.svg b/web/public/platforms/chatgpt.svg
new file mode 100644
index 000000000..39178ccda
--- /dev/null
+++ b/web/public/platforms/chatgpt.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
+ <path fill="#000" d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/>
+</svg>
diff --git a/web/public/platforms/claude.svg b/web/public/platforms/claude.svg
new file mode 100644
index 000000000..2d9a9fddf
--- /dev/null
+++ b/web/public/platforms/claude.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="46 46 200 200">
+ <path fill="#000" d="M85.2405 178.962L124.582 156.903L125.241 154.981L124.582 153.918H122.658L116.076 153.513L93.5949 152.906L74.1013 152.097L55.2152 151.085L50.4557 150.073L46 144.204L46.4557 141.269L50.4557 138.588L56.1772 139.094L68.8354 139.954L87.8228 141.269L101.595 142.079L122 144.204H125.241L125.696 142.888L124.582 142.079L123.722 141.269L104.076 127.963L82.8101 113.898L71.6709 105.803L65.6456 101.705L62.6076 97.8594L61.2911 89.4607L66.7595 83.4399L74.1013 83.9459L75.9747 84.4518L83.4177 90.169L99.3165 102.463L120.076 117.743L123.114 120.273L124.329 119.413L124.481 118.805L123.114 116.529L111.823 96.1391L99.7722 75.3954L94.4051 66.7943L92.9873 61.6337C92.481 59.5087 92.1266 57.7379 92.1266 55.5624L98.3544 47.1131L101.797 46L110.101 47.1131L113.595 50.1487L118.759 61.9373L127.114 80.5054L140.076 105.752L143.873 113.24L145.899 120.172L146.658 122.296H147.975V121.082L149.038 106.865L151.013 89.4101L152.937 66.9461L153.595 60.6218L156.734 53.0326L162.962 48.9345L167.823 51.2618L171.823 56.979L171.266 60.6724L168.886 76.1037L164.228 100.288L161.19 116.478H162.962L164.987 114.454L173.19 103.577L186.962 86.3744L193.038 79.5441L200.127 72.0056L204.684 68.4134H213.291L219.62 77.8239L216.785 87.5381L207.924 98.7701L200.582 108.282L190.051 122.448L183.468 133.781L184.076 134.692L185.646 134.54L209.443 129.481L222.304 127.154L237.646 124.523L244.582 127.761L245.342 131.049L242.608 137.778L226.203 141.826L206.962 145.671L178.304 152.451L177.949 152.704L178.354 153.21L191.266 154.424L196.785 154.728H210.304L235.468 156.6L242.051 160.951L246 166.263L245.342 170.311L235.215 175.471L221.544 172.233L189.646 164.644L178.709 161.912H177.19V162.823L186.304 171.727L203.013 186.804L223.924 206.233L224.987 211.039L222.304 214.834L219.468 214.429L201.089 200.617L194 194.394L177.949 180.885H176.886V182.302L180.582 187.715L200.127 217.06L201.139 226.066L199.722 229L194.658 230.771L189.089 229.759L177.646 213.721L165.848 195.659L156.329 179.468L155.165 180.126L149.544 240.586L146.911 243.673L140.835 246L135.772 242.155L133.089 235.932L135.772 223.637L139.013 207.599L141.646 194.849L144.025 179.013L145.443 173.751L145.342 173.397L144.177 173.549L132.228 189.941L114.051 214.48L99.6709 229.86L96.2279 231.226L90.2532 228.14L90.8101 222.625L94.1519 217.718L114.051 192.42L126.051 176.736L133.797 167.68L133.747 166.364H133.291L80.4304 200.667L71.0127 201.882L66.962 198.087L67.4684 191.864L69.3924 189.84L85.2911 178.912L85.2405 178.962Z"/>
+</svg>
diff --git a/web/public/platforms/copilot.svg b/web/public/platforms/copilot.svg
new file mode 100644
index 000000000..ec420c62c
--- /dev/null
+++ b/web/public/platforms/copilot.svg
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="46 46 200 200">
+ <path fill="#000" d="M192.124 70.1938C189.501 61.2127 181.276 55.0771 171.939 55.0771H165.804C155.622 55.0771 146.952 62.3242 145.085 72.3279L134.548 129.682L137.171 120.746C139.794 111.765 148.019 105.584 157.356 105.584H193.058L208.041 111.409L222.491 105.584H218.267C208.931 105.584 200.705 99.4489 198.082 90.4679L192.124 70.1938Z"/>
+ <path fill="#000" d="M102.047 221.761C104.67 230.787 112.896 236.967 122.277 236.967H135.348C146.775 236.967 156.111 227.852 156.378 216.47L157.801 161.161L154.822 171.298C152.199 180.279 143.974 186.415 134.637 186.415H98.6237L85.7746 179.434L71.8584 186.415H75.9932C85.3744 186.415 93.5997 192.595 96.2229 201.62L102.047 221.761Z"/>
+ <path fill="#000" d="M171.051 55.0332H98.1353C77.2832 55.0332 64.7897 82.5544 56.4756 110.12C46.5609 142.754 33.6228 186.415 71.0142 186.415H102.492C111.918 186.415 120.143 180.19 122.766 171.164C128.235 152.002 137.839 118.612 145.397 93.136C149.221 80.1979 152.422 69.1272 157.312 62.1914C160.025 58.2788 164.604 55.0332 171.051 55.0332Z"/>
+ <path fill="#000" d="M120.988 236.966H193.904C214.756 236.966 227.249 209.401 235.563 181.879C245.434 149.245 258.372 105.585 220.98 105.585H189.502C180.077 105.585 171.807 111.809 169.228 120.879C163.759 140.042 154.156 173.476 146.598 198.908C142.774 211.846 139.573 222.961 134.682 229.853C132.015 233.721 127.435 236.966 120.988 236.966Z"/>
+</svg>
diff --git a/web/public/platforms/gemini.svg b/web/public/platforms/gemini.svg
new file mode 100644
index 000000000..74adaf7b0
--- /dev/null
+++ b/web/public/platforms/gemini.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
+ <path fill="#000" d="M16 8.016A8.522 8.522 0 008.016 16h-.032A8.521 8.521 0 000 8.016v-.032A8.521 8.521 0 007.984 0h.032A8.522 8.522 0 0016 7.984v.032z"/>
+</svg>
diff --git a/web/public/platforms/google.svg b/web/public/platforms/google.svg
new file mode 100644
index 000000000..f1359fed2
--- /dev/null
+++ b/web/public/platforms/google.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="1.146 0.8 22.4 22.4">
+ <path fill="#000" d="M12.545,10.239v3.821h5.445c-0.712,2.315-2.647,3.972-5.445,3.972c-3.332,0-6.033-2.701-6.033-6.032 s2.701-6.032,6.033-6.032c1.498,0,2.866,0.549,3.921,1.453l2.814-2.814C17.503,2.988,15.139,2,12.545,2 C7.021,2,2.543,6.477,2.543,12s4.478,10,10.002,10c8.396,0,10.249-7.85,9.426-11.748L12.545,10.239z"/>
+</svg>
diff --git a/web/public/platforms/grok.svg b/web/public/platforms/grok.svg
new file mode 100644
index 000000000..857df107e
--- /dev/null
+++ b/web/public/platforms/grok.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -10.23 512 512">
+ <path fill="#000" fill-rule="evenodd" d="M197.76 315.52l170.197-125.803c8.342-6.186 20.267-3.776 24.256 5.803 20.907 50.539 11.563 111.253-30.08 152.939-41.621 41.685-99.562 50.816-152.512 29.994l-57.834 26.816c82.965 56.768 183.701 42.731 246.656-20.33 49.941-50.006 65.408-118.166 50.944-179.627l.128.149c-20.971-90.282 5.162-126.378 58.666-200.17 1.28-1.75 2.56-3.499 3.819-5.291l-70.421 70.507v-.214l-243.883 245.27m-35.072 30.528c-59.563-56.96-49.28-145.088 1.515-195.926 37.568-37.61 99.136-52.97 152.874-30.4l57.707-26.666a166.554 166.554 0 00-39.019-21.334 191.467 191.467 0 00-208.042 41.942c-54.038 54.101-71.04 137.301-41.856 208.298 21.802 53.056-13.931 90.582-49.92 128.47C23.104 463.915 10.304 477.333 0 491.541l162.56-145.386"/>
+</svg>
diff --git a/web/public/platforms/perplexity.svg b/web/public/platforms/perplexity.svg
new file mode 100644
index 000000000..fa403c54a
--- /dev/null
+++ b/web/public/platforms/perplexity.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="-5.6 -1.6 39.2 39.2">
+ <path fill="none" stroke="#000" stroke-width="2.4" stroke-miterlimit="10" d="M23.566,1.398l-9.495,9.504h9.495V1.398v2.602V1.398Zm-9.496,9.504L4.574,1.398v9.504h9.496Zm-.021-10.902v36m9.517-15.596l-9.495-9.504v13.625l9.495,9.504v-13.625Zm-18.991,0l9.496-9.504v13.625l-9.496,9.504v-13.625ZM.5,10.9v13.57h4.074v-4.066l9.496-9.504H.5Zm13.57,0l9.495,9.504v4.066h4.075v-13.57h-13.57Z"/>
+</svg>
diff --git a/web/src/components/ai-provider-avatar.test.tsx b/web/src/components/ai-provider-avatar.test.tsx
new file mode 100644
index 000000000..b209abf59
--- /dev/null
+++ b/web/src/components/ai-provider-avatar.test.tsx
@@ -0,0 +1,113 @@
+import { act } from 'react';
+import { createRoot, type Root } from 'react-dom/client';
+import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+import { AIProviderAvatar, type AIProviderKey } from './ai-provider-avatar';
+
+(
+ globalThis as typeof globalThis & {
+ IS_REACT_ACT_ENVIRONMENT: boolean;
+ }
+).IS_REACT_ACT_ENVIRONMENT = true;
+
+let container: HTMLDivElement;
+let root: Root;
+
+function render(node: React.ReactNode) {
+ act(() => root.render(node));
+ return container.firstElementChild as HTMLElement;
+}
+
+const logoOf = (avatar: HTMLElement) => avatar.querySelector<HTMLElement>('[aria-hidden="true"]');
+
+beforeEach(() => {
+ container = document.createElement('div');
+ document.body.appendChild(container);
+ root = createRoot(container);
+});
+
+afterEach(() => {
+ act(() => root.unmount());
+ container.remove();
+});
+
+describe('AIProviderAvatar', () => {
+ it.each<[AIProviderKey, string, string]>([
+ ['openai', 'ChatGPT', '/platforms/chatgpt.svg'],
+ ['anthropic', 'Claude', '/platforms/claude.svg'],
+ ['google', 'Gemini', '/platforms/gemini.svg'],
+ ['googleAio', 'Google AI Overview', '/platforms/google.svg'],
+ ['googleAiMode', 'Google AI Mode', '/platforms/gemini.svg'],
+ ['perplexity', 'Perplexity', '/platforms/perplexity.svg'],
+ ['copilot', 'Microsoft Copilot', '/platforms/copilot.svg'],
+ ['xai', 'Grok', '/platforms/grok.svg'],
+ ])('draws %s as a one-colour mask of its logo', (provider, label, file) => {
+ const avatar = render(<AIProviderAvatar provider={provider} />);
+
+ expect(avatar.getAttribute('title')).toBe(label);
+ expect(avatar.getAttribute('aria-label')).toBe(label);
+ expect(avatar.querySelector('img')).toBeNull();
+ const logo = logoOf(avatar)!;
+ expect(logo.style.maskImage).toBe(`url(${file})`);
+ expect(logo.style.maskSize).toBe('contain');
+ expect(logo.style.maskPosition).toBe('center');
+ expect(logo.style.maskRepeat).toBe('no-repeat');
+ // The mask is filled with the text colour, which follows the theme.
+ expect(logo.className).toContain('bg-current');
+ expect(avatar.className).toContain('text-foreground');
+ });
+
+ it('gives Google AI Mode the Gemini mark and AI Overview the Google G', () => {
+ const mode = logoOf(render(<AIProviderAvatar provider="googleAiMode" />))!.style.maskImage;
+ const gemini = logoOf(render(<AIProviderAvatar provider="google" />))!.style.maskImage;
+ const overview = logoOf(render(<AIProviderAvatar provider="googleAio" />))!.style.maskImage;
+
+ expect(mode).toBe(gemini);
+ expect(overview).toBe('url(/platforms/google.svg)');
+ });
+
+ it('puts the logo at 60% inside a round, bordered badge by default', () => {
+ const avatar = render(<AIProviderAvatar provider="openai" />);
+
+ expect(avatar.className).toContain('rounded-full');
+ expect(avatar.className).toContain('border');
+ expect(avatar.className).toContain('bg-background');
+ expect(avatar.className).not.toContain('bg-black');
+ expect(logoOf(avatar)!.className).toContain('h-3/5 w-3/5');
+ });
+
+ it('fills the whole box with just the logo when plain', () => {
+ const avatar = render(<AIProviderAvatar provider="openai" plain className="h-6 w-6" />);
+
+ expect(avatar.className).not.toContain('rounded-full');
+ expect(avatar.className).not.toContain('border');
+ expect(avatar.className).toContain('h-6 w-6');
+ const logo = logoOf(avatar)!;
+ expect(logo.className).toContain('h-full w-full');
+ expect(logo.className).not.toContain('invert');
+ });
+
+ it('lets the caller change the colour', () => {
+ const avatar = render(
+ <AIProviderAvatar provider="xai" plain className="text-muted-foreground" />,
+ );
+
+ expect(avatar.className.split(' ')).toContain('text-muted-foreground');
+ expect(avatar.className.split(' ')).not.toContain('text-foreground');
+ });
+
+ it.each([false, true])(
+ 'keeps a plain letter badge for Meta AI, which has no logo (plain: %s)',
+ (plain) => {
+ const avatar = render(<AIProviderAvatar provider="meta" plain={plain} />);
+
+ expect(avatar.textContent).toBe('M');
+ expect(avatar.getAttribute('title')).toBe('Meta AI');
+ expect(logoOf(avatar)).toBeNull();
+ expect(avatar.className).toContain('rounded-full');
+ expect(avatar.className).toContain('border');
+ expect(avatar.className).toContain('bg-background');
+ expect(avatar.className).toContain('text-foreground');
+ expect(avatar.className).not.toMatch(/bg-sky|text-white/);
+ },
+ );
+});
diff --git a/web/src/components/ai-provider-avatar.tsx b/web/src/components/ai-provider-avatar.tsx
index f14382cad..73e8d9fd0 100644
--- a/web/src/components/ai-provider-avatar.tsx
+++ b/web/src/components/ai-provider-avatar.tsx
@@ -1,3 +1,4 @@
+import type { CSSProperties } from 'react';
import { cn } from '@/lib/utils';
export type AIProviderKey =
@@ -11,65 +12,24 @@ export type AIProviderKey =
| 'xai'
| 'meta';
-const AI_PROVIDER_META: Record<
- AIProviderKey,
- { label: string; shortLabel: string; icon: string; fallbackClassName: string }
-> = {
- openai: {
- label: 'ChatGPT',
- shortLabel: 'O',
- icon: '/chatgpt.svg',
- fallbackClassName: 'bg-emerald-500 text-white',
- },
- anthropic: {
- label: 'Claude',
- shortLabel: 'A',
- icon: '/claude.svg',
- fallbackClassName: 'bg-amber-500 text-white',
- },
- google: {
- label: 'Gemini',
- shortLabel: 'G',
- icon: '/gemini.svg',
- fallbackClassName: 'bg-blue-500 text-white',
- },
- googleAio: {
- label: 'Google AI Overview',
- shortLabel: 'G',
- icon: '/ai_overview.svg',
- fallbackClassName: 'bg-blue-500 text-white',
- },
- googleAiMode: {
- label: 'Google AI Mode',
- shortLabel: 'G',
- icon: '/ai_mode.svg',
- fallbackClassName: 'bg-blue-500 text-white',
- },
- perplexity: {
- label: 'Perplexity',
- shortLabel: 'P',
- icon: '/perplexity.svg',
- fallbackClassName: 'bg-indigo-500 text-white',
- },
- copilot: {
- label: 'Microsoft Copilot',
- shortLabel: 'C',
- icon: '/copilot.svg',
- fallbackClassName: 'bg-cyan-600 text-white',
- },
- xai: {
- label: 'Grok',
- shortLabel: 'X',
- icon: '/grok.svg',
- fallbackClassName: 'bg-zinc-800 text-white dark:bg-zinc-300 dark:text-zinc-900',
- },
- meta: {
- label: 'Meta AI',
- shortLabel: 'M',
- icon: '',
- fallbackClassName: 'bg-sky-500 text-white',
- },
-};
+/**
+ * Each platform's mark lives in `/public/platforms/` as a one-colour SVG with
+ * a square viewBox cut to the mark's own bounds, so every logo fills its box
+ * the same way. Meta AI has no mark and keeps a letter badge.
+ */
+const AI_PROVIDER_META: Record<AIProviderKey, { label: string; shortLabel: string; icon: string }> =
+ {
+ openai: { label: 'ChatGPT', shortLabel: 'O', icon: '/platforms/chatgpt.svg' },
+ anthropic: { label: 'Claude', shortLabel: 'A', icon: '/platforms/claude.svg' },
+ google: { label: 'Gemini', shortLabel: 'G', icon: '/platforms/gemini.svg' },
+ googleAio: { label: 'Google AI Overview', shortLabel: 'G', icon: '/platforms/google.svg' },
+ // AI Mode runs on Gemini, so it shows the Gemini mark.
+ googleAiMode: { label: 'Google AI Mode', shortLabel: 'G', icon: '/platforms/gemini.svg' },
+ perplexity: { label: 'Perplexity', shortLabel: 'P', icon: '/platforms/perplexity.svg' },
+ copilot: { label: 'Microsoft Copilot', shortLabel: 'C', icon: '/platforms/copilot.svg' },
+ xai: { label: 'Grok', shortLabel: 'X', icon: '/platforms/grok.svg' },
+ meta: { label: 'Meta AI', shortLabel: 'M', icon: '' },
+ };
export function resolveAIProvider(model: string, platform?: string): AIProviderKey {
const key = platform || model;
@@ -130,51 +90,47 @@ export function getAIProviderDisplayName(provider: AIProviderKey): string {
return AI_PROVIDER_META[provider].label;
}
+/**
+ * The logo as a CSS mask over the text colour, so every mark is drawn in one
+ * colour that follows the theme (black on light, white on dark).
+ */
+function logoMask(icon: string): CSSProperties {
+ const image = `url(${icon})`;
+ return {
+ maskImage: image,
+ WebkitMaskImage: image,
+ maskSize: 'contain',
+ WebkitMaskSize: 'contain',
+ maskPosition: 'center',
+ WebkitMaskPosition: 'center',
+ maskRepeat: 'no-repeat',
+ WebkitMaskRepeat: 'no-repeat',
+ };
+}
+
export function AIProviderAvatar({
provider,
className,
plain = false,
}: {
provider: AIProviderKey;
+ /** Size and colour; the logo takes the text colour (`text-foreground` by default). */
className?: string;
/**
- * Just the logo, without the round badge, for rows where it stands beside
- * the platform's name. The ChatGPT mark is drawn white for the dark badge,
- * so it is inverted to black on a light background.
+ * Just the logo, filling the box, for rows where it stands beside the
+ * platform's name. Otherwise a round badge with the logo at 60% inside.
*/
plain?: boolean;
}) {
const meta = AI_PROVIDER_META[provider];
- if (plain && meta.icon) {
- return (
- <span
- title={meta.label}
- aria-label={meta.label}
- className={cn('flex h-5 w-5 shrink-0 items-center justify-center', className)}
- >
- {/* eslint-disable-next-line @next/next/no-img-element -- same static logo files as the badge below */}
- <img
- src={meta.icon}
- alt=""
- aria-hidden="true"
- className={cn(
- 'h-full w-full object-contain',
- provider === 'openai' && 'invert dark:invert-0',
- )}
- />
- </span>
- );
- }
-
if (!meta.icon) {
return (
<span
title={meta.label}
aria-label={meta.label}
className={cn(
- 'flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-[10px] font-bold',
- meta.fallbackClassName,
+ 'flex h-5 w-5 shrink-0 items-center justify-center rounded-full border bg-background text-[10px] font-bold text-foreground',
className,
)}
>
@@ -188,13 +144,16 @@ export function AIProviderAvatar({
title={meta.label}
aria-label={meta.label}
className={cn(
- 'relative flex h-5 w-5 shrink-0 overflow-hidden rounded-full border',
- provider === 'openai' ? 'bg-black dark:bg-background' : 'bg-background',
+ 'flex h-5 w-5 shrink-0 items-center justify-center text-foreground',
+ !plain && 'rounded-full border bg-background',
className,
)}
>
- {/* eslint-disable-next-line @next/next/no-img-element -- AI provider favicon URLs come from arbitrary remote domains; next/image remotePatterns would need an open-ended wildcard */}
- <img src={meta.icon} alt="" className="h-full w-full object-cover" aria-hidden="true" />
+ <span
+ aria-hidden="true"
+ className={cn('block bg-current', plain ? 'h-full w-full' : 'h-3/5 w-3/5')}
+ style={logoMask(meta.icon)}
+ />
</span>
);
}
diff --git a/web/src/components/settings/ai-providers-section.tsx b/web/src/components/settings/ai-providers-section.tsx
index 3eb3c6e46..a5db3517d 100644
--- a/web/src/components/settings/ai-providers-section.tsx
+++ b/web/src/components/settings/ai-providers-section.tsx
@@ -54,7 +54,7 @@ const KEY_LINKS: Record<AiProvider, string> = {
function ProviderIcon({ provider }: { provider: AiProvider }) {
if (provider === 'azure') return <Cloud className="h-5 w-5 text-muted-foreground" />;
if (provider === 'openrouter') return <Route className="h-5 w-5 text-muted-foreground" />;
- // The same logos as the platforms' (OpenAI's drawn black on a light card).
+ // The same one-colour logos as the platforms', in the text colour.
return <AIProviderAvatar provider={provider} plain />;
}