v6: Document the OKLCH token system in the @graphiql/react README#4410
Merged
Conversation
|
3 tasks
f01a61d to
3d7a5e8
Compare
3d7a5e8 to
d4c2c3e
Compare
3450927 to
736a667
Compare
Documents the OKLCH token families (`--bg-*`/`--border-*`/`--fg-*`/`--accent-*`/ `--type-*`/`--btn-*`/`--radius-*`/`--shadow-*`), the `L% C H` triplet convention, the type-name category tokens, and the exported `typeCategory` helper. Marks the v5 `--color-*` HSL variables deprecated and updates the migration-guide caveat now that the README documents both sets.
736a667 to
8e7904c
Compare
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.
Summary
Documents the v6 OKLCH design-token system in the
@graphiql/reactREADME's theming section — the--bg-*/--border-*/--fg-*/--accent-*/--type-*/--btn-*/--radius-*/--shadow-*families, theL% C Htriplet convention, the type-name category tokens, and the exportedtypeCategoryhelper. Also marks the legacy v5--color-*HSL variables deprecated and updates the migration-guide caveat now that the README documents both sets.Docs follow-up to #4416 (the
--color-*deprecation and@graphiql/plugin-explorerremoval).Test plan
tokens.css, thetypeCategorydescription is accurate, and the intra-page +tokens.css/ migration-guide links resolve.Refs: #4219