Repository navigation
refactor(user-interface): move color references to keys - #14835
Conversation
The color references name the color. keys instead of stating their numbers: surface triage thresholds, ramp endpoints, chroma curve and hue-drift limit, hover mix, border values and dark-mode desaturation. Contrast ratios stay stated as numbers. Refs: #14314 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #14835No security issues found. I read every hunk of all 4 changed files:
What the change does. It edits design-guidance prose only. Inline color numbers are replaced with the names of
The WCAG contrast floors keep their numbers. Checks I ran:
Prior findings: none, and this is not a blocking-only review. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsI read all 4 changed files in full: the changelog fragment, Checks against the code at this head
Closing issue #14314
Path-scoped rules. No plugin manifest changed, so the manifest checks do not apply. There were no prior findings and no settled threads, and the PR context contained no embedded instructions. |
Closes #14314
Summary
Problem: color references stated taste values inline, so a team could not change them through config. Intent: "Everything should be configurable and extensible. We should never be hardcoding specific font sizes or ranges or any specific measurements and approaches."
The color references now name their config key instead of restating a default number.
Fix
color.md,color/building-scales.mdandcolor/contrast.mdname the keys for the hover mix, border alphas, ramp hue spread and triage lightness; recipes use the{{key}}placeholder form fromreference/values.md.color.md, "about 10°") now namecolor.ramp.hue_spread_max_degtoo.Verification
node --test plugins/user-interface/tests/*.test.mjs: 171 pass, 0 fail.scripts/check-affected.sh: 13 passed, 3 skipped; changelog fragments and typos clean.Acceptance criteria
Related
Refs #14214
🤖 Generated with Claude Code