Skip to content

Commit 2ad0351

Browse files
authored
Revert changes in _index.scss
Revert changes in _index.scss in order to keep the Theming feature working as is
1 parent 2336da5 commit 2ad0351

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ui/components/path/base/_index.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,26 +183,26 @@
183183
// these mixins exist in order to alias selector assignment in the case
184184
// where state cannot be applied to the individual path step
185185
@mixin is-won() {
186-
background: var(--slds-g-color-success-base-50, #{$color-background-path-won});
186+
background: $color-background-path-won;
187187

188188
&:before,
189189
&:after,
190190
&:hover,
191191
&:hover:before,
192192
&:hover:after {
193-
background: var(--slds-g-color-success-base-50, #{$color-background-path-won});
193+
background: $color-background-path-won;
194194
}
195195
}
196196

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

200200
&:before,
201201
&:after,
202202
&:hover,
203203
&:hover:before,
204204
&:hover:after {
205-
background: var(--slds-g-color-error-base-50, #{$color-background-path-lost});
205+
background: $color-background-path-lost;
206206
}
207207
}
208208

@@ -252,11 +252,11 @@
252252
* @restrict .slds-path__item
253253
*/
254254
.slds-is-complete {
255-
background: var(--slds-g-color-success-base-60, #{$color-background-path-complete});
255+
background: $color-background-path-complete;
256256

257257
&:before,
258258
&:after {
259-
background: var(--slds-g-color-success-base-60, #{$color-background-path-complete});
259+
background: $color-background-path-complete;
260260
}
261261

262262
.slds-path__stage {
@@ -272,11 +272,11 @@
272272
}
273273

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

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

282282
.slds-path__stage {

0 commit comments

Comments
 (0)