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
@@ -14,7 +14,7 @@
14
14
  /// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color used in the snackbar.
15
15
  /// @prop {Map} button-color [color: ('secondary', 500)] - The button color used in the snackbar.
16
16
  /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used in the snackbar.
17
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for snackbar.
17
+ /// @prop {Number} border-radius [4px] - The border radius used for snackbar. Can be a fraction between 0 and 1, pixels, or percent.
18
18
  /// @requires {Map} $default-elevation-snackbar
19
19
  $light-snackbar: extend(
20
20
  $default-elevation-snackbar,
@@ -41,27 +41,19 @@ $light-snackbar: extend(
41
41
  ),
42
42
  ),
43
43
 
44
- border-radius: (
45
- rem(4px),
46
- rem(0),
47
- rem(24px),
48
- ),
44
+ border-radius: rem(4px),
49
45
  )
50
46
  );
51
47
 
52
48
  /// Generates a fluent snackbar schema.
53
49
  /// @type {Map}
54
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(24px))] - The border radius used for snackbar.
50
+ /// @prop {Number} border-radius [2px] - The border radius used for snackbar. Can be a fraction between 0 and 1, pixels, or percent.
55
51
  ///
56
52
  /// @requires $light-snackbar
57
53
  $fluent-snackbar: extend(
58
54
  $light-snackbar,
59
55
  (
60
- border-radius: (
61
- rem(2px),
62
- rem(0),
63
- rem(24px),
64
- ),
56
+ border-radius: rem(2px),
65
57
  )
66
58
  );
67
59
 
@@ -105,7 +97,7 @@ $bootstrap-snackbar: extend(
105
97
  /// @prop {Map} background [color: ('gray', 700, .9)] - The background color used in the snackbar.
106
98
  /// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color used in the snackbar.
107
99
  /// @prop {Map} button-color [contrast-color: ('gray', 700)] - The button color used in the snackbar.
108
- /// @prop {List} border-radius [(rem(6px), rem(0), rem(24px))] - The border radius used for snackbar.
100
+ /// @prop {Number} border-radius [6px] - The border radius used for snackbar. Can be a fraction between 0 and 1, pixels, or percent.
109
101
  ///
110
102
  ///
111
103
  /// @requires $light-snackbar
@@ -134,10 +126,6 @@ $indigo-snackbar: extend(
134
126
  ),
135
127
  ),
136
128
 
137
- border-radius: (
138
- rem(6px),
139
- rem(0),
140
- rem(24px),
141
- ),
129
+ border-radius: rem(6px),
142
130
  )
143
131
  );
@@ -12,7 +12,7 @@
12
12
  /// @prop {Map} bar-color [color: ('gray', 200)] - The background color of the bar.
13
13
  /// @prop {Map} handle-color [color: ('gray', 400)] - The color for the bar drag handle.
14
14
  /// @prop {Map} expander-color [color: ('gray', 400)] - The color for the arrow expander's.
15
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(2px))] - The border radius used for splitter.
15
+ /// @prop {Number} border-radius [2px] - The border radius used for splitter. Can be a fraction between 0 and 1, pixels, or percent.
16
16
  /// @prop {Map} focus-color [color: ('secondary', 500)] - The color used for focused splitter bar.
17
17
  /// @prop {Number} size [4px] - The size of the splitter, it's width for vertical and height for horizontal splitter.
