igniteui-theming 22.1.0 → 23.1.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 (59) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/components/badge/_badge-theme.scss +1 -1
  3. package/sass/themes/components/bottom-nav/_bottom-nav-theme.scss +1 -1
  4. package/sass/themes/components/button/_button-theme.scss +4 -4
  5. package/sass/themes/components/button/_contained-button-theme.scss +4 -4
  6. package/sass/themes/components/button/_fab-button-theme.scss +4 -4
  7. package/sass/themes/components/button/_flat-button-theme.scss +4 -4
  8. package/sass/themes/components/button/_outlined-button-theme.scss +4 -4
  9. package/sass/themes/components/button-group/_button-group-theme.scss +1 -1
  10. package/sass/themes/components/card/_card-theme.scss +2 -2
  11. package/sass/themes/components/carousel/_carousel-theme.scss +1 -1
  12. package/sass/themes/components/chip/_chip-theme.scss +1 -1
  13. package/sass/themes/components/combo/_combo-theme.scss +5 -1
  14. package/sass/themes/components/dialog/_dialog-theme.scss +1 -1
  15. package/sass/themes/components/drop-down/_drop-down-theme.scss +1 -1
  16. package/sass/themes/components/grid/_grid-theme.scss +2 -2
  17. package/sass/themes/components/input/_input-theme.scss +9 -3
  18. package/sass/themes/components/navbar/_navbar-theme.scss +1 -1
  19. package/sass/themes/components/navdrawer/_navdrawer-theme.scss +1 -1
  20. package/sass/themes/components/snackbar/_snackbar-theme.scss +1 -1
  21. package/sass/themes/components/switch/_switch-theme.scss +3 -3
  22. package/sass/themes/components/tabs/_tabs-theme.scss +44 -19
  23. package/sass/themes/components/time-picker/_time-picker-theme.scss +2 -2
  24. package/sass/themes/components/toast/_toast-theme.scss +1 -1
  25. package/sass/themes/components/tooltip/_tooltip-theme.scss +1 -1
  26. package/sass/themes/schemas/components/dark/_bottom-nav.scss +44 -0
  27. package/sass/themes/schemas/components/dark/_button-group.scss +31 -5
  28. package/sass/themes/schemas/components/dark/_button.scss +115 -2
  29. package/sass/themes/schemas/components/dark/_checkbox.scss +14 -0
  30. package/sass/themes/schemas/components/dark/_expansion-panel.scss +8 -0
  31. package/sass/themes/schemas/components/dark/_grid-summary.scss +32 -0
  32. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +24 -1
  33. package/sass/themes/schemas/components/dark/_grid.scss +83 -1
  34. package/sass/themes/schemas/components/dark/_input-group.scss +5 -0
  35. package/sass/themes/schemas/components/dark/_list.scss +16 -0
  36. package/sass/themes/schemas/components/dark/_navdrawer.scss +14 -0
  37. package/sass/themes/schemas/components/dark/_radio.scss +16 -0
  38. package/sass/themes/schemas/components/dark/_stepper.scss +196 -11
  39. package/sass/themes/schemas/components/dark/_tabs.scss +82 -8
  40. package/sass/themes/schemas/components/dark/_tree.scss +6 -0
  41. package/sass/themes/schemas/components/light/_bottom-nav.scss +14 -0
  42. package/sass/themes/schemas/components/light/_button-group.scss +6 -6
  43. package/sass/themes/schemas/components/light/_button.scss +32 -19
  44. package/sass/themes/schemas/components/light/_checkbox.scss +10 -2
  45. package/sass/themes/schemas/components/light/_expansion-panel.scss +0 -8
  46. package/sass/themes/schemas/components/light/_grid-summary.scss +30 -0
  47. package/sass/themes/schemas/components/light/_grid-toolbar.scss +19 -11
  48. package/sass/themes/schemas/components/light/_grid.scss +74 -2
  49. package/sass/themes/schemas/components/light/_input-group.scss +255 -252
  50. package/sass/themes/schemas/components/light/_list.scss +7 -0
  51. package/sass/themes/schemas/components/light/_navdrawer.scss +4 -4
  52. package/sass/themes/schemas/components/light/_radio.scss +10 -2
  53. package/sass/themes/schemas/components/light/_stepper.scss +132 -20
  54. package/sass/themes/schemas/components/light/_tabs.scss +109 -4
  55. package/sass/themes/schemas/components/light/_tree.scss +2 -1
  56. package/tailwind/utilities/bootstrap.css +1 -1
  57. package/tailwind/utilities/fluent.css +1 -1
  58. package/tailwind/utilities/indigo.css +1 -1
  59. package/tailwind/utilities/material.css +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "22.1.0",
