Skip to content

fix(a11y): make light-theme accent text readable on the canvas - #208

Merged
RentnerKev merged 1 commit into
mainfrom
codex/fix-light-accent-contrast
Oct 7, 2026
Merged

RentnerKev merged 1 commit into
mainfrom
codex/fix-light-accent-contrast

Conversation

@RentnerKev

Copy link
Copy Markdown
Member

Summary

Small default green text measured 4.01:1 on the light canvas and 4.38:1 on the standard surface. Darken only the light text shade, keep CSS/runtime defaults aligned and derive custom light text against the actual canvas.

Related issue

Fixes #201. Related to #74.

Type of change

  • Bug fix

Testing

4 palette tests pass with 108 assertions, covering default text on five surfaces, custom color contrast and CSS variable consistency. Primary accent and dark palette values stay unchanged. Browser computed colors confirmed the original defect. TypeScript, scoped lint and formatting pass.

The full local suite encounters missing unit configuration and Windows sandbox filesystem/shell/network restrictions. Exact-head Linux CI must pass before merging.

Checklist

  • Relevant behavior is tested with regression coverage.
  • The diff contains no credentials or private application data.
  • The related issue is linked.

Breaking changes

None.

Screenshots

Browser checks are recorded in the Beta UX review; captures containing private application data are not attached.

@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: RentnerKev/RentnerProxy/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06722ada-ff9e-4a00-9856-f4cf2b2a6ae1
📥 Commits

Reviewing files that changed from the base of the PR and between 9ca4b3b and 648aa96.

📒 Files selected for processing (3)
  • web/src/lib/Theme/accentPalette.ts
  • web/src/styles.css
  • web/src/tests/lib/Theme/accent-palette.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the area: ui Web interface components, routes, styling, and localization. label Oct 7, 2026
@RentnerKev
RentnerKev merged commit b520bd8 into main Oct 7, 2026
29 checks passed
@RentnerKev
RentnerKev deleted the codex/fix-light-accent-contrast branch October 7, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui Web interface components, routes, styling, and localization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(a11y): light-theme accent text falls below normal text contrast

1 participant