18
18
  $light-splitter: (
@@ -46,11 +46,7 @@ $light-splitter: (
46
46
 
47
47
  size: 4px,
48
48
 
49
- border-radius: (
50
- rem(2px),
51
- rem(0),
52
- rem(2px),
53
- ),
49
+ border-radius: rem(2px),
54
50
  );
55
51
 
56
52
  /// Generates a fluent splitter schema.
@@ -66,8 +66,8 @@
66
66
  /// @prop {Map} complete-step-separator-color [color: ('gray', 900)] - The separator border-color between the completed steps.
67
67
  /// @prop {String} step-separator-style ['dashed'] - The separator border-style of between the steps.
68
68
  /// @prop {String} complete-step-separator-style ['solid'] - The separator border-style between the completed steps.
69
- /// @prop {List} border-radius-indicator [(rem(100px), rem(0), rem(100px))] - The indicator border radius.
70
- /// @prop {List} border-radius-step-header [(rem(0), rem(0), rem(100px))] - The header border radius.
69
+ /// @prop {Number} border-radius-indicator [100px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
70
+ /// @prop {Number} border-radius-step-header [0] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
71
71
  $light-stepper: (
72
72
  // Step incomplete
73
73
  step-background: transparent,
@@ -400,8 +400,8 @@ $light-stepper: (
400
400
  ),
401
401
  step-separator-style: 'dashed',
402
402
  complete-step-separator-style: 'solid',
403
- border-radius-indicator: (rem(100px), rem(0), rem(100px)),
404
- border-radius-step-header: (rem(0), rem(0), rem(100px))
403
+ border-radius-indicator: rem(100px),
404
+ border-radius-step-header: rem(0)
405
405
  );
406
406
 
407
407
  /// Generates a fluent stepper schema.
@@ -415,8 +415,8 @@ $light-stepper: (
415
415
  /// @prop {Map} complete-step-separator-color [color: ('primary', 500)] - The separator border-color between the completed steps.
416
416
  /// @prop {Color} disabled-indicator-background [transparent] - The background color of the disabled step indicator.
417
417
  /// @prop {Color} disabled-indicator-outline [transparent] - The outline color of the disabled step indicator.
418
- /// @prop {List} border-radius-indicator [(rem(2px), rem(0), rem(100px))] - The indicator border radius.
419
- /// @prop {List} border-radius-step-header [(rem(2px), rem(0), rem(100px))] - The header border radius.
418
+ /// @prop {Number} border-radius-indicator [2px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
419
+ /// @prop {Number} border-radius-step-header [2px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
420
420
  /// @requires {Map} $light-stepper
421
421
  $fluent-stepper: extend(
422
422
  $light-stepper,
@@ -455,16 +455,8 @@ $fluent-stepper: extend(
455
455
  // Disabled
456
456
  disabled-indicator-background: transparent,
457
457
  disabled-indicator-outline: transparent,
458
- border-radius-indicator: (
459
- rem(2px),
460
- rem(0),
461
- rem(100px),
462
- ),
463
- border-radius-step-header: (
464
- rem(2px),
465
- rem(0),
466
- rem(100px),
467
- ),
458
+ border-radius-indicator: rem(2px),
459
+ border-radius-step-header: rem(2px),
468
460
  )
469
461
  );
470
462
 
@@ -490,8 +482,8 @@ $fluent-stepper: extend(
490
482
  /// @prop {Map} invalid-step-focus-background [color: ('gray', 300, .5)] - The background of the invalid step header on hover.
491
483
  /// @prop {Map} current-step-focus-background [color: ('gray', 300, .5)] - The background of the current step header on hover.
492
484
  /// @prop {Map} complete-step-focus-background [color: ('gray', 300, .5)] - The background of the complete step header on hover.
493
- /// @prop {List} border-radius-indicator [(rem(2px), rem(0), rem(100px))] - The indicator border radius.
494
- /// @prop {List} border-radius-step-header [(rem(2px), rem(0), rem(100px))] - The header border radius.
485
+ /// @prop {Number} border-radius-indicator [2px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
486
+ /// @prop {Number} border-radius-step-header [2px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
495
487
  /// @requires {Map} $light-stepper
496
488
  $bootstrap-stepper: extend(
497
489
  $light-stepper,
@@ -614,16 +606,8 @@ $bootstrap-stepper: extend(
614
606
  ),
615
607
  step-separator-style: 'solid',
616
608
  complete-step-separator-style: 'solid',
617
- border-radius-indicator: (
618
- rem(2px),
619
- rem(0),
620
- rem(100px),
621
- ),
622
- border-radius-step-header: (
623
- rem(2px),
624
- rem(0),
625
- rem(100px),
626
- ),
609
+ border-radius-indicator: rem(2px),
610
+ border-radius-step-header: rem(2px),
627
611
  )
628
612
  );
629
613
 
@@ -641,6 +625,8 @@ $bootstrap-stepper: extend(
641
625
  /// @prop {Map} complete-step-separator-color [color: ('primary', 500)] - The separator border-color between the completed steps.
642
626
  /// @prop {String} step-separator-style ['solid'] - The separator border-style of between the steps.
643
627
  /// @prop {String} complete-step-separator-style ['solid'] - The separator border-style between the completed steps.
628
+ /// @prop {Number} border-radius-indicator [100px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
629
+ /// @prop {Number} border-radius-step-header [0] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
644
630
  /// @requires $light-stepper
645
631
  $indigo-stepper: extend(
646
632
  $light-stepper,
@@ -25,9 +25,9 @@
25
25
  /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
26
26
  /// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
27
27
  /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
28
- /// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
29
- /// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
30
- /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
28
+ /// @prop {Number} border-radius-track [7px] - The border radius used for switch track. Can be a fraction between 0 and 1, pixels, or percent.
29
+ /// @prop {Number} border-radius-thumb [10px] - The border radius used for switch thumb. Can be a fraction between 0 and 1, pixels, or percent.
30
+ /// @prop {Number} border-radius-ripple [24px] - The border radius used for switch ripple. Can be a fraction between 0 and 1, pixels, or percent.
31
31
  /// @prop {Color} border-color [transparent] - The border color of the switch.
32
32
  /// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
33
33
  /// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
@@ -137,21 +137,9 @@ $light-switch: extend(
137
137
  500,
138
138
  ),
139
139
  ),
140
- border-radius-track: (
141
- rem(7px),
142
- rem(0),
143
- rem(7px),
144
- ),
145
- border-radius-thumb: (
146
- rem(10px),
147
- rem(0),
148
- rem(10px),
149
- ),
150
- border-radius-ripple: (
151
- rem(24px),
152
- rem(0),
153
- rem(24px),
154
- ),
140
+ border-radius-track: rem(7px),
141
+ border-radius-thumb: rem(10px),
142
+ border-radius-ripple: rem(24px),
155
143
  )
156
144
  );
157
145
 
@@ -178,7 +166,7 @@ $light-switch: extend(
178
166
  /// @prop {Map} error-color-hover [color: ('gray', 800)] - The border and thumb color in invalid state on hover.
179
167
  /// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
180
168
  ///
181
- /// @prop {List} border-radius-track [(rem(10px), rem(0), rem(10px))] - The border radius used for switch track.
169
+ /// @prop {Number} border-radius-track [10px] - The border radius used for switch track. Can be a fraction between 0 and 1, pixels, or percent.
182
170
  ///
183
171
  ///
184
172
  /// @requires {Map} $light-switch
@@ -283,11 +271,7 @@ $fluent-switch: extend(
283
271
  ),
284
272
  ),
285
273
  track-disabled-color: transparent,
286
- border-radius-track: (
287
- rem(10px),
288
- rem(0),
289
- rem(10px),
290
- ),
274
+ border-radius-track: rem(10px),
291
275
  )
