Skip to content

Add token playground to theme docs - #42929

Open
mdo wants to merge 1 commit into
v6-devfrom
token-playground-docs
Open

mdo wants to merge 1 commit 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
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.

1 participant