Skip to content

feat: wire typography tokens and add Storybook playground - #8308

Draft
datahobbit26 wants to merge 7 commits into
developfrom
blaunet/font-family-css-token
Draft

datahobbit26 wants to merge 7 commits into
developfrom
blaunet/font-family-css-token

Conversation

@datahobbit26

@datahobbit26 datahobbit26 commented Oct 15, 2026 •

Copy link
Copy Markdown

Changes proposed in this pull request:

Wire Blueprint's existing --bp-typography-family-default, --bp-typography-family-mono, --bp-typography-weight-default, --bp-typography-weight-bold, --bp-typography-line-height-default, and --bp-typography-line-height-large tokens into shared text styles and explicit consumers in core, datetime, datetime2, and table. Applications can customize typography at runtime while retaining the current default fonts, weights 400/600, and unitless line heights 1.28581/1.5. Font sizes, heading/code-block line heights, and control alignment retain their existing styles.

Add a compact Core / Typography / Playground overview of headings, component titles, breadcrumbs, menus, table headers, calendar labels, code, and regular controls. The Theme panel opens on the right and shows only the six typography tokens for this story, with font-family presets and custom stacks, individual resets, and reset-all. Numeric controls start from the token definitions. Load Normalize.css so native controls inherit typography.

Reviewers should focus on:

In the Typography playground, vary bold and regular weights independently and compare titles, calendar labels, table headers, and body text. Try the font-family presets, custom stacks, and both line heights, then open the portaled menu and switch themes or stories. Use the individual reset buttons or Reset all to restore defaults.

@changelog-app

changelog-app Bot commented Oct 15, 2026

Copy link
Copy Markdown

Generate changelog in packages/core/changelog/@unreleased

Type (Select exactly one)

  • Feature (Adding new functionality)
  • Improvement (Improving existing functionality)
  • Fix (Fixing an issue with existing functionality)
  • Break (Creating a new major version by breaking public APIs)
  • Deprecation (Removing functionality in a non-breaking way)
  • Migration (Automatically moving data/functionality to a new system)

Description

feat(core): use font-family token and add Storybook controls

Check the box to generate changelog(s)

  • Generate changelog entry

@blueprint-previews

Copy link
Copy Markdown

feat(core): use font-family token and add Storybook controls

Build artifact links for this commit: documentation | landing | table | demo | storybook

This is an automated comment from the deploy-preview CircleCI job.

@datahobbit26 datahobbit26 changed the title feat(core): use font-family token and add Storybook controls feat: add runtime typography tokens and Storybook playground Oct 15, 2026
@datahobbit26 datahobbit26 changed the title feat: add runtime typography tokens and Storybook playground feat: wire typography tokens and add Storybook playground Oct 15, 2026
@blueprint-previews

Copy link
Copy Markdown

feat: reveal custom font editor from preset dropdown

Build artifact links for this commit: documentation | landing | table | demo | storybook

This is an automated comment from the deploy-preview CircleCI job.

This branch has not been deployed

No deployments
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