docs: update design token examples in CONTRIBUTING to match redesign - #70
Merged
royalpinto007 merged 1 commit intoAug 7, 2026
Conversation
The UI/bug fixes section still referenced the pre-redesign accent-red tokens and unprefixed class names. Point at the current amber accent and sev-* severity scale instead, written as the utilities contributors actually type, and carry over the never-colour-alone rule from lib/constants/severity.ts. Drops the WCAG pairing claim rather than inventing an unverified replacement.
|
Merged. Thanks a lot, @waterlemonnn. Good, focused change. Exactly the kind of thing agentpostmortem needs. If agentpostmortem is useful to you, a star goes a long way. Happy to see more from you whenever you have the time. |
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.
Closes #34.
The
UI / bug fixessection pointed contributors at the pre-redesignaccent-red/accent-red-mutedtokens, which don't exist intailwind.config.tsanymore, and used unprefixed class names (bg-canvas,text-tertiary) that don't render as-is.accent,accent-soft,accent-strong) and writes the examples the way contributors actually type them (bg-bg-canvas,text-text-primary,border-border-default), matching howcomponents/ui/Card.tsxandButton.tsxuse them.sev-*severity scale as separate from the brand accent, and carries over the never-colour-alone rule from the doc comment onSEVERITY_STYLESinlib/constants/severity.ts.npx prettier --check CONTRIBUTING.mdpasses. Repo-widenpm run format/prettier --check .still flags ~145 unrelated files on this checkout (confirmed pre-existing on a cleanmainbefore this change, looks like a CRLF line-ending thing on Windows checkouts), so I only touched the one file this issue is about.