1
1
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
2
2
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
3
3
4
- $legacy-color-background-path-incomplete : #e0e5ee ;
5
- $legacy-color-background-path-incomplete-hover : #d8dde6 ;
6
- $legacy-color-background-path-complete : #51c983 ;
7
- $legacy-color-background-path-complete-hover : #1f8956 ;
8
- $legacy-color-background-path-current : #1172cf ;
9
- $legacy-color-background-path-current-hover : #0d61af ;
10
- $legacy-color-background-path-lost : #c23934 ;
4
+ $legacy-color-background-path-incomplete : #f3f3f3 ;
5
+ $legacy-color-background-path-incomplete-hover : #c9c9c9 ;
6
+ $legacy-color-background-path-complete : #3ba755 ;
7
+ $legacy-color-background-path-complete-hover : #2e844a ;
8
+ $legacy-color-background-path-current : #014486 ;
9
+ $legacy-color-background-path-current-hover : #032d60 ;
10
+ $legacy-color-background-path-lost : #ea001e ;
11
11
12
12
.slds-path-coach {
13
13
@include deprecate (' 4.0.0' , ' Use .slds-path instead of .slds-path-coach' ) {
@@ -32,7 +32,7 @@ $legacy-color-background-path-lost: #c23934;
32
32
@include tabs ;
33
33
34
34
.slds-is-complete {
35
- background-color : $legacy-color-background-path-complete ;
35
+ background-color : var ( --slds-g-color-success-base-60 , #{ $legacy-color-background-path-complete } ) ;
36
36
37
37
.slds-tabs_path__stage ,
38
38
.slds-tabs--path__stage {
@@ -50,7 +50,7 @@ $legacy-color-background-path-lost: #c23934;
50
50
}
51
51
52
52
& :hover {
53
- background-color : $legacy-color-background-path-complete-hover ;
53
+ background-color : var ( --slds-g-color-success-base-50 , #{ $legacy-color-background-path-complete-hover } ) ;
54
54
55
55
.slds-tabs_path__stage ,
56
56
.slds-tabs--path__stage {
@@ -70,26 +70,26 @@ $legacy-color-background-path-lost: #c23934;
70
70
}
71
71
72
72
.slds-is-current {
73
- background-color : $legacy-color-background-path-current ;
73
+ background-color : var ( --slds-g-color-palette-blue-30 , #{ $legacy-color-background-path-current } ) ;
74
74
75
75
& :hover {
76
- background-color : $legacy-color-background-path-current-hover ;
76
+ background-color : var ( --slds-g-color-palette-blue-20 , #{ $legacy-color-background-path-current-hover } ) ;
77
77
}
78
78
79
79
+ .slds-is-incomplete :before {
80
- background-color : $legacy-color-background-path-current ;
80
+ background-color : var ( --slds-g-color-palette-blue-30 , #{ $legacy-color-background-path-current } ) ;
81
81
}
82
82
83
83
& :hover + .slds-is-incomplete :before {
84
- background-color : $legacy-color-background-path-current-hover ;
84
+ background-color : var ( --slds-g-color-palette-blue-20 , #{ $legacy-color-background-path-current-hover } ) ;
85
85
}
86
86
}
87
87
88
88
.slds-is-incomplete {
89
89
background-color : var (--slds-g-color-neutral-base-95 , #{$legacy-color-background-path-incomplete } );
90
90
91
91
& :hover {
92
- background-color : var (--slds-g-color-neutral-base-90 , #{$legacy-color-background-path-incomplete-hover } );
92
+ background-color : var (--slds-g-color-neutral-base-80 , #{$legacy-color-background-path-incomplete-hover } );
93
93
}
94
94
95
95
.slds-tabs_path__link ,
@@ -100,7 +100,7 @@ $legacy-color-background-path-lost: #c23934;
100
100
101
101
.slds-is-lost ,
102
102
.slds-is-lost :hover {
103
- background-color : $legacy-color-background-path-lost ;
103
+ background-color : var ( --slds-g-color-error-base-50 , #{ $legacy-color-background-path-lost } ) ;
104
104
}
105
105
106
106
// Lets make sure we have the right color when these steps are activated
@@ -203,12 +203,12 @@ $legacy-color-background-path-lost: #c23934;
203
203
// The below logic makes the :before (which is actually a part of the previous section) the proper color based on tabs--path__item order
204
204
+ .slds-is-complete :before ,
205
205
+ .slds-is-current :before {
206
- background-color : $legacy-color-background-path-complete ;
206
+ background-color : var ( --slds-g-color-success-base-60 , #{ $legacy-color-background-path-complete } ) ;
207
207
}
208
208
209
209
& :hover + .slds-is-complete :before ,
210
210
& :hover + .slds-is-current :before {
211
- background-color : $legacy-color-background-path-complete-hover ;
211
+ background-color : var ( --slds-g-color-success-base-50 , #{ $legacy-color-background-path-complete-hover } ) ;
212
212
}
213
213
214
214
+ .slds-is-incomplete :before ,
@@ -218,7 +218,7 @@ $legacy-color-background-path-lost: #c23934;
218
218
219
219
& :hover + .slds-is-incomplete :before ,
220
220
& :hover + .slds-is-lost :before {
221
- background-color : var (--slds-g-color-neutral-base-90 , #{$legacy-color-background-path-incomplete-hover } );
221
+ background-color : var (--slds-g-color-neutral-base-80 , #{$legacy-color-background-path-incomplete-hover } );
222
222
}
223
223
}
224
224
}
0 commit comments