3
+ "version": "23.1.0",
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": {
@@ -81,7 +81,7 @@
81
81
  border-color: $border-color,
82
82
  border-radius: $border-radius,
83
83
  background-color: $background-color,
84
- shadow: $shadow,
84
+ elevation: $shadow,
85
85
  size: $size,
86
86
  dot-size: $dot-size,
87
87
  )
@@ -105,7 +105,7 @@
105
105
  icon-disabled-color: $icon-disabled-color,
106
106
  label-disabled-color: $label-disabled-color,
107
107
  border-color: $border-color,
108
- shadow: $shadow,
108
+ elevation: $shadow,
109
109
  )
110
110
  );
111
111
  }
@@ -222,10 +222,10 @@
222
222
 
223
223
  shadow-color: $shadow-color,
224
224
 
225
- resting-shadow: $_resting-shadow,
226
- hover-shadow: $_hover-shadow,
227
- focus-shadow: $_focus-shadow,
228
- active-shadow: $_active-shadow,
225
+ resting-elevation: $_resting-shadow,
226
+ hover-elevation: $_hover-shadow,
227
+ focus-elevation: $_focus-shadow,
228
+ active-elevation: $_active-shadow,
229
229
 
230
230
  disabled-background: $disabled-background,
231
231
  disabled-foreground: $disabled-foreground,
@@ -294,10 +294,10 @@
294
294
  focus-visible-border-color: $focus-visible-border-color,
295
295
  active-border-color: $active-border-color,
296
296
  shadow-color: $shadow-color,
297
- resting-shadow: $resting-shadow,
298
- hover-shadow: $hover-shadow,
299
- focus-shadow: $focus-shadow,
300
- active-shadow: $active-shadow,
297
+ resting-elevation: $resting-shadow,
298
+ hover-elevation: $hover-shadow,
299
+ focus-elevation: $focus-shadow,
300
+ active-elevation: $active-shadow,
301
301
  disabled-background: $disabled-background,
302
302
  disabled-foreground: $disabled-foreground,
303
303
  disabled-icon-color: $disabled-icon-color,
@@ -270,10 +270,10 @@
270
270
  focus-visible-border-color: $focus-visible-border-color,
271
271
  active-border-color: $active-border-color,
272
272
  shadow-color: $shadow-color,
273
- resting-shadow: $resting-shadow,
274
- hover-shadow: $hover-shadow,
275
- focus-shadow: $focus-shadow,
276
- active-shadow: $active-shadow,
273
+ resting-elevation: $resting-shadow,
274
+ hover-elevation: $hover-shadow,
275
+ focus-elevation: $focus-shadow,
276
+ active-elevation: $active-shadow,
277
277
  disabled-background: $disabled-background,
278
278
  disabled-foreground: $disabled-foreground,
279
279
  disabled-icon-color: $disabled-icon-color,
@@ -329,10 +329,10 @@
329
329
  focus-visible-border-color: $focus-visible-border-color,
330
330
  active-border-color: $active-border-color,
331
331
  shadow-color: $shadow-color,
332
- resting-shadow: $resting-shadow,
333
- hover-shadow: $hover-shadow,
334
- focus-shadow: $focus-shadow,
335
- active-shadow: $active-shadow,
332
+ resting-elevation: $resting-shadow,
333
+ hover-elevation: $hover-shadow,
334
+ focus-elevation: $focus-shadow,
335
+ active-elevation: $active-shadow,
336
336
  disabled-background: $disabled-background,
337
337
  disabled-foreground: $disabled-foreground,
338
338
  disabled-icon-color: $disabled-icon-color,
@@ -395,10 +395,10 @@
395
395
  focus-visible-border-color: $focus-visible-border-color,
