igniteui-theming 1.4.2 → 1.4.3-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.
Files changed (42) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
  3. package/sass/themes/_index.scss +1 -0
  4. package/sass/themes/schemas/_index.scss +10 -9
  5. package/sass/themes/schemas/components/_index.scss +2 -0
  6. package/sass/themes/schemas/components/dark/_avatar.scss +40 -0
  7. package/sass/themes/schemas/components/dark/_button.scss +388 -0
  8. package/sass/themes/schemas/components/dark/_checkbox.scss +70 -0
  9. package/sass/themes/schemas/components/dark/_combo.scss +47 -0
  10. package/sass/themes/schemas/components/dark/_drop-down.scss +83 -0
  11. package/sass/themes/schemas/components/dark/_icon.scss +37 -0
  12. package/sass/themes/schemas/components/dark/_index.scss +120 -0
  13. package/sass/themes/schemas/components/dark/_input-group.scss +120 -0
  14. package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
  15. package/sass/themes/schemas/components/dark/_radio.scss +102 -0
  16. package/sass/themes/schemas/components/dark/_rating.scss +29 -0
  17. package/sass/themes/schemas/components/dark/_select.scss +47 -0
  18. package/sass/themes/schemas/components/dark/_slider.scss +95 -0
  19. package/sass/themes/schemas/components/dark/_switch.scss +150 -0
  20. package/sass/themes/schemas/components/dark/_tabs.scss +54 -0
  21. package/sass/themes/schemas/components/dark/_tree.scss +95 -0
  22. package/sass/themes/schemas/components/elevation/_button.scss +63 -0
  23. package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
  24. package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
  25. package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
  26. package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
  27. package/sass/themes/schemas/components/light/_avatar.scss +55 -0
  28. package/sass/themes/schemas/components/light/_button.scss +1173 -0
  29. package/sass/themes/schemas/components/light/_checkbox.scss +212 -0
  30. package/sass/themes/schemas/components/light/_combo.scss +203 -0
  31. package/sass/themes/schemas/components/light/_drop-down.scss +245 -0
  32. package/sass/themes/schemas/components/light/_icon.scss +46 -0
  33. package/sass/themes/schemas/components/light/_index.scss +121 -0
  34. package/sass/themes/schemas/components/light/_input-group.scss +497 -0
  35. package/sass/themes/schemas/components/light/_navbar.scss +95 -0
  36. package/sass/themes/schemas/components/light/_radio.scss +177 -0
  37. package/sass/themes/schemas/components/light/_rating.scss +96 -0
  38. package/sass/themes/schemas/components/light/_select.scss +118 -0
  39. package/sass/themes/schemas/components/light/_slider.scss +229 -0
  40. package/sass/themes/schemas/components/light/_switch.scss +311 -0
  41. package/sass/themes/schemas/components/light/_tabs.scss +258 -0
  42. package/sass/themes/schemas/components/light/_tree.scss +188 -0
package/index.js CHANGED
@@ -1,2 +1,5 @@
1
1
  export { default as Palettes } from "./json/colors/presets/palettes.json";
2
+ export { default as PaletteMeta } from "./json/colors/meta/palette.json";
3
+ export { default as PaletteMultipliers } from "./json/colors/meta/multipliers.json";
2
4
  export { default as Typescales } from "./json/typography/presets/typescales.json";
