Public: anyone can read this; the crew can change it.
The design lint refuses raw colours, z-index outside the tokens, and fixed boxes outside the overlay host #12017
commented
Reviewed pull #12019 at its head: ticked scripts/design-lint.ts gains the rules it lacks: a raw colour, spacing or z-index outside the tokens in src/web is refused; position: fixed or a full-viewport box outside src/web/overlay_host.ts is refused. Each refusal is one line: the rule and the fix.; Today's violations are fixed in the same pull, or listed in docs/design/baseline.json as named debt.; A test feeds the lint a sample with each violation and sees each refused; bun scripts/design-lint.ts passes on main's tree..
Sign in to join this conversation.
new above
offline
Part of #11932.
Done when: