|
264 | 264 | $button-icon-padding: 0;
|
265 | 265 |
|
266 | 266 | $button-padding-material: (
|
267 |
| - comfortable: rem(9px, 16px) rem(16px, 16px), |
268 |
| - cosy: rem(6px, 16px) rem(16px, 16px), |
269 |
| - compact: rem(3px, 16px) rem(16px, 16px) |
| 267 | + comfortable: spacing(9px, 'comfortable') spacing(16px, 'comfortable'), |
| 268 | + cosy: spacing(6px, 'cosy') spacing(16px, 'cosy'), |
| 269 | + compact: spacing(3px, 'compact') spacing(16px, 'compact') |
270 | 270 | );
|
271 | 271 |
|
272 | 272 | $outlined-button-padding-material: (
|
273 |
| - comfortable: rem(7px, 16px) rem(14px, 16px), |
274 |
| - cosy: rem(4px, 16px) rem(14px, 16px), |
275 |
| - compact: rem(1px, 16px) rem(14px, 16px) |
| 273 | + comfortable: spacing(7px, 'comfortable') spacing(14px, 'comfortable'), |
| 274 | + cosy: spacing(4px, 'cosy') spacing(14px, 'cosy'), |
| 275 | + compact: spacing(1px, 'compact') spacing(14px, 'compact') |
276 | 276 | );
|
277 | 277 |
|
278 | 278 | $button-padding-fluent: (
|
279 |
| - comfortable: 0 rem(16px, 16px), |
280 |
| - cosy: 0 rem(16px, 16px), |
281 |
| - compact: 0 rem(16px, 16px) |
| 279 | + comfortable: 0 spacing(16px, 'comfortable'), |
| 280 | + cosy: 0 spacing(16px, 'cosy'), |
| 281 | + compact: 0 spacing(16px, 'compact') |
282 | 282 | );
|
283 | 283 |
|
284 | 284 | $button-padding-bootstrap: (
|
285 |
| - comfortable: rem(6px, 16px) rem(12px, 16px), |
286 |
| - cosy: rem(4px, 16px) rem(10px, 16px), |
287 |
| - compact: rem(2px, 16px) rem(8px, 16px) |
| 285 | + comfortable: spacing(6px, 'comfortable') spacing(12px, 'comfortable'), |
| 286 | + cosy: spacing(4px, 'cosy') spacing(10px, 'cosy'), |
| 287 | + compact: spacing(2px, 'compact') spacing(8px, 'compact') |
288 | 288 | );
|
289 | 289 |
|
290 | 290 | $button-padding-indigo: (
|
291 |
| - comfortable: rem(3px, 16px) rem(12px, 16px), |
292 |
| - cosy: rem(2px, 16px) rem(12px, 16px), |
293 |
| - compact: rem(1px, 16px) rem(8px, 16px) |
| 291 | + comfortable: spacing(3px, 'comfortable') spacing(12px, 'comfortable'), |
| 292 | + cosy: spacing(2px, 'cosy') spacing(12px, 'cosy'), |
| 293 | + compact: spacing(1px, 'compact') spacing(8px, 'compact') |
294 | 294 | );
|
295 | 295 |
|
296 | 296 | $outlined-button-padding-indigo: (
|
297 |
| - comfortable: rem(6px, 16px) rem(14px, 16px), |
298 |
| - cosy: rem(4px, 16px) rem(10px, 16px), |
299 |
| - compact: rem(2px, 16px) rem(6px, 16px) |
| 297 | + comfortable: spacing(6px, 'comfortable') spacing(14px, 'comfortable'), |
| 298 | + cosy: spacing(4px, 'cosy') spacing(10px, 'cosy'), |
| 299 | + compact: spacing(2px, 'cosy') spacing(6px, 'cosy') |
300 | 300 | );
|
301 | 301 |
|
302 | 302 | $icon-button-width-material: (
|
|
376 | 376 | ), $variant);
|
377 | 377 |
|
378 | 378 | $button-floating-padding: (
|
379 |
| - comfortable: rem(8px) rem(14px), |
380 |
| - cosy: rem(4px) rem(10px), |
381 |
| - compact: 0 rem(6px) |
| 379 | + comfortable: spacing(8px, 'comfortable') spacing(14px, 'comfortable'), |
| 380 | + cosy: spacing(4px, 'cosy') spacing(10px, 'cosy'), |
| 381 | + compact: 0 spacing(6px, 'compact') |
382 | 382 | );
|
383 | 383 |
|
384 | 384 | $button-floating-size: (
|
|
394 | 394 | );
|
395 | 395 |
|
396 | 396 | $icon-in-button-margin: (
|
397 |
| - comfortable: rem(12px), |
398 |
| - cosy: rem(8px), |
399 |
| - compact: rem(4px) |
| 397 | + comfortable: spacing(12px, 'comfortable'), |
| 398 | + cosy: spacing(8px, 'cosy'), |
| 399 | + compact: spacing(4px, 'compact') |
400 | 400 | );
|
401 | 401 |
|
402 | 402 | $icon-sizes: map.get((
|
|
0 commit comments