5
+ export { default as Elevations } from "./json/elevations/elevations.json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "1.4.2",
3
+ "version": "1.4.3-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": {
@@ -1,3 +1,4 @@
1
1
  @forward 'functions';
2
2
  @forward 'mixins';
3
3
  @forward 'charts';
4
+ @forward 'schemas';
@@ -1,35 +1,36 @@
1
1
  @use 'sass:map';
2
- @use './charts/index' as charts;
2
+ @use 'charts';
3
+ @use 'components';
3
4
 
4
5
  $light-material-schema: map.merge(
5
6
  charts.$light-material-schema,
6
- ()
7
+ components.$light-material-schema
7
8
  );
8
9
  $light-bootstrap-schema: map.merge(
9
10
  charts.$light-bootstrap-schema,
10
- ()
11
+ components.$light-bootstrap-schema
11
12
  );
12
13
  $light-fluent-schema: map.merge(
13
14
  charts.$light-fluent-schema,
14
- ()
15
+ components.$light-fluent-schema
15
16
  );
16
17
  $light-indigo-schema: map.merge(
17
18
  charts.$light-indigo-schema,
18
- ()
19
+ components.$light-indigo-schema
19
20
  );
20
21
  $dark-material-schema: map.merge(
21
22
  charts.$dark-material-schema,
22
- ()
23
+ components.$dark-material-schema
23
24
  );
24
25
  $dark-bootstrap-schema: map.merge(
25
26
  charts.$dark-bootstrap-schema,
26
- ()
27
+ components.$dark-bootstrap-schema
27
28
  );
28
29
  $dark-fluent-schema: map.merge(
29
30
  charts.$dark-fluent-schema,
30
- ()
31
+ components.$dark-fluent-schema
31
32
  );
32
33
  $dark-indigo-schema: map.merge(
33
34
  charts.$dark-indigo-schema,
34
- ()
35
+ components.$dark-indigo-schema
35
36
  );
@@ -0,0 +1,2 @@
1
+ @forward 'light';
2
+ @forward 'dark';
@@ -0,0 +1,40 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/avatar' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a dark avatar schema.
11
+ /// @type {Map}
12
+ /// @requires $light-avatar
13
+ $dark-avatar: $light-avatar;
14
+
15
+ /// Generates a dark fluent avatar schema.
16
+ /// @type {Map}
17
+ /// @requires $fluent-avatar
18
+ $dark-fluent-avatar: $fluent-avatar;
19
+
20
+ /// Generates a dark bootstrap avatar schema.
21
+ /// @type {Map}
22
+ /// @prop {Map} background [color: ('gray', 200)]- The background color of the avatar.
23
+ /// @prop {Map} color [contrast-color: ('gray', 200)] - The text/icon color of the avatar.
24
+ /// @requires $bootstrap-avatar
25
+ $dark-bootstrap-avatar: extend(
26
+ $bootstrap-avatar,
27
+ (
28
+ background: (
29
+ color: ('gray', 200)
30
+ ),
31
+ color: (
32
+ contrast-color: ('gray', 200)
33
+ ),
34
+ )
35
+ );
36
+
37
+ /// Generates a dark indigo avatar schema.
38
+ /// @type {Map}
39
+ /// @requires $indigo-avatar
40
+ $dark-indigo-avatar: $indigo-avatar;
@@ -0,0 +1,388 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/button' as *;
3
+
4
+ /* stylelint-disable max-line-length */
5
+
6
+ ////
7
+ /// @package theming
8
+ /// @group schemas
9
+ /// @access public
10
+ ////
11
+
12
+ /// @type {Map}
13
+ /// @prop {Map} disabled-background [color: ('gray', 100, .3)] - The disabled background color of the button.
14
+ /// @prop {Color} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the button.
15
+ /// @requires {Map} $material-base-button
16
+ $material-base-button-dark: extend(
17
+ (
18
+ disabled-background: (
19
+ color: ('gray', 100, .3)
20
+ ),
21
+ disabled-foreground: (
22
+ color: ('gray', 200)
23
+ ),
24
+ )
25
+ );
26
+
27
+ /// @type {Map}
28
+ /// @prop {Map} hover-background [color: ('secondary', 500, .12)] - The hover background color of a flat button.
29
+ /// @prop {Map} focus-background [color: ('secondary', 400, .24)] - The focus background color of a flat button.
30
+ /// @prop {Map} focus-visible-background [color: ('secondary', 400, .24)] - The focus-visible background color of a flat button.
31
+ /// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
32
+ /// @requires {Map} $material-base-button-dark
33
+ /// @requires {Map} $material-flat-button
34
+ $material-flat-button-dark: extend(
35
+ $material-flat-button,
36
+ $material-base-button-dark,
37
+ (
38
+ hover-background: (
39
+ color: ('secondary', 500, .12),
40
+ ),
41
+ focus-background: (
42
+ color: ('secondary', 400, .24),
43
+ ),
44
+ focus-visible-background: (
45
+ color: ('secondary', 400, .24),
46
+ ),
47
+ disabled-background: transparent,
48
+ )
49
+ );
50
+
51
+ /// @type {Map}
52
+ /// @prop {Map} hover-background [color: ('gray', 100, .5)] - The hover background color of an icon button.
53
+ /// @prop {Map} focus-background [color: ('gray', 200, .8)] - The focus background color of a icon button.
54
+ /// @prop {Map} focus-visible-background [color: ('gray', 200, .8)] - The focus-visible background color of a icon button.
55
+ /// @prop {Color} disabled-background [transparent] - The disabled background color a icon button.
56
+ /// @requires {Map} $material-base-button-dark
57
+ /// @requires {Map} $material-icon-button
58
+ $material-icon-button-dark: extend(
59
+ $material-icon-button,
60
+ $material-base-button-dark,
61
+ (
62
+ hover-background: (
63
+ color: ('gray', 100, .5)
64
+ ),
65
+ focus-background: (
66
+ color: ('gray', 200, .8)
67
+ ),
68
+ focus-visible-background: (
69
+ color: ('gray', 200, .8)
70
+ ),
71
+ disabled-background: transparent,
72
+ )
73
+ );
74
+
75
+ /// @requires {Map} $material-raised-button
76
+ /// @requires {Map} $material-base-button-dark
77
+ $material-raised-button-dark: extend($material-raised-button, $material-base-button-dark);
78
+
79
+ /// @requires {Map} $material-fab-button
80
+ /// @requires {Map} $material-base-button-dark
81
+ $material-fab-button-dark: extend($material-fab-button, $material-base-button-dark);
82
+
83
+ /// @requires {Map} $material-outlined-button
84
+ /// @requires {Map} $material-base-button-dark
85
+ /// @prop {Map} disabled-border-color [color: ('gray', 100, .3)] - The disabled focused border color of an outlined button.
86
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
87
+ $material-outlined-button-dark: extend(
88
+ $material-outlined-button,
89
+ $material-base-button-dark,
90
+ (
91
+ disabled-border-color: (
92
+ color: ('gray', 100, .3)
93
+ ),
94
+ disabled-background: transparent,
95
+ )
96
+ );
97
+
98
+ /// Generates a dark material button schema.
99
+ /// @type {Map}
100
+ /// @requires {Map} $material-flat-button-dark
101
+ /// @requires {Map} $material-outlined-button
102
+ /// @requires {Map} $material-raised-button
103
+ /// @requires {Map} $material-fab-button
104
+ /// @requires {Map} $material-icon-button-dark
105
+ $dark-button: (
106
+ flat: $material-flat-button-dark,
107
+ outlined: $material-outlined-button-dark,
108
+ raised: $material-raised-button-dark,
109
+ fab: $material-fab-button-dark,
110
+ icon: $material-icon-button-dark,
111
+ );
112
+
113
+ /// @type {Map}
114
+ /// @requires {Map} $material-base-button
115
+ /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
116
+ /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the button.
117
+ $fluent-base-button-dark: extend(
118
+ (
119
+ disabled-background: (
120
+ color: ('gray', 50)
121
+ ),
122
+ disabled-foreground: (
123
+ color: ('gray', 100)
124
+ ),
125
+ )
126
+ );
127
+
128
+ /// @type {Map}
129
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
130
+ /// @requires {Map} $fluent-flat-button
131
+ /// @requires {Map} $fluent-base-button-dark
132
+ $fluent-flat-button-dark: extend(
133
+ $fluent-flat-button,
134
+ $fluent-base-button-dark,
135
+ (
136
+ disabled-background: transparent
137
+ )
138
+ );
139
+
140
+ /// @requires {Map} $fluent-raised-button
141
+ /// @requires {Map} $fluent-base-button-dark
142
+ $fluent-raised-button-dark: extend(
143
+ $fluent-raised-button,
144
+ $fluent-base-button-dark
145
+ );
146
+
147
+ /// @requires {Map} $fluent-fab-button
148
+ /// @requires {Map} $fluent-base-button-dark
149
+ $fluent-fab-button-dark: extend(
150
+ $fluent-fab-button,
151
+ $fluent-base-button-dark
152
+ );
153
+
154
+ /// @prop {Map} hover-background [color: ('gray', 50)] - The hover background color of an icon button.
155
+ /// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an icon button.
156
+ /// @prop {Map} disabled-border-color [color: ('gray', 50)] - The disabled focused border color of an icon button.
157
+ /// @requires {Map} $fluent-icon-button
158
+ /// @requires {Map} $fluent-base-button-dark
159
+ $fluent-icon-button-dark: extend(
160
+ $fluent-icon-button,
161
+ $fluent-base-button-dark,
162
+ (
163
+ hover-background: (
164
+ color: ('gray', 50)
165
+ ),
166
+ active-background: (
167
+ color: ('gray', 100, .8)
168
+ ),
169
+ disabled-border-color: (
170
+ color: ('gray', 50)
171
+ ),
172
+ )
173
+ );
174
+
175
+ /// @prop {Map} hover-foreground [color: ('gray', 50)] - TThe hover text color of an outlined button.
176
+ /// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an outlined button.
177
+ /// @prop {Map} active-foreground [contrast-color: ('gray' 100)] - The active text color of an outlined button.
178
+ /// @prop {Map} border-color [color: ('gray', 100)] - The border color of an outlined button.
179
+ /// @requires {Map} $fluent-outlined-button
180
+ /// @requires {Map} $fluent-base-button-dark
181
+ $fluent-outlined-button-dark: extend(
182
+ $fluent-outlined-button,
183
+ $fluent-base-button-dark,
184
+ (
185
+ hover-background: (
186
+ color:('gray', 50)
187
+ ),
188
+ active-background: (
189
+ color: ('gray', 100, .8)
190
+ ),
191
+ active-foreground: (
192
+ contrast-color: ('gray', 100)
193
+ ),
194
+ border-color: (
195
+ color: ('gray', 100)
196
+ ),
197
+ )
198
+ );
199
+
200
+ /// Generates a dark fluent button schema.
201
+ /// @type {Map}
202
+ /// @requires {Map} $fluent-flat-button-dark
203
+ /// @requires {Map} $fluent-outlined-button
204
+ /// @requires {Map} $fluent-raised-button
205
+ /// @requires {Map} $fluent-fab-button
206
+ /// @requires {Map} $fluent-icon-button
207
+ $dark-fluent-button: (
208
+ flat: $fluent-flat-button-dark,
209
+ outlined: $fluent-outlined-button-dark,
210
+ raised: $fluent-raised-button-dark,
211
+ fab: $fluent-fab-button-dark,
212
+ icon: $fluent-icon-button-dark,
213
+ );
214
+
215
+ /// @type {Map}
216
+ /// @requires {Map} $bootstrap-base-button
217
+ $bootstrap-base-button-dark: extend($bootstrap-base-button);
218
+
219
+ /// @type {Map}
220
+ /// @prop {Map} disabled-border-color [color: ('primary', 900)] - The disabled border color of the button.
221
+ /// @requires {Map} $bootstrap-base-button-dark
222
+ /// @requires {Map} $bootstrap-outlined-button
223
+ $bootstrap-outlined-button-dark: extend(
224
+ $bootstrap-base-button-dark,
225
+ $bootstrap-outlined-button,
226
+ (
227
+ disabled-border-color: (
228
+ color: ('primary', 900)
229
+ ),
230
+ )
231
+ );
232
+
233
+ /// @type {Map}
234
+ /// @requires {Map} $bootstrap-base-button-dark
235
+ /// @requires {Map} $bootstrap-flat-button
236
+ $bootstrap-flat-button-dark: extend(
237
+ $bootstrap-base-button-dark,
238
+ $bootstrap-flat-button,
239
+ );
240
+
241
+ /// Generates a dark bootstrap button schema.
242
+ /// @type {Map}
243
+ /// @requires {Map} $bootstrap-flat-button
244
+ /// @requires {Map} $bootstrap-outlined-button
245
+ /// @requires {Map} $bootstrap-raised-button
246
+ /// @requires {Map} $bootstrap-fab-button
247
+ /// @requires {Map} $bootstrap-icon-button
248
+ $dark-bootstrap-button: (
249
+ flat: $bootstrap-flat-button-dark,
250
+ outlined: $bootstrap-outlined-button-dark,
251
+ raised: $bootstrap-raised-button,
252
+ fab: $bootstrap-fab-button,
253
+ icon: $bootstrap-icon-button,
254
+ );
255
+
256
+ /// @type {Map}
257
+ /// @prop {Color} disabled-foreground [color: ('gray', 300)] - The disabled foreground color of the button.
258
+ /// @prop {Color} disabled-background [color: ('gray', 200, .1)] - The disabled background color of the button.
259
+ /// @requires {Map} $indigo-base-button
260
+ $indigo-base-button-dark: extend(
261
+ (
262
+ disabled-foreground: (
263
+ color: ('gray', 300),
264
+ ),
265
+ disabled-background: (
266
+ color: ('gray', 200, .1),
267
+ )
268
+ )
269
+ );
270
+
271
+ /// @type {Map}
272
+ /// @prop {Map} foreground [color: ('gray', 600, .8)] - The idle text color of a outlined button.
273
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
274
+ /// @requires {Map} $indigo-base-button-dark
275
+ /// @requires {Map} $indigo-flat-button
276
+ $indigo-flat-button-dark: extend(
277
+ $indigo-flat-button,
278
+ $indigo-base-button-dark,
279
+ (
280
+ foreground: (
281
+ color: ('gray', 600, .8),
282
+ ),
283
+ disabled-background: transparent
284
+ )
285
+ );
286
+
287
+ /// @type {Map}
288
+ /// @prop {Color} foreground [color: ('gray', 900)] - The idle text color of a raised button.
289
+ /// @prop {Color} hover-foreground [color: ('gray', 900)] - The hover text color of a raised button.
290
+ /// @prop {Color} focus-foreground [color: ('gray', 900)] - The focus text color of a raised button.
291
+ /// @prop {Color} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a raised button.
292
+ /// @requires {Map} $indigo-base-button-dark
293
+ /// @requires {Map} $indigo-raised-button
294
+ $indigo-raised-button-dark: extend(
295
+ $indigo-raised-button,
296
+ $indigo-base-button-dark,
297
+ (
298
+ foreground: (
299
+ color: ('gray', 900)
300
+ ),
301
+ hover-foreground: (
302
+ color: ('gray', 900)
303
+ ),
304
+ focus-foreground: (
305
+ color: ('gray', 900)
306
+ ),
307
+ focus-visible-foreground: (
308
+ color: ('gray', 900)
309
+ ),
310
+ )
311
+ );
312
+
313
+ /// @type {Map}
314
+ /// @prop {Map} foreground [color: ('gray', 500)] - The idle text color of a outlined button.
315
+ /// @prop {Map} border-color [color: ('gray', 300)] - The border color of an outlined button.
316
+ /// @prop {Map} shadow-color [color: ('gray', 200, .8)] - The shadow color of an outlined button.
317
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
318
+ /// @requires {Map} $indigo-base-button-dark
319
+ /// @requires {Map} $indigo-outlined-button
320
+ $indigo-outlined-button-dark: extend(
321
+ $indigo-outlined-button,
322
+ $indigo-base-button-dark,
323
+ (
324
+ foreground: (
325
+ color: ('gray', 500),
326
+ ),
327
+ border-color: (
328
+ color: ('gray', 300),
329
+ ),
330
+ shadow-color: (
331
+ color: ('gray', 200, .8),
332
+ ),
333
+ disabled-background: transparent
334
+ )
335
+ );
336
+
337
+ /// @type {Map}
338
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an outlined button.
339
+ /// @requires {Map} $indigo-base-button-dark
340
+ /// @requires {Map} $indigo-icon-button
341
+ $indigo-icon-button-dark: extend(
342
+ $indigo-icon-button,
343
+ $indigo-base-button-dark,
344
+ (
345
+ disabled-background: transparent
346
+ )
347
+ );
348
+
349
+ /// @type {Map}
350
+ /// @prop {Color} foreground [color: ('gray', 900) - The idle text color of a fab button.
351
+ /// @prop {Color} hover-foreground [color: ('gray', 900)] - The hover text color of a fab button.
352
+ /// @prop {Color} focus-foreground [color: ('gray', 900)] - The focus text color of a fab button.
353
+ /// @prop {Color} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a fab button.
354
+ /// @requires {Map} $indigo-base-button-dark
355
+ /// @requires {Map} $indigo-fab-button
356
+ $indigo-fab-button-dark: extend(
357
+ $indigo-fab-button,
358
+ $indigo-base-button-dark,
359
+ (
360
+ foreground: (
361
+ color: ('gray', 900)
362
+ ),
363
+ hover-foreground: (
364
+ color: ('gray', 900)
365
+ ),
366
+ focus-foreground: (
367
+ color: ('gray', 900)
368
+ ),
369
+ focus-visible-foreground: (
370
+ color: ('gray', 900)
371
+ ),
372
+ )
373
+ );
374
+
375
+ /// Generates a dark indigo button schema.
376
+ /// @type {Map}
377
+ /// @requires {Map} $indigo-flat-button
378
+ /// @requires {Map} $indigo-outlined-button
379
+ /// @requires {Map} $indigo-raised-button
380
+ /// @requires {Map} $indigo-fab-button
381
+ /// @requires {Map} $indigo-icon-button
382
+ $dark-indigo-button: (
383
+ flat: $indigo-flat-button-dark,
384
+ outlined: $indigo-outlined-button-dark,
385
+ raised: $indigo-raised-button-dark,
386
+ fab: $indigo-fab-button-dark,
387
+ icon: $indigo-icon-button-dark,
388
+ );
@@ -0,0 +1,70 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/checkbox' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ /// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
9
+ ////
10
+
11
+ /// Generates a dark checkbox schema.
12
+ /// @type {Map}
13
+ /// @requires $light-checkbox
14
+ $dark-checkbox: extend(
15
+ $light-checkbox,
16
+ (
17
+ type: 'dark',
18
+ )
19
+ );
20
+
21
+ /// Generates a dark fluent checkbox schema.
22
+ /// @type {Map}
23
+ /// @prop {Map} fill-color-hover [color: ('primary', 200)] - The checked border and fill colors on hover.
24
+ /// @requires $fluent-checkbox
25
+ $dark-fluent-checkbox: extend(
26
+ $fluent-checkbox,
27
+ (
28
+ fill-color-hover: (
29
+ color: ('primary', 200)
30
+ ),
31
+ )
32
+ );
33
+
34
+ /// Generates a dark bootstrap checkbox schema.
35
+ /// @type {Map}
36
+ /// @prop {Map} tick-color [color: ('gray', 900)] - The checked mark color.
37
+ /// @requires $bootstrap-checkbox
38
+ $dark-bootstrap-checkbox: extend(
39
+ $bootstrap-checkbox,
40
+ (
41
+ tick-color: (
42
+ color: ('gray', 900)
43
+ )
44
+ )
45
+ );
46
+
47
+ /// Generates a dark indigo checkbox schema.
48
+ /// @type {Map}
49
+ /// @prop {Map} fill-color [color: ('gray', 900)] - The checked border and fill colors.
50
+ /// @prop {Map} empty-color [color: ('gray', 700)] - The unchecked border color.
51
+ /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and fill colors.
52
+ /// @prop {Map} disabled-color-label [color: ('gray', 400)] - The disabled label color.
53
+ /// @requires $indigo-checkbox
54
+ $dark-indigo-checkbox: extend(
55
+ $indigo-checkbox,
56
+ (
57
+ fill-color: (
58
+ color: ('gray', 900)
59
+ ),
60
+ empty-color: (
61
+ color: ('gray', 700)
62
+ ),
63
+ disabled-color: (
64
+ color: ('gray', 400),
65
+ ),
66
+ disabled-color-label: (
67
+ color: ('gray', 400),
68
+ )
69
+ )
70
+ );
@@ -0,0 +1,47 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/combo' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a dark combo schema.
14
+ /// @type {Map}
15
+ /// @requires $light-combo
16
+ $dark-combo: $light-combo;
17
+
18
+ /// Generates a dark fluent combo schema.
19
+ /// @type {Map}
20
+ /// @requires $fluent-combo
21
+ $dark-fluent-combo: $fluent-combo;
22
+
23
+ /// Generates a dark bootstrap combo schema.
24
+ /// @type {Map}
25
+ /// @requires $bootstrap-combo
26
+ $dark-bootstrap-combo: extend($bootstrap-combo);
27
+
28
+ /// Generates a dark indigo combo schema.
29
+ /// @prop {Map} toggle-button-foreground [color: ('gray', 600)] - The combo toggle button foreground color.
30
+ /// @prop {Map} toggle-button-foreground-focus [color: ('gray', 600)] - The combo toggle button foreground color when the combo is focused.
31
+ /// @prop {Map} toggle-button-foreground-filled [color: ('gray', 600)] - The combo toggle button foreground color when the combo is focused.
32
+ /// @type {Map}
33
+ /// @requires $indigo-combo
34
+ $dark-indigo-combo: extend(
35
+ $indigo-combo,
36
+ (
37
+ toggle-button-foreground: (
38
+ color: ('gray', 600),
39
+ ),
40
+ toggle-button-foreground-focus: (
41
+ color: ('gray', 600),
42
+ ),
43
+ toggle-button-foreground-filled: (
44
+ color: ('gray', 600),
45
+ ),
46
+ )
47
+ );