Skip to content

v6: Document the OKLCH token system in the @graphiql/react README#4410

Merged
trevor-scheer merged 2 commits into
graphiql-6from
trevor/readme-oklch-tokens
Jul 12, 2026
Merged

v6: Document the OKLCH token system in the @graphiql/react README#4410
trevor-scheer merged 2 commits into
graphiql-6from
trevor/readme-oklch-tokens

Conversation

@trevor-scheer

@trevor-scheer trevor-scheer commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the v6 OKLCH design-token system in the @graphiql/react README's theming section — the --bg-* / --border-* / --fg-* / --accent-* / --type-* / --btn-* / --radius-* / --shadow-* families, the L% C H triplet convention, the type-name category tokens, and the exported typeCategory helper. 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-explorer removal).

Test plan

  • Render the README theming section: the OKLCH token list matches tokens.css, the typeCategory description is accurate, and the intra-page + tokens.css / migration-guide links resolve.

Refs: #4219

@changeset-bot

changeset-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e07dea6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@trevor-scheer trevor-scheer force-pushed the trevor/readme-oklch-tokens branch from f01a61d to 3d7a5e8 Compare July 12, 2026 20:19
@trevor-scheer trevor-scheer changed the base branch from graphiql-6 to trevor/color-token-deprecation July 12, 2026 20:19
Base automatically changed from trevor/color-token-deprecation to graphiql-6 July 12, 2026 20:33
@trevor-scheer trevor-scheer force-pushed the trevor/readme-oklch-tokens branch from 3d7a5e8 to d4c2c3e Compare July 12, 2026 20:35
@trevor-scheer trevor-scheer marked this pull request as ready for review July 12, 2026 20:40
@trevor-scheer trevor-scheer enabled auto-merge (squash) July 12, 2026 20:40
@trevor-scheer trevor-scheer force-pushed the trevor/readme-oklch-tokens branch from 3450927 to 736a667 Compare July 12, 2026 20:42
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.
@trevor-scheer trevor-scheer force-pushed the trevor/readme-oklch-tokens branch from 736a667 to 8e7904c Compare July 12, 2026 20:42
@trevor-scheer trevor-scheer merged commit 5890bf3 into graphiql-6 Jul 12, 2026
12 checks passed
@trevor-scheer trevor-scheer deleted the trevor/readme-oklch-tokens branch July 12, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant