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

shipped production is serving it opened this has it

Landed in pull #12019 · run

opened this

Part of #11932.

Done when:

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.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs