igniteui-theming 1.4.2 → 1.4.3-beta.2

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 (109) hide show
  1. package/index.js +3 -0
  2. package/json/colors/meta/multipliers.json +1 -1
  3. package/package.json +21 -14
  4. package/sass/animations/_easings.scss +23 -23
  5. package/sass/animations/entrances/_bounce.scss +3 -3
  6. package/sass/animations/entrances/_flicker.scss +10 -26
  7. package/sass/animations/exits/_bounce.scss +6 -6
  8. package/sass/animations/exits/_flicker.scss +12 -28
  9. package/sass/animations/exits/_flip.scss +8 -8
  10. package/sass/animations/exits/_puff.scss +11 -11
  11. package/sass/animations/exits/_roll.scss +4 -4
  12. package/sass/animations/exits/_rotate.scss +25 -25
  13. package/sass/animations/exits/_scale.scss +15 -15
  14. package/sass/animations/exits/_slide.scss +34 -34
  15. package/sass/animations/exits/_slit.scss +4 -4
  16. package/sass/animations/exits/_swing.scss +8 -8
  17. package/sass/animations/exits/_swirl.scss +18 -18
  18. package/sass/animations/generic/_flip.scss +4 -4
  19. package/sass/animations/generic/_rotate.scss +5 -5
  20. package/sass/animations/generic/_scale.scss +31 -31
  21. package/sass/animations/generic/_shadows.scss +12 -68
  22. package/sass/bem/_index.scss +9 -3
  23. package/sass/color/_charts.scss +1 -1
  24. package/sass/color/_functions.scss +22 -56
  25. package/sass/color/_multipliers.scss +14 -14
  26. package/sass/color/_types.scss +6 -1
  27. package/sass/color/presets/dark/_bootstrap.scss +1 -1
  28. package/sass/color/presets/dark/_fluent.scss +3 -3
  29. package/sass/color/presets/dark/_indigo.scss +1 -1
  30. package/sass/color/presets/dark/_material.scss +1 -1
  31. package/sass/color/presets/light/_bootstrap.scss +1 -1
  32. package/sass/color/presets/light/_extra.scss +2 -2
  33. package/sass/color/presets/light/_fluent.scss +3 -3
  34. package/sass/color/presets/light/_indigo.scss +1 -1
  35. package/sass/color/presets/light/_material.scss +1 -1
  36. package/sass/elevations/presets/_index.scss +1 -5
  37. package/sass/elevations/presets/_material.scss +1 -1
  38. package/sass/themes/_functions.scss +2 -12
  39. package/sass/themes/_index.scss +1 -0
  40. package/sass/themes/_mixins.scss +4 -5
  41. package/sass/themes/charts/_category-chart-theme.scss +15 -11
  42. package/sass/themes/charts/_data-chart-theme.scss +4 -7
  43. package/sass/themes/charts/_doughnut-chart-theme.scss +2 -2
  44. package/sass/themes/charts/_financial-chart-theme.scss +15 -11
  45. package/sass/themes/charts/_funnel-chart-theme.scss +22 -18
  46. package/sass/themes/charts/_gauge-theme.scss +8 -16
  47. package/sass/themes/charts/_geo-map-theme.scss +10 -11
  48. package/sass/themes/charts/_graph-theme.scss +3 -3
  49. package/sass/themes/charts/_pie-chart-theme.scss +21 -20
  50. package/sass/themes/charts/_shape-chart-theme.scss +15 -11
  51. package/sass/themes/charts/_sparkline-theme.scss +2 -2
  52. package/sass/themes/schemas/_index.scss +10 -33
  53. package/sass/themes/schemas/charts/light/_category-chart.scss +68 -24
  54. package/sass/themes/schemas/charts/light/_data-chart.scss +12 -3
  55. package/sass/themes/schemas/charts/light/_financial-chart.scss +1 -1
  56. package/sass/themes/schemas/charts/light/_gauge.scss +14 -5
  57. package/sass/themes/schemas/charts/light/_geo-map.scss +2 -2
  58. package/sass/themes/schemas/charts/light/_graph.scss +20 -5
  59. package/sass/themes/schemas/charts/light/_pie-chart.scss +4 -1
  60. package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -2
  61. package/sass/themes/schemas/charts/light/_sparkline.scss +4 -1
  62. package/sass/themes/schemas/components/_index.scss +2 -0
  63. package/sass/themes/schemas/components/dark/_avatar.scss +46 -0
  64. package/sass/themes/schemas/components/dark/_button.scss +491 -0
  65. package/sass/themes/schemas/components/dark/_checkbox.scss +88 -0
  66. package/sass/themes/schemas/components/dark/_combo.scss +56 -0
  67. package/sass/themes/schemas/components/dark/_drop-down.scss +86 -0
  68. package/sass/themes/schemas/components/dark/_icon.scss +39 -0
  69. package/sass/themes/schemas/components/dark/_index.scss +120 -0
  70. package/sass/themes/schemas/components/dark/_input-group.scss +170 -0
  71. package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
  72. package/sass/themes/schemas/components/dark/_radio.scss +144 -0
  73. package/sass/themes/schemas/components/dark/_rating.scss +29 -0
  74. package/sass/themes/schemas/components/dark/_select.scss +56 -0
  75. package/sass/themes/schemas/components/dark/_slider.scss +136 -0
  76. package/sass/themes/schemas/components/dark/_switch.scss +216 -0
  77. package/sass/themes/schemas/components/dark/_tabs.scss +65 -0
  78. package/sass/themes/schemas/components/dark/_tree.scss +132 -0
  79. package/sass/themes/schemas/components/elevation/_button.scss +63 -0
  80. package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
  81. package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
  82. package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
  83. package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
  84. package/sass/themes/schemas/components/light/_avatar.scss +69 -0
  85. package/sass/themes/schemas/components/light/_button.scss +1700 -0
  86. package/sass/themes/schemas/components/light/_checkbox.scss +285 -0
  87. package/sass/themes/schemas/components/light/_combo.scss +317 -0
  88. package/sass/themes/schemas/components/light/_drop-down.scss +376 -0
  89. package/sass/themes/schemas/components/light/_icon.scss +55 -0
  90. package/sass/themes/schemas/components/light/_index.scss +121 -0
  91. package/sass/themes/schemas/components/light/_input-group.scss +794 -0
  92. package/sass/themes/schemas/components/light/_navbar.scss +116 -0
  93. package/sass/themes/schemas/components/light/_radio.scss +279 -0
  94. package/sass/themes/schemas/components/light/_rating.scss +129 -0
  95. package/sass/themes/schemas/components/light/_select.scss +176 -0
  96. package/sass/themes/schemas/components/light/_slider.scss +362 -0
  97. package/sass/themes/schemas/components/light/_switch.scss +473 -0
  98. package/sass/themes/schemas/components/light/_tabs.scss +402 -0
  99. package/sass/themes/schemas/components/light/_tree.scss +288 -0
  100. package/sass/typography/_functions.scss +7 -5
  101. package/sass/typography/_mixins.scss +1 -3
  102. package/sass/typography/_types.scss +2 -16
  103. package/sass/typography/presets/_bootstrap.scss +24 -24
  104. package/sass/typography/presets/_fluent.scss +23 -23
  105. package/sass/typography/presets/_indigo.scss +24 -24
  106. package/sass/typography/presets/_material.scss +23 -23
  107. package/sass/utils/_css.scss +6 -1
  108. package/sass/utils/_map.scss +4 -8
  109. package/sass/utils/_string.scss +14 -6