396
396
  active-border-color: $active-border-color,
397
397
  shadow-color: $shadow-color,
398
- resting-shadow: $resting-shadow,
399
- hover-shadow: $hover-shadow,
400
- focus-shadow: $focus-shadow,
401
- active-shadow: $active-shadow,
398
+ resting-elevation: $resting-shadow,
399
+ hover-elevation: $hover-shadow,
400
+ focus-elevation: $focus-shadow,
401
+ active-elevation: $active-shadow,
402
402
  disabled-background: $disabled-background,
403
403
  disabled-foreground: $disabled-foreground,
404
404
  disabled-icon-color: $disabled-icon-color,
@@ -293,7 +293,7 @@
293
293
  disabled-selected-background: $disabled-selected-background,
294
294
  disabled-selected-border-color: $disabled-selected-border-color,
295
295
  border: $border,
296
- shadow: $shadow,
296
+ elevation: $shadow,
297
297
  idle-shadow-color: $idle-shadow-color,
298
298
  selected-shadow-color: $selected-shadow-color,
299
299
  )
@@ -96,8 +96,8 @@
96
96
  subtitle-text-color: $subtitle-text-color,
97
97
  content-text-color: $content-text-color,
98
98
  actions-text-color: $actions-text-color,
99
- resting-shadow: $resting-shadow,
100
- hover-shadow: $hover-shadow,
99
+ resting-elevation: $resting-shadow,
100
+ hover-elevation: $hover-shadow,
101
101
  )
102
102
  );
103
103
  }
@@ -212,7 +212,7 @@
212
212
  slide-background: $slide-background,
213
213
 
214
214
  border-radius: $border-radius,
215
- button-shadow: $button-shadow,
215
+ button-elevation: $button-shadow,
216
216
 
217
217
  button-background: $button-background,
218
218
  button-disabled-background: $button-disabled-background,
@@ -247,7 +247,7 @@
247
247
  focus-selected-background: $focus-selected-background,
248
248
  focus-selected-border-color: $focus-selected-border-color,
249
249
 
250
- ghost-shadow: $ghost-shadow,
250
+ ghost-elevation: $ghost-shadow,
251
251
  remove-icon-color: $remove-icon-color,
252
252
  remove-icon-color-focus: $remove-icon-color-focus,
253
253
  focus-selected-outline-color: $focus-selected-outline-color,
@@ -54,7 +54,11 @@
54
54
  $toggle-button-foreground-filled: null
