Skip to content

Commit

Permalink
fix(step): color variant specificity (#3117)
Browse files Browse the repository at this point in the history
Hotfix to increase color specificity when a single circular step has an independenat color but the whole step group also got a colors definition
  • Loading branch information
lubber-de authored Nov 9, 2024
1 parent 2ee930b commit 7052a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/elements/step.less
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@
background: @color;
}
}
.ui.ui.@{variation}.circular.steps .step, .ui.ui.circular.steps .step.@{variation} {
.ui.ui.@{variation}.circular.steps .step, .ui.ui.ui.circular.steps .step.@{variation} {
&.active::before {
border-color: @color;
}
Expand All @@ -894,7 +894,7 @@
border-color: @color;
}
}
.ui.ui.@{variation}.circular.steps:not(.vertical) .step, .ui.ui.circular.steps:not(.vertical) .step.@{variation} {
.ui.ui.@{variation}.circular.steps:not(.vertical) .step, .ui.ui.ui.circular.steps:not(.vertical) .step.@{variation} {
&.completed {
background: @color;
}
Expand Down

0 comments on commit 7052a23

Please sign in to comment.