Skip to content

Commit 9a0584f

Browse files
committed
button icon class fixed
1 parent 7f34c09 commit 9a0584f

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

assets/core/scss/mixins/_buttons.scss

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
cursor: not-allowed;
2525
pointer-events: none;
2626

27-
svg {
27+
svg:not([class]) {
2828
color: $tutor-icon-disabled;
2929
}
3030
}
@@ -35,7 +35,7 @@
3535
background-color: $tutor-button-primary;
3636
color: $tutor-text-primary-inverse;
3737

38-
svg {
38+
svg:not([class]) {
3939
color: $tutor-icon-idle-inverse;
4040
}
4141

@@ -54,15 +54,15 @@
5454
background-color: $tutor-button-primary-disabled;
5555
color: $tutor-text-primary-inverse;
5656

57-
svg {
57+
svg:not([class]) {
5858
color: $tutor-icon-idle-inverse;
5959
}
6060
}
6161
} @else if $variant == primary-soft {
6262
background-color: $tutor-button-primary-soft;
6363
color: $tutor-text-brand;
6464

65-
svg {
65+
svg:not([class]) {
6666
color: $tutor-icon-brand;
6767
}
6868

@@ -84,7 +84,7 @@
8484
background-color: $tutor-button-destructive;
8585
color: $tutor-text-primary-inverse;
8686

87-
svg {
87+
svg:not([class]) {
8888
color: $tutor-icon-idle-inverse;
8989
}
9090

@@ -106,7 +106,7 @@
106106
background-color: $tutor-button-destructive-soft;
107107
color: $tutor-text-critical;
108108

109-
svg {
109+
svg:not([class]) {
110110
color: $tutor-icon-critical;
111111
}
112112

@@ -128,7 +128,7 @@
128128
background-color: $tutor-button-secondary;
129129
color: $tutor-text-primary;
130130

131-
svg {
131+
svg:not([class]) {
132132
color: $tutor-icon-idle;
133133
}
134134

@@ -151,7 +151,7 @@
151151
color: $tutor-text-primary;
152152
box-shadow: inset 0 0 0 1px $tutor-border-idle;
153153

154-
svg {
154+
svg:not([class]) {
155155
color: $tutor-icon-idle;
156156
}
157157

@@ -173,7 +173,7 @@
173173
background-color: transparent;
174174
color: $tutor-text-primary;
175175

176-
svg {
176+
svg:not([class]) {
177177
color: $tutor-icon-secondary;
178178
}
179179

@@ -185,7 +185,7 @@
185185
background-color: transparent;
186186
color: $tutor-text-brand;
187187

188-
svg {
188+
svg:not([class]) {
189189
color: $tutor-icon-brand;
190190
}
191191

@@ -196,44 +196,44 @@
196196
background-color: transparent;
197197
color: $tutor-text-brand;
198198

199-
svg {
199+
svg:not([class]) {
200200
color: $tutor-icon-brand;
201201
}
202202

203203
&:hover:not(:disabled):not(.disabled) {
204204
color: $tutor-text-brand-hover;
205205

206-
svg {
206+
svg:not([class]) {
207207
color: $tutor-icon-brand-hover;
208208
}
209209
}
210210
} @else if $variant == link-gray {
211211
background-color: transparent;
212212
color: $tutor-text-subdued;
213213

214-
svg {
214+
svg:not([class]) {
215215
color: $tutor-icon-subdued;
216216
}
217217

218218
&:hover:not(:disabled):not(.disabled) {
219219
color: $tutor-text-secondary;
220220

221-
svg {
221+
svg:not([class]) {
222222
color: $tutor-icon-secondary;
223223
}
224224
}
225225
} @else if $variant == link-destructive {
226226
background-color: transparent;
227227
color: $tutor-text-critical;
228228

229-
svg {
229+
svg:not([class]) {
230230
color: $tutor-icon-critical;
231231
}
232232

233233
&:hover:not(:disabled):not(.disabled) {
234234
color: $tutor-text-critical-hover;
235235

236-
svg {
236+
svg:not([class]) {
237237
color: $tutor-icon-critical-hover;
238238
}
239239
}

0 commit comments

Comments
 (0)