igniteui-theming 4.2.0 → 4.4.0

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 (113) hide show
  1. package/json/typography/presets/typescales.json +1 -1
  2. package/package.json +1 -1
  3. package/sass/themes/schemas/components/dark/_action-strip.scss +3 -3
  4. package/sass/themes/schemas/components/dark/_avatar.scss +3 -3
  5. package/sass/themes/schemas/components/dark/_badge.scss +3 -3
  6. package/sass/themes/schemas/components/dark/_banner.scss +3 -3
  7. package/sass/themes/schemas/components/dark/_bottom-nav.scss +8 -17
  8. package/sass/themes/schemas/components/dark/_button-group.scss +3 -3
  9. package/sass/themes/schemas/components/dark/_button.scss +224 -146
  10. package/sass/themes/schemas/components/dark/_calendar.scss +4 -4
  11. package/sass/themes/schemas/components/dark/_card.scss +4 -4
  12. package/sass/themes/schemas/components/dark/_carousel.scss +3 -3
  13. package/sass/themes/schemas/components/dark/_checkbox.scss +3 -3
  14. package/sass/themes/schemas/components/dark/_chip.scss +6 -6
  15. package/sass/themes/schemas/components/dark/_column-actions.scss +6 -6
  16. package/sass/themes/schemas/components/dark/_combo.scss +3 -3
  17. package/sass/themes/schemas/components/dark/_date-range-picker.scss +3 -3
  18. package/sass/themes/schemas/components/dark/_dialog.scss +3 -3
  19. package/sass/themes/schemas/components/dark/_divider.scss +3 -3
  20. package/sass/themes/schemas/components/dark/_dock-manager.scss +6 -0
  21. package/sass/themes/schemas/components/dark/_drop-down.scss +3 -3
  22. package/sass/themes/schemas/components/dark/_expansion-panel.scss +3 -3
  23. package/sass/themes/schemas/components/dark/_grid-filtering.scss +3 -3
  24. package/sass/themes/schemas/components/dark/_grid-summary.scss +3 -3
  25. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
  26. package/sass/themes/schemas/components/dark/_grid.scss +4 -20
  27. package/sass/themes/schemas/components/dark/_highlight.scss +6 -0
  28. package/sass/themes/schemas/components/dark/_icon-button.scss +125 -24
  29. package/sass/themes/schemas/components/dark/_icon.scss +6 -6
  30. package/sass/themes/schemas/components/dark/_index.scss +53 -53
  31. package/sass/themes/schemas/components/dark/_input-group.scss +9 -15
  32. package/sass/themes/schemas/components/dark/_label.scss +3 -3
  33. package/sass/themes/schemas/components/dark/_list.scss +8 -9
  34. package/sass/themes/schemas/components/dark/_navbar.scss +3 -3
  35. package/sass/themes/schemas/components/dark/_navdrawer.scss +6 -3
  36. package/sass/themes/schemas/components/dark/_overlay.scss +3 -3
  37. package/sass/themes/schemas/components/dark/_pagination.scss +6 -6
  38. package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +6 -5
  39. package/sass/themes/schemas/components/dark/_progress.scss +14 -10
  40. package/sass/themes/schemas/components/dark/_query-builder.scss +7 -7
  41. package/sass/themes/schemas/components/dark/_radio.scss +26 -36
  42. package/sass/themes/schemas/components/dark/_rating.scss +3 -3
  43. package/sass/themes/schemas/components/dark/_ripple.scss +3 -3
  44. package/sass/themes/schemas/components/dark/_scrollbar.scss +4 -5
  45. package/sass/themes/schemas/components/dark/_select.scss +3 -3
  46. package/sass/themes/schemas/components/dark/_slider.scss +3 -3
  47. package/sass/themes/schemas/components/dark/_snackbar.scss +3 -3
  48. package/sass/themes/schemas/components/dark/_splitter.scss +2 -2
  49. package/sass/themes/schemas/components/dark/_stepper.scss +4 -4
  50. package/sass/themes/schemas/components/dark/_switch.scss +5 -14
  51. package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
  52. package/sass/themes/schemas/components/dark/_time-picker.scss +3 -3
  53. package/sass/themes/schemas/components/dark/_toast.scss +6 -4
  54. package/sass/themes/schemas/components/dark/_tooltip.scss +3 -4
  55. package/sass/themes/schemas/components/dark/_tree.scss +6 -33
  56. package/sass/themes/schemas/components/dark/_watermark.scss +16 -26
  57. package/sass/themes/schemas/components/elevation/_button.scss +2 -2
  58. package/sass/themes/schemas/components/light/_action-strip.scss +9 -0
  59. package/sass/themes/schemas/components/light/_avatar.scss +5 -3
  60. package/sass/themes/schemas/components/light/_badge.scss +5 -0
  61. package/sass/themes/schemas/components/light/_banner.scss +5 -0
  62. package/sass/themes/schemas/components/light/_bottom-nav.scss +5 -0
  63. package/sass/themes/schemas/components/light/_button-group.scss +52 -49
  64. package/sass/themes/schemas/components/light/_button.scss +425 -430
  65. package/sass/themes/schemas/components/light/_calendar.scss +66 -56
  66. package/sass/themes/schemas/components/light/_card.scss +18 -33
  67. package/sass/themes/schemas/components/light/_carousel.scss +7 -0
  68. package/sass/themes/schemas/components/light/_checkbox.scss +37 -53
  69. package/sass/themes/schemas/components/light/_chip.scss +63 -77
  70. package/sass/themes/schemas/components/light/_column-actions.scss +5 -0
  71. package/sass/themes/schemas/components/light/_combo.scss +31 -36
  72. package/sass/themes/schemas/components/light/_date-range-picker.scss +5 -0
  73. package/sass/themes/schemas/components/light/_dialog.scss +5 -0
  74. package/sass/themes/schemas/components/light/_divider.scss +5 -0
  75. package/sass/themes/schemas/components/light/_dock-manager.scss +68 -97
  76. package/sass/themes/schemas/components/light/_drop-down.scss +68 -89
  77. package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -0
  78. package/sass/themes/schemas/components/light/_grid-filtering.scss +6 -9
  79. package/sass/themes/schemas/components/light/_grid-summary.scss +5 -0
  80. package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -0
  81. package/sass/themes/schemas/components/light/_grid.scss +98 -171
  82. package/sass/themes/schemas/components/light/_highlight.scss +5 -0
  83. package/sass/themes/schemas/components/light/_icon-button.scss +132 -53
  84. package/sass/themes/schemas/components/light/_icon.scss +5 -0
  85. package/sass/themes/schemas/components/light/_index.scss +53 -53
  86. package/sass/themes/schemas/components/light/_input-group.scss +35 -116
  87. package/sass/themes/schemas/components/light/_label.scss +9 -11
  88. package/sass/themes/schemas/components/light/_list.scss +6 -1
  89. package/sass/themes/schemas/components/light/_navbar.scss +6 -1
  90. package/sass/themes/schemas/components/light/_navdrawer.scss +6 -1
  91. package/sass/themes/schemas/components/light/_overlay.scss +6 -1
  92. package/sass/themes/schemas/components/light/_pagination.scss +7 -2
  93. package/sass/themes/schemas/components/light/_pivot-data-selector.scss +6 -1
  94. package/sass/themes/schemas/components/light/_progress.scss +14 -42
  95. package/sass/themes/schemas/components/light/_query-builder.scss +10 -11
  96. package/sass/themes/schemas/components/light/_radio.scss +57 -67
  97. package/sass/themes/schemas/components/light/_rating.scss +22 -42
  98. package/sass/themes/schemas/components/light/_ripple.scss +6 -1
  99. package/sass/themes/schemas/components/light/_scrollbar.scss +6 -12
  100. package/sass/themes/schemas/components/light/_select.scss +20 -18
  101. package/sass/themes/schemas/components/light/_slider.scss +65 -68
  102. package/sass/themes/schemas/components/light/_snackbar.scss +6 -6
  103. package/sass/themes/schemas/components/light/_splitter.scss +6 -2
  104. package/sass/themes/schemas/components/light/_stepper.scss +74 -141
  105. package/sass/themes/schemas/components/light/_switch.scss +101 -141
  106. package/sass/themes/schemas/components/light/_tabs.scss +19 -36
  107. package/sass/themes/schemas/components/light/_time-picker.scss +11 -4
  108. package/sass/themes/schemas/components/light/_toast.scss +6 -1
  109. package/sass/themes/schemas/components/light/_tooltip.scss +6 -1
  110. package/sass/themes/schemas/components/light/_tree.scss +49 -73
  111. package/sass/themes/schemas/components/light/_watermark.scss +6 -1
  112. package/sass/typography/presets/_fluent.scss +1 -1
  113. package/sass/utils/_map.scss +40 -0
