Skip to content

Declare missing --btn-input-font-weight token - #42931

Merged
mdo merged 1 commit into
v6-devfrom
fix-btn-input-font-weight-token
Sep 24, 2026
Merged

mdo merged 1 commit into
v6-devfrom
fix-btn-input-font-weight-token

Conversation

@julien-deramond

@julien-deramond julien-deramond commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Description

Declare the --btn-input-font-weight token in scss/_root.scss, alongside its --btn-input-* siblings.

Motivation & Context

--btn-font-weight reads var(--btn-input-font-weight), but that token was never declared. All other --btn-input-* tokens (gap, min-height, padding-x/y, font-size, line-height, border-radius) are declared. This one was a typo or oversight, so buttons silently inherited font weight instead of using the intended value.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Related issues

🤖 Generated with Claude Code

--btn-font-weight referenced var(--btn-input-font-weight), but that
token was never declared alongside its --btn-input-* siblings. Add it
to scss/_root.scss so buttons resolve the intended font weight
instead of silently inheriting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
willbyers1

This comment was marked as spam.

@mdo
mdo merged commit 66e4257 into v6-dev Sep 24, 2026
12 checks passed
@mdo
mdo deleted the fix-btn-input-font-weight-token branch September 24, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

3 participants