|
57 | 57 | &:focus { |
58 | 58 | & when (@theme = dark) { |
59 | 59 | .button-color( |
60 | | - @color; ~`colorPalette('@{background}', 7) `; ~`colorPalette('@{background}', 7) ` |
| 60 | + @color; colorPalette('@{background}', 7); colorPalette('@{background}', 7) |
61 | 61 | ); |
62 | 62 | } |
63 | 63 | & when (not (@theme = dark) and not (@theme = variable)) { |
64 | 64 | .button-color( |
65 | | - @color; ~`colorPalette('@{background}', 5) `; ~`colorPalette('@{background}', 5) ` |
| 65 | + @color; colorPalette('@{background}', 5); colorPalette('@{background}', 5) |
66 | 66 | ); |
67 | 67 | } |
68 | 68 | & when (@theme = variable) { |
|
73 | 73 | &:active { |
74 | 74 | & when (@theme = dark) { |
75 | 75 | .button-color( |
76 | | - @color; ~`colorPalette('@{background}', 5) `; ~`colorPalette('@{background}', 5) ` |
| 76 | + @color; colorPalette('@{background}', 5); colorPalette('@{background}', 5) |
77 | 77 | ); |
78 | 78 | } |
79 | 79 | & when (not (@theme = dark) and not (@theme = variable)) { |
80 | 80 | .button-color( |
81 | | - @color; ~`colorPalette('@{background}', 7) `; ~`colorPalette('@{background}', 7) ` |
| 81 | + @color; colorPalette('@{background}', 7); colorPalette('@{background}', 7) |
82 | 82 | ); |
83 | 83 | } |
84 | 84 | & when (@theme = variable) { |
|
99 | 99 | } |
100 | 100 | & when (not (@theme = dark) and not (@theme = variable)) { |
101 | 101 | .button-color( |
102 | | - ~`colorPalette('@{btn-primary-bg}', 5) `; @background; |
103 | | - ~`colorPalette('@{btn-primary-bg}', 5) ` |
| 102 | + colorPalette('@{btn-primary-bg}', 5); @background; |
| 103 | + colorPalette('@{btn-primary-bg}', 5) |
104 | 104 | ); |
105 | 105 | } |
106 | 106 | & when (@theme = variable) { |
|
114 | 114 | } |
115 | 115 | & when (not (@theme = dark) and not (@theme = variable)) { |
116 | 116 | .button-color( |
117 | | - ~`colorPalette('@{btn-primary-bg}', 7) `; @background; |
118 | | - ~`colorPalette('@{btn-primary-bg}', 7) ` |
| 117 | + colorPalette('@{btn-primary-bg}', 7); @background; |
| 118 | + colorPalette('@{btn-primary-bg}', 7) |
119 | 119 | ); |
120 | 120 | } |
121 | 121 | & when (@theme = variable) { |
|
133 | 133 | &:focus { |
134 | 134 | & when (@border = transparent) { |
135 | 135 | & when (@theme = dark) { |
136 | | - .button-color(~`colorPalette('@{color}', 7) `; null; transparent); |
| 136 | + .button-color(colorPalette('@{color}', 7); null; transparent); |
137 | 137 | } |
138 | 138 | & when (not (@theme = dark) and not (@theme = variable)) { |
139 | | - .button-color(~`colorPalette('@{color}', 5) `; null; transparent); |
| 139 | + .button-color(colorPalette('@{color}', 5); null; transparent); |
140 | 140 | } |
141 | 141 | & when (@theme = variable) { |
142 | 142 | .button-color(@borderActive; transparent; transparent); |
|
145 | 145 | & when not (@border = transparent) { |
146 | 146 | & when (@theme = dark) { |
147 | 147 | .button-color( |
148 | | - ~`colorPalette('@{color}', 7) `; null; ~`colorPalette('@{color}', 7) ` |
| 148 | + colorPalette('@{color}', 7); null; colorPalette('@{color}', 7) |
149 | 149 | ); |
150 | 150 | } |
151 | 151 | & when (not (@theme = dark) and not (@theme = variable)) { |
152 | 152 | .button-color( |
153 | | - ~`colorPalette('@{color}', 5) `; null; ~`colorPalette('@{color}', 5) ` |
| 153 | + colorPalette('@{color}', 5); null; colorPalette('@{color}', 5) |
154 | 154 | ); |
155 | 155 | } |
156 | 156 | & when (@theme = variable) { |
|
162 | 162 | &:active { |
163 | 163 | & when (@border = transparent) { |
164 | 164 | & when (@theme = dark) { |
165 | | - .button-color(~`colorPalette('@{color}', 5) `; null; transparent); |
| 165 | + .button-color(colorPalette('@{color}', 5); null; transparent); |
166 | 166 | } |
167 | 167 | & when (not (@theme = dark) and not (@theme = variable)) { |
168 | | - .button-color(~`colorPalette('@{color}', 7) `; null; transparent); |
| 168 | + .button-color(colorPalette('@{color}', 7); null; transparent); |
169 | 169 | } |
170 | 170 | & when (@theme = variable) { |
171 | 171 | .button-color(@borderActive; transparent; transparent); |
|
174 | 174 | & when not (@border = transparent) { |
175 | 175 | & when (@theme = dark) { |
176 | 176 | .button-color( |
177 | | - ~`colorPalette('@{color}', 5) `; null; ~`colorPalette('@{color}', 5) ` |
| 177 | + colorPalette('@{color}', 5); null; colorPalette('@{color}', 5) |
178 | 178 | ); |
179 | 179 | } |
180 | 180 | & when (not (@theme = dark) and not (@theme = variable)) { |
181 | 181 | .button-color( |
182 | | - ~`colorPalette('@{color}', 7) `; null; ~`colorPalette('@{color}', 7) ` |
| 182 | + colorPalette('@{color}', 7); null; colorPalette('@{color}', 7) |
183 | 183 | ); |
184 | 184 | } |
185 | 185 | & when (@theme = variable) { |
|
304 | 304 | &:focus { |
305 | 305 | & when (@theme = dark) { |
306 | 306 | .button-color( |
307 | | - ~`colorPalette('@{error-color}', 7) `; @btn-default-bg; ~`colorPalette('@{error-color}', 7) |
308 | | - ` |
| 307 | + colorPalette('@{error-color}', 7); @btn-default-bg; colorPalette('@{error-color}', 7) |
309 | 308 | ); |
310 | 309 | } |
311 | 310 | & when (not (@theme = dark) and not (@theme = variable)) { |
312 | 311 | .button-color( |
313 | | - ~`colorPalette('@{error-color}', 5) `; @btn-default-bg; ~`colorPalette('@{error-color}', 5) |
314 | | - ` |
| 312 | + colorPalette('@{error-color}', 5); @btn-default-bg; colorPalette('@{error-color}', 5) |
315 | 313 | ); |
316 | 314 | } |
317 | 315 | & when (@theme = variable) { |
|
322 | 320 | &:active { |
323 | 321 | & when (@theme = dark) { |
324 | 322 | .button-color( |
325 | | - ~`colorPalette('@{error-color}', 5) `; @btn-default-bg; ~`colorPalette('@{error-color}', 5) |
326 | | - ` |
| 323 | + colorPalette('@{error-color}', 5); @btn-default-bg; colorPalette('@{error-color}', 5) |
327 | 324 | ); |
328 | 325 | } |
329 | 326 | & when (not (@theme = dark) and not (@theme = variable)) { |
330 | 327 | .button-color( |
331 | | - ~`colorPalette('@{error-color}', 7) `; @btn-default-bg; ~`colorPalette('@{error-color}', 7) |
332 | | - ` |
| 328 | + colorPalette('@{error-color}', 7); @btn-default-bg; colorPalette('@{error-color}', 7) |
333 | 329 | ); |
334 | 330 | } |
335 | 331 | & when (@theme = variable) { |
|
346 | 342 | &:hover, |
347 | 343 | &:focus { |
348 | 344 | & when (@theme = dark) { |
349 | | - .button-color(~`colorPalette('@{error-color}', 7) `; transparent; transparent); |
| 345 | + .button-color(colorPalette('@{error-color}', 7); transparent; transparent); |
350 | 346 | } |
351 | 347 | & when (not (@theme = dark) and not (@theme = variable)) { |
352 | | - .button-color(~`colorPalette('@{error-color}', 5) `; transparent; transparent); |
| 348 | + .button-color(colorPalette('@{error-color}', 5); transparent; transparent); |
353 | 349 | } |
354 | 350 | & when (@theme = variable) { |
355 | 351 | .button-color(@error-color-hover; transparent; transparent); |
|
358 | 354 |
|
359 | 355 | &:active { |
360 | 356 | & when (@theme = dark) { |
361 | | - .button-color(~`colorPalette('@{error-color}', 5) `; transparent; transparent); |
| 357 | + .button-color(colorPalette('@{error-color}', 5); transparent; transparent); |
362 | 358 | } |
363 | 359 | & when (not (@theme = dark) and not (@theme = variable)) { |
364 | | - .button-color(~`colorPalette('@{error-color}', 7) `; transparent; transparent); |
| 360 | + .button-color(colorPalette('@{error-color}', 7); transparent; transparent); |
365 | 361 | } |
366 | 362 | & when (@theme = variable) { |
367 | 363 | .button-color(@error-color-active; transparent; transparent); |
|
430 | 426 | &:hover, |
431 | 427 | &:focus { |
432 | 428 | & when (@theme = dark) { |
433 | | - .button-color(~`colorPalette('@{error-color}', 7) `; @btn-text-hover-bg; transparent); |
| 429 | + .button-color(colorPalette('@{error-color}', 7); @btn-text-hover-bg; transparent); |
434 | 430 | } |
435 | 431 | & when (not (@theme = dark) and not (@theme = variable)) { |
436 | | - .button-color(~`colorPalette('@{error-color}', 5) `; @btn-text-hover-bg; transparent); |
| 432 | + .button-color(colorPalette('@{error-color}', 5); @btn-text-hover-bg; transparent); |
437 | 433 | } |
438 | 434 | & when (@theme = variable) { |
439 | 435 | .button-color(@error-color-hover; @btn-text-hover-bg; transparent); |
|
442 | 438 |
|
443 | 439 | &:active { |
444 | 440 | & when (@theme = dark) { |
445 | | - .button-color(~`colorPalette('@{error-color}', 5) `; fadein(@btn-text-hover-bg, 1%); transparent); |
| 441 | + .button-color(colorPalette('@{error-color}', 5); fadein(@btn-text-hover-bg, 1%); transparent); |
446 | 442 | } |
447 | 443 | & when (not (@theme = dark) and not (@theme = variable)) { |
448 | | - .button-color(~`colorPalette('@{error-color}', 7) `; fadein(@btn-text-hover-bg, 1%); transparent); |
| 444 | + .button-color(colorPalette('@{error-color}', 7); fadein(@btn-text-hover-bg, 1%); transparent); |
449 | 445 | } |
450 | 446 | & when (@theme = variable) { |
451 | 447 | .button-color(@error-color-active; fadein(@btn-text-hover-bg, 1%); transparent); |
|
0 commit comments