292
276
  );
293
277
 
@@ -305,8 +289,8 @@ $fluent-switch: extend(
305
289
  /// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
306
290
  /// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
307
291
  /// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
308
- /// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
309
- /// @prop {List} border-radius-thumb [(rem(32px), rem(0), rem(32px))] - The border radius used for switch thumb.
292
+ /// @prop {Number} border-radius-track [32px] - The border radius used for switch track. Can be a fraction between 0 and 1, pixels, or percent.
293
+ /// @prop {Number} border-radius-thumb [32px] - The border radius used for switch thumb. Can be a fraction between 0 and 1, pixels, or percent.
310
294
  ///
311
295
  ///
312
296
  /// @requires {Map} $fluent-switch
@@ -379,16 +363,8 @@ $bootstrap-switch: extend(
379
363
  200,
380
364
  ),
381
365
  ),
382
- border-radius-track: (
383
- rem(32px),
384
- rem(0),
385
- rem(32px),
386
- ),
387
- border-radius-thumb: (
388
- rem(32px),
389
- rem(0),
390
- rem(32px),
391
- ),
366
+ border-radius-track: rem(32px),
367
+ border-radius-thumb: rem(32px),
392
368
  )
393
369
  );
394
370
 
@@ -411,7 +387,8 @@ $bootstrap-switch: extend(
411
387
  /// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
412
388
  /// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
413
389
  /// @prop {Map} error-color-hover [color: ('gray', 300)] - The border and thumb color in invalid state on hover.
414
- /// @prop {List} border-radius-track [(rem(8px), rem(0), rem(8px))] - The border radius used for switch track.
390
+ /// @prop {Number} border-radius-track [8px] - The border radius used for switch track. Can be a fraction between 0 and 1, pixels, or percent.
391
+ /// @prop {Number} border-radius-thumb [10px] - The border radius used for switch thumb. Can be a fraction between 0 and 1, pixels, or percent.
415
392
  /// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
416
393
  /// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
417
394
  ///
@@ -512,10 +489,6 @@ $indigo-switch: extend(
512
489
  300,
513
490
  ),
514
491
  ),
