Skip to content

Commit

Permalink
fix(badge): add missing base color
Browse files Browse the repository at this point in the history
  • Loading branch information
inikolova committed Jan 24, 2025
1 parent 13cc228 commit af17456
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/scss/components/badge/_theme.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "sass:map";
@use "../../color-system/_functions.import.scss" as *;
@use "../../color-system/_swatch-legacy.scss" as *;
@use "../../functions/index.import.scss" as *;
@use "../../color-system/_functions.import.scss" as *;
Expand All @@ -6,7 +8,7 @@
@mixin kendo-badge--theme-base() {

// Solid badges
@each $name, $color in $kendo-theme-colors {
@each $name, $color in map.merge( $kendo-theme-colors, ( "base": if($kendo-enable-color-system, k-color( base ), $kendo-base-bg) )) {
.k-badge-solid-#{$name} {
border-color: $color;
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
Expand Down

0 comments on commit af17456

Please sign in to comment.