Skip to content

Commit

Permalink
Revert changes in _index.scss
Browse files Browse the repository at this point in the history
Revert changes in _index.scss in order to keep the Theming feature working as is
  • Loading branch information
XiaoHippo authored Nov 1, 2022
1 parent 2336da5 commit 2ad0351
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ui/components/path/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,26 +183,26 @@
// these mixins exist in order to alias selector assignment in the case
// where state cannot be applied to the individual path step
@mixin is-won() {
background: var(--slds-g-color-success-base-50, #{$color-background-path-won});
background: $color-background-path-won;

&:before,
&:after,
&:hover,
&:hover:before,
&:hover:after {
background: var(--slds-g-color-success-base-50, #{$color-background-path-won});
background: $color-background-path-won;
}
}

@mixin is-lost() {
background: var(--slds-g-color-error-base-50, #{$color-background-path-lost});
background: $color-background-path-lost;

&:before,
&:after,
&:hover,
&:hover:before,
&:hover:after {
background: var(--slds-g-color-error-base-50, #{$color-background-path-lost});
background: $color-background-path-lost;
}
}

Expand Down Expand Up @@ -252,11 +252,11 @@
* @restrict .slds-path__item
*/
.slds-is-complete {
background: var(--slds-g-color-success-base-60, #{$color-background-path-complete});
background: $color-background-path-complete;

&:before,
&:after {
background: var(--slds-g-color-success-base-60, #{$color-background-path-complete});
background: $color-background-path-complete;
}

.slds-path__stage {
Expand All @@ -272,11 +272,11 @@
}

&:hover {
background: var(--slds-g-color-success-base-50, #{$color-background-path-complete-hover});
background: $color-background-path-complete-hover;

&:before,
&:after {
background: var(--slds-g-color-success-base-50, #{$color-background-path-complete-hover});
background: $color-background-path-complete-hover;
}

.slds-path__stage {
Expand Down

0 comments on commit 2ad0351

Please sign in to comment.