Skip to content

chassis: class-pill and footer-link contrast to AA#461

Merged
ChBrain merged 1 commit into
mainfrom
chassis/token-contrast
Jul 4, 2026
Merged

chassis: class-pill and footer-link contrast to AA#461
ChBrain merged 1 commit into
mainfrom
chassis/token-contrast

Conversation

@ChBrain

@ChBrain ChBrain commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Fixes the two worst WCAG 1.4.3 contrast failures without touching the locked base palette (tests/tokens.test.ts pins those hexes as a design contract — unchanged):

  • --color-class-meta: --color-amber → the existing (previously unused) --color-amber-ink. Meta class pill goes 2.34:1 → 5.69:1 on its #f5e8cf fill.
  • --color-class-element: new derived token --color-marsh-ink: #55603a. Element pill goes 3.91:1 → 5.71:1 on #eaeee0.
  • SiteFooter link text: --color-ink-mute--color-ink-soft (3.26:1 → 6.58:1 on paper). Non-interactive ink-mute uses (© line, separators) untouched.

--color-ink-mute's base hex itself (~3.3:1 for small text) remains a locked-palette design decision for a future governance discussion.

Verification: ratios computed with the WCAG relative-luminance formula; build + unit group green.

🤖 Generated with Claude Code

https://claude.ai/code/session_0176ZYTwoV8V4So9SBTizc5X


Generated by Claude Code

…ly; locked palette untouched)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176ZYTwoV8V4So9SBTizc5X
@ChBrain
ChBrain force-pushed the chassis/token-contrast branch from d1f6267 to 2e9478b Compare July 4, 2026 17:37
@ChBrain
ChBrain merged commit 7a97b85 into main Jul 4, 2026
36 checks passed
@ChBrain
ChBrain deleted the chassis/token-contrast branch July 4, 2026 17:45
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