Review fixes for 1201
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- A diff's deletion bar keeps its dashes: the four line-background overrides (--diffs-bg-{addition,deletion}[-number]-override) are gone. Pierre read the deletion one, unmixed, as the light half of the bar's dashed pattern, so setting it to the sign colour made the bar solid and a deletion told apart from an addition by colour alone. Pierre now mixes each line from the sign colour through its own fallback, so the tints are unchanged. - A README's h2 is on the type scale (text-title, as the h1, which keeps its rule) in place of an arbitrary 17 px. - Tests: tokens.test.ts asserts the line-background overrides stay unset and checks the emphasis overrides for the diff tints; markdown.test.tsx asserts the prose classes carry no arbitrary text size (red before the fix).
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+34 added−10 removed
- tests:+25 added−2 removed
- other:+9 added−8 removed