igniteui-theming 1.4.11 → 1.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/_functions.scss +2 -5
  3. package/sass/themes/_mixins.scss +1 -4
  4. package/sass/themes/schemas/components/light/_action-strip.scss +8 -24
  5. package/sass/themes/schemas/components/light/_avatar.scss +2 -2
  6. package/sass/themes/schemas/components/light/_badge.scss +2 -2
  7. package/sass/themes/schemas/components/light/_button-group.scss +7 -18
  8. package/sass/themes/schemas/components/light/_button.scss +34 -90
  9. package/sass/themes/schemas/components/light/_calendar.scss +22 -60
  10. package/sass/themes/schemas/components/light/_card.scss +7 -18
  11. package/sass/themes/schemas/components/light/_carousel.scss +6 -12
  12. package/sass/themes/schemas/components/light/_checkbox.scss +16 -48
  13. package/sass/themes/schemas/components/light/_chip.scss +6 -12
  14. package/sass/themes/schemas/components/light/_combo.scss +16 -10
  15. package/sass/themes/schemas/components/light/_dialog.scss +7 -18
  16. package/sass/themes/schemas/components/light/_drop-down.scss +13 -30
  17. package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -12
  18. package/sass/themes/schemas/components/light/_grid.scss +9 -20
  19. package/sass/themes/schemas/components/light/_input-group.scss +21 -54
  20. package/sass/themes/schemas/components/light/_list.scss +10 -24
  21. package/sass/themes/schemas/components/light/_navdrawer.scss +7 -18
  22. package/sass/themes/schemas/components/light/_progress.scss +7 -13
  23. package/sass/themes/schemas/components/light/_select.scss +24 -11
  24. package/sass/themes/schemas/components/light/_snackbar.scss +6 -18
  25. package/sass/themes/schemas/components/light/_splitter.scss +2 -6
  26. package/sass/themes/schemas/components/light/_stepper.scss +14 -28
  27. package/sass/themes/schemas/components/light/_switch.scss +15 -42
  28. package/sass/themes/schemas/components/light/_tabs.scss +4 -12
  29. package/sass/themes/schemas/components/light/_time-picker.scss +15 -42
  30. package/sass/themes/schemas/components/light/_toast.scss +8 -24
  31. package/sass/themes/schemas/components/light/_tooltip.scss +7 -18
  32. package/sass/themes/schemas/components/light/_watermark.scss +8 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
4
4
  "description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2,7 +2,6 @@
2
2
  @use 'sass:list';
3
3
  @use 'sass:meta';
4
4
  @use 'sass:string';
5
- @use 'sass:math';
6
5
  @use '../typography/functions' as *;
7
6
  @use '../elevations/functions' as *;
8
7
  @use '../color/functions' as color;
@@ -23,7 +22,7 @@
23
22
  /// foreground: (
24
23
  /// color: ('primary', 800, .5)
25
24
  /// ),
26
- /// border-radius: (rem(5px), rem(0), rem(8px)) // default, min and max radius
25
+ /// border-radius: rem(5px)
27
26
  /// );
28
27
  /// $theme: digest-schema($custom-schema);
29
28
  /// @returns {Map} - A theme map with resolved values.
@@ -117,9 +116,7 @@
117
116
  /// @param {Number} $max [$radius] - The maximum allowed value.
118
117
  /// @return {Number} - The clamped value
119
118
  @function border-radius($radius, $min: #{rem(0)}, $max: $radius) {
120
- $factor: math.div($radius, $max);
121
-
122
- @return clamp(#{$min}, #{calc(var(--ig-radius-factor, #{$factor}) * #{$max})}, #{$max});
119
+ @return clamp(#{$min}, #{calc(var(--ig-radius-factor) * #{$radius})}, #{$max});
123
120
  }
124
121
 
125
122
  /// Used to switch between values based on the size of the component.
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
- @use 'sass:math';
3
2
  @use 'sass:meta';
4
3
  @use 'sass:string';
5
4
  @use 'sass:list';
@@ -88,9 +87,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector', 'type', '_meta');
88
87
  /// @example scss
89
88
  /// @include border-radius(4px);
90
89
  @mixin border-radius($radius, $min: #{rem(0)}, $max: $radius) {
91
- $factor: math.div($radius, $max);
92
-
93
- border-radius: clamp(#{$min}, #{calc(var(--ig-radius-factor, #{$factor}) * #{$max})}, #{$max});
90
+ border-radius: clamp(#{$min}, #{calc(var(--ig-radius-factor) * #{$radius})}, #{$max});
94
91
  }
95
92
 
96
93
  /// Truncates text to a specific number of lines.
@@ -13,7 +13,7 @@
13
13
  /// @prop {Map} background [color: ('gray', 100, .38)] - The color used for the action strip component content background.
14
14
  /// @prop {Map} actions-background [color: ('gray', 200)] - The color used for actions background.
15
15
  /// @prop {Map} delete-action [color: ('error')] - The color used for the delete icon in action strip component.
16
- /// @prop {List} actions-border-radius [(rem(24px), rem(0), rem(24px))] - The border radius used for action strip actions container.
16
+ /// @prop {Number} actions-border-radius [24px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
17
17
  $light-action-strip: extend(
18
18
  (
19
19
  actions-background: (
@@ -39,41 +39,29 @@ $light-action-strip: extend(
39
39
  ),
40
40
  ),
41
41
 
42
- actions-border-radius: (
43
- rem(24px),
44
- rem(0),
45
- rem(24px),
46
- ),
42
+ actions-border-radius: rem(24px),
47
43
  )
48
44
  );
49
45
 
50
46
  /// Generates a fluent action strip schema.
51
47
  /// @type {Map}
52
- /// @prop {List} actions-border-radius [(rem(0), rem(0), rem(24px))] - The border radius used for action strip actions container.
48
+ /// @prop {Number} actions-border-radius [24px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
53
49
  /// @requires {Map} $light-action-strip
54
50
  $fluent-action-strip: extend(
55
51
  $light-action-strip,
56
52
  (
57
- actions-border-radius: (
58
- rem(0),
59
- rem(0),
60
- rem(24px),
61
- ),
53
+ actions-border-radius: rem(0),
62
54
  )
63
55
  );
64
56
 
65
57
  /// Generates a bootstrap action strip schema.
66
58
  /// @type {Map}
67
- /// @prop {List} actions-border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for action strip actions container.
59
+ /// @prop {Number} actions-border-radius [4px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
68
60
  /// @requires {Map} $light-action-strip
69
61
  $bootstrap-action-strip: extend(
70
62
  $light-action-strip,
71
63
  (
72
- actions-border-radius: (
73
- rem(4px),
74
- rem(0),
75
- rem(24px),
76
- ),
64
+ actions-border-radius: rem(4px),
77
65
  )
78
66
  );
79
67
 
@@ -81,7 +69,7 @@ $bootstrap-action-strip: extend(
81
69
  /// @type {Map}
82
70
  /// @prop {Map} icon-color [contrast-color: 'primary'] - The color used for the actions icons.
83
71
  /// @prop {Map} actions-background [color: ('primary')] - The color used for actions background.
84
- /// @prop {List} actions-border-radius [(rem(3px), rem(0), rem(24px))] - The border radius used for action strip actions container.
72
+ /// @prop {Number} actions-border-radius [3px] - The border radius used for action strip actions container. Can be a fraction between 0 and 1, pixels, or percent.
85
73
  /// @requires {Map} $light-action-strip
86
74
  $indigo-action-strip: extend(
87
75
  $light-action-strip,
@@ -96,10 +84,6 @@ $indigo-action-strip: extend(
96
84
  contrast-color: 'primary',
97
85
  ),
98
86
 
99
- actions-border-radius: (
100
- rem(3px),
101
- rem(0),
102
- rem(24px),
103
- ),
87
+ actions-border-radius: rem(3px),
104
88
  )
105
89
  );
@@ -11,7 +11,7 @@
11
11
  /// @type {Map}
12
12
  /// @prop {Map} background [color: ('gray', 400, .54)]- The background color of the avatar.
13
13
  /// @prop {Map} color [color: ('gray', 800, .96)] - The text/icon color of the avatar.
14
- /// @prop {Number} border-radius [rem(0)] - The border radius.
14
+ /// @prop {Number} border-radius [0] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
15
15
  /// @prop {Number} size - The size of the avatar.
16
16
  $light-avatar: (
17
17
  background: (
@@ -40,7 +40,7 @@ $fluent-avatar: $light-avatar;
40
40
  /// @type {Map}
41
41
  /// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
42
42
  /// @prop {Map} color [contrast-color: ('gray', 400)] - The text/icon color of the avatar.
43
- /// @prop {Number} border-radius [rem(4px)] - The border radius.
43
+ /// @prop {Number} border-radius [4px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
44
44
  /// @requires {Map} $light-avatar
45
45
  $bootstrap-avatar: extend(
46
46
  $light-avatar,
@@ -16,7 +16,7 @@
16
16
  /// @prop {Map} background-color [color: ('primary', 500)] - The background color used.
17
17
  /// @prop {Number} border-width [0] - The border width of the badge component.
18
18
  /// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the badge shadow.
19
- /// @prop {Number} border-radius [0] - The border radius used for badge.
19
+ /// @prop {Number} border-radius [0] - The border radius used for badge. Can be a fraction between 0 and 1, pixels, or percent.
20
20
  /// @requires {Map} $default-elevation-badge
21
21
  $light-badge: extend(
22
22
  $default-elevation-badge,
@@ -63,7 +63,7 @@ $fluent-badge: $light-badge;
63
63
  /// Generates a bootstrap badge schema.
64
64
  /// @type {Map}
65
65
  /// @prop {Number} border-width [1px] - The border width of the badge component.
66
- /// @prop {Number} border-radius [rem(4px)] - The border radius used for badge.
66
+ /// @prop {Number} border-radius [4px] - The border radius used for badge. Can be a fraction between 0 and 1, pixels, or percent.
67
67
  /// @requires {Map} $light-badge
68
68
  /// @requires {Map} $bootstrap-elevation-badge
69
69
  $bootstrap-badge: extend(
@@ -24,7 +24,7 @@
24
24
  /// @prop {Map} item-selected-hover-background [color: ('gray', 500, .8)] - The background color for a selected item in hover or focus state in the button group.
25
25
  /// @prop {Map} idle-shadow-color [transparent] - The outline color of button group items.
26
26
  /// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
27
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for button-group component.
27
+ /// @prop {Number} border-radius [4px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
28
28
  /// @requires {Map} $default-elevation-button-group
29
29
  $light-button-group: extend(
30
30
  $default-elevation-button-group,
@@ -116,11 +116,7 @@ $light-button-group: extend(
116
116
  ),
117
117
  ),
118
118
 
119
- border-radius: (
120
- rem(4px),
121
- rem(0),
122
- rem(20px),
123
- ),
119
+ border-radius: rem(4px),
124
120
  )
125
121
  );
126
122
 
@@ -134,7 +130,7 @@ $light-button-group: extend(
134
130
  /// @prop {Map} item-selected-text-color [color: ('primary', 200)]- The text color for a selected item in the button group.
135
131
  /// @prop {Color} disabled-background-color [color: ('gray', 50)] - The background color for a disabled item in the button group.
136
132
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
137
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for button-group component.
133
+ /// @prop {Number} border-radius [2px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
138
134
  /// @requires {Map} $light-button-group
139
135
  /// @requires {Map} $fluent-elevation-button-group
140
136
  $fluent-button-group: extend(
@@ -190,11 +186,7 @@ $fluent-button-group: extend(
190
186
  ),
191
187
  ),
192
188
 
193
- border-radius: (
194
- rem(2px),
195
- rem(0),
196
- rem(20px),
197
- ),
189
+ border-radius: rem(2px),
198
190
  )
199
191
  );
200
192
 
@@ -213,6 +205,7 @@ $fluent-button-group: extend(
213
205
  /// @prop {Map} disabled-text-color [color: ('primary', 200)]- The text/icon color for a disabled item in the button group.
214
206
  /// @prop {Map} item-disabled-border [color: ('primary', 100)] - The border color for a disabled item in the button group.
215
207
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
208
+ /// @prop {Number} border-radius [4px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
216
209
  /// @requires {Map} $light-button-group
217
210
  /// @requires {Map} $bootstrap-elevation-button-group
218
211
  $bootstrap-button-group: extend(
@@ -322,7 +315,7 @@ $bootstrap-button-group: extend(
322
315
  /// @prop {Map} disabled-text-color [color: ('gray', 400)]- The text/icon color for a disabled item in the button group.
323
316
  /// @prop {Map} item-disabled-border [color: ('gray', 300)] - The border color for a disabled item in the button group.
324
317
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
325
- /// @prop {List} border-radius [(rem(8px), rem(0), rem(20px))] - The border radius used for button-group component.
318
+ /// @prop {Number} border-radius [8px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
326
319
  /// @requires {Map} $light-button-group
327
320
  /// @requires {Map} $indigo-elevation-button-group
328
321
  $indigo-button-group: extend(
@@ -428,10 +421,6 @@ $indigo-button-group: extend(
428
421
  ),
429
422
  ),
430
423
 
431
- border-radius: (
432
- rem(8px),
433
- rem(0),
434
- rem(20px),
435
- ),
424
+ border-radius: rem(8px),
436
425
  )
437
426
  );
@@ -54,7 +54,7 @@ $material-base-button: (
54
54
  /// @prop {Map} active-background [color: ('secondary', 400, .12)] - The active background color of a flat button.
55
55
  /// @prop {Map} active-foreground [color: ('secondary', 500)] - The active text color of a flat button.
56
56
  /// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
57
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for flat button.
57
+ /// @prop {Number} border-radius [4px] - The border radius used for flat button.
58
58
  /// @requires {Map} $material-base-button
59
59
  /// @requires {Map} $flat-elevation-button
60
60
  $material-flat-button: extend(
@@ -122,11 +122,7 @@ $material-flat-button: extend(
122
122
  ),
123
123
  ),
124
124
  disabled-background: transparent,
125
- border-radius: (
126
- rem(4px),
127
- rem(0),
128
- rem(20px),
129
- ),
125
+ border-radius: rem(4px),
130
126
  )
131
127
  );
132
128
 
@@ -195,7 +191,7 @@ $material-outlined-button: extend(
195
191
  /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
196
192
  /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
197
193
  /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
198
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for raised button.
194
+ /// @prop {Number} border-radius [4px] - The border radius used for raised button. Can be a fraction between 0 and 1, pixels, or percent.
199
195
  /// @requires {Map} $material-base-button
200
196
  /// @requires {Map} $material-raised-elevation
201
197
  $material-raised-button: extend(
@@ -263,11 +259,7 @@ $material-raised-button: extend(
263
259
  300,
264
260
  ),
265
261
  ),
266
- border-radius: (
267
- rem(4px),
268
- rem(0),
269
- rem(20px),
270
- ),
262
+ border-radius: rem(4px),
271
263
  )
272
264
  );
273
265
 
@@ -275,7 +267,7 @@ $material-raised-button: extend(
275
267
  /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
276
268
  /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
277
269
  /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
278
- /// @prop {List} border-radius [(rem(28px), rem(12px), rem(28px))] - The border radius used for floating button.
270
+ /// @prop {Number} border-radius [28px] - The border radius used for the floating button. Can be a fraction between 0 and 1, pixels, or percent.
279
271
  /// @requires {Map} $material-raised-button
280
272
  /// @requires {Map} $material-fab-elevation
281
273
  $material-fab-button: extend(
@@ -283,11 +275,7 @@ $material-fab-button: extend(
283
275
  $material-fab-elevation,
284
276
  (
285
277
  selector: '[igxButton="fab"], .igx-button--fab',
286
- border-radius: (
287
- rem(28px),
288
- rem(12px),
289
- rem(28px),
290
- ),
278
+ border-radius: rem(28px),
291
279
  )
292
280
  );
293
281
 
@@ -306,7 +294,7 @@ $material-fab-button: extend(
306
294
  /// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of the button.
307
295
  /// @prop {Map} focus-visible-border-color [color: ('gray', 400)] - The focus-visible border color of the button.
308
296
  /// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of the button.
309
- /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for floating button.
297
+ /// @prop {Number} border-radius [20px] - The border radius used for the floating button. Can be a fraction between 0 and 1, pixels, or percent.
310
298
  /// @requires {Map} $material-base-button
311
299
  /// @requires {Map} $material-ib-elevation
312
300
  $material-icon-button: extend(
@@ -383,11 +371,7 @@ $material-icon-button: extend(
383
371
  400,
384
372
  ),
385
373
  ),
386
- border-radius: (
387
- rem(20px),
388
- rem(0),
389
- rem(20px),
390
- ),
374
+ border-radius: rem(20px),
391
375
  )
392
376
  );
393
377
 
@@ -440,7 +424,7 @@ $fluent-base-button: extend(
440
424
  /// @prop {Map} hover-foreground [color: ('primary', 500)] - The hover text color of a flat button.
441
425
  /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
442
426
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
443
- /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for flat button.
427
+ /// @prop {Number} border-radius [0] - The border radius used for flat button. Can be a fraction between 0 and 1, pixels, or percent.
444
428
  /// @requires {Map} $material-flat-button
445
429
  /// @requires {Map} $fluent-base-button
446
430
  $fluent-flat-button: extend(
@@ -482,11 +466,7 @@ $fluent-flat-button: extend(
482
466
  ),
483
467
  ),
484
468
  disabled-background: transparent,
485
- border-radius: (
486
- rem(0),
487
- rem(0),
488
- rem(20px),
489
- ),
469
+ border-radius: rem(0),
490
470
  )
491
471
  );
492
472
 
@@ -507,7 +487,7 @@ $fluent-flat-button: extend(
507
487
  /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of an outlined button.
508
488
  /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of an outlined button.
509
489
  /// @prop {Map} disabled-foreground [color: ('gray', 400, .5)] - The disabled foreground color of an outlined button.
510
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for outlined button.
490
+ /// @prop {Number} border-radius [2px] - The border radius used for outlined button.
511
491
  /// @requires {Map} $material-outlined-button
512
492
  /// @requires {Map} $fluent-base-button
513
493
  $fluent-outlined-button: extend(
@@ -606,11 +586,7 @@ $fluent-outlined-button: extend(
606
586
  0.5,
607
587
  ),
608
588
  ),
609
- border-radius: (
610
- rem(2px),
611
- rem(0),
612
- rem(20px),
613
- ),
589
+ border-radius: rem(2px),
614
590
  )
615
591
  );
616
592
 
@@ -633,7 +609,7 @@ $fluent-outlined-button: extend(
633
609
  /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
634
610
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
635
611
  /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
636
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for raised button.
612
+ /// @prop {Number} border-radius [2px] - The border radius used for raised button. Can be a fraction between 0 and 1, pixels, or percent.
637
613
  /// @requires {Map} $material-raised-button
638
614
  /// @requires {Map} $fluent-base-button
639
615
  $fluent-raised-button: extend(
@@ -730,11 +706,7 @@ $fluent-raised-button: extend(
730
706
  900,
731
707
  ),
732
708
  ),
733
- border-radius: (
734
- rem(2px),
735
- rem(0),
736
- rem(20px),
737
- ),
709
+ border-radius: rem(2px),
738
710
  )
739
711
  );
740
712
 
@@ -747,7 +719,7 @@ $fluent-raised-button: extend(
747
719
  /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
748
720
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
749
721
  /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
750
- /// @prop {List} border-radius [(rem(14px), rem(12px), rem(28px))] - The border radius used for fab button.
722
+ /// @prop {Number} border-radius [14px] - The border radius used for fab button.
751
723
  /// @requires {Map} $fluent-base-button
752
724
  /// @requires {Map} $fluent-raised-button
753
725
  $fluent-fab-button: extend(
@@ -785,11 +757,7 @@ $fluent-fab-button: extend(
785
757
  900,
786
758
  ),
787
759
  ),
788
- border-radius: (
789
- rem(14px),
790
- rem(12px),
791
- rem(28px),
792
- ),
760
+ border-radius: rem(14px),
793
761
  )
794
762
  );
795
763
 
@@ -810,7 +778,7 @@ $fluent-fab-button: extend(
810
778
  /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of an icon button.
811
779
  /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of an icon button.
812
780
  /// @prop {Map} disabled-border-color [color: ('gray', 100), lighten: 35%] - The disabled focused border color of an icon button.
813
- /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for icon button.
781
+ /// @prop {Number} border-radius [0] - The border radius used for icon button. Can be a fraction between 0 and 1, pixels, or percent.
814
782
  /// @requires {Map} $material-icon-button
815
783
  /// @requires {Map} $fluent-base-button
816
784
  $fluent-icon-button: extend(
@@ -880,11 +848,7 @@ $fluent-icon-button: extend(
880
848
  100,
881
849
  ),
882
850
  ),
883
- border-radius: (
884
- rem(0),
885
- rem(0),
886
- rem(20px),
887
- ),
851
+ border-radius: rem(0),
888
852
  )
889
853
  );
890
854
 
@@ -938,6 +902,7 @@ $bootstrap-base-button: extend(
938
902
  /// @prop {Map} active-background [transparent] - The active background color of a flat button.
939
903
  /// @prop {Map} active-foreground [color: ('primary', 600)] - The active background color of a flat button.
940
904
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
905
+ /// @prop {Number} border-radius [4px] - The border radius used for flat button.
941
906
  /// @requires {Map} $material-flat-button
942
907
  /// @requires {Map} $bootstrap-base-button
943
908
  $bootstrap-flat-button: extend(
@@ -1007,6 +972,7 @@ $bootstrap-flat-button: extend(
1007
972
  /// @prop {Map} disabled-border-color [color: ('primary', 50), lighten: 35%] - The disabled focused border color of an outlined button.
1008
973
  /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
1009
974
  /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
975
+ /// @prop {Number} border-radius [4px] - The border radius used for outlined button.
1010
976
  /// @requires {Map} $material-outlined-button
1011
977
  /// @requires {Map} $bootstrap-base-button
1012
978
  $bootstrap-outlined-button: extend(
@@ -1116,6 +1082,7 @@ $bootstrap-outlined-button: extend(
1116
1082
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an raised button.
1117
1083
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an raised button.
1118
1084
  /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a raised button.
1085
+ /// @prop {Number} border-radius [4px] - The border radius used for outlined button. Can be a fraction between 0 and 1, pixels, or percent.
1119
1086
  /// @requires {Map} $material-raised-button
1120
1087
  /// @requires {Map} $bootstrap-base-button
1121
1088
  $bootstrap-raised-button: extend(
@@ -1201,7 +1168,7 @@ $bootstrap-raised-button: extend(
1201
1168
  /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of a fab button.
1202
1169
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of a fab button.
1203
1170
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of a fab button.
1204
- /// @prop {List} border-radius [(rem(15px), rem(12px), rem(28px))] - The border radius used for outlined button.
1171
+ /// @prop {Number} border-radius [15px] - The border radius used for outlined button.
1205
1172
  /// @requires {Map} $material-fab-button
1206
1173
  /// @requires {Map} $bootstrap-base-button
1207
1174
  /// @requires {Map} $bootstrap-raised-button
@@ -1265,11 +1232,7 @@ $bootstrap-fab-button: extend(
1265
1232
  700,
1266
1233
  ),
1267
1234
  ),
1268
- border-radius: (
1269
- rem(15px),
1270
- rem(12px),
1271
- rem(28px),
1272
- ),
1235
+ border-radius: rem(15px),
1273
1236
  )
1274
1237
  );
1275
1238
 
@@ -1286,7 +1249,7 @@ $bootstrap-fab-button: extend(
1286
1249
  /// @prop {Map} active-foreground [color: ('primary', 600)] - The active text color of an icon button.
1287
1250
  /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
1288
1251
  /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the button.
1289
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for outlined button.
1252
+ /// @prop {Number} border-radius [4px] - The border radius used for outlined button.
1290
1253
  /// @requires {Map} $material-icon-button
1291
1254
  /// @requires {Map} $bootstrap-base-button
1292
1255
  $bootstrap-icon-button: extend(
@@ -1350,11 +1313,7 @@ $bootstrap-icon-button: extend(
1350
1313
  100,
1351
1314
  ),
1352
1315
  ),
1353
- border-radius: (
1354
- rem(4px),
1355
- rem(0),
1356
- rem(20px),
1357
- ),
1316
+ border-radius: rem(4px),
1358
1317
  )
1359
1318
  );
1360
1319
 
@@ -1390,7 +1349,7 @@ $indigo-base-button: extend($material-base-button, $flat-elevation-button);
1390
1349
  /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a flat button.
1391
1350
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
1392
1351
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a flat button.
1393
- /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1352
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
1394
1353
  /// @requires {Map} $material-flat-button
1395
1354
  /// @requires {Map} $indigo-base-button
1396
1355
  $indigo-flat-button: extend(
@@ -1438,11 +1397,7 @@ $indigo-flat-button: extend(
1438
1397
  ),
1439
1398
  ),
1440
1399
  disabled-background: transparent,
1441
- border-radius: (
1442
- rem(20px),
1443
- rem(0),
1444
- rem(20px),
1445
- ),
1400
+ border-radius: rem(20px),
1446
1401
  )
1447
1402
  );
1448
1403
 
@@ -1464,7 +1419,7 @@ $indigo-flat-button: extend(
1464
1419
  /// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
1465
1420
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a outlined button.
1466
1421
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
1467
- /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1422
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
1468
1423
  /// @requires {Map} $material-outlined-button
1469
1424
  /// @requires {Map} $indigo-base-button
1470
1425
  $indigo-outlined-button: extend(
@@ -1533,11 +1488,7 @@ $indigo-outlined-button: extend(
1533
1488
  ),
1534
1489
  ),
1535
1490
  disabled-background: transparent,
1536
- border-radius: (
1537
- rem(20px),
1538
- rem(0),
1539
- rem(20px),
1540
- ),
1491
+ border-radius: rem(20px),
1541
1492
  )
1542
1493
  );
1543
1494
 
@@ -1551,7 +1502,7 @@ $indigo-outlined-button: extend(
1551
1502
  /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a raised button.
1552
1503
  /// @prop {Map} active-background [color: ('gray', 50)] - The active background color of a raised button.
1553
1504
  /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a raised button.
1554
- /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1505
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
1555
1506
  /// @requires {Map} $material-raised-button
1556
1507
  /// @requires {Map} $indigo-base-button
1557
1508
  $indigo-raised-button: extend(
@@ -1612,11 +1563,7 @@ $indigo-raised-button: extend(
1612
1563
  200,
1613
1564
  ),
1614
1565
  ),
1615
- border-radius: (
1616
- rem(20px),
1617
- rem(0),
1618
- rem(20px),
1619
- ),
1566
+ border-radius: rem(20px),
1620
1567
  )
1621
1568
  );
1622
1569
 
@@ -1625,7 +1572,7 @@ $indigo-raised-button: extend(
1625
1572
  /// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a fab button.
1626
1573
  /// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a fab button.
1627
1574
  /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a fab button.
1628
- /// @prop {List} border-radius [(rem(28px), rem(12px), rem(28px))] - The border radius used for flat button.
1575
+ /// @prop {Number} border-radius [28px] - The border radius used for flat button.
1629
1576
  /// @requires {Map} $material-fab-button
1630
1577
  /// @requires {Map} $indigo-base-button
1631
1578
  /// @requires {Map} $indigo-raised-button
@@ -1659,11 +1606,7 @@ $indigo-fab-button: extend(
1659
1606
  50,
1660
1607
  ),
1661
1608
  ),
1662
- border-radius: (
1663
- rem(28px),
1664
- rem(12px),
1665
- rem(28px),
1666
- ),
1609
+ border-radius: rem(28px),
1667
1610
  )
1668
1611
  );
1669
1612
 
@@ -1681,6 +1624,7 @@ $indigo-fab-button: extend(
1681
1624
  /// @prop {Map} focus-border-color [color: ('gray' 300)] - The focus border color of the button.
1682
1625
  /// @prop {Map} focus-visible-border-color [color: ('gray' 300)] - The focus-visible border color of the button.
1683
1626
  /// @prop {Map} active-border-color [color: ('gray' 300)] - The active border color of the button.
1627
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
1684
1628
  /// @requires {Map} $material-icon-button
1685
1629
  /// @requires {Map} $indigo-base-button
1686
1630
  $indigo-icon-button: extend(