Skip to content

[Bug]: provider badge initials are invisible on light accent colors #11641

Description

@Mnigos

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Open Settings → Providers and edit a provider instance (for example Codex).
  2. Set a custom accent color to white #ffffff (any light color reproduces it).
  3. Look at the provider icon in the sidebar, the model picker, or Settings → Usage.

Expected behavior

The account badge keeps its initials readable for every accent color. A light accent should get dark text, a dark accent should get light text.

Actual behavior

The badge always paints its initials in white (text-white in apps/web/src/components/chat/ProviderInstanceIcon.tsx), so with a white or light accent the initials disappear. In the screenshot below Codex has a white accent and shows no "CO", while Claude's orange accent still shows "CL".

The mobile badge has the same hardcoded white text in apps/mobile/src/components/ProviderIcon.tsx.

Codex badge with white accent loses its initials while Claude's orange badge keeps them

Impact

Cosmetic issue

Version or commit

0.0.40-nightly

Environment

macOS desktop app, dark theme

Screenshots, recordings, or supporting files

See the screenshot above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions