Repository navigation
Tab insides, step 4: a style ratchet in CI - #84
Merged
Merged
Conversation
scripts/style-ratchet.mjs counts the local styles outside src/ui that redo a kit piece (section titles, tables, facts, notes, cards, banners, headline numbers, hand-rolled sky links, radii off the 6/4 scale) and fails CI if any count goes up. The baseline is 119, down from 328 before this pass. It also fails on a class name used without a style in its sheet, local or borrowed from another file: tsc cannot see those, and steps 1 and 2 left three of them (fixed in step 3). docs/design-system.md: the inside of every tab is done; how to run and update the ratchet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 4 of HANDOFF-tower-tab-insides: the ratchet.
scripts/style-ratchet.mjs(yarn ratchet, new CI step after Lint): counts local styles outsidesrc/uithat redo a kit piece (section titles, tables, facts, notes, cards, banners, headline numbers, hand-rolled sky links, radii off the 6/4 scale) and fails if any count goes up. Baseline 119 (was 328 before this pass);--updatewrites a lower baseline.sectionTitlefails with the list.🤖 Generated with Claude Code