515
- border-radius-track: (
516
- rem(8px),
517
- rem(0),
518
- rem(8px),
519
- ),
492
+ border-radius-track: rem(8px),
520
493
  )
521
494
  );
@@ -32,7 +32,7 @@
32
32
  /// @prop {Map} border-color--hover [transparent] - The color used for the tab items bottom border on hover.
33
33
  /// @prop {Map} tab-ripple-color [color: ('gray', 100)] - The color used for the button background.
34
34
  /// @prop {Map} button-ripple-color [color: ('gray', 100)] - The color used for the button background on hover.
35
- /// @prop {List} border-radius [(rem(0), rem(0), rem(6px))] - The border radius used for tabs.
35
+ /// @prop {Number} border-radius [0] - The border radius used for tabs. Can be a fraction between 0 and 1, pixels, or percent.
36
36
  $light-tabs: (
37
37
  item-text-color: (
38
38
  color: (
@@ -148,11 +148,7 @@ $light-tabs: (
148
148
  ),
149
149
  border-color: transparent,
150
150
  border-color--hover: transparent,
151
- border-radius: (
152
- rem(0),
153
- rem(0),
154
- rem(6px),
155
- ),
151
+ border-radius: rem(0),
156
152
  );
157
153
 
158
154
  /// Generates a fluent tabs schema.
@@ -232,7 +228,7 @@ $fluent-tabs: extend(
232
228
  /// @prop {map} item-active-background [color: ('surface')] - The color used for the active/focused tab background.
233
229
  /// @prop {map} border-color [color: ('gray', 300)] - The color used for the tab items border.
234
230
  /// @prop {map} border-color--hover [color: ('gray', 200)] - The color used for the tab items border on hover.
235
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(6px))] - The border radius used for tabs.
231
+ /// @prop {Number} border-radius [4px] - The border radius used for tabs. Can be a fraction between 0 and 1, pixels, or percent.
236
232
  /// @requires {Map} $light-tabs
237
233
  $bootstrap-tabs: extend(
238
234
  $light-tabs,
@@ -338,11 +334,7 @@ $bootstrap-tabs: extend(
338
334
  0.5,
339
335
  ),
340
336
  ),
341
- border-radius: (
342
- rem(4px),
343
- rem(0),
344
- rem(6px),
345
- ),
337
+ border-radius: rem(4px),
346
338
  )
347
339
  );
348
340
 
@@ -22,8 +22,8 @@
22
22
  /// @prop {Map} background-color [color: 'surface'] - The time-picker panel background color.
23
23
  /// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
24
24
  /// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
