igniteui-theming 3.2.1 → 3.3.0-beta.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "3.2.1",
3
+ "version": "3.3.0-beta.1",
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": {
@@ -0,0 +1,132 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/icon-button' as *;
3
+
4
+ /* stylelint-disable max-line-length */
5
+
6
+ ////
7
+ /// @package theming
8
+ /// @group schemas
9
+ /// @access public
10
+ ////
11
+
12
+ /// Generates a dark material flat icon button schema.
13
+ /// @type {Map}
14
+ /// @requires {Map} $material-flat-icon-button
15
+ $material-flat-icon-button-dark: extend($material-flat-icon-button);
16
+
17
+ /// Generates a dark material contained icon button schema.
18
+ /// @type {Map}
19
+ /// @requires {Map} $material-contained-icon-button
20
+ $material-contained-icon-button-dark: extend($material-contained-icon-button);
21
+
22
+ /// Generates a dark material outlined icon button schema.
23
+ /// @type {Map}
24
+ /// @requires {Map} $material-outlined-icon-button
25
+ $material-outlined-icon-button-dark: extend($material-outlined-icon-button);
26
+
27
+ /// Generates a dark material icon button schema.
28
+ /// @type {Map}
29
+ /// @requires {Map} $material-flat-icon-button-dark
30
+ /// @requires {Map} $material-outlined-icon-button-dark
31
+ /// @requires {Map} $material-contained-icon-button-dark
32
+ $dark-icon-button: (
33
+ flat: $material-flat-icon-button-dark,
34
+ outlined: $material-outlined-icon-button-dark,
35
+ contained: $material-contained-icon-button-dark,
36
+ );
37
+
38
+ /// Generates a dark fluent flat icon button schema.
39
+ /// @type {Map}
40
+ /// @requires {Map} $fluent-flat-icon-button
41
+ $fluent-flat-icon-button-dark: extend($fluent-flat-icon-button);
42
+
43
+ /// Generates a dark fluent contained icon button schema.
44
+ /// @type {Map}
45
+ /// @prop {Map} foreground [color: ('surface', 500)] - The idle text color of the fluent dark contained icon button.
46
+ /// @prop {Map} focus-background [color: ('primary', 300)] - The hover/focus background color of the fluent dark contained icon button.
47
+ /// @requires {Map} $fluent-contained-icon-button
48
+ $fluent-contained-icon-button-dark: extend(
49
+ $fluent-contained-icon-button,
50
+ (
51
+ foreground: (
52
+ color: (
53
+ 'surface',
54
+ 500,
55
+ ),
56
+ ),
57
+ focus-background: (
58
+ color: (
59
+ 'primary',
60
+ 300,
61
+ ),
62
+ ),
63
+ )
64
+ );
65
+
66
+ /// Generates a dark fluent outlined icon button schema.
67
+ /// @type {Map}
68
+ /// @requires {Map} $fluent-outlined-icon-button
69
+ $fluent-outlined-icon-button-dark: extend($fluent-outlined-icon-button);
70
+
71
+ /// Generates a dark fluent icon button schema.
72
+ /// @type {Map}
73
+ /// @requires {Map} $fluent-flat-icon-button-dark
74
+ /// @requires {Map} $fluent-outlined-icon-button-dark
75
+ /// @requires {Map} $fluent-contained-icon-button-dark
76
+ $dark-fluent-icon-button: (
77
+ flat: $fluent-flat-icon-button-dark,
78
+ outlined: $fluent-outlined-icon-button-dark,
79
+ contained: $fluent-contained-icon-button-dark,
80
+ );
81
+
82
+ /// Generates a dark bootstrap flat icon button schema.
83
+ /// @type {Map}
84
+ /// @requires {Map} $bootstrap-flat-icon-button
85
+ $bootstrap-flat-icon-button-dark: extend($bootstrap-flat-icon-button);
86
+
87
+ /// Generates a dark bootstrap contained icon button schema.
88
+ /// @type {Map}
89
+ /// @requires {Map} $bootstrap-contained-icon-button
90
+ $bootstrap-contained-icon-button-dark: extend($bootstrap-contained-icon-button);
91
+
92
+ /// Generates a dark bootstrap outlined icon button schema.
93
+ /// @type {Map}
94
+ /// @requires {Map} $bootstrap-outlined-icon-button
95
+ $bootstrap-outlined-icon-button-dark: extend($bootstrap-outlined-icon-button);
96
+
97
+ /// Generates a dark bootstrap icon button schema.
98
+ /// @type {Map}
99
+ /// @requires {Map} $bootstrap-flat-icon-button-dark
100
+ /// @requires {Map} $bootstrap-outlined-icon-button-dark
101
+ /// @requires {Map} $bootstrap-contained-icon-button-dark
102
+ $dark-bootstrap-icon-button: (
103
+ flat: $bootstrap-flat-icon-button-dark,
104
+ outlined: $bootstrap-outlined-icon-button-dark,
105
+ contained: $bootstrap-contained-icon-button-dark,
106
+ );
107
+
108
+ /// Generates a dark indigo flat icon button schema.
109
+ /// @type {Map}
110
+ /// @requires {Map} $indigo-flat-icon-button
111
+ $indigo-flat-icon-button-dark: extend($indigo-flat-icon-button);
112
+
113
+ /// Generates a dark indigo contained icon button schema.
114
+ /// @type {Map}
115
+ /// @requires {Map} $indigo-contained-icon-button
116
+ $indigo-contained-icon-button-dark: extend($indigo-contained-icon-button);
117
+
118
+ /// Generates a dark indigo outlined icon button schema.
119
+ /// @type {Map}
120
+ /// @requires {Map} $indigo-outlined-icon-button
121
+ $indigo-outlined-icon-button-dark: extend($indigo-outlined-icon-button);
122
+
123
+ /// Generates a dark indigo icon button schema.
124
+ /// @type {Map}
125
+ /// @requires {Map} $indigo-flat-icon-button-dark
126
+ /// @requires {Map} $indigo-outlined-icon-button-dark
127
+ /// @requires {Map} $indigo-contained-icon-button-dark
128
+ $dark-indigo-icon-button: (
129
+ flat: $indigo-flat-icon-button-dark,
130
+ outlined: $indigo-outlined-icon-button-dark,
131
+ contained: $indigo-contained-icon-button-dark,
132
+ );
@@ -17,8 +17,8 @@ $dark-rating: $light-rating;
17
17
  /// @type {Map}
