Skip to content

feat: add label and typography design tokens#4533

Merged
mxschll merged 2 commits into
mainfrom
dev-v3-schomax-label-tokens
May 19, 2026
Merged

feat: add label and typography design tokens#4533
mxschll merged 2 commits into
mainfrom
dev-v3-schomax-label-tokens

Conversation

@mxschll
Copy link
Copy Markdown
Member

@mxschll mxschll commented May 18, 2026

Description

Introduce themeable tokens for labels and typography:

  • Breadcrumb: fontWeightBreadcrumbCurrent
  • Label: fontSizeFormLabel, lineHeightFormLabel, fontWeightFormLabel, colorTextFormLabel
  • KV Pairs: fontSizeKeyValuePairsLabel, lineHeightKeyValuePairsLabel, fontWeightKeyValuePairsLabel

Related links, issue #, if available: n/a

How has this been tested?

Green pipeline.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.42%. Comparing base (be984ac) to head (12887b8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4533   +/-   ##
=======================================
  Coverage   97.42%   97.42%           
=======================================
  Files         939      939           
  Lines       29645    29645           
  Branches    10771    10771           
=======================================
  Hits        28883    28883           
  Misses        755      755           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mxschll mxschll marked this pull request as ready for review May 18, 2026 18:59
@mxschll mxschll requested a review from a team as a code owner May 18, 2026 18:59
@mxschll mxschll requested review from at-susie and srungta08 and removed request for a team May 18, 2026 18:59
| 'fontSizeBodyM'
| 'fontSizeBodyS'
| 'fontSizeDisplayL'
| 'fontSizeHeadingXl'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the urge to sort the entries. It moved down.

| 'fontSizeTabs'
| 'fontSmoothingMozOsx'
| 'fontSmoothingWebkit'
| 'fontSizeTabs'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, order changed.

fontSizeBodyM: '14px',
fontSizeBodyS: '12px',
fontSizeDisplayL: '42px',
fontSizeHeadingXl: '24px',
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order changed.

colorTextFormLabel: { description: 'Component specific: Special because control group is different.' },
colorTextFormLabel: {
description: 'The color of form field labels.',
public: false,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, why not publicly themeable?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want it to be public for now? It's still possible to use them, they're just not public API in case we want to change something.

@mxschll mxschll added this pull request to the merge queue May 19, 2026
Merged via the queue into main with commit 8486e8b May 19, 2026
55 checks passed
@mxschll mxschll deleted the dev-v3-schomax-label-tokens branch May 19, 2026 10:46
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.

3 participants