@@ -22,13 +22,13 @@ $base-dark-switch: (
22
22
  ),
23
23
  );
24
24
 
25
- /// Generates a dark switch schema based on a mix of $light-switch and $base-dark-switch.
25
+ /// Generates a dark material switch schema.
26
26
  /// @type {Map}
27
- /// @requires $light-switch
27
+ /// @requires $material-switch
28
28
  /// @requires $base-dark-switch
29
- $dark-switch: extend($light-switch, $base-dark-switch);
29
+ $dark-material-switch: extend($material-switch, $base-dark-switch);
30
30
 
31
- /// Generates a dark fluent switch schema based on a mix of $fluent-switch and $base-dark-switch.
31
+ /// Generates a dark fluent switch schema.
32
32
  /// @type {Map}
33
33
  /// @prop {Map} border-color [color: ('gray', 500)] - The border color of the switch.
34
34
  /// @prop {Map} border-on-color [color('primary', 300)] - The border color of the on-switch.
@@ -38,9 +38,7 @@ $dark-switch: extend($light-switch, $base-dark-switch);
38
38
  /// @prop {Map} track-on-disabled-color [color: ('gray', 200)] - The color of the track when the switch is on and disabled.
39
39
  /// @prop {Map} track-on-hover-color [color: ('primary', 100)] - The color of the track when the switch is on and hovered.
40
40
  /// @prop {Map} thumb-off-color [color: ('gray', 500)] - The color of the thumb when the switch is off.
41
- /// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
42
41
  /// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
43
- ///
44
42
  /// @requires $fluent-switch
45
43
  /// @requires $base-dark-switch
46
44
  $dark-fluent-switch: extend(
@@ -89,12 +87,6 @@ $dark-fluent-switch: extend(
89
87
  200,
90
88
  ),
91
89
  ),
92
- thumb-disabled-color: (
93
- color: (
94
- 'gray',
95
- 200,
96
- ),
97
- ),
98
90
  track-on-disabled-color: (
99
91
  color: (
100
92
  'gray',
@@ -110,7 +102,7 @@ $dark-fluent-switch: extend(
110
102
  )
111
103
  );
112
104
 
113
- /// Generates a dark bootstrap switch schema based on a mix of $bootstrap-switch and $base-dark-switch.
105
+ /// Generates a dark bootstrap switch schema.
114
106
  /// @type {Map}
115
107
  /// @prop {Map} thumb-on-color [color: ('gray', 900)] - The color of the thumb when the switch is on.
116
108
  /// @prop {Map} thumb-on-disabled-color [color: ('gray', 900)] - The color of the thumb when the switch is on and disabled.
@@ -148,7 +140,6 @@ $dark-bootstrap-switch: extend(
148
140
  /// @prop {Map} track-on-color [color: ('gray', 900)] - The color of the track when the switch is on.
149
141
  /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
150
142
  /// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
151
- ///
152
143
  /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the switch.
153
144
  /// @prop {Map} border-hover-color [color: ('gray', 700)] - The border color of the switch on hover.
154
145
  /// @prop {Map} border-disabled-color [color: ('gray', 400)] - The border color of the disabled switch.
@@ -31,19 +31,19 @@ $base-dark-tabs: (
31
31
  ),
32
32
  );
33
33
 
34
- /// Generates a dark tabs schema based on a mix of $light-tabs and $base-dark-tabs.
34
+ /// Generates a dark material tabs schema.
35
35
  /// @type {Map}
36
- /// @requires $light-tabs
36
+ /// @requires $material-tabs
37
37
  /// @requires $base-dark-tabs
38
- $dark-tabs: extend($light-tabs, $base-dark-tabs);
38
+ $dark-material-tabs: extend($material-tabs, $base-dark-tabs);
39
39
 
40
- /// Generates a dark fluent tabs schema based on a mix of $fluent-tabs and $base-dark-tabs.
40
+ /// Generates a dark fluent tabs schema.
41
41
  /// @type {Map}
42
42
  /// @requires $fluent-tabs
43
43
  /// @requires $base-dark-tabs
44
44
  $dark-fluent-tabs: extend($fluent-tabs, $base-dark-tabs);
45
45
 
46
- /// Generates a dark bootstrap tabs schema based on a mix of $bootstrap-tabs and $base-dark-tabs.
46
+ /// Generates a dark bootstrap tabs schema.
47
47
  /// @type {Map}
48
48
  /// @prop {Map} item-background [color: ('primary', 400)] - The background color used for the tabs header.
49
49
  /// @requires $bootstrap-tabs
@@ -7,10 +7,10 @@
7
7
  /// @access public
8
8
  ////
9
9
 
10
- /// Generates a dark time-picker schema.
10
+ /// Generates a dark material time-picker schema.
11
11
  /// @type {Map}
12
- /// @requires $light-time-picker
13
- $dark-time-picker: $light-time-picker;
12
+ /// @requires $material-time-picker
13
+ $dark-material-time-picker: $material-time-picker;
14
14
 
15
15
  /// Generates a dark fluent time-picker schema.
16
16
  /// @type {Map}
@@ -27,7 +27,6 @@ $dark-base-toast: (
27
27
  0.9,
28
28
  ),
29
29
  ),