18
18
  /// @prop {Map} symbol-full-color [color: ('gray', 800)] - sets the color in selected state for the symbol when it is a plane text.
19
19
  /// @prop {Map} symbol-empty-color [color: ('gray', 400)] - sets the idle color for the symbol when it is a plane text.
20
- /// @prop {Map} disabled-full-symbols-color [color: ('warn', 900)] - sets the color for the symbol in selected/disabled state when it is a plane text.
21
- /// @prop {Map} disabled-empty-symbols-color [color: ('gray', 900)] - sets the idle color for the symbol in disabled state when it is a plane text.
20
+ /// @prop {Map} disabled-full-symbol-color [color: ('warn', 900)] - sets the color for the symbol in selected/disabled state when it is a plane text.
21
+ /// @prop {Map} disabled-empty-symbol-color [color: ('warn', 900)] - sets the idle color for the symbol in disabled state when it is a plane text.
22
22
  /// @requires $fluent-rating
23
23
  $dark-fluent-rating: extend(
24
24
  $fluent-rating,
@@ -43,7 +43,7 @@ $dark-fluent-rating: extend(
43
43
  ),
44
44
  disabled-empty-symbol-color: (
45
45
  color: (
46
- 'gray',
46
+ 'warn',
47
47
  900,
48
48
  ),
49
49
  ),
@@ -0,0 +1,664 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Material Schemas
11
+
12
+ /// Generates a base material icon button schema.
13
+ /// @type {Map}
14
+ /// @prop {Color} background [transparent] - The background color of the material icon button.
15
+ /// @prop {Color} border-color [transparent] - The border color of the material icon button.
16
+ /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the material icon button.
17
+ /// @prop {Map} focus-background [color: ('gray', 200)] - The focus background color of the material icon button.
18
+ /// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of the material icon button.
19
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the material icon button.
20
+ /// @prop {Color} disabled-border-color [transparent] - The disabled border color of the material icon button.
21
+ /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the material icon button.
22
+ /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the material icon button.
23
+ /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the material icon button.
24
+ $material-base-icon-button: (
25
+ background: transparent,
26
+ border-color: transparent,
27
+ foreground: (
28
+ color: (
29
+ 'gray',
30
+ 900,
31
+ ),
32
+ ),
33
+ focus-background: (
34
+ color: (
35
+ 'gray',
36
+ 200,
37
+ ),
38
+ ),
39
+ focus-border-color: (
40
+ color: (
41
+ 'gray',
42
+ 400,
43
+ ),
44
+ ),
45
+ disabled-background: (
46
+ color: (
47
+ 'gray',
48
+ 100,
49
+ ),
50
+ ),
51
+ disabled-border-color: transparent,
52
+ disabled-foreground: (
53
+ color: (
54
+ 'gray',
55
+ 500,
56
+ ),
57
+ ),
58
+ border-radius: (
59
+ border-radius: (
60
+ rem(20px),
61
+ rem(0),
62
+ rem(20px),
63
+ ),
64
+ ),
65
+ size: (
66
+ sizable: (
67
+ rem(24px),
68
+ rem(30px),
69
+ rem(36px),
70
+ ),
71
+ ),
72
+ );
73
+
74
+ /// Generates a material flat icon button schema.
75
+ /// @type {Map}
76
+ /// @prop {Color} disabled-background [transparent] - The disabled background color the material flat icon button.
77
+ /// @requires {Map} $material-base-icon-button
78
+ $material-flat-icon-button: extend(
79
+ $material-base-icon-button,
80
+ (
81
+ disabled-background: transparent,
82
+ )
83
+ );
84
+
85
+ /// Generates a material contained icon button schema.
86
+ /// @type {Map}
87
+ /// @prop {Map} background [color: ('gray', 200)] - The background color of the material contained icon button.
88
+ /// @prop {Map} focus-background [color: ('gray', 300)] - The focus background color of the material contained icon button.
89
+ /// @requires {Map} $material-base-icon-button
90
+ $material-contained-icon-button: extend(
91
+ $material-base-icon-button,
92
+ (
93
+ background: (
94
+ color: (
95
+ 'gray',
96
+ 200,
97
+ ),
98
+ ),
99
+ focus-background: (
100
+ color: (
101
+ 'gray',
102
+ 300,
103
+ ),
104
+ ),
105
+ )
106
+ );
107
+
108
+ /// Generates a material outlined icon button schema.
109
+ /// @type {Map}
110
+ /// @prop {Map} border-color [color: ('gray', 300)] - The border color of the material outlined icon button.
111
+ /// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled border color of the material outlined icon button.
112
+ /// @requires {Map} $material-base-icon-button
113
+ $material-outlined-icon-button: extend(
114
+ $material-base-icon-button,
115
+ (
116
+ border-color: (
117
+ color: (
118
+ 'gray',
119
+ 300,
120
+ ),
121
+ ),
122
+ disabled-border-color: (
123
+ color: (
124
+ 'gray',
125
+ 100,
126
+ ),
127
+ ),
128
+ )
129
+ );
130
+
131
+ /// Generates a light material icon button schema.
132
+ /// @type {Map}
133
+ /// @requires {Map} $material-flat-icon-button
134
+ /// @requires {Map} $material-contained-icon-button
135
+ /// @requires {Map} $material-outlined-icon-button
136
+ $light-icon-button: (
137
+ flat: $material-flat-icon-button,
138
+ contained: $material-contained-icon-button,
139
+ outlined: $material-outlined-icon-button,
140
+ );
141
+
142
+ /// Fluent Schemas
143
+
144
+ /// Generates a fluent base icon button schema.
145
+ /// @type {Map}
146
+ /// @prop {Color} background [transparent] - The background color of the fluent icon button.
147
+ /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of the fluent icon button.
148
+ /// @prop {Map} focus-background [color: ('gray', 200)] - The hover/focus background color of the fluent icon button.
149
+ /// @prop {Map} active-background [color: ('gray', 300)] - The active background color of the fluent icon button.
150
+ /// @prop {Map} focus-border-color [color: ('gray', 500)] - The focus border color of the fluent icon button.
151
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the fluent icon button.
152
+ /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the fluent icon button.
153
+ /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the fluent flat icon button.
154
+ /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the fluent icon button.
155
+ $fluent-base-icon-button: (
156
+ background: transparent,
157
+ foreground: (
158
+ color: (
159
+ 'primary',
160
+ 500,
161
+ ),
162
+ ),
163
+ focus-background: (
164
+ color: (
165
+ 'gray',
166
+ 200,
167
+ ),
168
+ ),
169
+ active-background: (
170
+ color: (
171
+ 'gray',
172
+ 300,
173
+ ),
174
+ ),
175
+ focus-border-color: (
176
+ color: (
177
+ 'gray',
178
+ 500,
179
+ ),
180
+ ),
181
+ disabled-background: (
182
+ color: (
183
+ 'gray',
184
+ 100,
185
+ ),
186
+ ),
187
+ disabled-foreground: (
188
+ color: (
189
+ 'gray',
190
+ 400,
191
+ ),
192
+ ),
193
+ border-radius: (
194
+ border-radius: (
195
+ rem(0),
196
+ rem(0),
197
+ rem(20px),
198
+ ),
199
+ ),
200
+ size: (
201
+ sizable: (
202
+ rem(24px),
203
+ rem(32px),
204
+ rem(38px),
205
+ ),
206
+ ),
207
+ );
208
+
209
+ /// Generates a fluent flat icon button schema.
210
+ /// @type {Map}
211
+ /// @requires {Map} $fluent-base-icon-button
212
+ $fluent-flat-icon-button: extend($fluent-base-icon-button);
213
+
214
+ /// Generates a fluent contained icon button schema.
215
+ /// @type {Map}
216
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of the fluent contained icon button.
217
+ /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the fluent contained icon button.
218
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The hover/focus background color of the fluent contained icon button.
219
+ /// @prop {Map} active-background [color: ('primary', 800)] - The active background color of the fluent contained icon button.
220
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 800)] - The active text color of the fluent contained icon button.
221
+ /// @prop {Map} focus-border-color [contrast-color: ('primary', 600)] - The focus border color of the fluent contained icon button.
222
+ /// @requires {Map} $fluent-base-icon-button
223
+ $fluent-contained-icon-button: extend(
224
+ $fluent-base-icon-button,
225
+ (
226
+ background: (
227
+ color: (
228
+ 'primary',
229
+ 500,
230
+ ),
231
+ ),
232
+ foreground: (
233
+ contrast-color: (
234
+ 'primary',
235
+ 600,
236
+ ),
237
+ ),
238
+ focus-background: (
239
+ color: (
240
+ 'primary',
241
+ 600,
242
+ ),
243
+ ),
244
+ active-background: (
245
+ color: (
246
+ 'primary',
247
+ 800,
248
+ ),
249
+ ),
250
+ active-foreground: (
251
+ contrast-color: (
252
+ 'primary',
253
+ 800,
254
+ ),
255
+ ),
256
+ focus-border-color: (
257
+ contrast-color: (
258
+ 'primary',
259
+ 600,
260
+ ),
261
+ ),
262
+ )
263
+ );
264
+
265
+ /// Generates a fluent outlined icon button schema.
266
+ /// @type {Map}
267
+ /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the fluent outlined icon button.
268
+ /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the fluent outlined icon button.
269
+ /// @prop {Color} focus-background [transparent] - The focus background color of the fluent outlined icon button.
270
+ /// @prop {Map} active-background [color: ('gray', 200)] - The hover/active background color of the fluent outlined icon button.
271
+ /// @prop {Map} focus-border-color [color: ('gray', 900)] - The focus border color of the fluent outlined icon button.
272
+ /// @requires {Map} $fluent-base-icon-button
273
+ $fluent-outlined-icon-button: extend(
274
+ $fluent-base-icon-button,
275
+ (
276
+ foreground: (
277
+ color: (
278
+ 'gray',
279
+ 900,
280
+ ),
281
+ ),
282
+ border-color: (
283
+ color: (
284
+ 'gray',
285
+ 700,
286
+ ),
287
+ ),
288
+ focus-background: transparent,
289
+ active-background: (
290
+ color: (
291
+ 'gray',
292
+ 200,
293
+ ),
294
+ ),
295
+ focus-border-color: (
296
+ color: (
297
+ 'gray',
298
+ 900,
299
+ ),
300
+ ),
301
+ )
302
+ );
303
+
304
+ /// Generates a light fluent icon button schema.
305
+ /// @type {Map}
306
+ /// @requires {Map} $fluent-flat-icon-button
307
+ /// @requires {Map} $fluent-contained-icon-button
308
+ /// @requires {Map} $fluent-outlined-icon-button
309
+ $fluent-icon-button: (
310
+ flat: $fluent-flat-icon-button,
311
+ contained: $fluent-contained-icon-button,
312
+ outlined: $fluent-outlined-icon-button,
313
+ );
314
+
315
+ /// Bootstrap Schemas
316
+
317
+ /// Generates a base bootstrap icon button schema.
318
+ /// @type {Map}
319
+ /// @prop {Color} background [transparent] - The background color of the bootstrap icon button.
320
+ /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of the bootstrap icon button.
321
+ /// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of the bootstrap icon button.
322
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of the bootstrap icon button.
323
+ /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the bootstrap icon button.
324
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the bootstrap icon button.
325
+ /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the bootstrap icon button.
326
+ $bootstrap-base-icon-button: (
327
+ background: transparent,
328
+ foreground: (
329
+ color: (
330
+ 'primary',
331
+ 500,
332
+ ),
333
+ ),
334
+ focus-background: (
335
+ color: (
336
+ 'gray',
337
+ 100,
338
+ ),
339
+ ),
340
+ disabled-background: transparent,
341
+ disabled-foreground: (
342
+ color: (
343
+ 'primary',
344
+ 100,
345
+ ),
346
+ ),
347
+ border-radius: (
348
+ border-radius: (
349
+ rem(4px),
350
+ rem(0),
351
+ rem(20px),
352
+ ),
353
+ ),
354
+ size: (
355
+ sizable: (
356
+ rem(31px),
357
+ rem(38px),
358
+ rem(48px),
359
+ ),
360
+ ),
361
+ );
362
+
363
+ /// Generates a bootstrap flat icon button schema.
364
+ /// @type {Map}
365
+ /// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of the bootstrap icon button.
366
+ /// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of the bootstrap icon button.
367
+ /// @requires {Map} $bootstrap-base-icon-button
368
+ $bootstrap-flat-icon-button: extend(
369
+ $bootstrap-base-icon-button,
370
+ (
371
+ hover-foreground: (
372
+ color: (
373
+ 'primary',
374
+ 800,
375
+ ),
376
+ ),
377
+ focus-foreground: (
378
+ color: (
379
+ 'primary',
380
+ 600,
381
+ ),
382
+ ),
383
+ )
384
+ );
385
+
386
+ /// Generates a bootstrap contained icon button schema.
387
+ /// @type {Map}
388
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of the bootstrap contained icon button.
389
+ /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the bootstrap contained icon button.
390
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the bootstrap contained icon button.
391
+ /// @prop {Map} focus-border-color [color: ('primary', 200, .5)] - The focus border color of the bootstrap contained icon button.
392
+ /// @prop {Map} disabled-background [color: ('primary', 100)] - The disabled background color of the bootstrap contained icon button.
393
+ /// @prop {Map} disabled-foreground [color: ('primary', 300)] - The disabled foreground color of the bootstrap contained icon button.
394
+ /// @requires {Map} $bootstrap-base-icon-button
395
+ $bootstrap-contained-icon-button: extend(
396
+ $bootstrap-base-icon-button,
397
+ (
398
+ background: (
399
+ color: (
400
+ 'primary',
401
+ 500,
402
+ ),
403
+ ),
404
+ foreground: (
405
+ contrast-color: (
406
+ 'primary',
407
+ 600,
408
+ ),
409
+ ),
410
+ focus-background: (
411
+ color: (
412
+ 'primary',
413
+ 600,
414
+ ),
415
+ ),
416
+ focus-border-color: (
417
+ color: (
418
+ 'primary',
419
+ 200,
420
+ 0.5,
421
+ ),
422
+ ),
423
+ disabled-background: (
424
+ color: (
425
+ 'primary',
426
+ 100,
427
+ ),
428
+ ),
429
+ disabled-foreground: (
430
+ color: (
431
+ 'primary',
432
+ 300,
433
+ ),
434
+ ),
435
+ )
436
+ );
437
+
438
+ /// Generates a bootstrap outlined icon button schema.
439
+ /// @type {Map}
440
+ /// @prop {Map} border-color [color: ('primary', 500)] - The border color of the bootstrap outlined icon button.
441
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the bootstrap outlined icon button.
442
+ /// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the bootstrap outlined icon button.
443
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of the bootstrap outlined icon button.
444
+ /// @prop {Map} focus-border-color [color: ('primary', 200, .5)] - The focus border color of the bootstrap outlined icon button.
445
+ /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the bootstrap outlined icon button.
446
+ /// @prop {Map} disabled-border-color [color: ('primary', 100)] - The disabled border color of the bootstrap outlined icon button.
447
+ /// @requires {Map} $bootstrap-base-icon-button
448
+ $bootstrap-outlined-icon-button: extend(
449
+ $bootstrap-base-icon-button,
450
+ (
451
+ border-color: (
452
+ color: (
453
+ 'primary',
454
+ 500,
455
+ ),
456
+ ),
457
+ hover-foreground: (
458
+ contrast-color: (
459
+ 'primary',
460
+ 600,
461
+ ),
462
+ ),
463
+ focus-foreground: (
464
+ contrast-color: (
465
+ 'primary',
466
+ 600,
467
+ ),
468
+ ),
469
+ focus-background: (
470
+ color: (
471
+ 'primary',
472
+ 600,
473
+ ),
474
+ ),
475
+ focus-border-color: (
476
+ color: (
477
+ 'primary',
478
+ 200,
479
+ 0.5,
480
+ ),
481
+ ),
482
+ disabled-border-color: (
483
+ color: (
484
+ 'primary',
485
+ 100,
486
+ ),
487
+ ),
488
+ disabled-foreground: (
489
+ color: (
490
+ 'primary',
491
+ 100,
492
+ ),
493
+ ),
494
+ )
495
+ );
496
+
497
+ /// Generates a light bootstrap icon button schema.
498
+ /// @type {Map}
499
+ /// @requires {Map} $bootstrap-flat-icon-button
500
+ /// @requires {Map} $bootstrap-contained-icon-button
501
+ /// @requires {Map} $bootstrap-outlined-icon-button
502
+ $bootstrap-icon-button: (
503
+ flat: $bootstrap-flat-icon-button,
504
+ contained: $bootstrap-contained-icon-button,
505
+ outlined: $bootstrap-outlined-icon-button,
506
+ );
507
+
508
+ /// Indigo Schemas
509
+
510
+ /// Generates a base indigo icon button schema.
511
+ /// @type {Map}
512
+ /// @prop {Color} background [transparent] - The background color of the indigo icon button.
513
+ /// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of the indigo icon button.
514
+ /// @prop {Color} focus-background [transparent] - The focus background color of the indigo icon button.
515
+ /// @prop {Map} focus-border-color [color: ('gray', 300)] - The focus border color of the indigo icon button.
516
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of the indigo icon button.
517
+ /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the indigo icon button.
518
+ /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the indigo icon button.
519
+ /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the indigo icon button.
520
+ $indigo-base-icon-button: (
521
+ background: transparent,
522
+ foreground: (
523
+ color: (
524
+ 'gray',
525
+ 700,
526
+ ),
527
+ ),
528
+ focus-background: transparent,
529
+ focus-border-color: (
530
+ color: (
531
+ 'gray',
532
+ 300,
533
+ ),
534
+ ),
535
+ disabled-background: transparent,
536
+ disabled-foreground: (
537
+ color: (
538
+ 'gray',
539
+ 400,
540
+ ),
541
+ ),
542
+ border-radius: (
543
+ border-radius: (
544
+ rem(20px),
545
+ rem(0),
546
+ rem(20px),
547
+ ),
548
+ ),
549
+ size: (
550
+ sizable: (
551
+ rem(28px),
552
+ rem(32px),
553
+ rem(36px),
554
+ ),
555
+ ),
556
+ );
557
+
558
+ /// Generates an indigo flat icon button schema.
559
+ /// @type {Map}
560
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the indigo flat icon button.
561
+ /// @requires {Map} $indigo-base-icon-button
562
+ $indigo-flat-icon-button: extend(
563
+ $indigo-base-icon-button,
564
+ (
565
+ focus-foreground: (
566
+ color: (
567
+ 'gray',
568
+ 900,
569
+ ),
570
+ ),
571
+ )
572
+ );
573
+
574
+ /// Generates an indigo contained icon button schema.
575
+ /// @type {Map}
576
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of the indigo contained icon button.
577
+ /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the indigo contained icon button.
578
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the indigo contained icon button.
579
+ /// @prop {Map} focus-border-color [color: ('primary', 200, .5)] - The focus border color of the indigo contained icon button.
580
+ /// @prop {Map} disabled-background [color: ('primary', 100)] - The disabled background color of the indigo contained icon button.
581
+ /// @requires {Map} $indigo-base-icon-button
582
+ $indigo-contained-icon-button: extend(
583
+ $indigo-base-icon-button,
584
+ (
585
+ background: (
586
+ color: (
587
+ 'primary',
588
+ 500,
589
+ ),
590
+ ),
591
+ foreground: (
592
+ contrast-color: (
593
+ 'primary',
594
+ 600,
595
+ ),
596
+ ),
597
+ focus-background: (
598
+ color: (
599
+ 'primary',
600
+ 400,
601
+ ),
602
+ ),
603
+ focus-border-color: (
604
+ color: (
605
+ 'primary',
606
+ 200,
607
+ ),
608
+ ),
609
+ disabled-background: (
610
+ color: (
611
+ 'gray',
612
+ 100,
613
+ ),
614
+ ),
615
+ )
616
+ );
617
+
618
+ /// Generates an indigo outlined icon button schema.
619
+ /// @type {Map}
620
+ /// @prop {Map} border-color [color: ('gray', 500)] - The border color of the indigo outlined icon button.
621
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the indigo outlined icon button.
622
+ /// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of the indigo outlined icon button.
623
+ /// @prop {Map} focus-border-color [color: ('gray', 300)] - The focus border color of the indigo outlined icon button.
624
+ /// @requires {Map} $indigo-base-icon-button
625
+ $indigo-outlined-icon-button: extend(
626
+ $indigo-base-icon-button,
627
+ (
628
+ border-color: (
629
+ color: (
630
+ 'gray',
631
+ 500,
632
+ ),
633
+ ),
634
+ focus-foreground: (
635
+ color: (
636
+ 'gray',
637
+ 900,
638
+ ),
639
+ ),
640
+ focus-background: (
641
+ color: (
642
+ 'gray',
643
+ 100,
644
+ ),
645
+ ),
646
+ focus-border-color: (
647
+ color: (
648
+ 'gray',
649
+ 300,
650
+ ),
651
+ ),
652
+ )
653
+ );
654
+
655
+ /// Generates a light indigo icon button schema.
656
+ /// @type {Map}
657
+ /// @requires {Map} $indigo-flat-icon-button
658
+ /// @requires {Map} $indigo-contained-icon-button
659
+ /// @requires {Map} $indigo-outlined-icon-button
660
+ $indigo-icon-button: (
661
+ flat: $indigo-flat-icon-button,
662
+ contained: $indigo-contained-icon-button,
663
+ outlined: $indigo-outlined-icon-button,
664
+ );
@@ -17,8 +17,8 @@
17
17
  /// @prop {Function} symbol-empty-filter [grayscale(100%) opacity(50%)] - the filter(s) used for the empty symbol.