55
55
  ) {
56
56
  $name: #{config.variable-prefix() + '-' + 'combo'};
57
- $selector: (#{config.element-prefix() + '-' + 'combo'}, #{config.element-prefix() + '-' + 'simple-combo'});
57
+ $selector: (
58
+ #{config.element-prefix() + '-' + 'combo'},
59
+ #{config.element-prefix() + '-' + 'simple-combo'},
60
+ '.igx-drop-down__list'
61
+ );
58
62
  $combo-schema: ();
59
63
 
60
64
  @if map.has-key($schema, 'combo') {
@@ -76,7 +76,7 @@
76
76
  background: $background,
77
77
  title-color: $title-color,
78
78
  message-color: $message-color,
79
- shadow: $shadow,
79
+ elevation: $shadow,
80
80
  border-color: $border-color,
81
81
  )
82
82
  );
@@ -211,7 +211,7 @@
211
211
  selected-focus-item-text-color: $selected-focus-item-text-color,
212
212
  disabled-item-background: $disabled-item-background,
213
213
  disabled-item-text-color: $disabled-item-text-color,
214
- shadow: $shadow,
214
+ elevation: $shadow,
215
215
  border-color: $border-color,
216
216
  border-width: $border-width,
217
217
  size: $size,
@@ -569,8 +569,8 @@
569
569
  tree-selected-filtered-cell-text-color: $tree-selected-filtered-cell-text-color,
570
570
 
571
571
  row-highlight: $row-highlight,
572
- grid-shadow: $grid-shadow,
573
- drag-shadow: $drag-shadow,
572
+ grid-elevation: $grid-shadow,
573
+ drag-elevation: $drag-shadow,
574
574
  row-ghost-background: $row-ghost-background,
575
575
  row-drag-color: $row-drag-color,
576
576
  drop-area-border-radius: $drop-area-border-radius,
@@ -20,6 +20,8 @@
20
20
  /// @param {Color} $focused-text-color [null] - The input text color in the focused state.
21
21
  /// @param {Color} $disabled-text-color [null] - The input text color in the disabled state.
22
22
  /// @param {Color} $helper-text-color [null] - The helper text color.
23
+ /// @param {Color} $text-error-color [null] - The color used for the error message.
24
+ /// @param {Color} $icon-error-color [null] - The color used for the error icon.
23
25
  /// @param {Color} $input-prefix-color [null] - The input prefix color in the idle state.
24
26
  /// @param {Color} $input-prefix-background [null] - The background color of an input prefix in the idle state.
25
27
  /// @param {Color} $input-prefix-color--filled [null] - The input prefix color in the filled state.
@@ -80,6 +82,8 @@
80
82
  $filled-text-hover-color: null,
81
83
  $focused-text-color: null,
82
84
  $helper-text-color: null,
85
+ $text-error-color: null,
86
+ $icon-error-color: null,
83
87
  $disabled-text-color: null,
84
88
 
85
89
  $idle-secondary-color: null,
@@ -490,6 +494,8 @@
490
494
  focused-text-color: $focused-text-color,
491
495
  disabled-text-color: $disabled-text-color,
492
496
  helper-text-color: $helper-text-color,
497
+ text-error-color: $text-error-color,
498
+ icon-error-color: $icon-error-color,
493
499
  box-border-radius: $box-border-radius,
494
500
  border-border-radius: $border-border-radius,
495
501
  search-border-radius: $search-border-radius,
@@ -511,9 +517,9 @@
511
517
  border-disabled-background: $border-disabled-background,
512
518
  search-background: $search-background,
513
519
  search-disabled-background: $search-disabled-background,
514
- search-resting-shadow: $search-resting-shadow,
515
- search-hover-shadow: $search-hover-shadow,
516
- search-disabled-shadow: $search-disabled-shadow,
520
+ search-resting-elevation: $search-resting-shadow,
521
+ search-hover-elevation: $search-hover-shadow,
522
+ search-disabled-elevation: $search-disabled-shadow,
517
523
  success-secondary-color: $success-secondary-color,
518
524
  warning-secondary-color: $warning-secondary-color,
519
525
  error-secondary-color: $error-secondary-color,
@@ -95,7 +95,7 @@
95
95
  text-color: $text-color,
96
96
  idle-icon-color: $idle-icon-color,
97
97
  hover-icon-color: $hover-icon-color,
98
- shadow: $shadow,
98
+ elevation: $shadow,
99
99
  )
100
100
  );
101
101
  }
@@ -147,7 +147,7 @@
147
147
  item-hover-icon-color: $item-hover-icon-color,
148
148
  item-disabled-text-color: $item-disabled-text-color,
149
149
  item-disabled-icon-color: $item-disabled-icon-color,
150
- shadow: $shadow,
150
+ elevation: $shadow,
151
151
  )
152
152
  );
153
153
  }
@@ -70,7 +70,7 @@
70
70
  background: $background,
71
71
  text-color: $text-color,
72
72
  button-color: $button-color,
73
- shadow: $shadow,
73
+ elevation: $shadow,
74
74
  )
75
75
  );
76
76
  }
@@ -263,9 +263,9 @@
263
263
  label-hover-color: $label-hover-color,
264
264
  label-disabled-color: $label-disabled-color,
265
265
 
266
- resting-shadow: $resting-shadow,
267
- hover-shadow: $hover-shadow,
268
- disabled-shadow: $disabled-shadow,
266
+ resting-elevation: $resting-shadow,
267
+ hover-elevation: $hover-shadow,
268
+ disabled-elevation: $disabled-shadow,
269
269
 
270
270
  border-radius-track: $border-radius-track,
271
271
  border-radius-thumb: $border-radius-thumb,
@@ -20,10 +20,13 @@
20
20
  /// @param {Color} $item-hover-color [null] - The text color used for the tabs on hover.
21
21
  /// @param {Color} $item-icon-color [null] - The color used for the tab icon.
22
22
  /// @param {Color} $item-active-icon-color [null] - The color used for the active tab icon.
