Latest Results
Make the Cond demo text readable in dark mode (#7689)
* Make the Cond demo text readable in dark mode
The Cond page's demos colored their text with fixed CSS colors. On the
dark docs background rgb(34,33,31), blue measured about 1.9:1, green
3.1:1, gray 4.1:1 and red 4.0:1, all below the 4.5:1 target, in both the
initial and the toggled states.
Use Radix step-11 colors, the step Radix designs for text: they measure
4.5:1 to 5.9:1 on white and 7.6:1 to 8.6:1 on the dark background. A
docs test fails if any demo text on the page goes back to a fixed color.
Claude-Session: https://claude.ai/code/session_01LwJUCUDZhZY71q8Azr37BQ
* Parse the Cond examples with ast in the contrast test
The regex skipped calls with parentheses inside the text or single-quoted
arguments, so a fixed color in either shape would have passed. Parse each
Python block and check every string color argument, with a test that the
collector sees those call shapes.
Claude-Session: https://claude.ai/code/session_01LwJUCUDZhZY71q8Azr37BQ Latest Branches
0%
farhan/nice-maxwell-bmch7a 0%
ybai08:fix/7686-single-side-config-ports 0%
claude/clientstatevar-context-refactor-jv3pig © 2026 CodSpeed Technology