|
24 | 24 | cursor: not-allowed; |
25 | 25 | pointer-events: none; |
26 | 26 |
|
27 | | - svg { |
| 27 | + svg:not([class]) { |
28 | 28 | color: $tutor-icon-disabled; |
29 | 29 | } |
30 | 30 | } |
|
35 | 35 | background-color: $tutor-button-primary; |
36 | 36 | color: $tutor-text-primary-inverse; |
37 | 37 |
|
38 | | - svg { |
| 38 | + svg:not([class]) { |
39 | 39 | color: $tutor-icon-idle-inverse; |
40 | 40 | } |
41 | 41 |
|
|
54 | 54 | background-color: $tutor-button-primary-disabled; |
55 | 55 | color: $tutor-text-primary-inverse; |
56 | 56 |
|
57 | | - svg { |
| 57 | + svg:not([class]) { |
58 | 58 | color: $tutor-icon-idle-inverse; |
59 | 59 | } |
60 | 60 | } |
61 | 61 | } @else if $variant == primary-soft { |
62 | 62 | background-color: $tutor-button-primary-soft; |
63 | 63 | color: $tutor-text-brand; |
64 | 64 |
|
65 | | - svg { |
| 65 | + svg:not([class]) { |
66 | 66 | color: $tutor-icon-brand; |
67 | 67 | } |
68 | 68 |
|
|
84 | 84 | background-color: $tutor-button-destructive; |
85 | 85 | color: $tutor-text-primary-inverse; |
86 | 86 |
|
87 | | - svg { |
| 87 | + svg:not([class]) { |
88 | 88 | color: $tutor-icon-idle-inverse; |
89 | 89 | } |
90 | 90 |
|
|
106 | 106 | background-color: $tutor-button-destructive-soft; |
107 | 107 | color: $tutor-text-critical; |
108 | 108 |
|
109 | | - svg { |
| 109 | + svg:not([class]) { |
110 | 110 | color: $tutor-icon-critical; |
111 | 111 | } |
112 | 112 |
|
|
128 | 128 | background-color: $tutor-button-secondary; |
129 | 129 | color: $tutor-text-primary; |
130 | 130 |
|
131 | | - svg { |
| 131 | + svg:not([class]) { |
132 | 132 | color: $tutor-icon-idle; |
133 | 133 | } |
134 | 134 |
|
|
151 | 151 | color: $tutor-text-primary; |
152 | 152 | box-shadow: inset 0 0 0 1px $tutor-border-idle; |
153 | 153 |
|
154 | | - svg { |
| 154 | + svg:not([class]) { |
155 | 155 | color: $tutor-icon-idle; |
156 | 156 | } |
157 | 157 |
|
|
173 | 173 | background-color: transparent; |
174 | 174 | color: $tutor-text-primary; |
175 | 175 |
|
176 | | - svg { |
| 176 | + svg:not([class]) { |
177 | 177 | color: $tutor-icon-secondary; |
178 | 178 | } |
179 | 179 |
|
|
185 | 185 | background-color: transparent; |
186 | 186 | color: $tutor-text-brand; |
187 | 187 |
|
188 | | - svg { |
| 188 | + svg:not([class]) { |
189 | 189 | color: $tutor-icon-brand; |
190 | 190 | } |
191 | 191 |
|
|
196 | 196 | background-color: transparent; |
197 | 197 | color: $tutor-text-brand; |
198 | 198 |
|
199 | | - svg { |
| 199 | + svg:not([class]) { |
200 | 200 | color: $tutor-icon-brand; |
201 | 201 | } |
202 | 202 |
|
203 | 203 | &:hover:not(:disabled):not(.disabled) { |
204 | 204 | color: $tutor-text-brand-hover; |
205 | 205 |
|
206 | | - svg { |
| 206 | + svg:not([class]) { |
207 | 207 | color: $tutor-icon-brand-hover; |
208 | 208 | } |
209 | 209 | } |
210 | 210 | } @else if $variant == link-gray { |
211 | 211 | background-color: transparent; |
212 | 212 | color: $tutor-text-subdued; |
213 | 213 |
|
214 | | - svg { |
| 214 | + svg:not([class]) { |
215 | 215 | color: $tutor-icon-subdued; |
216 | 216 | } |
217 | 217 |
|
218 | 218 | &:hover:not(:disabled):not(.disabled) { |
219 | 219 | color: $tutor-text-secondary; |
220 | 220 |
|
221 | | - svg { |
| 221 | + svg:not([class]) { |
222 | 222 | color: $tutor-icon-secondary; |
223 | 223 | } |
224 | 224 | } |
225 | 225 | } @else if $variant == link-destructive { |
226 | 226 | background-color: transparent; |
227 | 227 | color: $tutor-text-critical; |
228 | 228 |
|
229 | | - svg { |
| 229 | + svg:not([class]) { |
230 | 230 | color: $tutor-icon-critical; |
231 | 231 | } |
232 | 232 |
|
233 | 233 | &:hover:not(:disabled):not(.disabled) { |
234 | 234 | color: $tutor-text-critical-hover; |
235 | 235 |
|
236 | | - svg { |
| 236 | + svg:not([class]) { |
237 | 237 | color: $tutor-icon-critical-hover; |
238 | 238 | } |
239 | 239 | } |
|
0 commit comments