igniteui-theming 6.2.0-beta.2 → 6.2.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.
- package/package.json +1 -1
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +11 -44
- package/sass/themes/schemas/components/dark/_button-group.scss +46 -7
- package/sass/themes/schemas/components/dark/_button.scss +80 -42
- package/sass/themes/schemas/components/dark/_icon-button.scss +16 -0
- package/sass/themes/schemas/components/dark/_navdrawer.scss +19 -48
- package/sass/themes/schemas/components/dark/_switch.scss +38 -85
- package/sass/themes/schemas/components/elevation/_bottom-nav.scss +2 -2
- package/sass/themes/schemas/components/elevation/_navbar.scss +6 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +8 -82
- package/sass/themes/schemas/components/light/_button-group.scss +146 -22
- package/sass/themes/schemas/components/light/_button.scss +167 -158
- package/sass/themes/schemas/components/light/_icon-button.scss +37 -10
- package/sass/themes/schemas/components/light/_navbar.scss +2 -1
- package/sass/themes/schemas/components/light/_navdrawer.scss +33 -34
- package/sass/themes/schemas/components/light/_switch.scss +28 -91
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "6.2.0
|
|
3
|
+
"version": "6.2.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": {
|
|
@@ -24,61 +24,28 @@ $dark-bootstrap-bottom-nav: $bootstrap-bottom-nav;
|
|
|
24
24
|
|
|
25
25
|
/// Generates a dark indigo bottom-nav schema.
|
|
26
26
|
/// @type {Map}
|
|
27
|
-
/// @prop {Map}
|
|
28
|
-
/// @prop {
|
|
29
|
-
/// @prop {Map}
|
|
30
|
-
/// @prop {Map} label-color [contrast-color: ('gray', 50, .8)] - The label color in idle state.
|
|
31
|
-
/// @prop {Map} label-selected-color [color: ('primary', 200)] - The label color used for the selected item.
|
|
32
|
-
/// @prop {Map} icon-disabled-color [contrast-color: ('gray', 50, .2)] - The disabled color of the icon.
|
|
33
|
-
/// @prop {Map} label-disabled-color [contrast-color: ('gray', 50, .2)] - The disabled color of the label.
|
|
27
|
+
/// @prop {Map} background [color: 'surface'] - The background color used for the bottom-nav.
|
|
28
|
+
/// @prop {Color} active-item-color [color: ('gray', 700)] - The text-color used for the active color.
|
|
29
|
+
/// @prop {Map} idle-item-color [color: ('gray', 400)] - The text-color used for the idle color.
|
|
34
30
|
/// @requires $indigo-bottom-nav
|
|
35
31
|
$dark-indigo-bottom-nav: extend(
|
|
36
32
|
$indigo-bottom-nav,
|
|
37
33
|
(
|
|
38
|
-
|
|
39
|
-
color:
|
|
40
|
-
'gray',
|
|
41
|
-
100,
|
|
42
|
-
),
|
|
43
|
-
),
|
|
44
|
-
icon-color: (
|
|
45
|
-
contrast-color: (
|
|
46
|
-
'gray',
|
|
47
|
-
50,
|
|
48
|
-
0.6,
|
|
49
|
-
),
|
|
34
|
+
background: (
|
|
35
|
+
color: 'surface',
|
|
50
36
|
),
|
|
51
|
-
|
|
37
|
+
|
|
38
|
+
active-item-color: (
|
|
52
39
|
color: (
|
|
53
|
-
'primary',
|
|
54
|
-
200,
|
|
55
|
-
),
|
|
56
|
-
),
|
|
57
|
-
label-color: (
|
|
58
|
-
contrast-color: (
|
|
59
40
|
'gray',
|
|
60
|
-
|
|
61
|
-
0.8,
|
|
41
|
+
700,
|
|
62
42
|
),
|
|
63
43
|
),
|
|
64
|
-
|
|
44
|
+
|
|
45
|
+
idle-item-color: (
|
|
65
46
|
color: (
|
|
66
|
-
'primary',
|
|
67
|
-
200,
|
|
68
|
-
),
|
|
69
|
-
),
|
|
70
|
-
icon-disabled-color: (
|
|
71
|
-
contrast-color: (
|
|
72
|
-
'gray',
|
|
73
|
-
50,
|
|
74
|
-
0.2,
|
|
75
|
-
),
|
|
76
|
-
),
|
|
77
|
-
label-disabled-color: (
|
|
78
|
-
contrast-color: (
|
|
79
47
|
'gray',
|
|
80
|
-
|
|
81
|
-
0.2,
|
|
48
|
+
400,
|
|
82
49
|
),
|
|
83
50
|
),
|
|
84
51
|
)
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
/// @prop {Map} item-hover-border-color [color: ('gray', 100)] - The hover border color between button group items.
|
|
14
14
|
/// @prop {Map} item-focused-border-color [color: ('gray', 100)] - The focused border color for an item from the button group.
|
|
15
15
|
/// @prop {Map} item-hover-background [color: ('gray', 100), .8] - The hover background color for button group items.
|
|
16
|
-
/// @prop {Map} item-focused-background [color: ('gray',
|
|
16
|
+
/// @prop {Map} item-focused-background [color: ('gray', 700), .3] - The focused background color for button group items.
|
|
17
17
|
/// @prop {Map} item-selected-background [color: ('gray', 200)] - The background color for a selected item in the button group.
|
|
18
18
|
/// @prop {Map} item-selected-hover-background [color: ('gray', 300, .8)] - The hover background color for a selected item in hover or focus state in the button group.
|
|
19
19
|
/// @prop {Map} item-selected-border-color [color: ('gray', 300)] - The border color for button group selected items.
|
|
@@ -53,8 +53,8 @@ $base-dark-button-group: (
|
|
|
53
53
|
item-focused-background: (
|
|
54
54
|
color: (
|
|
55
55
|
'gray',
|
|
56
|
-
|
|
57
|
-
0.
|
|
56
|
+
700,
|
|
57
|
+
0.3,
|
|
58
58
|
),
|
|
59
59
|
),
|
|
60
60
|
|
|
@@ -104,9 +104,31 @@ $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
109
|
/// @requires $material-button-group
|
|
108
110
|
/// @requires $base-dark-button-group
|
|
109
|
-
$dark-material-button-group: extend(
|
|
111
|
+
$dark-material-button-group: extend(
|
|
112
|
+
$material-button-group,
|
|
113
|
+
$base-dark-button-group,
|
|
114
|
+
(
|
|
115
|
+
item-focused-hover-background: (
|
|
116
|
+
color: (
|
|
117
|
+
'gray',
|
|
118
|
+
500,
|
|
119
|
+
0.3,
|
|
120
|
+
),
|
|
121
|
+
),
|
|
122
|
+
|
|
123
|
+
item-selected-focus-hover-background: (
|
|
124
|
+
color: (
|
|
125
|
+
'gray',
|
|
126
|
+
400,
|
|
127
|
+
0.8,
|
|
128
|
+
),
|
|
129
|
+
),
|
|
130
|
+
)
|
|
131
|
+
);
|
|
110
132
|
|
|
111
133
|
/// Generates a dark fluent button-group schema based on a mix of $fluent-button-group and $base-dark-button-group
|
|
112
134
|
/// @type {Map}
|
|
@@ -116,8 +138,9 @@ $dark-material-button-group: extend($material-button-group, $base-dark-button-gr
|
|
|
116
138
|
/// @prop {Map} item-hover-background [color: ('gray', 50)] - The background color for button group items on hover.
|
|
117
139
|
/// @prop {Map} item-focused-background [color: ('gray', 100)] - The focused background color for button group items.
|
|
118
140
|
/// @prop {Map} item-selected-background [color: ('gray', 200)] - The background color for button group selected items.
|
|
119
|
-
/// @prop {Map} item-selected-hover-background [color: ('gray', 300)] - The background color for a selected item in hover or focus state in the button group.
|
|
120
141
|
/// @prop {Map} item-selected-border-color [color: ('gray', 400)] - The border color for button group selected items.
|
|
142
|
+
/// @prop {Map} item-selected-focus-background [color: ('gray', 300)] - The background color for a selected item in focus state in the button group.
|
|
143
|
+
/// @prop {Map} item-selected-hover-background [color: ('gray', 400, .3)] - The background color for a selected item in hover or focus state in the button group.
|
|
121
144
|
/// @prop {Map} item-selected-hover-border-color [color: ('gray', 400)] - The border color for a selected item in hover state in the button group.
|
|
122
145
|
/// @prop {Map} item-disabled-border: [color: ('gray', 400)] - The border color for button group disabled items.
|
|
123
146
|
/// @prop {Map} disabled-text-color [color: ('gray', 300)]- The text/icon color for a disabled item in the button group.
|
|
@@ -172,17 +195,25 @@ $dark-fluent-button-group: extend(
|
|
|
172
195
|
),
|
|
173
196
|
),
|
|
174
197
|
|
|
175
|
-
item-selected-
|
|
198
|
+
item-selected-border-color: (
|
|
199
|
+
color: (
|
|
200
|
+
'gray',
|
|
201
|
+
400,
|
|
202
|
+
),
|
|
203
|
+
),
|
|
204
|
+
|
|
205
|
+
item-selected-focus-background: (
|
|
176
206
|
color: (
|
|
177
207
|
'gray',
|
|
178
208
|
300,
|
|
179
209
|
),
|
|
180
210
|
),
|
|
181
211
|
|
|
182
|
-
item-selected-
|
|
212
|
+
item-selected-hover-background: (
|
|
183
213
|
color: (
|
|
184
214
|
'gray',
|
|
185
215
|
400,
|
|
216
|
+
0.3,
|
|
186
217
|
),
|
|
187
218
|
),
|
|
188
219
|
|
|
@@ -246,6 +277,7 @@ $dark-bootstrap-button-group: $bootstrap-button-group;
|
|
|
246
277
|
/// @prop {Map} item-hover-text-color [contrast-color: ('gray', 50)] - The hover text color for button group items.
|
|
247
278
|
/// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50)] - The hover icon color for button group items.
|
|
248
279
|
/// @prop {Map} item-hover-border-color [color: ('gray', 200)] - The hover border color between button group items.
|
|
280
|
+
/// @prop {Map} item-focused-border-color [color: ('gray', 100)] - The focused border color for an item from the button group.
|
|
249
281
|
/// @prop {Map} item-focused-text-color [contrast-color: ('gray', 50, .8)] - The focused text color for button group items.
|
|
250
282
|
/// @prop {Map} item-focused-background [contrast-color: ('gray', 50, .05)] - The focused background color for button group items.
|
|
251
283
|
/// @prop {Color} disabled-background-color [transparent] - The background color for a disabled item in the button group.
|
|
@@ -325,6 +357,13 @@ $dark-indigo-button-group: extend(
|
|
|
325
357
|
),
|
|
326
358
|
),
|
|
327
359
|
|
|
360
|
+
item-focused-border-color: (
|
|
361
|
+
color: (
|
|
362
|
+
'gray',
|
|
363
|
+
100,
|
|
364
|
+
),
|
|
365
|
+
),
|
|
366
|
+
|
|
328
367
|
item-focused-text-color: (
|
|
329
368
|
contrast-color: (
|
|
330
369
|
'gray',
|
|
@@ -88,7 +88,9 @@ $dark-material-button: (
|
|
|
88
88
|
/// @type {Map}
|
|
89
89
|
/// @prop {Map} focus-visible-border-color [color: ('gray', 400)] - The focus-visible border color of a contained button.
|
|
90
90
|
/// @prop {Map} hover-background [color: ('gray', 50)] - The hover background of a contained button.
|
|
91
|
+
/// @prop {Map} focus-background [color: ('gray', 100)] - The background color of a contained button when focused with click and keyboard.
|
|
91
92
|
/// @prop {Map} focus-hover-background [color: ('gray', 50)] - The background color on focus hovered state of the button.
|
|
93
|
+
/// @prop {Map} active-background [color: ('gray', 100)] - The active background color of a contained button.
|
|
92
94
|
/// @prop {Map} disabled-background [color: ('gray', 50)] - The disabled background color of the button.
|
|
93
95
|
/// @prop {Map} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the button.
|
|
94
96
|
/// @prop {Map} disabled-icon-color [color: ('gray', 200)] - The disabled icon color of the button.
|
|
@@ -105,12 +107,24 @@ $fluent-base-button-dark: (
|
|
|
105
107
|
50,
|
|
106
108
|
),
|
|
107
109
|
),
|
|
110
|
+
focus-background: (
|
|
111
|
+
color: (
|
|
112
|
+
'gray',
|
|
113
|
+
100,
|
|
114
|
+
),
|
|
115
|
+
),
|
|
108
116
|
focus-hover-background: (
|
|
109
117
|
color: (
|
|
110
118
|
'gray',
|
|
111
119
|
50,
|
|
112
120
|
),
|
|
113
121
|
),
|
|
122
|
+
active-background: (
|
|
123
|
+
color: (
|
|
124
|
+
'gray',
|
|
125
|
+
100,
|
|
126
|
+
),
|
|
127
|
+
),
|
|
114
128
|
disabled-background: (
|
|
115
129
|
color: (
|
|
116
130
|
'gray',
|
|
@@ -143,11 +157,10 @@ $fluent-flat-button-dark: extend(
|
|
|
143
157
|
)
|
|
144
158
|
);
|
|
145
159
|
|
|
146
|
-
/// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of a contained button.
|
|
147
|
-
/// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an outlined button.
|
|
148
|
-
/// @prop {Map} active-foreground [contrast-color: ('gray' 100)] - The active text color of an outlined button.
|
|
149
160
|
/// @prop {Map} border-color [color: ('gray', 400)] - The border color of an outlined button.
|
|
150
161
|
/// @prop {Map} hover-border-color [color: ('gray', 400)] - The hover border color of an outlined button.
|
|
162
|
+
/// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of a contained button.
|
|
163
|
+
/// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of an outlined button.
|
|
151
164
|
/// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled focused border color of an outlined button.
|
|
152
165
|
/// @requires {Map} $fluent-outlined-button
|
|
153
166
|
/// @requires {Map} $fluent-base-button-dark
|
|
@@ -155,32 +168,25 @@ $fluent-outlined-button-dark: extend(
|
|
|
155
168
|
$fluent-outlined-button,
|
|
156
169
|
$fluent-base-button-dark,
|
|
157
170
|
(
|
|
158
|
-
|
|
171
|
+
border-color: (
|
|
159
172
|
color: (
|
|
160
173
|
'gray',
|
|
161
174
|
400,
|
|
162
175
|
),
|
|
163
176
|
),
|
|
164
|
-
|
|
177
|
+
hover-border-color: (
|
|
165
178
|
color: (
|
|
166
179
|
'gray',
|
|
167
|
-
|
|
168
|
-
0.8,
|
|
169
|
-
),
|
|
170
|
-
),
|
|
171
|
-
active-foreground: (
|
|
172
|
-
contrast-color: (
|
|
173
|
-
'gray',
|
|
174
|
-
100,
|
|
180
|
+
400,
|
|
175
181
|
),
|
|
176
182
|
),
|
|
177
|
-
border-color: (
|
|
183
|
+
focus-border-color: (
|
|
178
184
|
color: (
|
|
179
185
|
'gray',
|
|
180
186
|
400,
|
|
181
187
|
),
|
|
182
188
|
),
|
|
183
|
-
|
|
189
|
+
active-border-color: (
|
|
184
190
|
color: (
|
|
185
191
|
'gray',
|
|
186
192
|
400,
|
|
@@ -203,13 +209,13 @@ $fluent-outlined-button-dark: extend(
|
|
|
203
209
|
/// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 300)] - The focus-visible border color of a contained button.
|
|
204
210
|
/// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
|
|
205
211
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of a contained button.
|
|
206
|
-
/// @prop {Map} focus-background [color: ('primary',
|
|
207
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The
|
|
212
|
+
/// @prop {Map} focus-background [color: ('primary', 100)] - The background color of a contained button when focused with click and keyboard.
|
|
213
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The text color of a contained button when focused with click and keyboard.
|
|
208
214
|
/// @prop {Map} focus-hover-background [color: ('primary', 200)] - The background color on focus hovered state of the button.
|
|
209
215
|
/// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 500)] - The text color on focus hovered state of the button.
|
|
210
216
|
/// @prop {Map} focus-visible-background [color: ('primary', 300)] - The focus-visible background color of a contained button.
|
|
211
217
|
/// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 500)] - The focus-visible text color of a contained button.
|
|
212
|
-
/// @prop {Map} active-background [color: ('primary',
|
|
218
|
+
/// @prop {Map} active-background [color: ('primary', 100)] - The active background color of a contained button.
|
|
213
219
|
/// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of a contained button.
|
|
214
220
|
/// @requires {Map} $fluent-contained-button
|
|
215
221
|
/// @requires {Map} $fluent-base-button-dark
|
|
@@ -256,7 +262,7 @@ $fluent-contained-button-dark: extend(
|
|
|
256
262
|
focus-background: (
|
|
257
263
|
color: (
|
|
258
264
|
'primary',
|
|
259
|
-
|
|
265
|
+
100,
|
|
260
266
|
),
|
|
261
267
|
),
|
|
262
268
|
focus-foreground: (
|
|
@@ -298,7 +304,7 @@ $fluent-contained-button-dark: extend(
|
|
|
298
304
|
active-background: (
|
|
299
305
|
color: (
|
|
300
306
|
'primary',
|
|
301
|
-
|
|
307
|
+
100,
|
|
302
308
|
),
|
|
303
309
|
),
|
|
304
310
|
active-foreground: (
|
|
@@ -319,13 +325,13 @@ $fluent-contained-button-dark: extend(
|
|
|
319
325
|
/// @prop {Map} active-border-color [color: ('primary', 200)] - The active border color of a contained button.
|
|
320
326
|
/// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
|
|
321
327
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 300)] - The hover text color of a contained button.
|
|
322
|
-
/// @prop {Map} focus-background [color: ('primary',
|
|
323
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 300)] - The
|
|
328
|
+
/// @prop {Map} focus-background [color: ('primary', 100)] - The background color of a contained button when focused with click and keyboard.
|
|
329
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 300)] - The text color of a contained button when focused with click and keyboard.
|
|
324
330
|
/// @prop {Map} focus-hover-background [color: ('primary', 200)] - The background color on focus hovered state of the button.
|
|
325
331
|
/// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 300)] - The text color on focus hovered state of the button.
|
|
326
332
|
/// @prop {Map} focus-visible-background [color: ('primary', 300)] - The focus-visible background color of a contained button.
|
|
327
333
|
/// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 300)] - The focus-visible text color of a contained button.
|
|
328
|
-
/// @prop {Map} active-background [color: ('primary',
|
|
334
|
+
/// @prop {Map} active-background [color: ('primary', 100)] - The active background color of a contained button.
|
|
329
335
|
/// @prop {Map} active-foreground [contrast-color: ('primary', 300)] - The active text color of a contained button.
|
|
330
336
|
/// @requires {Map} $fluent-fab-button
|
|
331
337
|
/// @requires {Map} $fluent-base-button-dark
|
|
@@ -372,7 +378,7 @@ $fluent-fab-button-dark: extend(
|
|
|
372
378
|
focus-background: (
|
|
373
379
|
color: (
|
|
374
380
|
'primary',
|
|
375
|
-
|
|
381
|
+
100,
|
|
376
382
|
),
|
|
377
383
|
),
|
|
378
384
|
focus-foreground: (
|
|
@@ -414,7 +420,7 @@ $fluent-fab-button-dark: extend(
|
|
|
414
420
|
active-background: (
|
|
415
421
|
color: (
|
|
416
422
|
'primary',
|
|
417
|
-
|
|
423
|
+
100,
|
|
418
424
|
),
|
|
419
425
|
),
|
|
420
426
|
active-foreground: (
|
|
@@ -453,14 +459,14 @@ $dark-bootstrap-button: (
|
|
|
453
459
|
);
|
|
454
460
|
|
|
455
461
|
/// @type {Map}
|
|
456
|
-
/// @prop {Map} foreground [contrast-color: ('primary', 500)] - The idle text color of
|
|
462
|
+
/// @prop {Map} foreground [contrast-color: ('primary', 500)] - The idle text color of the button.
|
|
457
463
|
/// @prop {Map} icon-color [contrast-color: ('primary', 500, 0.8)] - The idle icon color of the button.
|
|
458
464
|
/// @prop {Map} icon-color-hover [contrast-color: ('primary', 500)] - The hover icon color of the button.
|
|
459
|
-
/// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of
|
|
460
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The
|
|
465
|
+
/// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of the button.
|
|
466
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The text color of the button when focused with click and keyboard.
|
|
461
467
|
/// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 500)] - The text color on focus hovered state of the button.
|
|
462
|
-
/// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of
|
|
463
|
-
/// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 500)] - The focus-visible text color of
|
|
468
|
+
/// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of the button.
|
|
469
|
+
/// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 500)] - The focus-visible text color of the button.
|
|
464
470
|
/// @prop {Map} disabled-foreground [contrast-color: ('primary', 500, 0.20)] - The disabled foreground color of the button.
|
|
465
471
|
/// @prop {Map} disabled-icon-color [contrast-color: ('primary', 500, 0.30)] - The disabled icon color of the button.
|
|
466
472
|
$indigo-base-button-dark: (
|
|
@@ -530,9 +536,11 @@ $indigo-base-button-dark: (
|
|
|
530
536
|
);
|
|
531
537
|
|
|
532
538
|
/// @type {Map}
|
|
533
|
-
/// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.
|
|
534
|
-
/// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.
|
|
535
|
-
/// @prop {Map}
|
|
539
|
+
/// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.1)] - The hover background color of a flat button.
|
|
540
|
+
/// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.1] - The background color on focus hovered state of a flat button.
|
|
541
|
+
/// @prop {Map} focus-background [contrast-color: ('primary', 500, 0.1)] - The background color of a flat button when focused with click and keyboard.
|
|
542
|
+
/// @prop {Map} active-background [contrast-color: ('primary', 500, 0.1)] - The active background color of a flat button.
|
|
543
|
+
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of a flat button.
|
|
536
544
|
/// @requires {Map} $indigo-flat-button
|
|
537
545
|
/// @requires {Map} $indigo-base-button-dark
|
|
538
546
|
$indigo-flat-button-dark: extend(
|
|
@@ -553,6 +561,20 @@ $indigo-flat-button-dark: extend(
|
|
|
553
561
|
0.1,
|
|
554
562
|
),
|
|
555
563
|
),
|
|
564
|
+
focus-background: (
|
|
565
|
+
contrast-color: (
|
|
566
|
+
'primary',
|
|
567
|
+
500,
|
|
568
|
+
0.1,
|
|
569
|
+
),
|
|
570
|
+
),
|
|
571
|
+
active-background: (
|
|
572
|
+
contrast-color: (
|
|
573
|
+
'primary',
|
|
574
|
+
500,
|
|
575
|
+
0.1,
|
|
576
|
+
),
|
|
577
|
+
),
|
|
556
578
|
shadow-color: (
|
|
557
579
|
contrast-color: (
|
|
558
580
|
'primary',
|
|
@@ -564,15 +586,17 @@ $indigo-flat-button-dark: extend(
|
|
|
564
586
|
);
|
|
565
587
|
|
|
566
588
|
/// @type {Map}
|
|
567
|
-
/// @prop {Map} border-color [contrast-color: ('primary', 500, 0.
|
|
568
|
-
/// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.
|
|
569
|
-
/// @prop {Map} hover-border-color [contrast-color: ('primary', 500, 0.
|
|
570
|
-
/// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.
|
|
571
|
-
/// @prop {Map} focus-
|
|
572
|
-
/// @prop {Map} focus-
|
|
573
|
-
/// @prop {Map}
|
|
574
|
-
/// @prop {Map}
|
|
575
|
-
/// @prop {Map}
|
|
589
|
+
/// @prop {Map} border-color [contrast-color: ('primary', 500, 0.6)] - The border color of an outlined button.
|
|
590
|
+
/// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.1)] - The hover background color of an outlined button.
|
|
591
|
+
/// @prop {Map} hover-border-color [contrast-color: ('primary', 500, 0.8)] - The hover border color of an outlined button.
|
|
592
|
+
/// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.1)] - The background color on focus hovered state of an outlined button.
|
|
593
|
+
/// @prop {Map} focus-background [contrast-color: ('primary', 500, 0.1)] - The background color of an outlined button when focused with click and keyboard.
|
|
594
|
+
/// @prop {Map} focus-border-color [contrast-color: ('primary', 500, 0.6)] - The focus border color of an outlined button.
|
|
595
|
+
/// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 500, 0.6)] - The focus-visible border color of an outlined button.
|
|
596
|
+
/// @prop {Map} active-background [contrast-color: ('primary', 500, 0.1)] - The active background color of an outlined button.
|
|
597
|
+
/// @prop {Map} active-border-color [contrast-color: ('primary', 500, 0.8)] - The active border color of an outlined button.
|
|
598
|
+
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of an outlined button.
|
|
599
|
+
/// @prop {Map} disabled-border-color [contrast-color: ('primary', 500, 0.2)] - The disabled focused border color of an outlined button.
|
|
576
600
|
/// @requires {Map} $indigo-outlined-button
|
|
577
601
|
/// @requires {Map} $indigo-base-button-dark
|
|
578
602
|
$indigo-outlined-button-dark: extend(
|
|
@@ -607,6 +631,13 @@ $indigo-outlined-button-dark: extend(
|
|
|
607
631
|
0.1,
|
|
608
632
|
),
|
|
609
633
|
),
|
|
634
|
+
focus-background: (
|
|
635
|
+
contrast-color: (
|
|
636
|
+
'primary',
|
|
637
|
+
500,
|
|
638
|
+
0.1,
|
|
639
|
+
),
|
|
640
|
+
),
|
|
610
641
|
focus-border-color: (
|
|
611
642
|
contrast-color: (
|
|
612
643
|
'primary',
|
|
@@ -621,6 +652,13 @@ $indigo-outlined-button-dark: extend(
|
|
|
621
652
|
0.6,
|
|
622
653
|
),
|
|
623
654
|
),
|
|
655
|
+
active-background: (
|
|
656
|
+
contrast-color: (
|
|
657
|
+
'primary',
|
|
658
|
+
500,
|
|
659
|
+
0.1,
|
|
660
|
+
),
|
|
661
|
+
),
|
|
624
662
|
active-border-color: (
|
|
625
663
|
contrast-color: (
|
|
626
664
|
'primary',
|
|
@@ -330,6 +330,7 @@ $indigo-base-icon-button-dark: (
|
|
|
330
330
|
|
|
331
331
|
/// Generates a dark indigo flat icon button schema.
|
|
332
332
|
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of the indigo icon button.
|
|
333
|
+
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of a flat button.
|
|
333
334
|
/// @type {Map}
|
|
334
335
|
/// @requires {Map} $indigo-flat-icon-button
|
|
335
336
|
$indigo-flat-icon-button-dark: extend(
|
|
@@ -343,6 +344,13 @@ $indigo-flat-icon-button-dark: extend(
|
|
|
343
344
|
0.8,
|
|
344
345
|
),
|
|
345
346
|
),
|
|
347
|
+
shadow-color: (
|
|
348
|
+
contrast-color: (
|
|
349
|
+
'primary',
|
|
350
|
+
500,
|
|
351
|
+
0.2,
|
|
352
|
+
),
|
|
353
|
+
),
|
|
346
354
|
)
|
|
347
355
|
);
|
|
348
356
|
|
|
@@ -350,6 +358,7 @@ $indigo-flat-icon-button-dark: extend(
|
|
|
350
358
|
/// @type {Map}
|
|
351
359
|
/// @prop {Map} border-color [contrast-color: ('primary', 500, 0.6)] - The border color of the indigo outlined icon button.
|
|
352
360
|
/// @prop {Map} disabled-border-color [contrast-color: ('primary', 500, 0.2)] - The disabled border color of the indigo outlined icon button.
|
|
361
|
+
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of the indigo outlined icon button.
|
|
353
362
|
/// @requires {Map} $indigo-outlined-icon-button
|
|
354
363
|
$indigo-outlined-icon-button-dark: extend(
|
|
355
364
|
$indigo-outlined-icon-button,
|
|
@@ -369,6 +378,13 @@ $indigo-outlined-icon-button-dark: extend(
|
|
|
369
378
|
0.2,
|
|
370
379
|
),
|
|
371
380
|
),
|
|
381
|
+
shadow-color: (
|
|
382
|
+
contrast-color: (
|
|
383
|
+
'primary',
|
|
384
|
+
500,
|
|
385
|
+
0.2,
|
|
386
|
+
),
|
|
387
|
+
),
|
|
372
388
|
)
|
|
373
389
|
);
|
|
374
390
|
|
|
@@ -81,93 +81,64 @@ $dark-bootstrap-navdrawer: extend(
|
|
|
81
81
|
|
|
82
82
|
/// Generates a dark indigo navdrawer schema.
|
|
83
83
|
/// @type {Map}
|
|
84
|
-
/// @prop {Map}
|
|
85
|
-
/// @prop {Map} item-text-color [contrast-color: ('gray', 50
|
|
86
|
-
/// @prop {Map} item-
|
|
87
|
-
/// @prop {Map} item-
|
|
88
|
-
/// @prop {Map} item-active-background [color: ('
|
|
89
|
-
/// @prop {Map} item-active-icon-color [color: ('primary', 200)] - The item's icon active color.
|
|
90
|
-
/// @prop {Map} item-hover-background [contrast-color: ('gray', 50, 0.1)] - The item's hover background color.
|
|
84
|
+
/// @prop {Map} background [color: ('gray', 500)] - The navigation drawer background color.
|
|
85
|
+
/// @prop {Map} item-header-text-color [contrast-color: ('gray', 50)] - The header's idle text color.
|
|
86
|
+
/// @prop {Map} item-text-color [contrast-color: ('gray', 100) - The item's idle text color.
|
|
87
|
+
/// @prop {Map} item-icon-color [contrast-color: ('gray', 100)] - The item's icon color.
|
|
88
|
+
/// @prop {Map} item-active-background [contrast-color: ('gray', 400, .5)] - The item's active background color.
|
|
91
89
|
/// @prop {Map} item-hover-text-color [contrast-color: ('gray', 50)] - The item's hover text color.
|
|
92
|
-
/// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50
|
|
93
|
-
/// @prop {Map} border-color [color: ('gray', 100)] - The navigation drawer right border color.
|
|
90
|
+
/// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50)] - The item's hover icon color.
|
|
94
91
|
/// @requires $indigo-navdrawer
|
|
95
92
|
$dark-indigo-navdrawer: extend(
|
|
96
93
|
$indigo-navdrawer,
|
|
97
94
|
(
|
|
98
|
-
|
|
95
|
+
background: (
|
|
99
96
|
color: (
|
|
100
97
|
'gray',
|
|
101
|
-
|
|
98
|
+
500,
|
|
102
99
|
),
|
|
103
100
|
),
|
|
104
101
|
|
|
105
102
|
item-header-text-color: (
|
|
106
|
-
|
|
103
|
+
color: (
|
|
107
104
|
'gray',
|
|
108
105
|
50,
|
|
109
|
-
0.6,
|
|
110
106
|
),
|
|
111
107
|
),
|
|
112
108
|
|
|
113
109
|
item-text-color: (
|
|
114
|
-
|
|
110
|
+
color: (
|
|
115
111
|
'gray',
|
|
116
|
-
|
|
117
|
-
0.8,
|
|
112
|
+
100,
|
|
118
113
|
),
|
|
119
114
|
),
|
|
120
115
|
|
|
121
116
|
item-icon-color: (
|
|
122
|
-
contrast-color: (
|
|
123
|
-
'gray',
|
|
124
|
-
50,
|
|
125
|
-
0.6,
|
|
126
|
-
),
|
|
127
|
-
),
|
|
128
|
-
|
|
129
|
-
item-active-background: (
|
|
130
|
-
color: (
|
|
131
|
-
'primary',
|
|
132
|
-
400,
|
|
133
|
-
0.3,
|
|
134
|
-
),
|
|
135
|
-
),
|
|
136
|
-
|
|
137
|
-
item-active-text-color: (
|
|
138
117
|
color: (
|
|
139
|
-
'
|
|
118
|
+
'gray',
|
|
140
119
|
100,
|
|
141
120
|
),
|
|
142
121
|
),
|
|
143
122
|
|
|
144
|
-
item-
|
|
123
|
+
item-hover-text-color: (
|
|
145
124
|
color: (
|
|
146
|
-
'primary',
|
|
147
|
-
200,
|
|
148
|
-
),
|
|
149
|
-
),
|
|
150
|
-
|
|
151
|
-
item-hover-background: (
|
|
152
|
-
contrast-color: (
|
|
153
125
|
'gray',
|
|
154
126
|
50,
|
|
155
|
-
0.1,
|
|
156
127
|
),
|
|
157
128
|
),
|
|
158
129
|
|
|
159
|
-
item-hover-
|
|
160
|
-
|
|
130
|
+
item-hover-icon-color: (
|
|
131
|
+
color: (
|
|
161
132
|
'gray',
|
|
162
133
|
50,
|
|
163
134
|
),
|
|
164
135
|
),
|
|
165
136
|
|
|
166
|
-
item-
|
|
167
|
-
|
|
137
|
+
item-active-background: (
|
|
138
|
+
color: (
|
|
168
139
|
'gray',
|
|
169
|
-
|
|
170
|
-
0.
|
|
140
|
+
400,
|
|
141
|
+
0.5,
|
|
171
142
|
),
|
|
172
143
|
),
|
|
173
144
|
)
|