igniteui-theming 3.3.0-beta.1 → 3.3.0-beta.3
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/_button.scss +113 -2
- package/sass/themes/schemas/components/dark/_icon-button.scss +36 -1
- package/sass/themes/schemas/components/light/_avatar.scss +18 -2
- package/sass/themes/schemas/components/light/_button-group.scss +3 -0
- package/sass/themes/schemas/components/light/_button.scss +8 -0
- package/sass/themes/schemas/components/light/_calendar.scss +2 -0
- package/sass/themes/schemas/components/light/_card.scss +2 -0
- package/sass/themes/schemas/components/light/_chip.scss +2 -0
- package/sass/themes/schemas/components/light/_combo.scss +2 -0
- package/sass/themes/schemas/components/light/_dialog.scss +2 -0
- package/sass/themes/schemas/components/light/_drop-down.scss +2 -0
- package/sass/themes/schemas/components/light/_icon-button.scss +18 -2
- package/sass/themes/schemas/components/light/_icon.scss +2 -0
- package/sass/themes/schemas/components/light/_input-group.scss +2 -0
- package/sass/themes/schemas/components/light/_list.scss +2 -0
- package/sass/themes/schemas/components/light/_rating.scss +2 -0
- package/sass/themes/schemas/components/light/_select.scss +2 -0
- package/sass/themes/schemas/components/light/_tree.scss +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "3.3.0-beta.
|
|
3
|
+
"version": "3.3.0-beta.3",
|
|
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": {
|
|
@@ -174,13 +174,124 @@ $fluent-flat-button-dark: extend(
|
|
|
174
174
|
)
|
|
175
175
|
);
|
|
176
176
|
|
|
177
|
+
/// @type {Map}
|
|
178
|
+
/// @prop {Map} background [color: ('primary', 300)] - The background color of an raised button.
|
|
179
|
+
/// @prop {Map} foreground [color: ('surface', 500] - The idle text color of a raised button.
|
|
180
|
+
/// @prop {Map} border-color [color: ('primary', 300)] - The border color of a raised button.
|
|
181
|
+
/// @prop {Map} hover-border-color [color: ('primary', 200)] - The hover border color of a raised button.
|
|
182
|
+
/// @prop {Map} focus-border-color [color: ('primary', 300)] - The focus border color of a raised button.
|
|
183
|
+
/// @prop {Map} focus-visible-border-color [color: ('primary', 200)] - The focus-visible border color of a raised button.
|
|
184
|
+
/// @prop {Map} active-border-color [color: ('primary', 200)] - The active border color of a raised button.
|
|
185
|
+
/// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a raised button.
|
|
186
|
+
/// @prop {Map} hover-foreground [color: ('surface', 500] - The hover text color of a raised button.
|
|
187
|
+
/// @prop {Map} focus-background [color: ('primary', 300)] - The focus background color of a raised button.
|
|
188
|
+
/// @prop {Map} focus-foreground [color: ('surface', 500] - The focus text color of a raised button.
|
|
189
|
+
/// @prop {Map} focus-visible-background [color: ('primary', 200)] - The focus-visible background color of a raised button.
|
|
190
|
+
/// @prop {Map} focus-visible-foreground [color: ('surface', 500] - The focus-visible text color of a raised button.
|
|
191
|
+
/// @prop {Map} active-background [color: ('primary', 200)] - The active background color of a raised button.
|
|
192
|
+
/// @prop {Map} active-foreground [color: ('surface', 500] - The active text color of a raised button.
|
|
177
193
|
/// @requires {Map} $fluent-raised-button
|
|
178
194
|
/// @requires {Map} $fluent-base-button-dark
|
|
179
|
-
$fluent-raised-button-dark: extend(
|
|
195
|
+
$fluent-raised-button-dark: extend(
|
|
196
|
+
$fluent-raised-button,
|
|
197
|
+
$fluent-base-button-dark,
|
|
198
|
+
(
|
|
199
|
+
background: (
|
|
200
|
+
color: (
|
|
201
|
+
'primary',
|
|
202
|
+
300,
|
|
203
|
+
),
|
|
204
|
+
),
|
|
205
|
+
foreground: (
|
|
206
|
+
color: (
|
|
207
|
+
'surface',
|
|
208
|
+
500,
|
|
209
|
+
),
|
|
210
|
+
),
|
|
211
|
+
border-color: (
|
|
212
|
+
color: (
|
|
213
|
+
'primary',
|
|
214
|
+
300,
|
|
215
|
+
),
|
|
216
|
+
),
|
|
217
|
+
hover-background: (
|
|
218
|
+
color: (
|
|
219
|
+
'primary',
|
|
220
|
+
200,
|
|
221
|
+
),
|
|
222
|
+
),
|
|
223
|
+
hover-foreground: (
|
|
224
|
+
color: (
|
|
225
|
+
'surface',
|
|
226
|
+
500,
|
|
227
|
+
),
|
|
228
|
+
),
|
|
229
|
+
hover-border-color: (
|
|
230
|
+
color: (
|
|
231
|
+
'primary',
|
|
232
|
+
200,
|
|
233
|
+
),
|
|
234
|
+
),
|
|
235
|
+
focus-background: (
|
|
236
|
+
color: (
|
|
237
|
+
'primary',
|
|
238
|
+
300,
|
|
239
|
+
),
|
|
240
|
+
),
|
|
241
|
+
focus-foreground: (
|
|
242
|
+
color: (
|
|
243
|
+
'surface',
|
|
244
|
+
500,
|
|
245
|
+
),
|
|
246
|
+
),
|
|
247
|
+
focus-border-color: (
|
|
248
|
+
color: (
|
|
249
|
+
'primary',
|
|
250
|
+
300,
|
|
251
|
+
),
|
|
252
|
+
),
|
|
253
|
+
focus-visible-background: (
|
|
254
|
+
color: (
|
|
255
|
+
'primary',
|
|
256
|
+
200,
|
|
257
|
+
),
|
|
258
|
+
),
|
|
259
|
+
focus-visible-foreground: (
|
|
260
|
+
color: (
|
|
261
|
+
'surface',
|
|
262
|
+
500,
|
|
263
|
+
),
|
|
264
|
+
),
|
|
265
|
+
focus-visible-border-color: (
|
|
266
|
+
color: (
|
|
267
|
+
'primary',
|
|
268
|
+
200,
|
|
269
|
+
),
|
|
270
|
+
),
|
|
271
|
+
active-background: (
|
|
272
|
+
color: (
|
|
273
|
+
'primary',
|
|
274
|
+
200,
|
|
275
|
+
),
|
|
276
|
+
),
|
|
277
|
+
active-foreground: (
|
|
278
|
+
color: (
|
|
279
|
+
'surface',
|
|
280
|
+
500,
|
|
281
|
+
),
|
|
282
|
+
),
|
|
283
|
+
active-border-color: (
|
|
284
|
+
color: (
|
|
285
|
+
'primary',
|
|
286
|
+
200,
|
|
287
|
+
),
|
|
288
|
+
),
|
|
289
|
+
)
|
|
290
|
+
);
|
|
180
291
|
|
|
181
292
|
/// @requires {Map} $fluent-fab-button
|
|
182
293
|
/// @requires {Map} $fluent-base-button-dark
|
|
183
|
-
$fluent-fab-button-dark: extend($fluent-fab-button, $fluent-base-button-dark);
|
|
294
|
+
$fluent-fab-button-dark: extend($fluent-fab-button, $fluent-base-button-dark, $fluent-raised-button-dark);
|
|
184
295
|
|
|
185
296
|
/// @prop {Map} hover-background [color: ('gray', 50)] - The hover background color of an icon button.
|
|
186
297
|
/// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an icon button.
|
|
@@ -42,24 +42,59 @@ $fluent-flat-icon-button-dark: extend($fluent-flat-icon-button);
|
|
|
42
42
|
|
|
43
43
|
/// Generates a dark fluent contained icon button schema.
|
|
44
44
|
/// @type {Map}
|
|
45
|
+
/// @prop {Map} background [color: ('primary', 300)] - The background color of the fluent dark contained icon button.
|
|
45
46
|
/// @prop {Map} foreground [color: ('surface', 500)] - The idle text color of the fluent dark contained icon button.
|
|
46
|
-
/// @prop {Map}
|
|
47
|
+
/// @prop {Map} hover-background [color: ('primary', 200)] - The hover background color of the fluent dark contained icon button.
|
|
48
|
+
/// @prop {Map} focus-background [color: ('primary', 300)] - The focus background color of the fluent dark contained icon button.
|
|
49
|
+
/// @prop {Map} active-background [color: ('primary', 200)] - The active background color of the fluent dark contained icon button.
|
|
50
|
+
/// @prop {Map} active-foreground [color: ('surface', 500)] - The active text color of the fluent dark contained icon button.
|
|
51
|
+
/// @prop {Map} focus-border-color [color: ('surface', 500)] - The focus border color of the fluent dark contained icon button.
|
|
47
52
|
/// @requires {Map} $fluent-contained-icon-button
|
|
48
53
|
$fluent-contained-icon-button-dark: extend(
|
|
49
54
|
$fluent-contained-icon-button,
|
|
50
55
|
(
|
|
56
|
+
background: (
|
|
57
|
+
color: (
|
|
58
|
+
'primary',
|
|
59
|
+
300,
|
|
60
|
+
),
|
|
61
|
+
),
|
|
51
62
|
foreground: (
|
|
52
63
|
color: (
|
|
53
64
|
'surface',
|
|
54
65
|
500,
|
|
55
66
|
),
|
|
56
67
|
),
|
|
68
|
+
hover-background: (
|
|
69
|
+
color: (
|
|
70
|
+
'primary',
|
|
71
|
+
200,
|
|
72
|
+
),
|
|
73
|
+
),
|
|
57
74
|
focus-background: (
|
|
58
75
|
color: (
|
|
59
76
|
'primary',
|
|
60
77
|
300,
|
|
61
78
|
),
|
|
62
79
|
),
|
|
80
|
+
active-background: (
|
|
81
|
+
color: (
|
|
82
|
+
'primary',
|
|
83
|
+
200,
|
|
84
|
+
),
|
|
85
|
+
),
|
|
86
|
+
active-foreground: (
|
|
87
|
+
color: (
|
|
88
|
+
'surface',
|
|
89
|
+
500,
|
|
90
|
+
),
|
|
91
|
+
),
|
|
92
|
+
focus-border-color: (
|
|
93
|
+
color: (
|
|
94
|
+
'surface',
|
|
95
|
+
500,
|
|
96
|
+
),
|
|
97
|
+
),
|
|
63
98
|
)
|
|
64
99
|
);
|
|
65
100
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
/// @prop {Map} color [color: ('gray', 800, .96)] - The text/icon color of the avatar.
|
|
14
14
|
/// @prop {Number} border-radius [rem(8px)] - The border radius for rounded avatar.
|
|
15
15
|
/// @prop {List} size [(rem(40px), rem(64px), rem(88px))] - The size used for the avatar width and height.
|
|
16
|
+
/// @prop {Number} default-size [2] - The default size used for the avatar component.
|
|
16
17
|
$light-avatar: (
|
|
17
18
|
background: (
|
|
18
19
|
color: (
|
|
@@ -36,18 +37,26 @@ $light-avatar: (
|
|
|
36
37
|
rem(88px),
|
|
37
38
|
),
|
|
38
39
|
),
|
|
40
|
+
default-size: 2,
|
|
39
41
|
);
|
|
40
42
|
|
|
41
43
|
/// Generates a fluent avatar schema.
|
|
42
44
|
/// @type {Map}
|
|
45
|
+
/// @prop {Number} default-size [1] - The default size used for the avatar component.
|
|
43
46
|
/// @requires {Map} $light-avatar
|
|
44
|
-
$fluent-avatar:
|
|
47
|
+
$fluent-avatar: extend(
|
|
48
|
+
$light-avatar,
|
|
49
|
+
(
|
|
50
|
+
default-size: 1,
|
|
51
|
+
)
|
|
52
|
+
);
|
|
45
53
|
|
|
46
54
|
/// Generates a bootstrap avatar schema.
|
|
47
55
|
/// @type {Map}
|
|
48
56
|
/// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
|
|
49
57
|
/// @prop {Map} color [contrast-color: ('gray', 400)] - The text/icon color of the avatar.
|
|
50
58
|
/// @prop {Number} border-radius [rem(4px)] - The border radius for rounded avatar.
|
|
59
|
+
/// @prop {Number} default-size [1] - The default size used for the avatar component.
|
|
51
60
|
/// @requires {Map} $light-avatar
|
|
52
61
|
$bootstrap-avatar: extend(
|
|
53
62
|
$light-avatar,
|
|
@@ -65,10 +74,17 @@ $bootstrap-avatar: extend(
|
|
|
65
74
|
),
|
|
66
75
|
),
|
|
67
76
|
border-radius: rem(4px),
|
|
77
|
+
default-size: 1,
|
|
68
78
|
)
|
|
69
79
|
);
|
|
70
80
|
|
|
71
81
|
/// Generates an indigo avatar schema.
|
|
72
82
|
/// @type {Map}
|
|
83
|
+
/// @prop {Number} default-size [1] - The default size used for the avatar component.
|
|
73
84
|
/// @requires {Map} $light-avatar
|
|
74
|
-
$indigo-avatar:
|
|
85
|
+
$indigo-avatar: extend(
|
|
86
|
+
$light-avatar,
|
|
87
|
+
(
|
|
88
|
+
default-size: 1,
|
|
89
|
+
)
|
|
90
|
+
);
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
/// @prop {Map} idle-shadow-color [transparent] - The outline color of button group items.
|
|
26
26
|
/// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
|
|
27
27
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for button-group component.
|
|
28
|
+
/// @prop {Number} default-size [2] - The default size used for the button-group component.
|
|
28
29
|
/// @requires {Map} $default-elevation-button-group
|
|
29
30
|
$light-button-group: extend(
|
|
30
31
|
$default-elevation-button-group,
|
|
@@ -123,6 +124,8 @@ $light-button-group: extend(
|
|
|
123
124
|
rem(20px),
|
|
124
125
|
),
|
|
125
126
|
),
|
|
127
|
+
|
|
128
|
+
default-size: 2,
|
|
126
129
|
)
|
|
127
130
|
);
|
|
128
131
|
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
/// @prop {Map} disabled-background [color: ('gray', 300)] - The disabled background color of the button.
|
|
22
22
|
/// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
|
|
23
23
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
|
|
24
|
+
/// @prop {Number} default-size [1] - The default size used for the button component.
|
|
24
25
|
$material-base-button: (
|
|
25
26
|
shadow-color: transparent,
|
|
26
27
|
border-color: transparent,
|
|
@@ -48,6 +49,7 @@ $material-base-button: (
|
|
|
48
49
|
rem(36px),
|
|
49
50
|
),
|
|
50
51
|
),
|
|
52
|
+
default-size: 1,
|
|
51
53
|
);
|
|
52
54
|
|
|
53
55
|
/// @type {Map}
|
|
@@ -330,6 +332,7 @@ $material-fab-button: extend(
|
|
|
330
332
|
/// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of the button.
|
|
331
333
|
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for floating button.
|
|
332
334
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for icon button.
|
|
335
|
+
/// @prop {Number} default-size [2] - The default size used for the icon button component.
|
|
333
336
|
/// @requires {Map} $material-base-button
|
|
334
337
|
/// @requires {Map} $material-ib-elevation
|
|
335
338
|
$material-icon-button: extend(
|
|
@@ -420,6 +423,7 @@ $material-icon-button: extend(
|
|
|
420
423
|
rem(36px),
|
|
421
424
|
),
|
|
422
425
|
),
|
|
426
|
+
default-size: 2,
|
|
423
427
|
)
|
|
424
428
|
);
|
|
425
429
|
|
|
@@ -444,6 +448,7 @@ $light-button: (
|
|
|
444
448
|
/// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of the button.
|
|
445
449
|
/// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the button.
|
|
446
450
|
/// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
|
|
451
|
+
/// @prop {Number} default-size [2] - The default size used for the button component.
|
|
447
452
|
$fluent-base-button: extend(
|
|
448
453
|
$material-base-button,
|
|
449
454
|
$flat-elevation-button,
|
|
@@ -467,6 +472,7 @@ $fluent-base-button: extend(
|
|
|
467
472
|
rem(38px),
|
|
468
473
|
),
|
|
469
474
|
),
|
|
475
|
+
default-size: 2,
|
|
470
476
|
)
|
|
471
477
|
);
|
|
472
478
|
|
|
@@ -965,6 +971,7 @@ $fluent-button: (
|
|
|
965
971
|
/// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
|
|
966
972
|
/// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
|
|
967
973
|
/// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
|
|
974
|
+
/// @prop {Number} default-size [2] - The default size used for the button component.
|
|
968
975
|
/// @requires {Map} $material-base-button
|
|
969
976
|
/// @requires {Map} $flat-elevation-button
|
|
970
977
|
$bootstrap-base-button: extend(
|
|
@@ -990,6 +997,7 @@ $bootstrap-base-button: extend(
|
|
|
990
997
|
rem(48px),
|
|
991
998
|
),
|
|
992
999
|
),
|
|
1000
|
+
default-size: 2,
|
|
993
1001
|
)
|
|
994
1002
|
);
|
|
995
1003
|
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar.
|
|
58
58
|
/// @prop {List} date-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for calendar date.
|
|
59
59
|
/// @prop {List} month-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for calendar month.
|
|
60
|
+
/// @prop {Number} default-size [2] - The default size used for the calendar component.
|
|
60
61
|
$light-calendar: (
|
|
61
62
|
content-background: (
|
|
62
63
|
color: 'surface',
|
|
@@ -381,6 +382,7 @@ $light-calendar: (
|
|
|
381
382
|
rem(20px),
|
|
382
383
|
),
|
|
383
384
|
),
|
|
385
|
+
default-size: 2,
|
|
384
386
|
);
|
|
385
387
|
|
|
386
388
|
/// Generates a fluent calendar schema.
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
/// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
|
|
20
20
|
/// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
|
|
21
21
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for card.
|
|
22
|
+
/// @prop {Number} default-size [2] - The default size used for the card component.
|
|
22
23
|
/// @requires {Map} $default-elevation-card
|
|
23
24
|
$light-card: extend(
|
|
24
25
|
$default-elevation-card,
|
|
@@ -70,6 +71,7 @@ $light-card: extend(
|
|
|
70
71
|
rem(24px),
|
|
71
72
|
),
|
|
72
73
|
),
|
|
74
|
+
default-size: 2,
|
|
73
75
|
)
|
|
74
76
|
);
|
|
75
77
|
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
/// @prop {Map} $disabled-background [color: ('gray', 200)] - The disabled chip background color.
|
|
38
38
|
/// @prop {Map} $disabled-border-color [color: ('gray', 200)] - The disabled chip border color.
|
|
39
39
|
/// @prop {List} size [(rem(20px), rem(24px), rem(32px))] - The size used for the chip height.
|
|
40
|
+
/// @prop {Number} default-size [2] - The default size used for the chip component.
|
|
40
41
|
/// @prop {Map} $default-elevation-chip
|
|
41
42
|
$light-chip: extend(
|
|
42
43
|
$default-elevation-chip,
|
|
@@ -188,6 +189,7 @@ $light-chip: extend(
|
|
|
188
189
|
rem(32px),
|
|
189
190
|
),
|
|
190
191
|
),
|
|
192
|
+
default-size: 2,
|
|
191
193
|
)
|
|
192
194
|
);
|
|
193
195
|
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
/// @prop {Map} clear-button-foreground-focus [contrast-color: ('gray', 100)] - The combo clear button foreground color when the combo is focused.
|
|
29
29
|
/// @prop {Map} case-icon-color [color: ('gray', 400)] - The case sensitive icon color in inactive state for combo search input
|
|
30
30
|
/// @prop {Map} case-icon-color--active [color: ('primary', 500)] - The case sensitive icon color in active state for combo search input
|
|
31
|
+
/// @prop {Number} default-size [2] - The default size used for the combo component.
|
|
31
32
|
$light-combo: (
|
|
32
33
|
toggle-button-background-focus--border: (
|
|
33
34
|
color: (
|
|
@@ -119,6 +120,7 @@ $light-combo: (
|
|
|
119
120
|
500,
|
|
120
121
|
),
|
|
121
122
|
),
|
|
123
|
+
default-size: 2,
|
|
122
124
|
);
|
|
123
125
|
|
|
124
126
|
/// Generates a fluent combo schema.
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
/// @prop {Map} backdrop [color: ('gray', 50, .54)] - The dialog backdrop color.
|
|
18
18
|
/// @prop {Number} elevation [24] - The elevation level, between 0-24, to be used for the dialog.
|
|
19
19
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(36px))] - The border radius used for dialog.
|
|
20
|
+
/// @prop {Number} default-size [2] - The default size used for the dialog component.
|
|
20
21
|
/// @requires {Map} $default-elevation-dialog
|
|
21
22
|
$light-dialog: extend(
|
|
22
23
|
$default-elevation-dialog,
|
|
@@ -56,6 +57,7 @@ $light-dialog: extend(
|
|
|
56
57
|
rem(36px),
|
|
57
58
|
),
|
|
58
59
|
),
|
|
60
|
+
default-size: 2,
|
|
59
61
|
)
|
|
60
62
|
);
|
|
61
63
|
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for drop-down component.
|
|
34
34
|
/// @prop {List} item-border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the drop-down items.
|
|
35
35
|
/// @prop {List} size [(rem(28px), rem(32px), rem(40px))] - The size used for the dropdown item height.
|
|
36
|
+
/// @prop {Number} default-size [2] - The default size used for the drop down component.
|
|
36
37
|
/// @requires {Map} $default-elevation-drop-down
|
|
37
38
|
$light-drop-down: extend(
|
|
38
39
|
$default-elevation-drop-down,
|
|
@@ -155,6 +156,7 @@ $light-drop-down: extend(
|
|
|
155
156
|
rem(40px),
|
|
156
157
|
),
|
|
157
158
|
),
|
|
159
|
+
default-size: 2,
|
|
158
160
|
)
|
|
159
161
|
);
|
|
160
162
|
|
|
@@ -145,7 +145,8 @@ $light-icon-button: (
|
|
|
145
145
|
/// @type {Map}
|
|
146
146
|
/// @prop {Color} background [transparent] - The background color of the fluent icon button.
|
|
147
147
|
/// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of the fluent icon button.
|
|
148
|
-
/// @prop {Map}
|
|
148
|
+
/// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of the fluent icon button.
|
|
149
|
+
/// @prop {Map} focus-background [color: ('gray', 200)] - The focus background color of the fluent icon button.
|
|
149
150
|
/// @prop {Map} active-background [color: ('gray', 300)] - The active background color of the fluent icon button.
|
|
150
151
|
/// @prop {Map} focus-border-color [color: ('gray', 500)] - The focus border color of the fluent icon button.
|
|
151
152
|
/// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the fluent icon button.
|
|
@@ -160,6 +161,12 @@ $fluent-base-icon-button: (
|
|
|
160
161
|
500,
|
|
161
162
|
),
|
|
162
163
|
),
|
|
164
|
+
hover-background: (
|
|
165
|
+
color: (
|
|
166
|
+
'gray',
|
|
167
|
+
200,
|
|
168
|
+
),
|
|
169
|
+
),
|
|
163
170
|
focus-background: (
|
|
164
171
|
color: (
|
|
165
172
|
'gray',
|
|
@@ -215,7 +222,8 @@ $fluent-flat-icon-button: extend($fluent-base-icon-button);
|
|
|
215
222
|
/// @type {Map}
|
|
216
223
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of the fluent contained icon button.
|
|
217
224
|
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the fluent contained icon button.
|
|
218
|
-
/// @prop {Map}
|
|
225
|
+
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of the fluent contained icon button.
|
|
226
|
+
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the fluent contained icon button.
|
|
219
227
|
/// @prop {Map} active-background [color: ('primary', 800)] - The active background color of the fluent contained icon button.
|
|
220
228
|
/// @prop {Map} active-foreground [contrast-color: ('primary', 800)] - The active text color of the fluent contained icon button.
|
|
221
229
|
/// @prop {Map} focus-border-color [contrast-color: ('primary', 600)] - The focus border color of the fluent contained icon button.
|
|
@@ -235,6 +243,12 @@ $fluent-contained-icon-button: extend(
|
|
|
235
243
|
600,
|
|
236
244
|
),
|
|
237
245
|
),
|
|
246
|
+
hover-background: (
|
|
247
|
+
color: (
|
|
248
|
+
'primary',
|
|
249
|
+
600,
|
|
250
|
+
),
|
|
251
|
+
),
|
|
238
252
|
focus-background: (
|
|
239
253
|
color: (
|
|
240
254
|
'primary',
|
|
@@ -266,6 +280,7 @@ $fluent-contained-icon-button: extend(
|
|
|
266
280
|
/// @type {Map}
|
|
267
281
|
/// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the fluent outlined icon button.
|
|
268
282
|
/// @prop {Map} border-color [color: ('gray', 700)] - The border color of the fluent outlined icon button.
|
|
283
|
+
/// @prop {Color} hover-background [transparent] - The hover background color of the fluent outlined icon button.
|
|
269
284
|
/// @prop {Color} focus-background [transparent] - The focus background color of the fluent outlined icon button.
|
|
270
285
|
/// @prop {Map} active-background [color: ('gray', 200)] - The hover/active background color of the fluent outlined icon button.
|
|
271
286
|
/// @prop {Map} focus-border-color [color: ('gray', 900)] - The focus border color of the fluent outlined icon button.
|
|
@@ -285,6 +300,7 @@ $fluent-outlined-icon-button: extend(
|
|
|
285
300
|
700,
|
|
286
301
|
),
|
|
287
302
|
),
|
|
303
|
+
hover-background: transparent,
|
|
288
304
|
focus-background: transparent,
|
|
289
305
|
active-background: (
|
|
290
306
|
color: (
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
/// @prop {Color} color ["'currentColor'"] - The icon color.
|
|
13
13
|
/// @prop {Color} disabled-color ["'currentColor'"] - The disabled icon color.
|
|
14
14
|
/// @prop {List} size [(rem(18px), rem(20px), rem(24px))] - The size used for the icon.
|
|
15
|
+
/// @prop {Number} default-size [2] - The default size used for the icon component.
|
|
15
16
|
$light-icon: (
|
|
16
17
|
color: "'currentColor'",
|
|
17
18
|
disabled-color: "'currentColor'",
|
|
@@ -22,6 +23,7 @@ $light-icon: (
|
|
|
22
23
|
rem(24px),
|
|
23
24
|
),
|
|
24
25
|
),
|
|
26
|
+
default-size: 2,
|
|
25
27
|
);
|
|
26
28
|
|
|
27
29
|
/// Generates a fluent icon schema.
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
/// @prop {Map} input-suffix-color--focused [color: ('gray', 900)] - The input suffix color in the focused state.
|
|
64
64
|
/// @prop {Color} input-suffix-background--focused [inherit] - The background color of an input suffix in the focused state.
|
|
65
65
|
/// @prop {List} size [(rem(40px), rem(48px), rem(56px))] - The size used for the input group.
|
|
66
|
+
/// @prop {Number} default-size [2] - The default size used for the input group component.
|
|
66
67
|
/// @requires {Map} $default-elevation-input-group
|
|
67
68
|
$light-input-group: extend(
|
|
68
69
|
$default-elevation-input-group,
|
|
@@ -323,6 +324,7 @@ $light-input-group: extend(
|
|
|
323
324
|
rem(56px),
|
|
324
325
|
),
|
|
325
326
|
),
|
|
327
|
+
default-size: 2,
|
|
326
328
|
)
|
|
327
329
|
);
|
|
328
330
|
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
/// @prop {List} item-border-radius [()] - The border radius used for list item.
|
|
35
35
|
/// @prop {Number} border-color [transparent] - The list border color.
|
|
36
36
|
/// @prop {Color} border-width [0] - The list border width.
|
|
37
|
+
/// @prop {Number} default-size [2] - The default size used for the list component.
|
|
37
38
|
$light-list: (
|
|
38
39
|
background: (
|
|
39
40
|
color: 'surface',
|
|
@@ -131,6 +132,7 @@ $light-list: (
|
|
|
131
132
|
rem(24px),
|
|
132
133
|
),
|
|
133
134
|
),
|
|
135
|
+
default-size: 2,
|
|
134
136
|
);
|
|
135
137
|
|
|
136
138
|
/// Generates a fluent list schema.
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
/// @prop {Map} disabled-label-color [color: ('gray', 400)] - sets the color for the label in disabled state.
|
|
20
20
|
/// @prop {Map} disabled-empty-symbol-color [color: ('gray', 400)] - sets the idle color for the symbol in disabled state when it is a plane text.
|
|
21
21
|
/// @prop {Map} disabled-full-symbol-color [color: ('gray', 600)] - sets the color for the symbol in selected/disabled state when it is a plane text.
|
|
22
|
+
/// @prop {Number} default-size [2] - The default size used for the rating component.
|
|
22
23
|
/// Generates a light rating schema.
|
|
23
24
|
/// @type {Map}
|
|
24
25
|
$light-rating: (
|
|
@@ -77,6 +78,7 @@ $light-rating: (
|
|
|
77
78
|
200,
|
|
78
79
|
),
|
|
79
80
|
),
|
|
81
|
+
default-size: 2,
|
|
80
82
|
);
|
|
81
83
|
|
|
82
84
|
/// Generates a fluent rating schema.
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
/// @prop {Map} toggle-button-background-disabled [color: ('gray', 100] - The select toggle button background color when the select is disabled.
|
|
20
20
|
/// @prop {Map} toggle-button-foreground-disabled [color: ('gray', 500)] - The select toggle button foreground color when the select is disabled.
|
|
21
21
|
/// @prop {Map} toggle-button-background-focus--border [color: ('gray', 300)] The select toggle button background color when the select is focused in material border and line variants.
|
|
22
|
+
/// @prop {Number} default-size [2] - The default size used for the select component.
|
|
22
23
|
$light-select: (
|
|
23
24
|
toggle-button-background-focus--border: (
|
|
24
25
|
color: (
|
|
@@ -69,6 +70,7 @@ $light-select: (
|
|
|
69
70
|
500,
|
|
70
71
|
),
|
|
71
72
|
),
|
|
73
|
+
default-size: 2,
|
|
72
74
|
);
|
|
73
75
|
|
|
74
76
|
/// Generates a fluent select schema.
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
/// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
|
|
26
26
|
/// @prop {Map} border-color [color: ('secondary')] - The outline shadow color used for tree node in focus state.
|
|
27
27
|
/// @prop {List} size [(rem(32px), rem(40px), rem(50px))] - The size used for the tree node.
|
|
28
|
+
/// @prop {Number} default-size [2] - The default size used for the tree component.
|
|
28
29
|
$light-tree: (
|
|
29
30
|
background: (
|
|
30
31
|
color: (
|
|
@@ -109,6 +110,7 @@ $light-tree: (
|
|
|
109
110
|
rem(50px),
|
|
110
111
|
),
|
|
111
112
|
),
|
|
113
|
+
default-size: 2,
|
|
112
114
|
);
|
|
113
115
|
|
|
114
116
|
/// Generates a light fluent tree schema.
|