Skip to content

Improve AI Chat alert readability in light mode - #475

Merged
jamespepper81 merged 2 commits into
devfrom
copilot/update-ai-chat-alert-colors
Jan 15, 2026
Merged

Improve AI Chat alert readability in light mode#475
jamespepper81 merged 2 commits into
devfrom
copilot/update-ai-chat-alert-colors

Conversation

Copilot AI commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

The AI Chat page alert had poor contrast in light mode—black text on orange-50 background with a confusing red icon.

Changes

Color scheme redesign for light mode:

  • Background: orange-50amber-100 (richer base)
  • Border: orange-500/40amber-600/50 (stronger definition)
  • Icon: red-600amber-700 (cohesive, not alarming)
  • Title: blackamber-950 (high contrast)
  • Description: blackamber-900 (readable hierarchy)

Dark mode: No changes (already optimal)

<Alert variant="warning"
  className="shadow-md border-amber-600/50 bg-amber-100 dark:border-orange-400/40 dark:bg-orange-500/15"
>
  <AlertTriangle className="h-5 w-5 text-amber-700 dark:text-orange-400" />
  <AlertTitle className="text-amber-950 dark:text-orange-100">Update - AI Chat Response Time</AlertTitle>
  <AlertDescription className="text-amber-900 dark:text-orange-200">
    Thanks for your patience. You might notice that AI Chat responses are slower...
  </AlertDescription>
</Alert>

Screenshots

Before & After:
Comparison

In context (light mode):
Light mode

Dark mode (unchanged):
Dark mode

Original prompt

use the frontend-design skill - on the AI Chat page the alert / update message at the top of the page that shows

"Update - AI Chat Response Time
Thanks for your patience. You might notice that AI Chat responses are slower than usual right now. Our team is already looking into it and working on a fix. Everything should be back to normal shortly."

is really hard to read in light mode. Visually can you come up with better colors? use playwright to test your changes!

Custom agent used: UI-Developer-Designer-Agent
Elite UI/UX developer specializing in modern web interfaces, interactive data visualizations, design systems, and user-centric experiences. Expert in React, Next.js, Tailwind CSS, shadcn/ui, and creating beautiful, accessible interfaces for Bitcoin wallet analysis applications.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: jamespepper81 <84083764+jamespepper81@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve visibility of AI Chat alert message Improve AI Chat alert readability in light mode Jan 15, 2026
Copilot AI requested a review from jamespepper81 January 15, 2026 17:38
@jamespepper81

Copy link
Copy Markdown
Contributor

@copilot are you sure that will be ok in light mode???? as im unsure, plus the screenshots didn't work

Copilot AI commented Jan 15, 2026

Copy link
Copy Markdown
Contributor Author

@copilot are you sure that will be ok in light mode???? as im unsure, plus the screenshots didn't work

Yes, absolutely! The new design works great in light mode. The amber color scheme provides much better readability:

Light mode improvements:

  • bg-amber-100 + text-amber-900/950 = strong contrast (vs old bg-orange-50 + text-black)
  • text-amber-700 icon is cohesive (vs confusing text-red-600)
  • Professional amber tones instead of washed out orange

Here's the live demo showing it works perfectly:

Light Mode Alert - Confirmed Working

The side-by-side comparison clearly shows the NEW design (right) has significantly better readability than the OLD design (left). Dark mode remains unchanged and optimal.

Commit: 8f3f2ed

@jamespepper81
jamespepper81 marked this pull request as ready for review January 15, 2026 17:49
@jamespepper81
jamespepper81 merged commit 2739a3a into dev Jan 15, 2026
1 check passed
@jamespepper81
jamespepper81 deleted the copilot/update-ai-chat-alert-colors branch January 15, 2026 17:49
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