fix(chat): visual polish (0.0.6)#168
Merged
Merged
Conversation
Three small fixes from the 0.0.5 smoke test: 1. chat-sidebar panel: white-on-white blends into a white app body, only the soft 8px shadow distinguishes them. Add a 1px border-left in --ngaf-chat-separator so the panel reads as a distinct surface. Slightly soften the box-shadow (.16 → .08) since the border now carries the visual definition. 2. chat-popup window: same issue at the floating window's edges. Add a 1px border in --ngaf-chat-separator. Shadow stays as-is (it's the dominant visual cue for popups). 3. chat-input send button disabled state: the previous styling (white-on-muted-grey) had near-zero contrast for the icon — visually unreadable. Switch to surface-alt bg + muted-text icon + 0.7 opacity, which reads clearly as disabled without falling below contrast thresholds. Bumps @ngaf/chat to 0.0.6. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Small visual polish from the 0.0.5 smoke test on a fresh consumer.
Fixes
Sidebar visual definition. `` panel had only a soft 8px shadow distinguishing it from a white app body — they blend together until you focus on the shadow. Add a 1px `border-left` in `--ngaf-chat-separator`. Soften the shadow opacity slightly (.16 → .08) since the border now carries the structural cue.
Popup window visual definition. Same issue on ``'s floating window. Add a 1px border in `--ngaf-chat-separator`. Shadow stays — it's still the dominant visual cue for popups.
Send button disabled state contrast. Previous `background: var(--ngaf-chat-muted); color: var(--ngaf-chat-on-primary)` was white icon on light-grey background — near-zero contrast, the icon was visually missing. Switch to `surface-alt` background + `muted` icon color + 0.7 opacity. Reads clearly as disabled without dropping below WCAG contrast.
Verification
Visual changes are subtle and don't alter any public API. Pure polish.
Test plan
🤖 Generated with Claude Code