@@ -38,10 +38,16 @@ $material-graph: (
38
38
  ),
39
39
  'backing-stroke-thickness': null,
40
40
  'font-brush': (
41
- contrast-color: ('surface', 500)
41
+ contrast-color: (
42
+ 'surface',
43
+ 500,
44
+ ),
42
45
  ),
43
46
  'minor-tick-brush': (
44
- contrast-color: ('surface', 500)
47
+ contrast-color: (
48
+ 'surface',
49
+ 500,
50
+ ),
45
51
  ),
46
52
  'minor-tick-thickness': null,
47
53
  'range-brushes': series,
@@ -55,16 +61,25 @@ $material-graph: (
55
61
  'scale-background-thickness': null,
56
62
  'target-value-breadth': null,
57
63
  'target-value-brush': (
58
- color: ('gray', 800),
64
+ color: (
65
+ 'gray',
66
+ 800,
67
+ ),
59
68
  ),
60
69
  'target-value-outline': null,
61
70
  'target-value-thickness': null,
62
71
  'tick-brush': (
63
- contrast-color: ('surface', 500)
72
+ contrast-color: (
73
+ 'surface',
74
+ 500,
75
+ ),
64
76
  ),
65
77
  'tick-stroke-thickness': null,
66
78
  'value-brush': (
67
- color: ('gray', 800),
79
+ color: (
80
+ 'gray',
81
+ 800,
82
+ ),
68
83
  ),
69
84
  'value-outline': null,
70
85
  'value-stroke-thickness': null,
@@ -24,7 +24,10 @@ $material-pie-chart: (
24
24
  'label-extent': 30,
25
25
  'label-inner-color': null,
26
26
  'label-outer-color': (
27
- color: ('gray', 700)
27
+ color: (
28
+ 'gray',
29
+ 700,
30
+ ),
28
31
  ),
29
32
  'labels-position': null,
30
33
  'leader-line-margin': null,
@@ -53,12 +53,18 @@ $material-shape-chart: (
53
53
  'margin': null,
54
54
  'title-alignment': null,
55
55
  'title-text-color': (
56
- color: ('gray', 900)
56
+ color: (
57
+ 'gray',
58
+ 900,
59
+ ),
57
60
  ),
58
61
  'title-margin': null,
59
62
  'subtitle-alignment': null,
60
63
  'subtitle-text-color': (
61
- color: ('gray', 600)
64
+ color: (
65
+ 'gray',
66
+ 600,
67
+ ),
62
68
  ),
63
69
  'subtitle-margin': null,
64
70
  'brushes': series,
@@ -29,7 +29,10 @@
29
29
  /// @prop {Color} normal-range-fill [null] - Sets the normal range brush of the sparkline.
30
30
  $material-sparkline: (
31
31
  'brush': (
32
- color: ('primary', 500)
32
+ color: (
33
+ 'primary',
34
+ 500,
35
+ ),
33
36
  ),
34
37
  'line-thickness': null,
35
38
  'marker-brush': null,
@@ -0,0 +1,2 @@
1
+ @forward 'light';
2
+ @forward 'dark';
@@ -0,0 +1,46 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/avatar' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a dark avatar schema.
11
+ /// @type {Map}
12
+ /// @requires $light-avatar
13
+ $dark-avatar: $light-avatar;
14
+
15
+ /// Generates a dark fluent avatar schema.
16
+ /// @type {Map}
17
+ /// @requires $fluent-avatar
18
+ $dark-fluent-avatar: $fluent-avatar;
19
+
20
+ /// Generates a dark bootstrap avatar schema.
21
+ /// @type {Map}
22
+ /// @prop {Map} background [color: ('gray', 200)]- The background color of the avatar.
23
+ /// @prop {Map} color [contrast-color: ('gray', 200)] - The text/icon color of the avatar.
24
+ /// @requires $bootstrap-avatar
25
+ $dark-bootstrap-avatar: extend(
26
+ $bootstrap-avatar,
27
+ (
28
+ background: (
29
+ color: (
30
+ 'gray',
31
+ 200,
32
+ ),
33
+ ),
34
+ color: (
35
+ contrast-color: (
36
+ 'gray',
37
+ 200,
38
+ ),
39
+ ),
40
+ )
41
+ );
42
+
43
+ /// Generates a dark indigo avatar schema.
44
+ /// @type {Map}
45
+ /// @requires $indigo-avatar
46
+ $dark-indigo-avatar: $indigo-avatar;
@@ -0,0 +1,491 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/button' as *;
3
+
4
+ /* stylelint-disable max-line-length */
5
+
6
+ ////
7
+ /// @package theming
8
+ /// @group schemas
9
+ /// @access public
10
+ ////
11
+
12
+ /// @type {Map}
13
+ /// @prop {Map} disabled-background [color: ('gray', 100, .3)] - The disabled background color of the button.
14
+ /// @prop {Color} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the button.
15
+ /// @requires {Map} $material-base-button
16
+ $material-base-button-dark: extend(
17
+ (
18
+ disabled-background: (
19
+ color: (
20
+ 'gray',
21
+ 100,
22
+ 0.3,
23
+ ),
24
+ ),
25
+ disabled-foreground: (
26
+ color: (
27
+ 'gray',
28
+ 200,
29
+ ),
30
+ ),
31
+ )
32
+ );
33
+
34
+ /// @type {Map}
35
+ /// @prop {Map} hover-background [color: ('secondary', 500, .12)] - The hover background color of a flat button.
36
+ /// @prop {Map} focus-background [color: ('secondary', 400, .24)] - The focus background color of a flat button.
37
+ /// @prop {Map} focus-visible-background [color: ('secondary', 400, .24)] - The focus-visible background color of a flat button.
38
+ /// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
39
+ /// @requires {Map} $material-base-button-dark
40
+ /// @requires {Map} $material-flat-button
41
+ $material-flat-button-dark: extend(
42
+ $material-flat-button,
43
+ $material-base-button-dark,
44
+ (
45
+ hover-background: (
46
+ color: (
47
+ 'secondary',
48
+ 500,
49
+ 0.12,
50
+ ),
51
+ ),
52
+ focus-background: (
53
+ color: (
54
+ 'secondary',
55
+ 400,
56
+ 0.24,
57
+ ),
58
+ ),
59
+ focus-visible-background: (
60
+ color: (
61
+ 'secondary',
62
+ 400,
63
+ 0.24,
64
+ ),
65
+ ),
66
+ disabled-background: transparent,
67
+ )
68
+ );
69
+
70
+ /// @type {Map}
71
+ /// @prop {Map} hover-background [color: ('gray', 100, .5)] - The hover background color of an icon button.
72
+ /// @prop {Map} focus-background [color: ('gray', 200, .8)] - The focus background color of a icon button.
73
+ /// @prop {Map} focus-visible-background [color: ('gray', 200, .8)] - The focus-visible background color of a icon button.
74
+ /// @prop {Color} disabled-background [transparent] - The disabled background color a icon button.
75
+ /// @requires {Map} $material-base-button-dark
76
+ /// @requires {Map} $material-icon-button
77
+ $material-icon-button-dark: extend(
78
+ $material-icon-button,
79
+ $material-base-button-dark,
80
+ (
81
+ hover-background: (
82
+ color: (
83
+ 'gray',
84
+ 100,
85
+ 0.5,
86
+ ),
87
+ ),
88
+ focus-background: (
89
+ color: (
90
+ 'gray',
91
+ 200,
92
+ 0.8,
93
+ ),
94
+ ),
95
+ focus-visible-background: (
96
+ color: (
97
+ 'gray',
98
+ 200,
99
+ 0.8,
100
+ ),
101
+ ),
102
+ disabled-background: transparent,
103
+ )
104
+ );
105
+
106
+ /// @requires {Map} $material-raised-button
107
+ /// @requires {Map} $material-base-button-dark
108
+ $material-raised-button-dark: extend($material-raised-button, $material-base-button-dark);
109
+
110
+ /// @requires {Map} $material-fab-button
111
+ /// @requires {Map} $material-base-button-dark
112
+ $material-fab-button-dark: extend($material-fab-button, $material-base-button-dark);
113
+
114
+ /// @requires {Map} $material-outlined-button
115
+ /// @requires {Map} $material-base-button-dark
116
+ /// @prop {Map} disabled-border-color [color: ('gray', 100, .3)] - The disabled focused border color of an outlined button.
117
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
118
+ $material-outlined-button-dark: extend(
119
+ $material-outlined-button,
120
+ $material-base-button-dark,
121
+ (
122
+ disabled-border-color: (
123
+ color: (
124
+ 'gray',
125
+ 100,
126
+ 0.3,
127
+ ),
128
+ ),
129
+ disabled-background: transparent,
130
+ )
131
+ );
132
+
133
+ /// Generates a dark material button schema.
134
+ /// @type {Map}
135
+ /// @requires {Map} $material-flat-button-dark
136
+ /// @requires {Map} $material-outlined-button
137
+ /// @requires {Map} $material-raised-button
138
+ /// @requires {Map} $material-fab-button
139
+ /// @requires {Map} $material-icon-button-dark
140
+ $dark-button: (
141
+ flat: $material-flat-button-dark,
142
+ outlined: $material-outlined-button-dark,
143
+ raised: $material-raised-button-dark,
144
+ fab: $material-fab-button-dark,
145
+ icon: $material-icon-button-dark,
146
+ );
147
+
148
+ /// @type {Map}
149
+ /// @requires {Map} $material-base-button
150
+ /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
151
+ /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the button.
152
+ $fluent-base-button-dark: extend(
153
+ (
154
+ disabled-background: (
155
+ color: (
156
+ 'gray',
157
+ 50,
158
+ ),
159
+ ),
160
+ disabled-foreground: (
161
+ color: (
162
+ 'gray',
163
+ 100,
164
+ ),
165
+ ),
166
+ )
167
+ );
168
+
169
+ /// @type {Map}
170
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
171
+ /// @requires {Map} $fluent-flat-button
172
+ /// @requires {Map} $fluent-base-button-dark
173
+ $fluent-flat-button-dark: extend(
174
+ $fluent-flat-button,
175
+ $fluent-base-button-dark,
176
+ (
177
+ disabled-background: transparent,
178
+ )
179
+ );
180
+
181
+ /// @requires {Map} $fluent-raised-button
182
+ /// @requires {Map} $fluent-base-button-dark
183
+ $fluent-raised-button-dark: extend($fluent-raised-button, $fluent-base-button-dark);
184
+
185
+ /// @requires {Map} $fluent-fab-button
186
+ /// @requires {Map} $fluent-base-button-dark
187
+ $fluent-fab-button-dark: extend($fluent-fab-button, $fluent-base-button-dark);
188
+
189
+ /// @prop {Map} hover-background [color: ('gray', 50)] - The hover background color of an icon button.
190
+ /// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an icon button.
191
+ /// @prop {Map} disabled-border-color [color: ('gray', 50)] - The disabled focused border color of an icon button.
192
+ /// @requires {Map} $fluent-icon-button
193
+ /// @requires {Map} $fluent-base-button-dark
194
+ $fluent-icon-button-dark: extend(
195
+ $fluent-icon-button,
196
+ $fluent-base-button-dark,
197
+ (
198
+ hover-background: (
199
+ color: (
200
+ 'gray',
201
+ 50,
202
+ ),
203
+ ),
204
+ active-background: (
205
+ color: (
206
+ 'gray',
207
+ 100,
208
+ 0.8,
209
+ ),
210
+ ),
211
+ disabled-border-color: (
212
+ color: (
213
+ 'gray',
214
+ 50,
215
+ ),
216
+ ),
217
+ )
218
+ );
219
+
220
+ /// @prop {Map} hover-foreground [color: ('gray', 50)] - TThe hover text color of an outlined button.
221
+ /// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an outlined button.
222
+ /// @prop {Map} active-foreground [contrast-color: ('gray' 100)] - The active text color of an outlined button.
223
+ /// @prop {Map} border-color [color: ('gray', 100)] - The border color of an outlined button.
224
+ /// @requires {Map} $fluent-outlined-button
225
+ /// @requires {Map} $fluent-base-button-dark
226
+ $fluent-outlined-button-dark: extend(
227
+ $fluent-outlined-button,
228
+ $fluent-base-button-dark,
229
+ (
230
+ hover-background: (
231
+ color: (
232
+ 'gray',
233
+ 50,
234
+ ),
235
+ ),
236
+ active-background: (
237
+ color: (
238
+ 'gray',
239
+ 100,
240
+ 0.8,
241
+ ),
242
+ ),
243
+ active-foreground: (
244
+ contrast-color: (
245
+ 'gray',
246
+ 100,
247
+ ),
248
+ ),
249
+ border-color: (
250
+ color: (
251
+ 'gray',
252
+ 100,
253
+ ),
254
+ ),
255
+ )
256
+ );
257
+
258
+ /// Generates a dark fluent button schema.
259
+ /// @type {Map}
260
+ /// @requires {Map} $fluent-flat-button-dark
261
+ /// @requires {Map} $fluent-outlined-button
262
+ /// @requires {Map} $fluent-raised-button
263
+ /// @requires {Map} $fluent-fab-button
264
+ /// @requires {Map} $fluent-icon-button
265
+ $dark-fluent-button: (
266
+ flat: $fluent-flat-button-dark,
267
+ outlined: $fluent-outlined-button-dark,
268
+ raised: $fluent-raised-button-dark,
269
+ fab: $fluent-fab-button-dark,
270
+ icon: $fluent-icon-button-dark,
271
+ );
272
+
273
+ /// @type {Map}
274
+ /// @requires {Map} $bootstrap-base-button
275
+ $bootstrap-base-button-dark: extend($bootstrap-base-button);
276
+
277
+ /// @type {Map}
278
+ /// @prop {Map} disabled-border-color [color: ('primary', 900)] - The disabled border color of the button.
279
+ /// @requires {Map} $bootstrap-base-button-dark
280
+ /// @requires {Map} $bootstrap-outlined-button
281
+ $bootstrap-outlined-button-dark: extend(
282
+ $bootstrap-base-button-dark,
283
+ $bootstrap-outlined-button,
284
+ (
285
+ disabled-border-color: (
286
+ color: (
287
+ 'primary',
288
+ 900,
289
+ ),
290
+ ),
291
+ )
292
+ );
293
+
294
+ /// @type {Map}
295
+ /// @requires {Map} $bootstrap-base-button-dark
296
+ /// @requires {Map} $bootstrap-flat-button
297
+ $bootstrap-flat-button-dark: extend($bootstrap-base-button-dark, $bootstrap-flat-button);
298
+
299
+ /// Generates a dark bootstrap button schema.
300
+ /// @type {Map}
301
+ /// @requires {Map} $bootstrap-flat-button
302
+ /// @requires {Map} $bootstrap-outlined-button
303
+ /// @requires {Map} $bootstrap-raised-button
304
+ /// @requires {Map} $bootstrap-fab-button
305
+ /// @requires {Map} $bootstrap-icon-button
306
+ $dark-bootstrap-button: (
307
+ flat: $bootstrap-flat-button-dark,
308
+ outlined: $bootstrap-outlined-button-dark,
309
+ raised: $bootstrap-raised-button,
310
+ fab: $bootstrap-fab-button,
311
+ icon: $bootstrap-icon-button,
312
+ );
313
+
314
+ /// @type {Map}
315
+ /// @prop {Color} disabled-foreground [color: ('gray', 300)] - The disabled foreground color of the button.
316
+ /// @prop {Color} disabled-background [color: ('gray', 200, .1)] - The disabled background color of the button.
317
+ /// @requires {Map} $indigo-base-button
318
+ $indigo-base-button-dark: extend(
319
+ (
320
+ disabled-foreground: (
321
+ color: (
322
+ 'gray',
323
+ 300,
324
+ ),
325
+ ),
326
+ disabled-background: (
327
+ color: (
328
+ 'gray',
329
+ 200,
330
+ 0.1,
331
+ ),
332
+ ),
333
+ )
334
+ );
335
+
336
+ /// @type {Map}
337
+ /// @prop {Map} foreground [color: ('gray', 600, .8)] - The idle text color of a outlined button.
338
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
339
+ /// @requires {Map} $indigo-base-button-dark
340
+ /// @requires {Map} $indigo-flat-button
341
+ $indigo-flat-button-dark: extend(
342
+ $indigo-flat-button,
343
+ $indigo-base-button-dark,
344
+ (
345
+ foreground: (
346
+ color: (
347
+ 'gray',
348
+ 600,
349
+ 0.8,
350
+ ),
351
+ ),
352
+ disabled-background: transparent,
353
+ )
354
+ );
355
+
356
+ /// @type {Map}
357
+ /// @prop {Color} foreground [color: ('gray', 900)] - The idle text color of a raised button.
358
+ /// @prop {Color} hover-foreground [color: ('gray', 900)] - The hover text color of a raised button.
359
+ /// @prop {Color} focus-foreground [color: ('gray', 900)] - The focus text color of a raised button.
360
+ /// @prop {Color} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a raised button.
361
+ /// @requires {Map} $indigo-base-button-dark
362
+ /// @requires {Map} $indigo-raised-button
363
+ $indigo-raised-button-dark: extend(
364
+ $indigo-raised-button,
365
+ $indigo-base-button-dark,
366
+ (
367
+ foreground: (
368
+ color: (
369
+ 'gray',
370
+ 900,
371
+ ),
372
+ ),
373
+ hover-foreground: (
374
+ color: (
375
+ 'gray',
376
+ 900,
377
+ ),
378
+ ),
379
+ focus-foreground: (
380
+ color: (
381
+ 'gray',
382
+ 900,
383
+ ),
384
+ ),
385
+ focus-visible-foreground: (
386
+ color: (
387
+ 'gray',
388
+ 900,
389
+ ),
390
+ ),
391
+ )
392
+ );
393
+
394
+ /// @type {Map}
395
+ /// @prop {Map} foreground [color: ('gray', 500)] - The idle text color of a outlined button.
396
+ /// @prop {Map} border-color [color: ('gray', 300)] - The border color of an outlined button.
397
+ /// @prop {Map} shadow-color [color: ('gray', 200, .8)] - The shadow color of an outlined button.
398
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
399
+ /// @requires {Map} $indigo-base-button-dark
400
+ /// @requires {Map} $indigo-outlined-button
401
+ $indigo-outlined-button-dark: extend(
402
+ $indigo-outlined-button,
403
+ $indigo-base-button-dark,
404
+ (
405
+ foreground: (
406
+ color: (
407
+ 'gray',
408
+ 500,
409
+ ),
410
+ ),
411
+ border-color: (
412
+ color: (
413
+ 'gray',
414
+ 300,
415
+ ),
416
+ ),
417
+ shadow-color: (
418
+ color: (
419
+ 'gray',
420
+ 200,
421
+ 0.8,
422
+ ),
423
+ ),
424
+ disabled-background: transparent,
425
+ )
426
+ );
427
+
428
+ /// @type {Map}
429
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
430
+ /// @requires {Map} $indigo-base-button-dark
431
+ /// @requires {Map} $indigo-icon-button
432
+ $indigo-icon-button-dark: extend(
433
+ $indigo-icon-button,
434
+ $indigo-base-button-dark,
435
+ (
436
+ disabled-background: transparent,
437
+ )
438
+ );
439
+
440
+ /// @type {Map}
441
+ /// @prop {Color} foreground [color: ('gray', 900) - The idle text color of a fab button.
442
+ /// @prop {Color} hover-foreground [color: ('gray', 900)] - The hover text color of a fab button.
443
+ /// @prop {Color} focus-foreground [color: ('gray', 900)] - The focus text color of a fab button.
444
+ /// @prop {Color} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a fab button.
445
+ /// @requires {Map} $indigo-base-button-dark
446
+ /// @requires {Map} $indigo-fab-button
447
+ $indigo-fab-button-dark: extend(
448
+ $indigo-fab-button,
449
+ $indigo-base-button-dark,
450
+ (
451
+ foreground: (
452
+ color: (
453
+ 'gray',
454
+ 900,
455
+ ),
456
+ ),
457
+ hover-foreground: (
458
+ color: (
459
+ 'gray',
460
+ 900,
461
+ ),
462
+ ),
463
+ focus-foreground: (
464
+ color: (
465
+ 'gray',
466
+ 900,
467
+ ),
468
+ ),
469
+ focus-visible-foreground: (
470
+ color: (
471
+ 'gray',
472
+ 900,
473
+ ),
474
+ ),
475
+ )
476
+ );
477
+
478
+ /// Generates a dark indigo button schema.
479
+ /// @type {Map}
480
+ /// @requires {Map} $indigo-flat-button
481
+ /// @requires {Map} $indigo-outlined-button
482
+ /// @requires {Map} $indigo-raised-button
483
+ /// @requires {Map} $indigo-fab-button
484
+ /// @requires {Map} $indigo-icon-button
485
+ $dark-indigo-button: (
486
+ flat: $indigo-flat-button-dark,
487
+ outlined: $indigo-outlined-button-dark,
488
+ raised: $indigo-raised-button-dark,
489
+ fab: $indigo-fab-button-dark,
490
+ icon: $indigo-icon-button-dark,
491
+ );