30
-
31
30
  text-color: (
32
31
  contrast-color: (
33
32
  'gray',
@@ -36,14 +35,16 @@ $dark-base-toast: (
36
35
  ),
37
36
  );
38
37
 
39
- /// Generates a dark toast schema.
38
+ /// Generates a dark material toast schema.
40
39
  /// @type {Map}
41
- /// @requires $light-toast
42
- $dark-toast: extend($light-toast, $dark-base-toast);
40
+ /// @requires $material-toast
41
+ /// @requires $dark-base-toast
42
+ $dark-material-toast: extend($material-toast, $dark-base-toast);
43
43
 
44
44
  /// Generates a dark fluent toast schema.
45
45
  /// @type {Map}
46
46
  /// @requires $fluent-toast
47
+ /// @requires $dark-base-toast
47
48
  $dark-fluent-toast: extend($fluent-toast, $dark-base-toast);
48
49
 
49
50
  /// Generates a dark bootstrap toast schema.
@@ -72,4 +73,5 @@ $dark-bootstrap-toast: extend(
72
73
  /// Generates a dark indigo toast schema.
73
74
  /// @type {Map}
74
75
  /// @requires $indigo-toast
76
+ /// @requires $dark-base-toast
75
77
  $dark-indigo-toast: extend($indigo-toast, $dark-base-toast);
@@ -7,10 +7,10 @@
7
7
  /// @access public
8
8
  ////
9
9
 
10
- /// Generates a dark tooltip schema.
10
+ /// Generates a dark material tooltip schema.
11
11
  /// @type {Map}
12
- /// @requires $light-tooltip
13
- $dark-tooltip: $light-tooltip;
12
+ /// @requires $material-tooltip
13
+ $dark-material-tooltip: $material-tooltip;
14
14
 
15
15
  /// Generates a dark fluent tooltip schema.
16
16
  /// @type {Map}
@@ -24,7 +24,6 @@ $dark-bootstrap-tooltip: $bootstrap-tooltip;
24
24
 
25
25
  /// Generates a dark indigo tooltip schema.
26
26
  /// @type {Map}
27
- ///
28
27
  /// @prop {Map} background [contrast-color: ('surface')] - The background color of the tooltip.
29
28
  /// @prop {Map} text-color [text-color: (color: 'surface')] - The text color of the tooltip.
30
29
  /// @requires $indigo-tooltip
@@ -14,7 +14,7 @@
14
14
  /// @type {Map}
15
15
  /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
16
16
  /// @prop {Map} foreground-active [color: ('gray', 900)] - The color used for the content in active state of the tree node.
17
- /// @prop {Map} hover-color [color: ('gray', 50, .1)] - The background color used for the tree node on hover.
17
+ /// @prop {Map} hover-color [color: ('gray', 200, .5)] - The background color used for the tree node on hover.
18
18
  /// @prop {Map} hover-selected-color [color: ('gray', 50, .1)] - The background color used for the selected tree node on hover.
19
19
  $base-dark-tree: (
20
20
  background-active: (
@@ -32,8 +32,8 @@ $base-dark-tree: (
32
32
  hover-color: (
33
33
  color: (
34
34
  'gray',
35
- 50,
36
- 0.1,
35
+ 200,
36
+ 0.5,
37
37
  ),
38
38
  ),
39
39
  hover-selected-color: (
@@ -45,44 +45,24 @@ $base-dark-tree: (
45
45
  ),
46
46
  );
47
47
 
48
- /// Generates a dark tree schema.
48
+ /// Generates a dark material tree schema.
49
49
  /// @type {Map}
50
- /// @requires $light-tree
50
+ /// @requires $material-tree
51
51
  /// @requires $base-dark-tree
52
- $dark-tree: extend(
53
- $light-tree,
54
- $base-dark-tree,
55
- (
56
- hover-color: (
57
- color: (
58
- 'gray',
59
- 200,
60
- 0.5,
61
- ),
62
- ),
63
- )
64
- );
52
+ $dark-material-tree: extend($material-tree, $base-dark-tree);
65
53
 
66
54
  /// Generates a dark fluent tree schema.
67
55
  /// @type {Map}
68
- /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
69
56
  /// @prop {Map} background-selected [color: ('gray', 100)] - The background color used for the selected tree node.
70
57
  /// @prop {Map} foreground-selected [color: ('gray', 900)] - The color used for the content of the selected tree node.
71
58
  /// @prop {Map} background-active-selected [color: ('gray', 200)] - The background color used for the active selected tree node.
72
59
  /// @prop {Map} foreground-active-selected [color: ('gray', 900)] - The color used for the content of the active selected tree node.
73
- /// @prop {Map} hover-color [color: ('gray', 200, .5)] - The background color used for the tree node on hover.
74
60
  /// @requires $fluent-tree
75
61
  /// @requires $base-dark-tree
76
62
  $dark-fluent-tree: extend(
77
63
  $fluent-tree,
78
64
  $base-dark-tree,
79
65
  (
80
- background-active: (
81
- color: (
82
- 'gray',
83
- 100,
84
- ),
85
- ),
86
66
  background-selected: (
87
67
  color: (
88
68
  'gray',
@@ -107,13 +87,6 @@ $dark-fluent-tree: extend(
107
87
  900,
108
88
  ),
109
89
  ),
110
- hover-color: (
111
- color: (
112
- 'gray',
113
- 200,
114
- 0.5,
115
- ),
116
- ),
117
90
  )
118
91
  );
119
92
 
@@ -7,42 +7,32 @@
7
7
  /// @access public
8
8
  ////
9
9
 
10
- /// Generates a dark watermark schema.
10
+ /// Generates a base dark watermark schema.
11
11
  /// @type {Map}
12
- /// @requires $light-watermark
13
- $dark-watermark: extend(
14
- $light-watermark,
15
- (
16
- image-opacity: 15%,
17
- )
12
+ $dark-watermark: (
13
+ image-opacity: 15%,
18
14
  );
19
15
 
16
+ /// Generates a base dark watermark schema.
17
+ /// @type {Map}
18
+ /// @requires $material-watermark
19
+ /// @requires $dark-watermark
20
+ $dark-material-watermark: extend($material-watermark, $dark-watermark);
21
+
20
22
  /// Generates a dark fluent watermark schema.
21
23
  /// @type {Map}
22
24
  /// @requires $fluent-watermark
23
- $dark-fluent-watermark: extend(
24
- $fluent-watermark,
25
- (
26
- image-opacity: 15%,
27
- )
28
- );
25
+ /// @requires $dark-watermark
26
+ $dark-fluent-watermark: extend($fluent-watermark, $dark-watermark);
29
27
 
30
28
  /// Generates a dark bootstrap watermark schema.
31
29
  /// @type {Map}
32
30
  /// @requires $bootstrap-watermark
33
- $dark-bootstrap-watermark: extend(
34
- $bootstrap-watermark,
35
- (
36
- image-opacity: 15%,
37
- )
38
- );
31
+ /// @requires $dark-watermark
32
+ $dark-bootstrap-watermark: extend($bootstrap-watermark, $dark-watermark);
39
33
 
40
34
  /// Generates a dark indigo watermark schema.
41
35
  /// @type {Map}
42
- /// @requires $bootstrap-watermark
43
- $dark-indigo-watermark: extend(
44
- $indigo-watermark,
45
- (
46
- image-opacity: 15%,
47
- )
48
- );
36
+ /// @requires $indigo-watermark
37
+ /// @requires $dark-watermark
38
+ $dark-indigo-watermark: extend($indigo-watermark, $dark-watermark);
@@ -21,7 +21,7 @@ $flat-elevation-button: (
21
21
  /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
22
22
  /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
23
23
  /// @prop {Number} active-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
24
- $material-contained-elevation: (
24
+ $light-contained-elevation: (
25
25
  resting-elevation: 2,
26
26
  hover-elevation: 4,
27
27
  focus-elevation: 8,
@@ -33,7 +33,7 @@ $material-contained-elevation: (
33
33
  /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
34
34
  /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
35
35
  /// @prop {Number} active-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
36
- $material-fab-elevation: (
36
+ $light-fab-elevation: (
37
37
  resting-elevation: 6,
38
38
  hover-elevation: 12,
39
39
  focus-elevation: 12,
@@ -38,7 +38,16 @@ $light-action-strip: extend(
38
38
  'error',
39
39
  ),
40
40
  ),
41
+ )
42
+ );
41
43
 
44
+ /// Generates a material action strip schema.
45
+ /// @type {Map}
46
+ /// @prop {List} actions-border-radius [(rem(24px), rem(0), rem(24px))] - The border radius used for action strip actions container.
47
+ /// @requires {Map} $light-action-strip
48
+ $material-action-strip: extend(
49
+ $light-action-strip,
50
+ (
42
51
  actions-border-radius: (
43
52
  border-radius: (
44
53
  rem(24px),
@@ -40,9 +40,13 @@ $light-avatar: (
40
40
  default-size: 1,
41
41
  );
42
42
 
43
+ /// Generates a material avatar schema.
44
+ /// @type {Map}
45
+ /// @requires {Map} $light-avatar
46
+ $material-avatar: $light-avatar;
47
+
43
48
  /// Generates a fluent avatar schema.
44
49
  /// @type {Map}
45
- /// @prop {Number} default-size [1] - The default size used for the avatar component.
46
50
  /// @requires {Map} $light-avatar
47
51
  $fluent-avatar: $light-avatar;
48
52
 
@@ -51,7 +55,6 @@ $fluent-avatar: $light-avatar;
51
55
  /// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
52
56
  /// @prop {Map} color [contrast-color: ('gray', 400)] - The text/icon color of the avatar.
53
57
  /// @prop {Number} border-radius [rem(4px)] - The border radius for rounded avatar.
54
- /// @prop {Number} default-size [1] - The default size used for the avatar component.
55
58
  /// @requires {Map} $light-avatar
56
59
  $bootstrap-avatar: extend(
57
60
  $light-avatar,
@@ -74,6 +77,5 @@ $bootstrap-avatar: extend(
74
77
 
75
78
  /// Generates an indigo avatar schema.
76
79
  /// @type {Map}
77
- /// @prop {Number} default-size [1] - The default size used for the avatar component.
78
80
  /// @requires {Map} $light-avatar
79
81
  $indigo-avatar: $light-avatar;
@@ -55,6 +55,11 @@ $light-badge: extend(
55
55
  )
56
56
  );
57
57
 
58
+ /// Generates a material badge schema.
59
+ /// @type {Map}
60
+ /// @requires {Map} $light-badge
61
+ $material-badge: $light-badge;
62
+
58
63
  /// Generates a fluent badge schema.
59
64
  /// @type {Map}
60
65
  /// @requires {Map} $light-badge
@@ -34,6 +34,11 @@ $light-banner: (
34
34
  ),
35
35
  );
36
36
 
37
+ /// Generates a material banner schema.
38
+ /// @type {Map}
39
+ /// @requires {Map} $light-banner
40
+ $material-banner: $light-banner;
41
+
37
42
  /// Generates a fluent banner schema.
38
43
  /// @type {Map}
39
44
  /// @requires {Map} $light-banner
@@ -41,6 +41,11 @@ $light-bottom-nav: extend(
41
41
  )
42
42
  );
43
43
 
44
+ /// Generates a material bottom navigation schema.
45
+ /// @type {Map}
46
+ /// @requires {Map} $light-bottom-nav
47
+ $material-bottom-nav: $light-bottom-nav;
48
+
44
49
  /// Generates a fluent bottom navigation schema.
45
50
  /// @type {Map}
46
51
  /// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the bottom nav.
@@ -10,21 +10,15 @@
10
10
 
11
11
  /// Generates a light button group schema.
12
12
  /// @type {Map}
13
- /// @prop {Map} item-text-color [color: ('gray', 700)]- The text color for button group items.
14
- /// @prop {Map} item-background [color: ('gray', 50)] - The background color for button group items.
13
+ /// @prop {Map} idle-shadow-color [transparent] - The outline color of button group items.
14
+ /// @prop {Map} item-background [color: ('gray', 50)] - The background color for button group items .
15
15
  /// @prop {Map} item-border-color [color: ('gray', 400)] - The border color between button group items.
16
16
  /// @prop {Map} item-focused-border-color [color: ('gray', 400)] - The focused border color for an item from the button group.
17
- /// @prop {Map} item-hover-text-color [color: ('gray', 800)] - The hover text color for button group items.
18
- /// @prop {Map} item-hover-background [color: ('gray', 300)] - The hover background color for button group items.
19
17
  /// @prop {Map} item-focused-background [color: ('gray', 300)] - The focused background color for button group items.
18
+ /// @prop {Map} item-selected-border-color [color: ('gray', 500)] - The border color for a selected item from the button group.
19
+ /// @prop {Map} item-disabled-border [color: ('gray', 400)] - The border color for a disabled item in the button group.
20
20
  /// @prop {Map} disabled-text-color [color: ('gray', 400)]- The text/icon color for a disabled item in the button group.
21
21
  /// @prop {Map} disabled-background-color [color: ('gray', 50)] - The background color for a disabled item in the button group.
22
- /// @prop {Map} item-disabled-border [color: ('gray', 400)] - The border color for a disabled item in the button group.
23
- /// @prop {Map} item-selected-text-color [color: ('gray', 800)]- The text color for a selected item in the button group.
24
- /// @prop {Map} item-selected-background [color: ('gray', 400)] - The background color for a selected item in the button group.
25
- /// @prop {Map} item-selected-border-color [color: ('gray', 500)] - The border color for a selected item from the button group.
26
- /// @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.
27
- /// @prop {Map} idle-shadow-color [transparent] - The outline color of button group items.
28
22
  /// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
29
23
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for button-group component.
30
24
  /// @prop {Number} default-size [2] - The default size used for the button-group component.
@@ -55,93 +49,110 @@ $light-button-group: extend(
55
49
  ),
56
50
  ),
57
51
 
58
- item-text-color: (
52
+ item-focused-background: (
59
53
  color: (
60
54
  'gray',
61
- 700,
55
+ 300,
62
56
  ),
63
57
  ),
64
58
 
65
- item-hover-text-color: (
59
+ item-selected-border-color: (
66
60
  color: (
67
61
  'gray',
68
- 800,
62
+ 500,
69
63
  ),
70
64
  ),
71
65
 
72
- item-hover-background: (
66
+ disabled-text-color: (
73
67
  color: (
74
68
  'gray',
75
- 300,
69
+ 400,
76
70
  ),
77
71
  ),
78
72
 
79
- item-focused-background: (
73
+ disabled-background-color: (
80
74
  color: (
81
75
  'gray',
82
- 300,
76
+ 50,
83
77
  ),
84
78
  ),
85
79
 
86
- item-selected-text-color: (
80
+ item-disabled-border: (
87
81
  color: (
88
82
  'gray',
89
- 800,
83
+ 400,
90
84
  ),
91
85
  ),
92
86
 
93
- item-selected-background: (
94
- color: (
95
- 'gray',
96
- 400,
87
+ border-radius: (
88
+ border-radius: (
89
+ rem(4px),
90
+ rem(0),
91
+ rem(20px),
97
92
  ),
98
93
  ),
99
94
 
100
- item-selected-hover-background: (
95
+ default-size: 2,
96
+ )
97
+ );
98
+
99
+ /// Generates a material button group schema.
100
+ /// @type {Map}
101
+ /// @prop {Map} item-text-color [color: ('gray', 700)]- The text color for button group items.
102
+ /// @prop {Map} item-hover-text-color [color: ('gray', 800)] - The hover text color for button group items.
103
+ /// @prop {Map} item-hover-background [color: ('gray', 300)] - The hover background color for button group items.
104
+ /// @prop {Map} item-selected-background [color: ('gray', 400)] - The background color for a selected item in the button group.
105
+ /// @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.
106
+ /// @prop {Map} item-selected-text-color [color: ('gray', 800)]- The text color for a selected item in the button group.
107
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for button-group component.
108
+ /// @requires {Map} $light-button-group
109
+ /// @requires {Map} $default-elevation-button-group
110
+ $material-button-group: extend(
111
+ $light-button-group,
112
+ $default-elevation-button-group,
113
+ (
114
+ item-text-color: (
101
115
  color: (
102
116
  'gray',
103
- 500,
104
- 0.8,
117
+ 700,
105
118
  ),
106
119
  ),
107
120
 
108
- item-selected-border-color: (
121
+ item-hover-text-color: (
109
122
  color: (
110
123
  'gray',
111
- 500,
124
+ 800,
112
125
  ),
113
126
  ),
114
127
 
115
- disabled-text-color: (
128
+ item-hover-background: (
116
129
  color: (
117
130
  'gray',
118
- 400,
131
+ 300,
119
132
  ),
120
133
  ),
121
134
 
122
- disabled-background-color: (
135
+ item-selected-text-color: (
123
136
  color: (
124
137
  'gray',
125
- 50,
138
+ 800,
126
139
  ),
127
140
  ),
128
141
 
129
- item-disabled-border: (
142
+ item-selected-background: (
130
143
  color: (
131
144
  'gray',
132
145
  400,
133
146
  ),
134
147
  ),
135
148
 
136
- border-radius: (
137
- border-radius: (
138
- rem(4px),
139
- rem(0),
140
- rem(20px),
149
+ item-selected-hover-background: (
150
+ color: (
151
+ 'gray',
152
+ 500,
153
+ 0.8,
141
154
  ),
142
155
  ),
143
-
144
- default-size: 2,
145
156
  )
146
157
  );
147
158
 
@@ -152,7 +163,6 @@ $light-button-group: extend(
152
163
  /// @prop {Map} item-border-color [color: ('gray', 600)] - The border color between button group items.`
153
164
  /// @prop {Map} item-hover-text-color [color: ('gray', 900)] - The hover text color for button group items.
154
165
  /// @prop {Map} item-hover-background [color: ('gray', 200)] - The hover background color for button group items.
155
- /// @prop {Map} item-focused-background [color: ('gray', 300)] - The focused background color for button group items.
156
166
  /// @prop {Map} item-selected-background [color: ('gray', 300)] - The background color for a selected item in the button group.
157
167
  /// @prop {Map} item-selected-hover-background [color: ('gray', 400)] - The background color for a selected item in hover or focus state in the button group.
158
168
  /// @prop {Map} item-selected-text-color [color: ('gray', 900)]- The text color for a selected item in the button group.
@@ -211,13 +221,6 @@ $fluent-button-group: extend(
211
221
  ),
212
222
  ),
213
223
 
214
- item-focused-background: (
215
- color: (
216
- 'gray',
217
- 300,
218
- ),
219
- ),
220
-
221
224
  item-selected-background: (
222
225
  color: (
223
226
  'gray',