23
+ /// @param {Color} $item-active-hover-icon-color [null] - The color used for the active tab icon on hover and focus.
23
24
  /// @param {Color} $item-hover-icon-color [null] - The color used for the tab icon on hover.
24
25
  /// @param {Color} $item-disabled-icon-color [null] - The color used for the disabled tab icon.
25
26
  /// @param {Color} $item-active-color [null] - The color used for the active tabs text.
26
- /// @param {Color} $item-active-background [null] - The color used for the active/focused tab background.
27
+ /// @param {Color} $item-active-hover-color [null] - The color used for the active tabs text on hover and focus.
28
+ /// @param {Color} $item-active-background [null] - The color used for the active tab background.
29
+ /// @param {Color} $item-active-hover-background [null] - The color used for the active tab background on hover and focus.
27
30
  /// @param {Color} $item-disabled-color [null] - The color used for the disabled tabs text.
28
31
  /// @param {Color} $indicator-color [null] - The color used for the active tab indicator.
29
32
  /// @param {Color} $button-color [null] - The color used for the button icon/text color.
@@ -51,10 +54,13 @@
51
54
  $item-hover-color: null,
52
55
  $item-icon-color: null,
53
56
  $item-active-icon-color: null,
57
+ $item-active-hover-icon-color: null,
54
58
  $item-hover-icon-color: null,
55
59
  $item-disabled-icon-color: null,
56
60
  $item-active-color: null,
61
+ $item-active-hover-color: null,
57
62
  $item-active-background: null,
63
+ $item-active-hover-background: null,
58
64
  $item-disabled-color: null,
59
65
  $indicator-color: null,
60
66
  $button-color: null,
@@ -82,7 +88,11 @@
82
88
  $variant: map.get($theme, '_meta', 'theme');
83
89
 
84
90
  @if not($item-active-background) and $item-background {
85
- $item-active-background: dynamic-shade(var(--item-background));
91
+ $item-active-background: var(--item-background);
92
+ }
93
+
94
+ @if not($item-active-hover-background) and $item-active-background {
95
+ $item-active-hover-background: dynamic-shade(var(--item-active-background));
86
96
  }
87
97
 
88
98
  @if not($item-background) {
@@ -103,8 +113,24 @@
103
113
  }
104
114
  }
105
115
 
116
+ @if not($item-active-icon-color) and $item-active-color {
117
+ $item-active-icon-color: var(--item-active-color);
118
+ }
119
+
120
+ @if not($item-active-color) and $item-active-icon-color {
121
+ $item-active-color: var(--item-active-icon-color);
122
+ }
123
+
124
+ @if not($item-active-hover-color) and $item-active-color {
125
+ $item-active-hover-color: var(--item-active-color);
126
+ }
127
+
128
+ @if not($item-active-hover-icon-color) and $item-active-icon-color {
129
+ $item-active-hover-icon-color: var(--item-active-icon-color);
130
+ }
131
+
106
132
  @if not($item-active-background) {
107
- @if $variant != 'bootstrap' {
133
+ @if $variant != 'bootstrap' and $variant != 'material' {
108
134
  @if not($item-active-icon-color) and $item-icon-color {
109
135
  $item-active-icon-color: var(--item-icon-color);
110
136
  }
@@ -114,14 +140,6 @@
114
140
  }
115
141
  }
116
142
  } @else {
117
- @if not($item-active-icon-color) and $item-active-color {
118
- $item-active-icon-color: var(--item-active-color);
119
- }
120
-
121
- @if not($item-active-color) and $item-active-icon-color {
122
- $item-active-color: var(--item-active-icon-color);
123
- }
124
-
125
143
  @if not($item-active-icon-color) and $item-active-background {
126
144
  $item-active-icon-color: adaptive-contrast(var(--item-active-background));
127
145
  }
@@ -129,6 +147,14 @@
129
147
  @if not($item-active-color) and $item-active-background {
130
148
  $item-active-color: adaptive-contrast(var(--item-active-background));
131
149
  }
150
+
151
+ @if not($item-active-hover-icon-color) and $item-active-hover-background {
152
+ $item-active-hover-icon-color: adaptive-contrast(var(--item-active-hover-background));
153
+ }
154
+
155
+ @if not($item-active-hover-color) and $item-active-hover-background {
156
+ $item-active-hover-color: adaptive-contrast(var(--item-active-hover-background));
157
+ }
132
158
  }