25
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
26
- /// @prop {List} active-item-border-radius [(rem(15px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
25
+ /// @prop {Number} border-radius [4px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
26
+ /// @prop {Number} active-item-border-radius [15px] - The border radius used for the highlight of the active item in the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
27
27
  /// @requires {Map} $default-elevation-time-picker
28
28
  /// @see $default-palette
29
29
  $light-time-picker: extend(
@@ -91,38 +91,22 @@ $light-time-picker: extend(
91
91
  color: 'surface',
92
92
  ),
93
93
 
94
- border-radius: (
95
- rem(4px),
96
- rem(0),
97
- rem(20px),
98
- ),
99
- active-item-border-radius: (
100
- rem(15px),
101
- rem(0),
102
- rem(20px),
103
- ),
94
+ border-radius: rem(4px),
95
+ active-item-border-radius: rem(15px),
104
96
  )
105
97
  );
106
98
 
107
99
  /// Generates a fluent time-picker schema.
108
100
  /// @type {Map}
109
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
110
- /// @prop {List} active-item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
101
+ /// @prop {Number} border-radius [2px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
102
+ /// @prop {Number} active-item-border-radius [2px] - The border radius used for the highlight of the active item in the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
111
103
  ///
112
104
  /// @requires $light-time-picker
113
105
  $fluent-time-picker: extend(
114
106
  $light-time-picker,
115
107
  (
116
- border-radius: (
117
- rem(2px),
118
- rem(0),
119
- rem(20px),
120
- ),
121
- active-item-border-radius: (
122
- rem(2px),
123
- rem(0),
124
- rem(20px),
125
- ),
108
+ border-radius: rem(2px),
109
+ active-item-border-radius: rem(2px),
126
110
  )
127
111
  );
128
112
 
@@ -131,7 +115,8 @@ $fluent-time-picker: extend(
131
115
  /// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
132
116
  /// @prop {Map} hover-text-color [color: ('primary', 600)] - The hover text color of an open time picker.
133
117
  /// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
134
- /// @prop {List} active-item-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
118
+ /// @prop {Number} border-radius [4px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
119
+ /// @prop {Number} active-item-border-radius [4px] - The border radius used for the highlight of the active item in the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
135
120
  ///
136
121
  /// @requires $light-time-picker
137
122
  $bootstrap-time-picker: extend(
@@ -158,11 +143,7 @@ $bootstrap-time-picker: extend(
158
143
  ),
159
144
  ),
160
145
 
161
- active-item-border-radius: (
162
- rem(4px),
163
- rem(0),
164
- rem(20px),
165
- ),
146
+ active-item-border-radius: rem(4px),
166
147
  )
167
148
  );
168
149
 
@@ -174,8 +155,8 @@ $bootstrap-time-picker: extend(
174
155
  /// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
175
156
  /// @prop {Map} header-hour-text-color [contrast-color: ('primary', 500)] - The header hour text color of a time picker.
176
157
  /// @prop {Map} header-time-period-color [contrast-color: ('primary', 500)] - The header AM/PM text color of a time picker.
177
- /// @prop {List} border-radius [(rem(3px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
178
- /// @prop {List} active-item-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
158
+ /// @prop {Number} border-radius [3px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
159
+ /// @prop {Number} active-item-border-radius [20px] - The border radius used for the highlight of the active item in the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
179
160
  ///
180
161
  /// @requires $light-time-picker
181
162
  $indigo-time-picker: extend(
@@ -223,15 +204,7 @@ $indigo-time-picker: extend(
223
204
  ),
224
205
  ),
225
206
 
226
- border-radius: (
227
- rem(3px),
228
- rem(0),
229
- rem(20px),
230
- ),
231
- active-item-border-radius: (
232
- rem(20px),
233
- rem(0),
234
- rem(20px),
235
- ),
207
+ border-radius: rem(3px),
208
+ active-item-border-radius: rem(20px),
236
209
  )
237
210
  );
@@ -13,7 +13,7 @@
13
13
  /// @prop {Map} background [color: ('gray', 700, .9)] - The background color used for the toast.
14
14
  /// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text-color used for the toast.
15
15
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the toast.
16
- /// @prop {List} border-radius [(rem(26px), rem(0), rem(26px))] - The border radius used for toast.
16
+ /// @prop {Number} border-radius [26px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
17
17
  /// @requires {Map} $default-elevation-toast
18
18
  $light-toast: extend(
19
19
  $default-elevation-toast,
@@ -33,26 +33,18 @@ $light-toast: extend(
33
33
  ),
34
34
  ),
35
35
 
36
- border-radius: (
37
- rem(26px),
38
- rem(0),
39
- rem(26px),
40
- ),
36
+ border-radius: rem(26px),
41
37
  )
42
38
  );
43
39
 
44
40
  /// Generates a fluent toast schema.
45
41
  /// @type {Map}
46
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(26px))] - The border radius used for toast.
42
+ /// @prop {Number} border-radius [2px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
47
43
  /// @requires $light-toast
48
44
  $fluent-toast: extend(
49
45
  $light-toast,
50
46
  (
51
- border-radius: (
52
- rem(2px),
53
- rem(0),
54
- rem(26px),
55
- ),
47
+ border-radius: rem(2px),
56
48
  )
57
49
  );
58
50
 
@@ -61,7 +53,7 @@ $fluent-toast: extend(
61
53
  /// @prop {Map} background [color: (color: ('surface')] - The background color used for the toast.
62
54
  /// @prop {Map} text-color [color: ('gray', 600)] - The text-color used for the toast.
63
55
  /// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
64
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(26px))] - The border radius used for toast.
56
+ /// @prop {Number} border-radius [4px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
65
57
  /// @requires {Map} $light-toast
66
58
  /// @requires {Map} $bootstrap-elevation-toast
67
59
  $bootstrap-toast: extend(
@@ -81,25 +73,17 @@ $bootstrap-toast: extend(
81
73
  ),
82
74
  ),
83
75
 
84
- border-radius: (
85
- rem(4px),
86
- rem(0),
87
- rem(26px),
88
- ),
76
+ border-radius: rem(4px),
89
77
  )
90
78
  );
91
79
 
92
80
  /// Generates an indigo toast schema.
93
81
  /// @type {Map}
94
- /// @prop {List} border-radius [(rem(24px), rem(0), rem(26px))] - The border radius used for toast.
82
+ /// @prop {Number} border-radius [24px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
95
83
  /// @requires {Map} $light-toast
96
84
  $indigo-toast: extend(
97
85
  $light-toast,
98
86
  (
99
- border-radius: (
100
- rem(24px),
101
- rem(0),
102
- rem(26px),
103
- ),
87
+ border-radius: rem(24px),
104
88
  )
105
89
  );
@@ -11,7 +11,7 @@
11
11
  /// @type {Map}
12
12
  /// @prop {Map} background [color: ('gray', 700, .9),] - The background color of the tooltip.
13
13
  /// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
14
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
14
+ /// @prop {Number} border-radius [4px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
15
15
  $light-tooltip: (
16
16
  background: (
17
17
  color: (
@@ -28,18 +28,14 @@ $light-tooltip: (
28
28
  ),
29
29
  ),
30
30
 
31
- border-radius: (
32
- rem(4px),
33
- rem(0),
34
- rem(16px),
35
- ),
31
+ border-radius: rem(4px),
36
32
  );
37
33
 
38
34
  /// Generates a light fluent tooltip schema.
39
35
  /// @type {Map}
40
36
  /// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
41
37
  /// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
42
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for tooltip.
38
+ /// @prop {Number} border-radius [2px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
43
39
  /// @requires {Map} $light-tooltip
44
40
  $fluent-tooltip: extend(
45
41
  $light-tooltip,
@@ -59,11 +55,7 @@ $fluent-tooltip: extend(
59
55
  ),
60
56
  ),
61
57
 
62
- border-radius: (
63
- rem(2px),
64
- rem(0),
65
- rem(16px),
66
- ),
58
+ border-radius: rem(2px),
67
59
  )
68
60
  );
69
61
 
@@ -71,6 +63,7 @@ $fluent-tooltip: extend(
71
63
  /// @type {Map}
72
64
  /// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
73
65
  /// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
66
+ /// @prop {Number} border-radius [4px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
74
67
  /// @requires $light-tooltip
75
68
  $bootstrap-tooltip: extend(
76
69
  $light-tooltip,
@@ -93,15 +86,11 @@ $bootstrap-tooltip: extend(
93
86
 
94
87
  /// Generates an indigo tooltip schema.
95
88
  /// @type {Map}
96
- /// @prop {List} border-radius [(rem(3px), rem(0), rem(16px))] - The border radius used for tooltip.
89
+ /// @prop {Number} border-radius [3px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
97
90
  /// @requires {Map} $light-tooltip
98
91
  $indigo-tooltip: extend(
99
92
  $light-tooltip,
100
93
  (
101
- border-radius: (
102
- rem(3px),
103
- rem(0),
104
- rem(16px),
105
- ),
94
+ border-radius: rem(3px),
106
95
  )
107
96
  );
@@ -15,7 +15,7 @@
15
15
  /// @prop {Map} link-background [color: ('primary')] - The background color used for the link.
16
16
  /// @prop {Map} color [contrast-color: ('primary', 800)] - The color used for the link text.
17
17
  /// @prop {Map} border-color [color: ('primary')] - The border color used for the link.
18
- /// @prop {List} border-radius [(rem(0), rem(0), rem(16px))] - The border radius used for watermark.
18
+ /// @prop {Number} border-radius [0] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
19
19
  $light-watermark: extend(
20
20
  (
21
21
  base-color: (
@@ -31,48 +31,36 @@ $light-watermark: extend(
31
31
  ),
32
32
  ),
33
33
 
34
- border-radius: (
35
- rem(0),
36
- rem(0),
37
- rem(16px),
38
- ),
34
+ border-radius: rem(0),
39
35
  )
40
36
  );
41
37
 
42
38
  /// Generates a light fluent watermark schema.
43
39
  /// @type {Map}
44
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for watermark.
40
+ /// @prop {Number} border-radius [2px] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
45
41
  /// @requires {Map} $light-watermark
46
42
  $fluent-watermark: extend(
47
43
  $light-watermark,
48
44
  (
49
- border-radius: (
50
- rem(2px),
51
- rem(0),
52
- rem(16px),
53
- ),
45
+ border-radius: rem(2px),
54
46
  )
55
47
  );
56
48
 
57
49
  /// Generates a bootstrap watermark schema.
58
50
  /// @type {Map}
59
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for watermark.
51
+ /// @prop {Number} border-radius [4px] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
60
52
  /// @requires {Map} $light-watermark
61
53
  $bootstrap-watermark: extend(
62
54
  $light-watermark,
63
55
  (
64
- border-radius: (
65
- rem(4px),
66
- rem(0),
67
- rem(16px),
68
- ),
56
+ border-radius: rem(4px),
69
57
  )
70
58
  );
71
59
 
72
60
  /// Generates an indigo watermark schema.
73
61
  /// @type {Map}
74
62
  /// @prop {Map} border-color [color: ('primary', 300)] - The border color for the link.
75
- /// @prop {List} border-radius [(rem(16px), rem(0), rem(16px))] - The border radius used for watermark.
63
+ /// @prop {Number} border-radius [16px] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
76
64
  /// @requires {Map} $light-watermark
77
65
  $indigo-watermark: extend(
78
66
  $light-watermark,
@@ -84,10 +72,6 @@ $indigo-watermark: extend(
84
72
  ),
85
73
  ),
86
74
 
87
- border-radius: (
88
- rem(16px),
89
- rem(0),
90
- rem(16px),
91
- ),
75
+ border-radius: rem(16px),
92
76
  )
93
77
  );