Skip to content

fix(keychain): theme copy button in ErrorAlert#2402

Merged
tarrencev merged 1 commit intocartridge-gg:mainfrom
joystick-ctrl:fix/error-alert-copy-button-theme
Feb 11, 2026
Merged

fix(keychain): theme copy button in ErrorAlert#2402
tarrencev merged 1 commit intocartridge-gg:mainfrom
joystick-ctrl:fix/error-alert-copy-button-theme

Conversation

@joystick-ctrl
Copy link
Collaborator

Problem

The copy button in the ErrorAlert component was hardcoded to use black icons (text-[black]), making them invisible on dark error alert backgrounds.

Solution

  • Use styles.text to inherit the correct color per variant (e.g., text-destructive for errors)
  • Use bg-background/10 for consistent themed background

Before/After

The copy button icon is now visible and matches the alert text color.

Closes: camouflaged button issue mentioned in Discord

The copy button icons were hardcoded to black, making them
invisible on dark error alert backgrounds.

- Use styles.text to inherit the correct color per variant
- Use bg-background/10 for consistent themed background
@vercel
Copy link

vercel bot commented Feb 11, 2026

@joystick-ctrl is attempting to deploy a commit to the cartridge Team on Vercel.

A member of the Team first needs to authorize it.

@tarrencev tarrencev merged commit bd9fd92 into cartridge-gg:main Feb 11, 2026
4 of 8 checks passed
@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
keychain Ready Ready Preview Feb 11, 2026 7:38pm

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants