Skip to content

Conversation

@mdo
Copy link
Member

@mdo mdo commented Dec 11, 2025

Rearrange how Badge component consumes theme variables.

@mdo mdo added this to v6.0.0 Dec 11, 2025
@mdo mdo requested a review from a team as a code owner December 11, 2025 17:59
@github-project-automation github-project-automation bot moved this to Inbox in v6.0.0 Dec 11, 2025
Move --bs-theme-* variable usage from CSS variable definitions to property
declarations. This ensures the fallback works correctly:
- color: var(--bs-theme-contrast, var(--bs-badge-color))
- background-color: var(--bs-theme-bg, var(--bs-badge-bg))

Also fixes .badge-subtle variant to use same pattern.
@mdo mdo force-pushed the fix/badge-theme-variables branch from 034507d to 8db5e60 Compare December 11, 2025 22:54
@mdo mdo merged commit 353324b into v6-dev Dec 11, 2025
12 checks passed
@mdo mdo deleted the fix/badge-theme-variables branch December 11, 2025 23: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.

2 participants