var-colors 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,592 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "sass:math";
4
+ @use "./constants" as *;
5
+
6
+ $preset-colors: (
7
+ "grey": (
8
+ hue: none,
9
+ max-chroma: (
10
+ srgb: 0,
11
+ pisplay-p3: 0,
12
+ rec2020: 0,
13
+ ),
14
+ max-chroma-lightness: (
15
+ srgb: 0,
16
+ pisplay-p3: 0,
17
+ rec2020: 0,
18
+ ),
19
+ ),
20
+ "rose": (
21
+ hue: 0,
22
+ max-chroma: (
23
+ srgb: 0.26,
24
+ pisplay-p3: 0.3,
25
+ rec2020: 0.37,
26
+ ),
27
+ max-chroma-lightness: (
28
+ srgb: 0.65,
29
+ pisplay-p3: 0.67,
30
+ rec2020: 0.7,
31
+ ),
32
+ ),
33
+ "crimson": (
34
+ hue: 15,
35
+ max-chroma: (
36
+ srgb: 0.25,
37
+ pisplay-p3: 0.29,
38
+ rec2020: 0.36,
39
+ ),
40
+ max-chroma-lightness: (
41
+ srgb: 0.64,
42
+ pisplay-p3: 0.66,
43
+ rec2020: 0.69,
44
+ ),
45
+ ),
46
+ "red": (
47
+ hue: 30,
48
+ max-chroma: (
49
+ srgb: 0.25,
50
+ pisplay-p3: 0.29,
51
+ rec2020: 0.31,
52
+ ),
53
+ max-chroma-lightness: (
54
+ srgb: 0.63,
55
+ pisplay-p3: 0.66,
56
+ rec2020: 0.72,
57
+ ),
58
+ ),
59
+ "tomato": (
60
+ hue: 45,
61
+ max-chroma: (
62
+ srgb: 0.2,
63
+ pisplay-p3: 0.23,
64
+ rec2020: 0.25,
65
+ ),
66
+ max-chroma-lightness: (
67
+ srgb: 0.7,
68
+ pisplay-p3: 0.72,
69
+ rec2020: 0.78,
70
+ ),
71
+ ),
72
+ "mango": (
73
+ hue: 60,
74
+ max-chroma: (
75
+ srgb: 0.17,
76
+ pisplay-p3: 0.2,
77
+ rec2020: 0.22,
78
+ ),
79
+ max-chroma-lightness: (
80
+ srgb: 0.76,
81
+ pisplay-p3: 0.78,
82
+ rec2020: 0.83,
83
+ ),
84
+ ),
85
+ "orange": (
86
+ hue: 75,
87
+ max-chroma: (
88
+ srgb: 0.17,
89
+ pisplay-p3: 0.19,
90
+ rec2020: 0.21,
91
+ ),
92
+ max-chroma-lightness: (
93
+ srgb: 0.81,
94
+ pisplay-p3: 0.82,
95
+ rec2020: 0.87,
96
+ ),
97
+ ),
98
+ "amber": (
99
+ hue: 90,
100
+ max-chroma: (
101
+ srgb: 0.17,
102
+ pisplay-p3: 0.2,
103
+ rec2020: 0.21,
104
+ ),
105
+ max-chroma-lightness: (
106
+ srgb: 0.86,
107
+ pisplay-p3: 0.87,
108
+ rec2020: 0.9,
109
+ ),
110
+ ),
111
+ "yellow": (
112
+ hue: 105,
113
+ max-chroma: (
114
+ srgb: 0.19,
115
+ pisplay-p3: 0.23,
116
+ rec2020: 0.24,
117
+ ),
118
+ max-chroma-lightness: (
119
+ srgb: 0.94,
120
+ pisplay-p3: 0.94,
121
+ rec2020: 0.96,
122
+ ),
123
+ ),
124
+ "lime": (
125
+ hue: 120,
126
+ max-chroma: (
127
+ srgb: 0.22,
128
+ pisplay-p3: 0.25,
129
+ rec2020: 0.26,
130
+ ),
131
+ max-chroma-lightness: (
132
+ srgb: 0.94,
133
+ pisplay-p3: 0.94,
134
+ rec2020: 0.94,
135
+ ),
136
+ ),
137
+ "green": (
138
+ hue: 135,
139
+ max-chroma: (
140
+ srgb: 0.26,
141
+ pisplay-p3: 0.3,
142
+ rec2020: 0.31,
143
+ ),
144
+ max-chroma-lightness: (
145
+ srgb: 0.89,
146
+ pisplay-p3: 0.89,
147
+ rec2020: 0.9,
148
+ ),
149
+ ),
150
+ "mint": (
151
+ hue: 150,
152
+ max-chroma: (
153
+ srgb: 0.24,
154
+ pisplay-p3: 0.32,
155
+ rec2020: 0.43,
156
+ ),
157
+ max-chroma-lightness: (
158
+ srgb: 0.88,
159
+ pisplay-p3: 0.86,
160
+ rec2020: 0.84,
161
+ ),
162
+ ),
163
+ "teal": (
164
+ hue: 165,
165
+ max-chroma: (
166
+ srgb: 0.18,
167
+ pisplay-p3: 0.25,
168
+ rec2020: 0.38,
169
+ ),
170
+ max-chroma-lightness: (
171
+ srgb: 0.89,
172
+ pisplay-p3: 0.87,
173
+ rec2020: 0.84,
174
+ ),
175
+ ),
176
+ "aqua": (
177
+ hue: 180,
178
+ max-chroma: (
179
+ srgb: 0.16,
180
+ pisplay-p3: 0.21,
181
+ rec2020: 0.33,
182
+ ),
183
+ max-chroma-lightness: (
184
+ srgb: 0.9,
185
+ pisplay-p3: 0.88,
186
+ rec2020: 0.86,
187
+ ),
188
+ ),
189
+ "cyan": (
190
+ hue: 195,
191
+ max-chroma: (
192
+ srgb: 0.15,
193
+ pisplay-p3: 0.2,
194
+ rec2020: 0.3,
195
+ ),
196
+ max-chroma-lightness: (
197
+ srgb: 0.91,
198
+ pisplay-p3: 0.88,
199
+ rec2020: 0.83,
200
+ ),
201
+ ),
202
+ "ice": (
203
+ hue: 210,
204
+ max-chroma: (
205
+ srgb: 0.14,
206
+ pisplay-p3: 0.18,
207
+ rec2020: 0.27,
208
+ ),
209
+ max-chroma-lightness: (
210
+ srgb: 0.84,
211
+ pisplay-p3: 0.81,
212
+ rec2020: 0.73,
213
+ ),
214
+ ),
215
+ "sky": (
216
+ hue: 225,
217
+ max-chroma: (
218
+ srgb: 0.14,
219
+ pisplay-p3: 0.18,
220
+ rec2020: 0.27,
221
+ ),
222
+ max-chroma-lightness: (
223
+ srgb: 0.78,
224
+ pisplay-p3: 0.75,
225
+ rec2020: 0.64,
226
+ ),
227
+ ),
228
+ "azure": (
229
+ hue: 240,
230
+ max-chroma: (
231
+ srgb: 0.16,
232
+ pisplay-p3: 0.2,
233
+ rec2020: 0.31,
234
+ ),
235
+ max-chroma-lightness: (
236
+ srgb: 0.72,
237
+ pisplay-p3: 0.68,
238
+ rec2020: 0.53,
239
+ ),
240
+ ),
241
+ "water": (
242
+ hue: 255,
243
+ max-chroma: (
244
+ srgb: 0.2,
245
+ pisplay-p3: 0.24,
246
+ rec2020: 0.35,
247
+ ),
248
+ max-chroma-lightness: (
249
+ srgb: 0.62,
250
+ pisplay-p3: 0.59,
251
+ rec2020: 0.44,
252
+ ),
253
+ ),
254
+ "blue": (
255
+ hue: 270,
256
+ max-chroma: (
257
+ srgb: 0.3,
258
+ pisplay-p3: 0.31,
259
+ rec2020: 0.32,
260
+ ),
261
+ max-chroma-lightness: (
262
+ srgb: 0.47,
263
+ pisplay-p3: 0.48,
264
+ rec2020: 0.47,
265
+ ),
266
+ ),
267
+ "indigo": (
268
+ hue: 285,
269
+ max-chroma: (
270
+ srgb: 0.29,
271
+ pisplay-p3: 0.3,
272
+ rec2020: 0.32,
273
+ ),
274
+ max-chroma-lightness: (
275
+ srgb: 0.5,
276
+ pisplay-p3: 0.52,
277
+ rec2020: 0.5,
278
+ ),
279
+ ),
280
+ "violet": (
281
+ hue: 300,
282
+ max-chroma: (
283
+ srgb: 0.29,
284
+ pisplay-p3: 0.31,
285
+ rec2020: 0.33,
286
+ ),
287
+ max-chroma-lightness: (
288
+ srgb: 0.55,
289
+ pisplay-p3: 0.56,
290
+ rec2020: 0.54,
291
+ ),
292
+ ),
293
+ "purple": (
294
+ hue: 315,
295
+ max-chroma: (
296
+ srgb: 0.3,
297
+ pisplay-p3: 0.33,
298
+ rec2020: 0.35,
299
+ ),
300
+ max-chroma-lightness: (
301
+ srgb: 0.62,
302
+ pisplay-p3: 0.63,
303
+ rec2020: 0.6,
304
+ ),
305
+ ),
306
+ "magenta": (
307
+ hue: 330,
308
+ max-chroma: (
309
+ srgb: 0.31,
310
+ pisplay-p3: 0.35,
311
+ rec2020: 0.39,
312
+ ),
313
+ max-chroma-lightness: (
314
+ srgb: 0.7,
315
+ pisplay-p3: 0.71,
316
+ rec2020: 0.69,
317
+ ),
318
+ ),
319
+ "pink": (
320
+ hue: 345,
321
+ max-chroma: (
322
+ srgb: 0.28,
323
+ pisplay-p3: 0.32,
324
+ rec2020: 0.4,
325
+ ),
326
+ max-chroma-lightness: (
327
+ srgb: 0.67,
328
+ pisplay-p3: 0.69,
329
+ rec2020: 0.73,
330
+ ),
331
+ ),
332
+ );
333
+ $preset-colors-keys: ();
334
+ $preset-colors-hues: ();
335
+ @each $color-key, $color-data in $preset-colors {
336
+ $color-hue: map.get($color-data, "hue");
337
+ $preset-colors-keys: list.append($preset-colors-keys, $color-key);
338
+ $preset-colors-hues: list.append($preset-colors-hues, $color-hue);
339
+ }
340
+ /* $preset-colors-keys-and-hues: map.merge(
341
+ $preset-colors-keys,
342
+ $preset-colors-hues
343
+ ); */
344
+
345
+ $darkness-levels: (
346
+ 0: (
347
+ min-lightness: 0.989,
348
+ max-lightness: 1,
349
+ consistent-chroma: 0,
350
+ lightness: 1,
351
+ ),
352
+ 25: (
353
+ min-lightness: 0.968,
354
+ max-lightness: 0.989,
355
+ consistent-chroma: 0.011,
356
+ lightness: 1 - 1 * $regular-levels-lightness-step,
357
+ ),
358
+ 50: (
359
+ min-lightness: 0.946,
360
+ max-lightness: 0.968,
361
+ consistent-chroma: 0.022,
362
+ lightness: 1 - 2 * $regular-levels-lightness-step,
363
+ ),
364
+ 75: (
365
+ min-lightness: 0.925,
366
+ max-lightness: 0.946,
367
+ consistent-chroma: 0.033,
368
+ lightness: 1 - 3 * $regular-levels-lightness-step,
369
+ ),
370
+ 100: (
371
+ min-lightness: 0.903,
372
+ max-lightness: 0.925,
373
+ consistent-chroma: 0.045,
374
+ lightness: 1 - 4 * $regular-levels-lightness-step,
375
+ ),
376
+ 125: (
377
+ min-lightness: 0.882,
378
+ max-lightness: 0.903,
379
+ consistent-chroma: 0.057,
380
+ lightness: 1 - 5 * $regular-levels-lightness-step,
381
+ ),
382
+ 150: (
383
+ min-lightness: 0.86,
384
+ max-lightness: 0.882,
385
+ consistent-chroma: 0.069,
386
+ lightness: 1 - 6 * $regular-levels-lightness-step,
387
+ ),
388
+ 175: (
389
+ min-lightness: 0.838,
390
+ max-lightness: 0.86,
391
+ consistent-chroma: 0.081,
392
+ lightness: 1 - 7 * $regular-levels-lightness-step,
393
+ ),
394
+ 200: (
395
+ min-lightness: 0.817,
396
+ max-lightness: 0.838,
397
+ consistent-chroma: 0.093,
398
+ lightness: 1 - 8 * $regular-levels-lightness-step,
399
+ ),
400
+ 225: (
401
+ min-lightness: 0.795,
402
+ max-lightness: 0.817,
403
+ consistent-chroma: 0.105,
404
+ lightness: 1 - 9 * $regular-levels-lightness-step,
405
+ ),
406
+ 250: (
407
+ min-lightness: 0.774,
408
+ max-lightness: 0.795,
409
+ consistent-chroma: 0.118,
410
+ lightness: 1 - 10 * $regular-levels-lightness-step,
411
+ ),
412
+ 275: (
413
+ min-lightness: 0.752,
414
+ max-lightness: 0.774,
415
+ consistent-chroma: 0.131,
416
+ lightness: 1 - 11 * $regular-levels-lightness-step,
417
+ ),
418
+ 300: (
419
+ min-lightness: 0.731,
420
+ max-lightness: 0.752,
421
+ consistent-chroma: 0.143,
422
+ lightness: 1 - 12 * $regular-levels-lightness-step,
423
+ ),
424
+ 325: (
425
+ min-lightness: 0.709,
426
+ max-lightness: 0.731,
427
+ consistent-chroma: 0.157,
428
+ lightness: 1 - 13 * $regular-levels-lightness-step,
429
+ ),
430
+ 350: (
431
+ min-lightness: 0.688,
432
+ max-lightness: 0.709,
433
+ consistent-chroma: 0.159,
434
+ lightness: 1 - 14 * $regular-levels-lightness-step,
435
+ ),
436
+ 375: (
437
+ min-lightness: 0.666,
438
+ max-lightness: 0.688,
439
+ consistent-chroma: 0.154,
440
+ lightness: 1 - 15 * $regular-levels-lightness-step,
441
+ ),
442
+ 400: (
443
+ min-lightness: 0.645,
444
+ max-lightness: 0.666,
445
+ consistent-chroma: 0.149,
446
+ lightness: 1 - 16 * $regular-levels-lightness-step,
447
+ ),
448
+ 425: (
449
+ min-lightness: 0.623,
450
+ max-lightness: 0.645,
451
+ consistent-chroma: 0.144,
452
+ lightness: 1 - 17 * $regular-levels-lightness-step,
453
+ ),
454
+ 450: (
455
+ min-lightness: 0.601,
456
+ max-lightness: 0.623,
457
+ consistent-chroma: 0.139,
458
+ lightness: 1 - 18 * $regular-levels-lightness-step,
459
+ ),
460
+ 475: (
461
+ min-lightness: 0.58,
462
+ max-lightness: 0.601,
463
+ consistent-chroma: 0.134,
464
+ lightness: 1 - 19 * $regular-levels-lightness-step,
465
+ ),
466
+ 500: (
467
+ min-lightness: 0.558,
468
+ max-lightness: 0.58,
469
+ consistent-chroma: 0.13,
470
+ lightness: 1 - 20 * $regular-levels-lightness-step,
471
+ ),
472
+ 525: (
473
+ min-lightness: 0.537,
474
+ max-lightness: 0.558,
475
+ consistent-chroma: 0.125,
476
+ lightness: 1 - 21 * $regular-levels-lightness-step,
477
+ ),
478
+ 550: (
479
+ min-lightness: 0.515,
480
+ max-lightness: 0.537,
481
+ consistent-chroma: 0.12,
482
+ lightness: 1 - 22 * $regular-levels-lightness-step,
483
+ ),
484
+ 575: (
485
+ min-lightness: 0.494,
486
+ max-lightness: 0.515,
487
+ consistent-chroma: 0.115,
488
+ lightness: 1 - 23 * $regular-levels-lightness-step,
489
+ ),
490
+ 600: (
491
+ min-lightness: 0.472,
492
+ max-lightness: 0.494,
493
+ consistent-chroma: 0.11,
494
+ lightness: 1 - 24 * $regular-levels-lightness-step,
495
+ ),
496
+ 625: (
497
+ min-lightness: 0.451,
498
+ max-lightness: 0.472,
499
+ consistent-chroma: 0.105,
500
+ lightness: 1 - 25 * $regular-levels-lightness-step,
501
+ ),
502
+ 650: (
503
+ min-lightness: 0.429,
504
+ max-lightness: 0.451,
505
+ consistent-chroma: 0.1,
506
+ lightness: 1 - 26 * $regular-levels-lightness-step,
507
+ ),
508
+ 675: (
509
+ min-lightness: 0.408,
510
+ max-lightness: 0.429,
511
+ consistent-chroma: 0.096,
512
+ lightness: 1 - 27 * $regular-levels-lightness-step,
513
+ ),
514
+ 700: (
515
+ min-lightness: 0.386,
516
+ max-lightness: 0.408,
517
+ consistent-chroma: 0.091,
518
+ lightness: 1 - 28 * $regular-levels-lightness-step,
519
+ ),
520
+ 725: (
521
+ min-lightness: 0.365,
522
+ max-lightness: 0.386,
523
+ consistent-chroma: 0.086,
524
+ lightness: 1 - 29 * $regular-levels-lightness-step,
525
+ ),
526
+ 750: (
527
+ min-lightness: 0.343,
528
+ max-lightness: 0.365,
529
+ consistent-chroma: 0.081,
530
+ lightness: 1 - 30 * $regular-levels-lightness-step,
531
+ ),
532
+ 775: (
533
+ min-lightness: 0.321,
534
+ max-lightness: 0.343,
535
+ consistent-chroma: 0.076,
536
+ lightness: 1 - 31 * $regular-levels-lightness-step,
537
+ ),
538
+ 800: (
539
+ min-lightness: 0.3,
540
+ max-lightness: 0.321,
541
+ consistent-chroma: 0.072,
542
+ lightness: 1 - 32 * $regular-levels-lightness-step,
543
+ ),
544
+ 825: (
545
+ min-lightness: 0.278,
546
+ max-lightness: 0.3,
547
+ consistent-chroma: 0.067,
548
+ lightness: 1 - 33 * $regular-levels-lightness-step,
549
+ ),
550
+ 850: (
551
+ min-lightness: 0.257,
552
+ max-lightness: 0.278,
553
+ consistent-chroma: 0.062,
554
+ lightness: 1 - 34 * $regular-levels-lightness-step,
555
+ ),
556
+ 875: (
557
+ min-lightness: 0.235,
558
+ max-lightness: 0.257,
559
+ consistent-chroma: 0.058,
560
+ lightness: 1 - 35 * $regular-levels-lightness-step,
561
+ ),
562
+ 900: (
563
+ min-lightness: 0.214,
564
+ max-lightness: 0.235,
565
+ consistent-chroma: 0.053,
566
+ lightness: 1 - 36 * $regular-levels-lightness-step,
567
+ ),
568
+ 925: (
569
+ min-lightness: 0.189,
570
+ max-lightness: 0.214,
571
+ consistent-chroma: 0.049,
572
+ lightness: map.get($darkest-levels-lightness-map, 925),
573
+ ),
574
+ 950: (
575
+ min-lightness: 0.158,
576
+ max-lightness: 0.189,
577
+ consistent-chroma: 0.044,
578
+ lightness: map.get($darkest-levels-lightness-map, 950),
579
+ ),
580
+ 975: (
581
+ min-lightness: 0.07,
582
+ max-lightness: 0.158,
583
+ consistent-chroma: 0.038,
584
+ lightness: map.get($darkest-levels-lightness-map, 975),
585
+ ),
586
+ 1000: (
587
+ min-lightness: 0,
588
+ max-lightness: 0.07,
589
+ consistent-chroma: 0,
590
+ lightness: 0,
591
+ ),
592
+ );
@@ -0,0 +1,106 @@
1
+ @use "./truevarcolors/scss/_config" as *;
2
+ @use "./truevarcolors/scss/_constants" as *;
3
+ @use "./truevarcolors/scss/_maps" as *;
4
+ @use "./truevarcolors/scss/_functions" as *;
5
+ @use "sass:map";
6
+ @use "sass:list";
7
+
8
+ // 1.Configuration validations
9
+ $colors: get-valid-colors($colors);
10
+ $levels: get-valid-levels($levels);
11
+ $levels-step: get-valid-levels-step($levels-step, $levels);
12
+ $consistent-chroma: get-valid-consistent-chroma($consistent-chroma);
13
+ $gamut: get-valid-gamut($gamut);
14
+ $prefix: get-valid-prefix($prefix);
15
+ $root-rule: get-valid-root-rule($root-rule);
16
+
17
+ // 2.Getting preset colors by the configuration
18
+ $configured-preset-colors: get-preset-colors-by-keys($colors);
19
+
20
+ // 3.Creating a list of levels
21
+ $levels: get-levels-by-config($levels, $levels-step);
22
+
23
+ // 4.Setting the max-chroma value for preset colors
24
+ $preset-colors-with-max-chroma: get-preset-colors-chroma(
25
+ $configured-preset-colors,
26
+ $consistent-chroma,
27
+ $gamut
28
+ );
29
+
30
+ // 5.Generating a palette of shades of preset colors
31
+ $preset-colors-palette: get-preset-colors-palette(
32
+ $preset-colors-with-max-chroma,
33
+ $levels,
34
+ $gamut,
35
+ $prefix
36
+ );
37
+
38
+ // 6.Filtering custom colors by valid hue
39
+ $custom-colors: filter-colors-by-valid-hue($custom-colors);
40
+
41
+ // 7.Converting string custom colors hue values matching the names of preset colors to numeric values
42
+ $custom-colors: convert-custom-colors-string-hues-to-numbers($custom-colors);
43
+
44
+ // 8.Setting the max-chroma value for custom colors
45
+ $custom-colors: get-custom-color-chroma($custom-colors, $gamut);
46
+
47
+ // 9.Adoption of max-chroma-lightness values to the range from 0 to 1
48
+ $custom-colors: validate-custom-colors-max-chroma-lightness($custom-colors);
49
+
50
+ // 10.Setting the max-chroma-lightness value for custom colors
51
+ $custom-colors: get-custom-colors-max-chroma-lightness($custom-colors, $gamut);
52
+
53
+ // 11.Getting a list of dynamic hues
54
+ $var-hues: get-dynamic-var-hues($custom-colors, $prefix);
55
+
56
+ // 12.Creating a list of dynamic hue values
57
+ $custom-colors: get-custom-colors-variable-hue($custom-colors, $prefix);
58
+
59
+ // 13.Generating a palette of shades of custom colors
60
+ $custom-colors-palette: get-custom-colors-palette(
61
+ $custom-colors,
62
+ $levels,
63
+ $gamut,
64
+ $prefix
65
+ );
66
+
67
+ // 14.Combining a palette of shades
68
+ @if list.length(map.keys($custom-colors-palette)) >
69
+ 0 and
70
+ list.length(map.keys($preset-colors-palette)) ==
71
+ 0
72
+ {
73
+ $custom-colors-palette: map.merge($custom-colors-palette, $base-palette);
74
+ } @else if list.length(map.keys($preset-colors-palette)) > 0 {
75
+ $preset-colors-palette: map.merge($base-palette, $preset-colors-palette);
76
+ }
77
+ $custom-hues-count: list.length(map.keys($var-hues));
78
+ $custom-shades-count: list.length(map.keys($custom-colors-palette));
79
+ $preset-shades-count: list.length(map.keys($preset-colors-palette));
80
+ $palette: map.merge($custom-colors-palette, $preset-colors-palette);
81
+
82
+ // 15.Creating a root rule with custom property values
83
+ @if $root-rule {
84
+ :root {
85
+ @each $var-name, $default-hue in $var-hues {
86
+ @if $prefix {
87
+ $var-name: #{$prefix}-#{$var-name};
88
+ }
89
+ --#{$var-name}: #{$default-hue};
90
+ }
91
+ @each $color-name, $color-value in $palette {
92
+ @if $prefix {
93
+ $color-name: #{$prefix}-#{$color-name};
94
+ }
95
+ --#{$color-name}: #{$color-value};
96
+ }
97
+ }
98
+ }
99
+
100
+ // 16.Report on completed work
101
+ @debug get-report(
102
+ $custom-hues-count,
103
+ $custom-shades-count,
104
+ $preset-shades-count,
105
+ $root-rule
106
+ );