Skip to content

color, svg: write a bracket no reader took into each family's colour - #764

Merged
samoht merged 3 commits into
unknown-hint-colourfrom
colour-last-resort-sweep
Sep 14, 2026
Merged

samoht merged 3 commits into
unknown-hint-colourfrom
colour-last-resort-sweep

Conversation

@samoht

@samoht samoht commented Sep 13, 2026

Copy link
Copy Markdown
Owner

border-, accent-, caret-, placeholder-, fill- and stroke- join text- and outline-: a bracket no reader took is a declaration the browser discards rather than a refusal, which dropped the selector. bg- is left out — its bracket runs through a size, a position, an image and a url, with no single point where a refusal falls to the colour. Follows #763.

Each of these pinned tw's refusal where the CLI writes the value through:
the malformed-hex loop for eight families, the stroke width's rejections,
and the border width's. Written as assertions they fail on the parent
commit. bg- stays on the refusing side, which the loop now says.
border-, accent-, caret-, placeholder-, fill- and stroke- join text- and
outline-: a bracket no reader took is a declaration the browser discards
rather than a refusal, which dropped the selector. On stroke- the width
reader keeps the numbers and lengths and what it refuses falls to the
colour, and the raw form takes the slot after the paren-var shorthand,
where Tailwind emits it.

bg- is left out: its bracket runs through a size, a position, an image and
a url, with no single point where a refusal falls to the colour.
@samoht
samoht force-pushed the colour-last-resort-sweep branch from 9a98764 to 57e1d1d Compare September 13, 2026 19:26
@samoht
samoht merged commit 3632d69 into main Sep 14, 2026
3 checks passed
@samoht
samoht deleted the colour-last-resort-sweep branch September 14, 2026 09:57
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.

1 participant