Neutralise the ink in the default theme pair
`content.primary` was a warm near-black and near-white, tinted toward the
same hue as the surfaces under it. Colour on text has to mean something --
a severity, a syntax class, a category -- and an ink tinted toward the
theme's own hue spends that channel on nothing while making the warm ground
read as a wash over everything rather than as ground. It is `#111111` and
`#f0f0f0` now, and the surfaces, borders and box-drawing stay warm.
Costs no contrast: the light ink goes from 14.38:1 to 14.68:1 against its
page, the dark from 14.29:1 to 14.60:1.
Not pure black or pure white, which the ramp cannot absorb. The tonal steps
are found by travelling from the ink toward the page until they clear a
contrast floor against it, and from `#000000` that scan lands `muted` at
7.66:1 against the page where the ramp wants about 4.9 -- muted text that
does not recede. The near-neutrals keep the ramp intact, and the steps still
pick up a trace of the ground as they travel, which is the ramp working
rather than a tinted ink.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>