fix(desktop): use dark text on accent button for readable contrast - #31
Merged
Conversation
The sign-in button used text-white on the bright cyan --accent (#7dfff6), giving a ~1.2:1 contrast ratio. Switch to text-[var(--bg-base)] to match the shared Button primary variant. Also bump the explanatory text from --text-muted to --text-secondary for better readability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ShEgHD4LY9DCJgXvnNaasE
PR Summary by QodoFix welcome screen button contrast by using dark text on accent background
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
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
text-whiteon the bright cyan--accent(#7dfff6), giving a contrast ratio of ~1.2:1 (WCAG minimum is 4.5:1) — the text was nearly invisibletext-[var(--bg-base)](dark text) to match the sharedButtoncomponent's primary variant--text-mutedto--text-secondaryfor better readabilityTest plan
Client2/WelcomeStepstories render correctlyhttps://claude.ai/code/session_01ShEgHD4LY9DCJgXvnNaasE
Generated by Claude Code
Summary by cubic
Fix unreadable sign-in button text on the desktop welcome screen by switching to dark text (
text-[var(--bg-base)]) on the bright cyan--accentbackground to meet WCAG contrast guidelines. Also updates the helper text below the button from--text-mutedto--text-secondaryfor better readability.Written for commit 084a96c. Summary will update on new commits.