Skip to content

Add token playground to theme docs - #42929

Merged
mdo merged 2 commits into
v6-devfrom
token-playground-docs
Sep 29, 2026
Merged

mdo merged 2 commits into
v6-devfrom
token-playground-docs

Conversation

@mdo

@mdo mdo commented Sep 13, 2026

Copy link
Copy Markdown
Member
  • Add TokenPlayground.astro shortcode and register it in the shortcode index.
  • Add a "Token playground" section to customize/theme.mdx that shows theme and layout tokens flowing to a button, input, alert, and card together.
  • Document the Remint control, which restates derived tokens (bg-subtle, fg, border) to show how the theme resolves today.
  • Add .bd-playground and .bd-token-swatch styles to _component-examples.scss.

Show how theme and layout tokens flow to components. Readers change the
radius, spacer, or primary color and see the button, input, alert, and
card update together. The Remint control demonstrates how derived tokens
(bg-subtle, fg, border) restate the theme today.
@mdo
mdo requested a review from a team as a code owner September 13, 2026 19:44
@mdo mdo added this to v6.0.0 Sep 13, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Sep 13, 2026
willbyers1

This comment was marked as spam.

@mdo
mdo merged commit 8b86f40 into v6-dev Sep 29, 2026
12 checks passed
@mdo
mdo deleted the token-playground-docs branch September 29, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants