Closed sushantdhiman closed 2 years ago
With Bootstrap v5, .badge-* classes were dropped in favor of .bg-* classes https://getbootstrap.com/docs/5.0/migration/#badges
.badge-*
.bg-*
After using v5 sandstone theme, I noticed incorrect badge colors are displayed. It seems for navigation bg-primary is overriden https://github.com/thomaspark/bootswatch/blob/0ae2eeba0b1a80877771bd83cbd458b6426d9ac8/dist/sandstone/_bootswatch.scss#L15
bg-primary
Due to this css override, where ever bg-primary is used in v5 theme, incorrect color is displayed. Examples
Card
Badge
@sushantdhiman, thanks for bringing this to my attention. The bg overrides will be removed in the next release.
With Bootstrap v5,
.badge-*
classes were dropped in favor of.bg-*
classes https://getbootstrap.com/docs/5.0/migration/#badgesAfter using v5 sandstone theme, I noticed incorrect badge colors are displayed. It seems for navigation
bg-primary
is overriden https://github.com/thomaspark/bootswatch/blob/0ae2eeba0b1a80877771bd83cbd458b6426d9ac8/dist/sandstone/_bootswatch.scss#L15Due to this css override, where ever
bg-primary
is used in v5 theme, incorrect color is displayed. ExamplesCard
Badge