18
18
  /// @prop {Function} symbol-full-filter [grayscale(50%)] - the filter(s) used for the filled symbol.
19
19
  /// @prop {Map} disabled-label-color [color: ('gray', 400)] - sets the color for the label in disabled state.
20
- /// @prop {Map} disabled-empty-symbols-color [color: ('gray', 400)] - sets the idle color for the symbol in disabled state when it is a plane text.
21
- /// @prop {Map} disabled-full-symbols-color [color: ('gray', 600)] - sets the color for the symbol in selected/disabled state when it is a plane text.
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
+ /// @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
22
  /// Generates a light rating schema.
23
23
  /// @type {Map}
24
24
  $light-rating: (
@@ -85,9 +85,8 @@ $light-rating: (
85
85
  /// @prop {Map} disabled-idle-symbols-color [color: ('gray', 200)] - sets the idle color for the symbol in disabled state when it is a plane text.
86
86
  /// @prop {Map} symbol-empty-color [color: ('gray', 700)] - sets the idle color for the symbol when it is a plane text.
87
87
  /// @prop {Map} symbol-full-color [[color: ('warn', 900)] - sets the color in selected state for the symbol when it is a plane text.
88
- /// @prop {Map} disabled-empty-symbols-color [color: ('warn', 100)] - sets the idle color for the symbol in disabled state when it is a plane text.
89
- /// @prop {Map} disabled-full-symbols-color [color: ('warn', 100)] - sets the color for the symbol in selected/disabled state when it is a plane text.
90
- /// @prop {Map} disabled-selected-symbols-color [color: ('gray', 500)] - sets the color for the symbol in selected/disabled state when it is a plane text.
88
+ /// @prop {Map} disabled-empty-symbol-color [color: ('warn', 100)] - sets the idle color for the symbol in disabled state when it is a plane text.
89
+ /// @prop {Map} disabled-full-symbol-color [color: ('warn', 100)] - sets the color for the symbol in selected/disabled state when it is a plane text.
91
90
  /// @requires {Map} $light-rating
92
91
  $fluent-rating: extend(
93
92
  $light-rating,
@@ -116,13 +115,13 @@ $fluent-rating: extend(
116
115
  400,
117
116
  ),
118
117
  ),
119
- disabled-empty-symbols-color: (
118
+ disabled-empty-symbol-color: (
120
119
  color: (
121
120
  'warn',
122
121
  100,
123
122
  ),
124
123
  ),
125
- disabled-full-symbols-color: (
124
+ disabled-full-symbol-color: (
126
125
  color: (
127
126
  'warn',
128
127
  100,