133
159
 
134
160
  @if not($item-hover-background) {
@@ -162,13 +188,9 @@
162
188
  $border-color--hover: var(--border-color);
163
189
  }
164
190
  } @else {
165
- @if not($item-background) {
166
- @if not($indicator-color) and $item-text-color {
167
- $indicator-color: var(--item-text-color);
168
- }
169
-
170
- @if not($indicator-color) and $item-icon-color {
171
- $indicator-color: var(--item-icon-color);
191
+ @if not($item-active-background) {
192
+ @if not($indicator-color) and $item-active-color {
193
+ $indicator-color: var(--item-active-color);
172
194
  }
173
195
  } @else {
174
196
  @if not($indicator-color) and $item-active-color {
@@ -176,7 +198,7 @@
176
198
  }
177
199
 
178
200
  @if not($indicator-color) {
179
- $indicator-color: adaptive-contrast(var(--item-background));
201
+ $indicator-color: adaptive-contrast(var(--item-active-background));
180
202
  }
181
203
  }
182
204
  }
@@ -249,10 +271,13 @@
249
271
  item-hover-background: $item-hover-background,
250
272
  item-icon-color: $item-icon-color,
251
273
  item-active-icon-color: $item-active-icon-color,
274
+ item-active-hover-icon-color: $item-active-hover-icon-color,
252
275
  item-hover-icon-color: $item-hover-icon-color,
253
276
  item-disabled-icon-color: $item-disabled-icon-color,
254
277
  item-active-color: $item-active-color,
278
+ item-active-hover-color: $item-active-hover-color,
255
279
  item-active-background: $item-active-background,
280
+ item-active-hover-background: $item-active-hover-background,
256
281
  item-disabled-color: $item-disabled-color,
257
282
  indicator-color: $indicator-color,
258
283
  button-color: $button-color,
@@ -156,8 +156,8 @@
156
156
  header-background: $header-background,
157
157
  header-hour-text-color: $header-hour-text-color,
158
158
  background-color: $background-color,
159
- modal-shadow: $modal-shadow,
160
- dropdown-shadow: $dropdown-shadow,
159
+ modal-elevation: $modal-shadow,
160
+ dropdown-elevation: $dropdown-shadow,
161
161
  border-radius: $border-radius,
162
162
  border-color: $border-color,
163
163
  divider-color: $divider-color,
@@ -69,7 +69,7 @@
69
69
  border-radius: $border-radius,
70
70
  text-color: $text-color,
71
71
  border-color: $border-color,
72
- shadow: $shadow,
72
+ elevation: $shadow,
73
73
  )
74
74
  );
75
75
  }
@@ -62,7 +62,7 @@
62
62
  background: $background,
63
63
  text-color: $text-color,
64
64
  border-radius: $border-radius,
65
- shadow: $shadow,
65
+ elevation: $shadow,
66
66
  )
67
67
  );
68
68
  }
@@ -9,10 +9,24 @@
9
9
 
10
10
  /// Generates a dark material bottom-nav schema.
11
11
  /// @type {Map}
12
+ /// @prop {Map} icon-selected-color [color: ('primary', 500)] - The icon color used for the selected item.
13
+ /// @prop {Map} label-selected-color [color: ('primary', 500)] - The label color used for the selected item.
12
14
  /// @requires $material-bottom-nav
13
15
  $dark-material-bottom-nav: extend(
14
16
  $material-bottom-nav,
15
17
  (
18
+ icon-selected-color: (
19
+ color: (
20
+ 'primary',
21
+ 500,
22
+ ),
23
+ ),
24
+ label-selected-color: (
25
+ color: (
26
+ 'primary',
27
+ 500,
28
+ ),
29
+ ),
16
30
  _meta: (
17
31
  theme: 'material',
18
32
  variant: 'dark',
@@ -22,10 +36,24 @@ $dark-material-bottom-nav: extend(
22
36
 
23
37
  /// Generates a dark fluent bottom-nav schema.
24
38
  /// @type {Map}
39
+ /// @prop {Map} label-selected-color [color: ('primary', 300)] - The label color used for the selected item.
40
+ /// @prop {Map} icon-selected-color [color: ('primary', 300)] - The icon color used for the selected item.
25
41
  /// @requires $fluent-bottom-nav
26
42
  $dark-fluent-bottom-nav: extend(
27
43
  $fluent-bottom-nav,
28
44
  (
45
+ label-selected-color: (
46
+ color: (
47
+ 'primary',
48
+ 300,
49
+ ),
50
+ ),
51
+ icon-selected-color: (
52
+ color: (
53
+ 'primary',
54
+ 300,
55
+ ),
56
+ ),
29
57
  _meta: (
30
58
  theme: 'fluent',
31
59
  variant: 'dark',
@@ -35,10 +63,26 @@ $dark-fluent-bottom-nav: extend(
35
63
 
36
64
  /// Generates a dark bootstrap bottom-nav schema.
37
65
  /// @type {Map}
66
+ /// @prop {Map} label-selected-color [color: ('primary', 300)] - The label color used for the selected item.
67
+ /// @prop {Map} icon-selected-color [color: ('primary', 300)] - The icon color used for the selected item.
38
68
  /// @requires $bootstrap-bottom-nav
39
69
  $dark-bootstrap-bottom-nav: extend(
40
70
  $bootstrap-bottom-nav,
41
71
  (
72
+ label-selected-color: (
73
+ color: (
74
+ 'primary',
75
+ 300,
76
+ ),
77
+ ),
78
+
79
+ icon-selected-color: (
80
+ color: (
81
+ 'primary',
82
+ 300,
83
+ ),
84
+ ),
85
+
42
86
  _meta: (
43
87
  theme: 'bootstrap',
44
88
  variant: 'dark',
@@ -104,19 +104,45 @@ $base-dark-button-group: (
104
104
 
105
105
  /// Generates a dark material button-group schema based on a mix of $light-button-group and $base-dark-button-group
106
106
  /// @type {Map}
107
- /// @prop {Map} item-focused-hover-background [color: ('gray', 500, .3)] - The focused & hover background color for button group items.
108
- /// @prop {Map} item-selected-focus-hover-background [color: ('gray', 400, .8)] - The background color for a selected item in focused & hover state in the button group.
107
+ /// @prop {Map} item-selected-background [color: ('gray', 100)] - The background color for a selected item in the button group.
108
+ /// @prop {Map} item-focused-hover-background [color: ('gray', 400, .5)] - The focused & hover background color for button group items.
109
+ /// @prop {Map} item-selected-hover-background [color: ('gray', 300, .4)] - The background color for a selected item in hover state in the button group.
110
+ /// @prop {Map} item-selected-focus-background [color: ('gray', 700, .28)] - The background color for a selected item in focus state in the button group.
111
+ /// @prop {Map} item-selected-focus-hover-background [color: ('gray', 400, .5)] - The background color for a selected item in focused & hover state in the button group.
109
112
  /// @requires $material-button-group
110
113
  /// @requires $base-dark-button-group
111
114
  $dark-material-button-group: extend(
112
115
  $material-button-group,
113
116
  $base-dark-button-group,
114
117
  (
118
+ item-selected-background: (
119
+ color: (
120
+ 'gray',
121
+ 100,
122
+ ),
123
+ ),
124
+
115
125
  item-focused-hover-background: (
116
126
  color: (
117
127
  'gray',
118
- 500,
119
- 0.3,
128
+ 400,
129
+ 0.5,
130
+ ),
131
+ ),
132
+
133
+ item-selected-hover-background: (
134
+ color: (
135
+ 'gray',
136
+ 300,
137
+ 0.4,
138
+ ),
139
+ ),
140
+
141
+ item-selected-focus-background: (
142
+ color: (
143
+ 'gray',
144
+ 700,
145
+ 0.28,
120
146
  ),
121
147
  ),
122
148
 
@@ -124,7 +150,7 @@ $dark-material-button-group: extend(
124
150
  color: (
125
151
  'gray',
126
152
  400,
127
- 0.8,
153
+ 0.5,
128
154
  ),
129
155
  ),
130
156
  _meta: (