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
@@ -0,0 +1,402 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /* stylelint-disable max-line-length */
11
+
12
+ /// Generates a light tabs schema.
13
+ /// @type {Map}
14
+ /// @prop {Map} item-text-color [color: ('gray', 700)] - The color used for the tab text color.
15
+ /// @prop {Color} item-background [color: ('surface')] - The background color used for the tabs header.
16
+ /// @prop {Map} item-hover-background [color: ('gray', 200)] - The background used for the tabs on hover.
17
+ /// @prop {Map} item-hover-color [color: ('gray', 700)] - The text color used for the tabs on hover.
18
+ /// @prop {Map} item-icon-color [color: ('gray', 700)] - The color used for the tab icon.
19
+ /// @prop {Map} item-active-icon-color [color: ('primary', 500)] - The color used for the active tab icon.
20
+ /// @prop {Map} item-hover-icon-color [color: ('gray', 700)] - The color used for the tab icon on hover.
21
+ /// @prop {Map} item-disabled-icon-color [color: ('gray', 500)] - The color used for the disabled tab icon.
22
+ /// @prop {Map} item-active-color [color: ('primary', 500)] - The color used for the active tabs text.
23
+ /// @prop {Map} item-active-background [color: ('gray', 200)] - The color used for the active/focused tab background.
24
+ /// @prop {Map} item-disabled-color [color: ('gray', 500)] - The color used for the disabled tabs text.
25
+ /// @prop {Map} indicator-color [color: ('primary', 500)] - The color used for the active tab indicator.
26
+ /// @prop {Map} button-color [color: ('gray', 700)] - The color used for the button icon/text color.
27
+ /// @prop {Map} button-hover-color [color: ('gray', 900)] - The color used for the button icon/text color on hover.
28
+ /// @prop {Map} button-disabled-color [color: ('gray', 500)] - The color used for the disabled button icon/text.
29
+ /// @prop {Color} button-background [color: ('surface')] - The color used for the button background.
30
+ /// @prop {Map} button-hover-background [color: ('gray', 100)] - The color used for the button background on hover.
31
+ /// @prop {Map} border-color [transparent] - The color used for the tab items bottom border.
32
+ /// @prop {Map} border-color--hover [transparent] - The color used for the tab items bottom border on hover.
33
+ /// @prop {Map} tab-ripple-color [color: ('gray', 100)] - The color used for the button background.
34
+ /// @prop {Map} button-ripple-color [color: ('gray', 100)] - The color used for the button background on hover.
35
+ /// @prop {Number} border-radius [0] - The border radius used for tabs. Can be a fraction between 0 and 1, pixels, or percent.
36
+ $light-tabs: extend(
37
+ (
38
+ item-text-color: (
39
+ color: (
40
+ 'gray',
41
+ 700,
42
+ ),
43
+ ),
44
+ item-background: (
45
+ color: (
46
+ 'surface',
47
+ ),
48
+ ),
49
+ item-hover-background: (
50
+ color: (
51
+ 'gray',
52
+ 200,
53
+ ),
54
+ ),
55
+ item-hover-color: (
56
+ color: (
57
+ 'gray',
58
+ 700,
59
+ ),
60
+ ),
61
+ item-active-color: (
62
+ color: (
63
+ 'primary',
64
+ 500,
65
+ ),
66
+ ),
67
+ item-icon-color: (
68
+ color: (
69
+ 'gray',
70
+ 700,
71
+ ),
72
+ ),
73
+ item-active-icon-color: (
74
+ color: (
75
+ 'primary',
76
+ 500,
77
+ ),
78
+ ),
79
+ item-hover-icon-color: (
80
+ color: (
81
+ 'gray',
82
+ 700,
83
+ ),
84
+ ),
85
+ item-disabled-icon-color: (
86
+ color: (
87
+ 'gray',
88
+ 500,
89
+ ),
90
+ ),
91
+ item-active-background: (
92
+ color: (
93
+ 'gray',
94
+ 200,
95
+ ),
96
+ ),
97
+ item-disabled-color: (
98
+ color: (
99
+ 'gray',
100
+ 500,
101
+ ),
102
+ ),
103
+ indicator-color: (
104
+ color: (
105
+ 'primary',
106
+ 500,
107
+ ),
108
+ ),
109
+ button-color: (
110
+ color: (
111
+ 'gray',
112
+ 700,
113
+ ),
114
+ ),
115
+ button-background: (
116
+ color: (
117
+ 'surface',
118
+ ),
119
+ ),
120
+ button-hover-background: (
121
+ color: (
122
+ 'gray',
123
+ 100,
124
+ ),
125
+ ),
126
+ button-hover-color: (
127
+ color: (
128
+ 'gray',
129
+ 900,
130
+ ),
131
+ ),
132
+ button-disabled-color: (
133
+ color: (
134
+ 'gray',
135
+ 500,
136
+ ),
137
+ ),
138
+ tab-ripple-color: (
139
+ color: (
140
+ 'gray',
141
+ 100,
142
+ ),
143
+ ),
144
+ button-ripple-color: (
145
+ color: (
146
+ 'gray',
147
+ 100,
148
+ ),
149
+ ),
150
+ border-color: transparent,
151
+ border-color--hover: transparent,
152
+ border-radius: rem(0),
153
+ )
154
+ );
155
+
156
+ /// Generates a fluent tabs schema.
157
+ /// @type {Map}
158
+ /// @prop {Map} item-text-color [color: ('gray', 900)] - The color used for the tab text color.
159
+ /// @prop {Map} item-hover-color [color: ('gray', 900)] - The text color used for the tabs on hover.
160
+ /// @prop {Map} item-disabled-color [color: ('gray', 400)] - The color used for the disabled tabs text.
161
+ /// @prop {Map} item-disabled-icon-color [color: ('gray', 400)] - The color used for the disabled tab icon.
162
+ /// @prop {Map} button-color [color: ('gray', 500)] - The color used for the button icon/text color.
163
+ /// @prop {Map} button-hover-color [color: ('gray', 600)] - The color used for the button icon/text color on hover.
164
+ /// @prop {Map} button-disabled-color [color: ('gray', 400)] - The color used for the disabled button icon/text.
165
+ /// @requires {Map} $light-tabs
166
+ $fluent-tabs: extend(
167
+ $light-tabs,
168
+ (
169
+ item-text-color: (
170
+ color: (
171
+ 'gray',
172
+ 900,
173
+ ),
174
+ ),
175
+ item-hover-color: (
176
+ color: (
177
+ 'gray',
178
+ 900,
179
+ ),
180
+ ),
181
+ item-disabled-color: (
182
+ color: (
183
+ 'gray',
184
+ 400,
185
+ ),
186
+ ),
187
+ item-disabled-icon-color: (
188
+ color: (
189
+ 'gray',
190
+ 400,
191
+ ),
192
+ ),
193
+ button-color: (
194
+ color: (
195
+ 'gray',
196
+ 500,
197
+ ),
198
+ ),
199
+ button-hover-color: (
200
+ color: (
201
+ 'gray',
202
+ 600,
203
+ ),
204
+ ),
205
+ button-disabled-color: (
206
+ color: (
207
+ 'gray',
208
+ 400,
209
+ ),
210
+ ),
211
+ )
212
+ );
213
+
214
+ /// Generates a bootstrap tabs schema.
215
+ /// @type {Map}
216
+ /// @prop {map} item-text-color [color: ('primary', 500)] - The color used for the tab text color.
217
+ /// @prop {map} item-icon-color [color: ('primary', 500)] - The color used for the tab icon.
218
+ /// @prop {map} item-hover-color [color: ('primary', 700)] - The text color used for the tabs on hover.
219
+ /// @prop {Map} item-hover-icon-color [color: ('primary', 700)] - The color used for the tab icon on hover.
220
+ /// @prop {map} item-active-color [color: ('gray', 800)] - The color used for the active tabs text.
221
+ /// @prop {map} item-active-icon-color [color: ('gray', 800)] - The color used for the active tabs icon.
222
+ /// @prop {Map} item-disabled-color [color: ('primary', 500, .5)] - The color used for the disabled tabs text.
223
+ /// @prop {Map} item-disabled-icon-color [color: ('primary', 500, .5)] - The color used for the disabled tab icon.
224
+ /// @prop {map} item-background [color: ('surface')] - The background color used for the tabs header.
225
+ /// @prop {map} button-background [color: ('surface')] - The color used for the button background.
226
+ /// @prop {Map} button-color [color: ('gray', 500)] - The color used for the button icon/text color.
227
+ /// @prop {Map} button-hover-color [color: ('gray', 600)] - The color used for the button icon/text color on hover.
228
+ /// @prop {Map} button-disabled-color [color: ('primary', 500, .5)] - The color used for the disabled button icon/text.
229
+ /// @prop {map} item-hover-background [color: ('surface')] - The background used for the tabs on hover.
230
+ /// @prop {map} item-active-background [color: ('surface')] - The color used for the active/focused tab background.
231
+ /// @prop {map} border-color [color: ('gray', 300)] - The color used for the tab items border.
232
+ /// @prop {map} border-color--hover [color: ('gray', 200)] - The color used for the tab items border on hover.
233
+ /// @prop {Number} border-radius [4px] - The border radius used for tabs. Can be a fraction between 0 and 1, pixels, or percent.
234
+ /// @requires {Map} $light-tabs
235
+ $bootstrap-tabs: extend(
236
+ $light-tabs,
237
+ (
238
+ item-background: (
239
+ color: (
240
+ 'surface',
241
+ ),
242
+ ),
243
+ button-background: (
244
+ color: (
245
+ 'surface',
246
+ ),
247
+ ),
248
+ button-color: (
249
+ color: (
250
+ 'gray',
251
+ 500,
252
+ ),
253
+ ),
254
+ button-hover-color: (
255
+ color: (
256
+ 'gray',
257
+ 600,
258
+ ),
259
+ ),
260
+ item-hover-background: (
261
+ color: (
262
+ 'surface',
263
+ ),
264
+ ),
265
+ button-disabled-color: (
266
+ color: (
267
+ 'primary',
268
+ 500,
269
+ 0.5,
270
+ ),
271
+ ),
272
+ item-active-background: (
273
+ color: (
274
+ 'surface',
275
+ ),
276
+ ),
277
+ border-color: (
278
+ color: (
279
+ 'gray',
280
+ 300,
281
+ ),
282
+ ),
283
+ border-color--hover: (
284
+ color: (
285
+ 'gray',
286
+ 200,
287
+ ),
288
+ ),
289
+ item-text-color: (
290
+ color: (
291
+ 'primary',
292
+ 500,
293
+ ),
294
+ ),
295
+ item-icon-color: (
296
+ color: (
297
+ 'primary',
298
+ 500,
299
+ ),
300
+ ),
301
+ item-hover-color: (
302
+ color: (
303
+ 'primary',
304
+ 700,
305
+ ),
306
+ ),
307
+ item-hover-icon-color: (
308
+ color: (
309
+ 'primary',
310
+ 700,
311
+ ),
312
+ ),
313
+ item-active-color: (
314
+ color: (
315
+ 'gray',
316
+ 800,
317
+ ),
318
+ ),
319
+ item-active-icon-color: (
320
+ color: (
321
+ 'gray',
322
+ 800,
323
+ ),
324
+ ),
325
+ item-disabled-color: (
326
+ color: (
327
+ 'primary',
328
+ 500,
329
+ 0.5,
330
+ ),
331
+ ),
332
+ item-disabled-icon-color: (
333
+ color: (
334
+ 'primary',
335
+ 500,
336
+ 0.5,
337
+ ),
338
+ ),
339
+ border-radius: rem(4px),
340
+ )
341
+ );
342
+
343
+ /// Generates an indigo tabs schema.
344
+ /// @type {Map}
345
+ /// @prop {Color} item-background [transparent] - The background color used for the tabs header.
346
+ /// @prop {Color} item-hover-background [transparent] - The background used for the tabs on hover.
347
+ /// @prop {Color} item-active-background [transparent] - The color used for the active/focused tab background.
348
+ /// @prop {Map} item-hover-color [color: ('gray', 900)] - The text color used for the tabs on hover.
349
+ /// @prop {Map} item-hover-icon-color [color: ('gray', 900)] - The color used for the tab icon on hover.
350
+ /// @prop {Map} item-active-color [color: ('gray', 900)] - The color used for the active tabs text.
351
+ /// @prop {Map} item-active-icon-color [color: ('primary', 400)] - The color used for the active tabs icon.
352
+ /// @prop {Map} indicator-color [color: ('primary', 400)] - The color used for the tabs borders.
353
+ /// @prop {Map} button-disabled-color [color: ('gray', 500)] - The color used for the disabled button icon/text.
354
+ /// @prop {Color} button-background [transparent] - The color used for the button background.
355
+ /// @prop {Color} button-hover-background [transparent] - The color used for the button background on hover.
356
+ /// @requires {Map} $light-tabs
357
+ $indigo-tabs: extend(
358
+ $light-tabs,
359
+ (
360
+ item-background: transparent,
361
+ item-hover-background: transparent,
362
+ item-active-background: transparent,
363
+ item-hover-color: (
364
+ color: (
365
+ 'gray',
366
+ 900,
367
+ ),
368
+ ),
369
+ item-hover-icon-color: (
370
+ color: (
371
+ 'gray',
372
+ 900,
373
+ ),
374
+ ),
375
+ item-active-color: (
376
+ color: (
377
+ 'gray',
378
+ 900,
379
+ ),
380
+ ),
381
+ item-active-icon-color: (
382
+ color: (
383
+ 'primary',
384
+ 400,
385
+ ),
386
+ ),
387
+ indicator-color: (
388
+ color: (
389
+ 'primary',
390
+ 400,
391
+ ),
392
+ ),
393
+ button-disabled-color: (
394
+ color: (
395
+ 'gray',
396
+ 500,
397
+ ),
398
+ ),
399
+ button-background: transparent,
400
+ button-hover-background: transparent,
401
+ )
402
+ );
@@ -0,0 +1,288 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /* stylelint-disable max-line-length */
11
+
12
+ /// Generates a light tree schema.
13
+ /// @type {Map}
14
+ /// @prop {Map} background [ color: ('surface')] - The background color used for the tree node.
15
+ /// @prop {Map} background-selected [color: ('secondary', 200)] - The background color used for the selected tree node.
16
+ /// @prop {Map} background-active [color: ('gray', 200)] - The background color used for the active tree node.
17
+ /// @prop {Map} background-active-selected [color: ('secondary', 300)] - The background color used for the active selected tree node.
18
+ /// @prop {Map} background-disabled [color: ('surface')] - The background color used for the tree node in disabled state.
19
+ /// @prop {Map} foreground [contrast-color: ('surface')] - The color used for the tree node content.
20
+ /// @prop {Map} foreground-selected [contrast-color: ('secondary', 200)] - The color used for the content of the selected tree node.
21
+ /// @prop {Map} foreground-active [contrast-color: ('gray', 200)] - The color used for the content in active state of the tree node.
22
+ /// @prop {Map} foreground-active-selected [contrast-color: ('secondary', 300)] - The color used for the content of the active selected tree node.
23
+ /// @prop {Map} foreground-disabled [color: ('gray', 500)] - The color used for the content of the disabled tree node.
24
+ /// @prop {Map} drop-area-color [color: ('secondary'] - The background color used for the tree node drop aria.
25
+ /// @prop {Map} border-color [color: ('secondary')] - The outline shadow color used for tree node in focus state.
26
+ $light-tree: (
27
+ background: (
28
+ color: (
29
+ 'surface',
30
+ ),
31
+ ),
32
+ foreground: (
33
+ contrast-color: (
34
+ 'surface',
35
+ ),
36
+ ),
37
+ background-selected: (
38
+ color: (
39
+ 'secondary',
40
+ 200,
41
+ ),
42
+ ),
43
+ foreground-selected: (
44
+ contrast-color: (
45
+ 'secondary',
46
+ 200,
47
+ ),
48
+ ),
49
+ background-active: (
50
+ color: (
51
+ 'gray',
52
+ 200,
53
+ ),
54
+ ),
55
+ foreground-active: (
56
+ contrast-color: (
57
+ 'gray',
58
+ 200,
59
+ ),
60
+ ),
61
+ background-active-selected: (
62
+ color: (
63
+ 'secondary',
64
+ 300,
65
+ ),
66
+ ),
67
+ foreground-active-selected: (
68
+ contrast-color: (
69
+ 'secondary',
70
+ 300,
71
+ ),
72
+ ),
73
+ border-color: (
74
+ color: (
75
+ 'secondary',
76
+ ),
77
+ ),
78
+ // Same for all themes
79
+ background-disabled:
80
+ (
81
+ color: (
82
+ 'surface',
83
+ ),
84
+ ),
85
+ foreground-disabled: (
86
+ color: (
87
+ 'gray',
88
+ 500,
89
+ ),
90
+ ),
91
+ drop-area-color: (
92
+ color: (
93
+ 'secondary',
94
+ ),
95
+ ),
96
+ hover-color: (
97
+ color: (
98
+ 'gray',
99
+ 900,
100
+ 0.1,
101
+ ),
102
+ ),
103
+ );
104
+
105
+ /// Generates a light fluent tree schema.
106
+ /// @type {Map}
107
+ /// @prop {Map} background [ color: ('surface')] - The background color used for the tree node.
108
+ /// @prop {Map} foreground [contrast-color: ('surface')] - The color used for the tree node content.
109
+ /// @prop {Map} background-selected [color: ('gray', 200)] - The background color used for the selected tree node.
110
+ /// @prop {Map} foreground-selected [contrast-color: ('gray', 200)] - The color used for the content of the selected tree node.
111
+ /// @prop {Map} background-active [color: ('gray', 200)] - The background color used for the active tree node.
112
+ /// @prop {Map} foreground-active [contrast-color: ('gray', 200)] - The color used for the content in active state of the tree node.
113
+ /// @prop {Map} background-active-selected [color: ('gray', 300)] - The background color used for the active selected tree node.
114
+ /// @prop {Map} foreground-active-selected [contrast-color: ('gray', 300)] - The color used for the content of the active selected tree node.
115
+ /// @prop {Map} border-color [color: ('gray', 800)] - The outline shadow color used for tree node in focus state.
116
+ /// @requires {Map} $light-tree
117
+ $fluent-tree: extend(
118
+ $light-tree,
119
+ (
120
+ background: (
121
+ color: (
122
+ 'surface',
123
+ ),
124
+ ),
125
+ foreground: (
126
+ contrast-color: (
127
+ 'surface',
128
+ ),
129
+ ),
130
+ background-selected: (
131
+ color: (
132
+ 'gray',
133
+ 200,
134
+ ),
135
+ ),
136
+ foreground-selected: (
137
+ contrast-color: (
138
+ 'gray',
139
+ 200,
140
+ ),
141
+ ),
142
+ background-active: (
143
+ color: (
144
+ 'gray',
145
+ 200,
146
+ ),
147
+ ),
148
+ foreground-active: (
149
+ contrast-color: (
150
+ 'gray',
151
+ 200,
152
+ ),
153
+ ),
154
+ background-active-selected: (
155
+ color: (
156
+ 'gray',
157
+ 300,
158
+ ),
159
+ ),
160
+ foreground-active-selected: (
161
+ contrast-color: (
162
+ 'gray',
163
+ 300,
164
+ ),
165
+ ),
166
+ border-color: (
167
+ color: (
168
+ 'gray',
169
+ 800,
170
+ ),
171
+ ),
172
+ )
173
+ );
174
+
175
+ /// Generates a bootstrap tree schema.
176
+ /// @type {Map}
177
+ /// @prop {Map} foreground-active [contrast-color: ('primary')] - The color used for the content in active state of the tree node.
178
+ /// @prop {Map} background-selected [color: ('primary')] - The background color used for the selected tree node.
179
+ /// @prop {Map} foreground-selected [contrast-color: ('primary', 600)] - The color used for the content of the selected tree node.
180
+ /// @prop {Map} background-active-selected [color: ('primary', 600)] - The background color used for the active selected tree node.
181
+ /// @prop {Map} foreground-active-selected [contrast-color: ('primary', 600)] - The color used for the content of the active selected tree node.
182
+ /// @prop {Map} border-color [color: ('primary', 200)] - The outline shadow color used for tree node in focus state.
183
+ /// @requires $light-tree
184
+ $bootstrap-tree: extend(
185
+ $light-tree,
186
+ (
187
+ foreground-active: (
188
+ color: (
189
+ 'primary',
190
+ ),
191
+ ),
192
+ background-selected: (
193
+ color: (
194
+ 'primary',
195
+ ),
196
+ ),
197
+ foreground-selected: (
198
+ contrast-color: (
199
+ 'primary',
200
+ 600,
201
+ ),
202
+ ),
203
+ background-active-selected: (
204
+ color: (
205
+ 'primary',
206
+ 600,
207
+ ),
208
+ ),
209
+ foreground-active-selected: (
210
+ contrast-color: (
211
+ 'primary',
212
+ 600,
213
+ ),
214
+ ),
215
+ border-color: (
216
+ color: (
217
+ 'primary' 200,
218
+ ),
219
+ ),
220
+ hover-color: (
221
+ color: (
222
+ 'gray',
223
+ 900,
224
+ 0.1,
225
+ ),
226
+ ),
227
+ )
228
+ );
229
+
230
+ /// Generates an indigo tree schema.
231
+ /// @type {Map}
232
+ /// @prop {Map} background-active [color: ('surface')] - The background color used for the active tree node.
233
+ /// @prop {Map} foreground-active [contrast-color: ('primary')] - The color used for the content in active state of the tree node.
234
+ /// @prop {Map} background-selected [color: ('primary')] - The background color used for the selected tree node.
235
+ /// @prop {Map} foreground-selected [contrast-color: ('primary')] - The color used for the content of the selected tree node.
236
+ /// @prop {Map} background-active-selected [color: ('primary', 400)] - The background color used for the active selected tree node.
237
+ /// @prop {Map} foreground-active-selected [contrast-color: ('primary', 400)] - The color used for the content of the active selected tree node.
238
+ /// @prop {Map} border-color [color: ('primary', 300)] - The outline shadow color used for tree node in focus state.
239
+ /// @requires {Map} $light-tree
240
+ $indigo-tree: extend(
241
+ $light-tree,
242
+ (
243
+ background-active: (
244
+ color: (
245
+ 'surface',
246
+ ),
247
+ ),
248
+ foreground-active: (
249
+ color: (
250
+ 'primary',
251
+ ),
252
+ ),
253
+ background-selected: (
254
+ color: (
255
+ 'primary',
256
+ ),
257
+ ),
258
+ foreground-selected: (
259
+ contrast-color: (
260
+ 'primary',
261
+ ),
262
+ ),
263
+ background-active-selected: (
264
+ color: (
265
+ 'primary',
266
+ 400,
267
+ ),
268
+ ),
269
+ foreground-active-selected: (
270
+ contrast-color: (
271
+ 'primary',
272
+ 400,
273
+ ),
274
+ ),
275
+ border-color: (
276
+ color: (
277
+ 'primary',
278
+ 300,
279
+ ),
280
+ ),
281
+ hover-color: (
282
+ color: (
283
+ 'primary',
284
+ 100,
285
+ ),
286
+ ),
287
+ )
288
+ );