@progress/kendo-theme-core 5.12.1-dev.0 → 5.12.1-dev.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.
package/dist/all.scss CHANGED
@@ -2,1079 +2,83 @@
2
2
  // baka:source packages/core/scss/all.scss
3
3
 
4
4
  // #region @import "./index.import.scss"; -> packages/core/scss/index.import.scss
5
- // #region @import "./color-system/index.import.scss"; -> packages/core/scss/color-system/index.import.scss
6
- // #region @import "./_functions.import.scss"; -> packages/core/scss/color-system/_functions.import.scss
7
- @function k-generate-theme-variant( $variant, $matrix, $src-palette-name ) {
8
- $result: ();
9
-
10
- @each $ui-state, $indices in $matrix {
11
- $prefix: if( $ui-state == DEFAULT, "", "#{$ui-state}-" );
12
- $indices-count: k-list-length( $indices );
13
-
14
- $bg-prop: k-list-nth( $indices, 1 );
15
- $text-prop: k-list-nth( $indices, 2 );
16
- $border-prop: k-list-nth( $indices, 3 );
17
- $gradient-prop: if( $indices-count > 3, k-list-nth( $indices, 4 ), null );
18
- $shadow-prop: if( $indices-count > 4, k-list-nth( $indices, 5 ), null );
19
- $outline-prop: if( $indices-count > 5, k-list-nth( $indices, 6 ), null );
20
-
21
- // Take value from the palette only if it is a number
22
- $bg: if( k-meta-type-of( $bg-prop ) == number, k-get-theme-color( $src-palette-name, $bg-prop ), $bg-prop );
23
- $text: if( k-meta-type-of( $text-prop ) == number, k-get-theme-color( $src-palette-name, $text-prop ), $text-prop );
24
- $border: if( k-meta-type-of( $border-prop ) == number, k-get-theme-color( $src-palette-name, $border-prop ), $border-prop );
25
- $gradient: $gradient-prop;
26
- $shadow: $shadow-prop;
27
- $outline: $outline-prop;
28
-
29
- $result: k-map-merge($result, (
30
- // sass-lint:disable-block indentation
31
- #{$prefix}bg: $bg,
32
- #{$prefix}text: $text,
33
- #{$prefix}border: $border,
34
- #{$prefix}gradient: $gradient,
35
- #{$prefix}shadow: $shadow,
36
- #{$prefix}outline: $outline
37
- ));
38
- }
39
-
40
- $result: (
41
- #{$variant}: $result
42
- );
43
-
44
- @return $result;
45
-
46
- };
47
-
48
-
49
- @function k-process-variant-matrices( $theme-matrix, $palette-matrix: () ) {
50
- $result: ();
51
-
52
- // @debug $theme-matrix;
53
- // @debug $palette-matrix;
5
+ // #region @import "./functions/index.import.scss"; -> packages/core/scss/functions/index.import.scss
6
+ // #region @import "../_variables.scss"; -> packages/core/scss/_variables.scss
7
+ // Equilateral triangle variables
8
+ $equilateral-index: 1.7320508076 !default;
9
+ $equilateral-height: .8660254038 !default;
54
10
 
55
- @each $variant, $definition in $theme-matrix {
56
- $tc-index: k-string-index( $variant, "THEME_COLOR" );
57
- $src-palette-name: k-map-get( $definition, PALETTE );
58
- $matrix: k-map-remove( $definition, PALETTE );
11
+ // #endregion
59
12
 
60
- @if ($tc-index == null ) {
61
- $tmp-result: k-generate-theme-variant( $variant, $matrix, $src-palette-name );
62
- $result: k-map-merge( $result, $tmp-result);
63
- } @else {
64
- @each $color, $palette in $palette-matrix {
65
- $variant-name: k-string-replace( $variant, THEME_COLOR, $color);
66
- $palette-name: k-string-unquote($src-palette-name + "");
13
+ // #region @import "./_color.import.scss"; -> packages/core/scss/functions/_color.import.scss
14
+ @function k-color-alpha( $color ) {
15
+ @return alpha( $color );
16
+ }
67
17
 
68
- @if ($palette-name == THEME_COLOR) {
69
- $palette-name: k-string-replace( $palette-name, THEME_COLOR, $color );
70
- $palette-name: k-map-get( $palette-matrix, $palette-name );
71
- }
18
+ @function k-color-red( $color ) {
19
+ @return red( $color );
20
+ }
72
21
 
73
- $tmp-result: k-generate-theme-variant( $variant-name, $matrix, $palette-name );
74
- $result: k-map-merge( $result, $tmp-result );
75
- }
76
- }
77
- }
22
+ @function k-color-green( $color ) {
23
+ @return green( $color );
24
+ }
78
25
 
79
- @return $result;
26
+ @function k-color-blue( $color ) {
27
+ @return blue( $color );
80
28
  }
81
29
 
30
+ @function k-color-hue( $color ) {
31
+ @return hue( $color );
32
+ }
82
33
 
83
- @function k-get-theme-palette( $name ) {
84
- @return k-map-get( $kendo-palettes, $name );
34
+ @function k-color-saturation( $color ) {
35
+ @return saturation( $color );
85
36
  }
86
37
 
87
- @function k-get-theme-color( $palette, $hue ) {
88
- @if ( k-meta-type-of( $palette ) == "map" ) {
89
- @return k-map-get( $palette, $hue );
90
- }
38
+ @function k-color-lightness( $color ) {
39
+ @return lightness( $color );
40
+ }
91
41
 
92
- @return k-map-get( k-get-theme-palette( $palette ), $hue );
42
+ @function k-color-mix( $color1, $color2, $weight: 50% ) {
43
+ @return mix( $color1, $color2, $weight );
93
44
  }
94
45
 
95
- @function k-get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo-" ) {
96
- @return var( --#{$prefix}#{$name}, #{$fallback} );
46
+ @function k-color-darken( $color, $amount) {
47
+ @return darken( $color, $amount );
97
48
  }
98
49
 
99
- // #endregion
100
- // #region @import "./_mixins.import.scss"; -> packages/core/scss/color-system/_mixins.import.scss
50
+ @function k-color-lighten( $color, $amount) {
51
+ @return lighten( $color, $amount );
52
+ }
101
53
 
102
- // #endregion
103
- // #region @import "./_variables.scss"; -> packages/core/scss/color-system/_variables.scss
104
- // Color constants
105
- $white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
106
- $black: #000000; // stylelint-disable-line scss/dollar-variable-default
54
+ @function k-color-adjust-hue( $color, $degrees ) {
55
+ @return adjust-hue( $color, $degrees );
56
+ }
107
57
 
108
- $rgba-transparent: rgba( 0, 0, 0, 0 ); // stylelint-disable-line scss/dollar-variable-default
58
+ @function k-color-saturate( $color, $amount ) {
59
+ @return saturate( $color, $amount );
60
+ }
109
61
 
110
- $gradient-transparent-to-black: rgba( black, 0 ), black; // stylelint-disable-line scss/dollar-variable-default
111
- $gradient-transparent-to-white: rgba( white, 0 ), white; // stylelint-disable-line scss/dollar-variable-default
112
- $gradient-black-to-transparent: black, rgba( black, 0 ); // stylelint-disable-line scss/dollar-variable-default
113
- $gradient-white-to-transparent: white, rgba( white, 0 ); // stylelint-disable-line scss/dollar-variable-default
62
+ @function k-color-desaturate( $color, $amount ) {
63
+ @return desaturate( $color, $amount );
64
+ }
114
65
 
115
- $gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000; // stylelint-disable-line scss/dollar-variable-default
66
+ @function k-color-grayscale( $color ) {
67
+ @return grayscale( $color );
68
+ }
116
69
 
70
+ @function k-color-complement( $color ) {
71
+ @return complement( $color );
72
+ }
117
73
 
118
- /// Set a specific jump point for requesting color jumps
119
- /// @group color-system
120
- /// @access private
121
- $kendo-color-level-step: 8% !default;
74
+ @function k-color-invert( $color ) {
75
+ @return invert( $color );
76
+ }
122
77
 
123
78
  // #endregion
124
- // #region @import "./_palettes.scss"; -> packages/core/scss/color-system/_palettes.scss
125
- $kendo-palettes: (
126
-
127
- // Kendo
128
- neutral: (
129
- 0: #ffffff,
130
- 50: #f8f8f8,
131
- 100: #ededed,
132
- 200: #d6d6d6,
133
- 300: #b7b7b7,
134
- 400: #949494,
135
- 500: #767676,
136
- 600: #5f5f5f,
137
- 700: #494949,
138
- 800: #373737,
139
- 900: #282828,
140
- 1000: #000000
141
- ),
142
- marsala: (
143
- 0: #ffffff,
144
- 50: #faf0f2,
145
- 100: #f3dde0,
146
- 200: #e197a3,
147
- 300: #c54e69,
148
- 400: #8b3548,
149
- 500: #622331,
150
- 600: #551d2a,
151
- 700: #441620,
152
- 800: #340f17,
153
- 900: #23080e,
154
- 1000: #000000
155
- ),
156
-
157
-
158
- // Bootstrap
159
- bootstrapGray: (
160
- 0: #ffffff,
161
- 100: #f8f9fa,
162
- 200: #e9ecef,
163
- 300: #dee2e6,
164
- 400: #ced4da,
165
- 500: #adb5bd,
166
- 600: #6c757d,
167
- 700: #495057,
168
- 800: #343a40,
169
- 900: #212529,
170
- 1000: #000000
171
- ),
172
- bootstrapBlue: (
173
- 0: #ffffff,
174
- 100: #cfe2ff,
175
- 200: #9ec5fe,
176
- 300: #6ea8fe,
177
- 400: #3d8bfd,
178
- 500: #0d6efd,
179
- 600: #0a58ca,
180
- 700: #084298,
181
- 800: #052c65,
182
- 900: #031633,
183
- 1000: #000000
184
- ),
185
- bootstrapIndigo: (
186
- 0: #ffffff,
187
- 100: #e0cffc,
188
- 200: #c29ffa,
189
- 300: #a370f7,
190
- 400: #8540f5,
191
- 500: #6610f2,
192
- 600: #520dc2,
193
- 700: #3d0a91,
194
- 800: #290661,
195
- 900: #140330,
196
- 1000: #000000
197
- ),
198
- bootstrapPurple: (
199
- 0: #ffffff,
200
- 100: #e2d9f3,
201
- 200: #c5b3e6,
202
- 300: #a98eda,
203
- 400: #8c68cd,
204
- 500: #6f42c1,
205
- 600: #59359a,
206
- 700: #432874,
207
- 800: #2c1a4d,
208
- 900: #160d27,
209
- 1000: #000000
210
- ),
211
- bootstrapPink: (
212
- 0: #ffffff,
213
- 100: #f7d6e6,
214
- 200: #efadce,
215
- 300: #e685b5,
216
- 400: #de5c9d,
217
- 500: #d63384,
218
- 600: #ab296a,
219
- 700: #801f4f,
220
- 800: #561435,
221
- 900: #2b0a1a,
222
- 1000: #000000
223
- ),
224
- bootstrapRed: (
225
- 0: #ffffff,
226
- 100: #f8d7da,
227
- 200: #f1aeb5,
228
- 300: #ea868f,
229
- 400: #e35d6a,
230
- 500: #dc3545,
231
- 600: #b02a37,
232
- 700: #842029,
233
- 800: #58151c,
234
- 900: #2c0b0e,
235
- 1000: #000000
236
- ),
237
- bootstrapOrange: (
238
- 0: #ffffff,
239
- 100: #ffe5d0,
240
- 200: #fecba1,
241
- 300: #feb272,
242
- 400: #fd9843,
243
- 500: #fd7e14,
244
- 600: #ca6510,
245
- 700: #984c0c,
246
- 800: #653208,
247
- 900: #331904,
248
- 1000: #000000
249
- ),
250
- bootstrapYellow: (
251
- 0: #ffffff,
252
- 100: #fff3cd,
253
- 200: #ffe69c,
254
- 300: #ffda6a,
255
- 400: #ffcd39,
256
- 500: #ffc107,
257
- 600: #cc9a06,
258
- 700: #997404,
259
- 800: #664d03,
260
- 900: #332701,
261
- 1000: #000000
262
- ),
263
- bootstrapGreen: (
264
- 0: #ffffff,
265
- 100: #d1e7dd,
266
- 200: #a3cfbb,
267
- 300: #75b798,
268
- 400: #479f76,
269
- 500: #198754,
270
- 600: #146c43,
271
- 700: #0f5132,
272
- 800: #0a3622,
273
- 900: #051b11,
274
- 1000: #000000
275
- ),
276
- bootstrapTeal: (
277
- 0: #ffffff,
278
- 100: #d2f4ea,
279
- 200: #a6e9d5,
280
- 300: #79dfc1,
281
- 400: #4dd4ac,
282
- 500: #20c997,
283
- 600: #1aa179,
284
- 700: #13795b,
285
- 800: #0d503c,
286
- 900: #06281e,
287
- 1000: #000000
288
- ),
289
- bootstrapCyan: (
290
- 0: #ffffff,
291
- 100: #cff4fc,
292
- 200: #9eeaf9,
293
- 300: #6edff6,
294
- 400: #3dd5f3,
295
- 500: #0dcaf0,
296
- 600: #0aa2c0,
297
- 700: #087990,
298
- 800: #055160,
299
- 900: #032830,
300
- 1000: #000000
301
- ),
302
-
303
-
304
- // Fluent
305
- fluentNeutral: (
306
- 0: #ffffff,
307
- 50: #faf9f8,
308
- 100: #edebe9,
309
- 150: #e1dfdd,
310
- 200: #d2d0ce,
311
- 250: #c8c6c4,
312
- 300: #bdbbb8,
313
- 350: #b3b0ad,
314
- 400: #a19f9d,
315
- 450: #8a8886,
316
- 500: #797775,
317
- 550: #605e5c,
318
- 600: #484644,
319
- 650: #3b3a39,
320
- 700: #323130,
321
- 750: #292827,
322
- 800: #201f1e,
323
- 850: #1b1a19,
324
- 900: #161514,
325
- 950: #11100f,
326
- 1000: #000000
327
- ),
328
-
329
-
330
- // Material
331
- materialGray: (
332
- 0: #ffffff,
333
- 50: #fafafa,
334
- 100: #f5f5f5,
335
- 200: #eeeeee,
336
- 300: #e0e0e0,
337
- 400: #bdbdbd,
338
- 500: #9e9e9e,
339
- 600: #757575,
340
- 700: #616161,
341
- 800: #424242,
342
- 900: #212121,
343
- 1000: #000000
344
- ),
345
- materialBlueGray: (
346
- 0: #ffffff,
347
- 50: #eceff1,
348
- 100: #cfd8dc,
349
- 200: #b0bec5,
350
- 300: #90a4ae,
351
- 400: #78909c,
352
- 500: #607d8b,
353
- 600: #546e7a,
354
- 700: #455a64,
355
- 800: #37474f,
356
- 900: #263238,
357
- 1000: #000000
358
- ),
359
- materialRed: (
360
- 0: #ffffff,
361
- 50: #ffebee,
362
- 100: #ffcdd2,
363
- 200: #ef9a9a,
364
- 300: #e57373,
365
- 400: #ef5350,
366
- 500: #f44336,
367
- 600: #e53935,
368
- 700: #d32f2f,
369
- 800: #c62828,
370
- 900: #b71c1c,
371
- 1000: #000000
372
- ),
373
- materialPink: (
374
- 0: #ffffff,
375
- 50: #fce4ec,
376
- 100: #f8bbd0,
377
- 200: #f48fb1,
378
- 300: #f06292,
379
- 400: #ec407a,
380
- // 500 was #e91e63, but changed for better contrast against white
381
- 500: #e51a5f,
382
- 600: #d81b60,
383
- 700: #c2185b,
384
- 800: #ad1457,
385
- 900: #880e4f,
386
- 1000: #000000
387
- ),
388
- materialPurple: (
389
- 0: #ffffff,
390
- 50: #f3e5f5,
391
- 100: #e1bee7,
392
- 200: #ce93d8,
393
- 300: #ba68c8,
394
- 400: #ab47bc,
395
- 500: #9c27b0,
396
- 600: #8e24aa,
397
- 700: #7b1fa2,
398
- 800: #6a1b9a,
399
- 900: #4a148c,
400
- 1000: #000000
401
- ),
402
- materialDeepPurple: (
403
- 0: #ffffff,
404
- 50: #ede7f6,
405
- 100: #d1c4e9,
406
- 200: #b39ddb,
407
- 300: #9575cd,
408
- 400: #7e57c2,
409
- 500: #673ab7,
410
- 600: #5e35b1,
411
- 700: #512da8,
412
- 800: #4527a0,
413
- 900: #311b92,
414
- 1000: #000000
415
- ),
416
- materialIndigo: (
417
- 0: #ffffff,
418
- 50: #e8eaf6,
419
- 100: #c5cae9,
420
- 200: #9fa8da,
421
- 300: #7986cb,
422
- 400: #5c6bc0,
423
- 500: #3f51b5,
424
- 600: #3949ab,
425
- 700: #303f9f,
426
- 800: #283593,
427
- 900: #1a237e,
428
- 1000: #000000
429
- ),
430
- materialBlue: (
431
- 0: #ffffff,
432
- 50: #e3f2fd,
433
- 100: #bbdefb,
434
- 200: #90caf9,
435
- 300: #64b5f6,
436
- 400: #42a5f5,
437
- 500: #2196f3,
438
- 600: #1e88e5,
439
- 700: #1976d2,
440
- 800: #1565c0,
441
- 900: #0d47a1,
442
- 1000: #000000
443
- ),
444
- materialLightBlue: (
445
- 0: #ffffff,
446
- 50: #e1f5fe,
447
- 100: #b3e5fc,
448
- 200: #81d4fa,
449
- 300: #4fc3f7,
450
- 400: #29b6f6,
451
- 500: #03a9f4,
452
- 600: #039be5,
453
- 700: #0288d1,
454
- 800: #0277bd,
455
- 900: #01579b,
456
- 1000: #000000
457
- ),
458
- materialCyan: (
459
- 0: #ffffff,
460
- 50: #e0f7fa,
461
- 100: #b2ebf2,
462
- 200: #80deea,
463
- 300: #4dd0e1,
464
- 400: #26c6da,
465
- 500: #00bcd4,
466
- 600: #00acc1,
467
- 700: #0097a7,
468
- 800: #00838f,
469
- 900: #006064,
470
- 1000: #000000
471
- ),
472
- materialTeal: (
473
- 0: #ffffff,
474
- 50: #e0f2f1,
475
- 100: #b2dfdb,
476
- 200: #80cbc4,
477
- 300: #4db6ac,
478
- 400: #26a69a,
479
- 500: #009688,
480
- 600: #00897b,
481
- 700: #00796b,
482
- 800: #00695c,
483
- 900: #004d40,
484
- 1000: #000000
485
- ),
486
- materialGreen: (
487
- 0: #ffffff,
488
- 50: #e8f5e9,
489
- 100: #c8e6c9,
490
- 200: #a5d6a7,
491
- 300: #81c784,
492
- 400: #66bb6a,
493
- 500: #4caf50,
494
- 600: #43a047,
495
- 700: #388e3c,
496
- 800: #2e7d32,
497
- 900: #1b5e20,
498
- 1000: #000000
499
- ),
500
- materialLightGreen: (
501
- 0: #ffffff,
502
- 50: #f1f8e9,
503
- 100: #dcedc8,
504
- 200: #c5e1a5,
505
- 300: #aed581,
506
- 400: #9ccc65,
507
- 500: #8bc34a,
508
- 600: #7cb342,
509
- 700: #689f38,
510
- 800: #558b2f,
511
- 900: #33691e,
512
- 1000: #000000
513
- ),
514
- materialLime: (
515
- 0: #ffffff,
516
- 50: #f9fbe7,
517
- 100: #f0f4c3,
518
- 200: #e6ee9c,
519
- 300: #dce775,
520
- 400: #d4e157,
521
- 500: #cddc39,
522
- 600: #c0ca33,
523
- 700: #afb42b,
524
- 800: #9e9d24,
525
- 900: #827717,
526
- 1000: #000000
527
- ),
528
- materialYellow: (
529
- 0: #ffffff,
530
- 50: #fffde7,
531
- 100: #fff9c4,
532
- 200: #fff59d,
533
- 300: #fff176,
534
- 400: #ffee58,
535
- 500: #ffeb3b,
536
- 600: #fdd835,
537
- 700: #fbc02d,
538
- 800: #f9a825,
539
- 900: #f57f17,
540
- 1000: #000000
541
- ),
542
- materialAmber: (
543
- 0: #ffffff,
544
- 50: #fff8e1,
545
- 100: #ffecb3,
546
- 200: #ffe082,
547
- 300: #ffd54f,
548
- 400: #ffca28,
549
- 500: #ffc107,
550
- 600: #ffb300,
551
- 700: #ffa000,
552
- 800: #ff8f00,
553
- 900: #ff6f00,
554
- 1000: #000000
555
- ),
556
- materialOrange: (
557
- 0: #ffffff,
558
- 50: #fff3e0,
559
- 100: #ffe0b2,
560
- 200: #ffcc80,
561
- 300: #ffb74d,
562
- 400: #ffa726,
563
- 500: #ff9800,
564
- 600: #fb8c00,
565
- 700: #f57c00,
566
- 800: #ef6c00,
567
- 900: #e65100,
568
- 1000: #000000
569
- ),
570
- materialDeepOrange: (
571
- 0: #ffffff,
572
- 50: #fbe9e7,
573
- 100: #ffccbc,
574
- 200: #ffab91,
575
- 300: #ff8a65,
576
- 400: #ff7043,
577
- 500: #ff5722,
578
- 600: #f4511e,
579
- 700: #e64a19,
580
- 800: #d84315,
581
- 900: #bf360c,
582
- 1000: #000000
583
- ),
584
- materialBrown: (
585
- 0: #ffffff,
586
- 50: #efebe9,
587
- 100: #d7ccc8,
588
- 200: #bcaaa4,
589
- 300: #a1887f,
590
- 400: #8d6e63,
591
- 500: #795548,
592
- 600: #6d4c41,
593
- 700: #5d4037,
594
- 800: #4e342e,
595
- 900: #3e2723,
596
- 1000: #000000
597
- ),
598
-
599
-
600
- // Primer
601
- primerGray: (
602
- 0: #ffffff,
603
- 50: #f6f8fa,
604
- 100: #eaeef2,
605
- 200: #d0d7de,
606
- 300: #afb8c1,
607
- 400: #8c959f,
608
- 500: #6e7781,
609
- 600: #57606a,
610
- 700: #424a53,
611
- 800: #32383f,
612
- 900: #24292f,
613
- 1000: #000000
614
- ),
615
- primerBlue: (
616
- 0: #ffffff,
617
- 50: #ddf4ff,
618
- 100: #b6e3ff,
619
- 200: #80ccff,
620
- 300: #54aeff,
621
- 400: #218bff,
622
- 500: #0969da,
623
- 600: #0550ae,
624
- 700: #033d8b,
625
- 800: #0a3069,
626
- 900: #002155,
627
- 1000: #000000
628
- ),
629
- primerGreen: (
630
- 0: #ffffff,
631
- 50: #dafbe1,
632
- 100: #aceebb,
633
- 200: #6fdd8b,
634
- 300: #4ac26b,
635
- 400: #2da44e,
636
- 500: #1a7f37,
637
- 600: #116329,
638
- 700: #044f1e,
639
- 800: #003d16,
640
- 900: #002d11,
641
- 1000: #000000
642
- ),
643
- primerYellow: (
644
- 0: #ffffff,
645
- 50: #fff8c5,
646
- 100: #fae17d,
647
- 200: #eac54f,
648
- 300: #d4a72c,
649
- 400: #bf8700,
650
- 500: #9a6700,
651
- 600: #7d4e00,
652
- 700: #633c01,
653
- 800: #4d2d00,
654
- 900: #3b2300,
655
- 1000: #000000
656
- ),
657
- primerOrange: (
658
- 0: #ffffff,
659
- 50: #fff1e5,
660
- 100: #ffd8b5,
661
- 200: #ffb77c,
662
- 300: #fb8f44,
663
- 400: #e16f24,
664
- 500: #bc4c00,
665
- 600: #953800,
666
- 700: #762c00,
667
- 800: #5c2200,
668
- 900: #471700,
669
- 1000: #000000
670
- ),
671
- primerRed: (
672
- 0: #ffffff,
673
- 50: #ffebe9,
674
- 100: #ffcecb,
675
- 200: #ffaba8,
676
- 300: #ff8182,
677
- 400: #fa4549,
678
- 500: #cf222e,
679
- 600: #a40e26,
680
- 700: #82071e,
681
- 800: #660018,
682
- 900: #4c0014,
683
- 1000: #000000
684
- ),
685
- primerPurple: (
686
- 0: #ffffff,
687
- 50: #fbefff,
688
- 100: #ecd8ff,
689
- 200: #d8b9ff,
690
- 300: #c297ff,
691
- 400: #a475f9,
692
- 500: #8250df,
693
- 600: #6639ba,
694
- 700: #512a97,
695
- 800: #3e1f79,
696
- 900: #2e1461,
697
- 1000: #000000
698
- ),
699
- primerPink: (
700
- 0: #ffffff,
701
- 50: #ffeff7,
702
- 100: #ffd3eb,
703
- 200: #ffadda,
704
- 300: #ff80c8,
705
- 400: #e85aad,
706
- 500: #bf3989,
707
- 600: #99286e,
708
- 700: #772057,
709
- 800: #611347,
710
- 900: #4d0336,
711
- 1000: #000000
712
- ),
713
- primerCoral: (
714
- 0: #ffffff,
715
- 50: #fff0eb,
716
- 100: #ffd6cc,
717
- 200: #ffb4a1,
718
- 300: #fd8c73,
719
- 400: #ec6547,
720
- 500: #c4432b,
721
- 600: #9e2f1c,
722
- 700: #801f0f,
723
- 800: #691105,
724
- 900: #510901,
725
- 1000: #000000
726
- ),
727
-
728
-
729
- // Tailwind
730
- tailwindNeutral: (
731
- 0: #ffffff,
732
- 50: #fafafa,
733
- 100: #f5f5f5,
734
- 200: #e5e5e5,
735
- 300: #d4d4d4,
736
- 400: #a3a3a3,
737
- 500: #737373,
738
- 600: #525252,
739
- 700: #404040,
740
- 800: #262626,
741
- 900: #171717,
742
- 1000: #000000
743
- ),
744
- tailwindSlate: (
745
- 0: #ffffff,
746
- 50: #f8fafc,
747
- 100: #f1f5f9,
748
- 200: #e2e8f0,
749
- 300: #cbd5e1,
750
- 400: #94a3b8,
751
- 500: #64748b,
752
- 600: #475569,
753
- 700: #334155,
754
- 800: #1e293b,
755
- 900: #0f172a,
756
- 1000: #000000
757
- ),
758
- tailwindGray: (
759
- 0: #ffffff,
760
- 50: #f9fafb,
761
- 100: #f3f4f6,
762
- 200: #e5e7eb,
763
- 300: #d1d5db,
764
- 400: #9ca3af,
765
- 500: #6b7280,
766
- 600: #4b5563,
767
- 700: #374151,
768
- 800: #1f2937,
769
- 900: #111827,
770
- 1000: #000000
771
- ),
772
- tailwindZinc: (
773
- 0: #ffffff,
774
- 50: #fafafa,
775
- 100: #f4f4f5,
776
- 200: #e4e4e7,
777
- 300: #d4d4d8,
778
- 400: #a1a1aa,
779
- 500: #71717a,
780
- 600: #52525b,
781
- 700: #3f3f46,
782
- 800: #27272a,
783
- 900: #18181b,
784
- 1000: #000000
785
- ),
786
- tailwindStone: (
787
- 0: #ffffff,
788
- 50: #fafaf9,
789
- 100: #f5f5f4,
790
- 200: #e7e5e4,
791
- 300: #d6d3d1,
792
- 400: #a8a29e,
793
- 500: #78716c,
794
- 600: #57534e,
795
- 700: #44403c,
796
- 800: #292524,
797
- 900: #1c1917,
798
- 1000: #000000
799
- ),
800
- tailwindRed: (
801
- 0: #ffffff,
802
- 50: #fef2f2,
803
- 100: #fee2e2,
804
- 200: #fecaca,
805
- 300: #fca5a5,
806
- 400: #f87171,
807
- 500: #ef4444,
808
- 600: #dc2626,
809
- 700: #b91c1c,
810
- 800: #991b1b,
811
- 900: #7f1d1d,
812
- 1000: #000000
813
- ),
814
- tailwindOrange: (
815
- 0: #ffffff,
816
- 50: #fff7ed,
817
- 100: #ffedd5,
818
- 200: #fed7aa,
819
- 300: #fdba74,
820
- 400: #fb923c,
821
- 500: #f97316,
822
- 600: #ea580c,
823
- 700: #c2410c,
824
- 800: #9a3412,
825
- 900: #7c2d12,
826
- 1000: #000000
827
- ),
828
- tailwindAmber: (
829
- 0: #ffffff,
830
- 50: #fffbeb,
831
- 100: #fef3c7,
832
- 200: #fde68a,
833
- 300: #fcd34d,
834
- 400: #fbbf24,
835
- 500: #f59e0b,
836
- 600: #d97706,
837
- 700: #b45309,
838
- 800: #92400e,
839
- 900: #78350f,
840
- 1000: #000000
841
- ),
842
- tailwindYellow: (
843
- 0: #ffffff,
844
- 50: #fefce8,
845
- 100: #fef9c3,
846
- 200: #fef08a,
847
- 300: #fde047,
848
- 400: #facc15,
849
- 500: #eab308,
850
- 600: #ca8a04,
851
- 700: #a16207,
852
- 800: #854d0e,
853
- 900: #713f12,
854
- 1000: #000000
855
- ),
856
- tailwindLime: (
857
- 0: #ffffff,
858
- 50: #f7fee7,
859
- 100: #ecfccb,
860
- 200: #d9f99d,
861
- 300: #bef264,
862
- 400: #a3e635,
863
- 500: #84cc16,
864
- 600: #65a30d,
865
- 700: #4d7c0f,
866
- 800: #3f6212,
867
- 900: #365314,
868
- 1000: #000000
869
- ),
870
- tailwindGreen: (
871
- 0: #ffffff,
872
- 50: #f0fdf4,
873
- 100: #dcfce7,
874
- 200: #bbf7d0,
875
- 300: #86efac,
876
- 400: #4ade80,
877
- 500: #22c55e,
878
- 600: #16a34a,
879
- 700: #15803d,
880
- 800: #166534,
881
- 900: #14532d,
882
- 1000: #000000
883
- ),
884
- tailwindEmerald: (
885
- 0: #ffffff,
886
- 50: #ecfdf5,
887
- 100: #d1fae5,
888
- 200: #a7f3d0,
889
- 300: #6ee7b7,
890
- 400: #34d399,
891
- 500: #10b981,
892
- 600: #059669,
893
- 700: #047857,
894
- 800: #065f46,
895
- 900: #064e3b,
896
- 1000: #000000
897
- ),
898
- tailwindTeal: (
899
- 0: #ffffff,
900
- 50: #f0fdfa,
901
- 100: #ccfbf1,
902
- 200: #99f6e4,
903
- 300: #5eead4,
904
- 400: #2dd4bf,
905
- 500: #14b8a6,
906
- 600: #0d9488,
907
- 700: #0f766e,
908
- 800: #115e59,
909
- 900: #134e4a,
910
- 1000: #000000
911
- ),
912
- tailwindCyan: (
913
- 0: #ffffff,
914
- 50: #ecfeff,
915
- 100: #cffafe,
916
- 200: #a5f3fc,
917
- 300: #67e8f9,
918
- 400: #22d3ee,
919
- 500: #06b6d4,
920
- 600: #0891b2,
921
- 700: #0e7490,
922
- 800: #155e75,
923
- 900: #164e63,
924
- 1000: #000000
925
- ),
926
- tailwindSky: (
927
- 0: #ffffff,
928
- 50: #f0f9ff,
929
- 100: #e0f2fe,
930
- 200: #bae6fd,
931
- 300: #7dd3fc,
932
- 400: #38bdf8,
933
- 500: #0ea5e9,
934
- 600: #0284c7,
935
- 700: #0369a1,
936
- 800: #075985,
937
- 900: #0c4a6e,
938
- 1000: #000000
939
- ),
940
- tailwindBlue: (
941
- 0: #ffffff,
942
- 50: #eff6ff,
943
- 100: #dbeafe,
944
- 200: #bfdbfe,
945
- 300: #93c5fd,
946
- 400: #60a5fa,
947
- 500: #3b82f6,
948
- 600: #2563eb,
949
- 700: #1d4ed8,
950
- 800: #1e40af,
951
- 900: #1e3a8a,
952
- 1000: #000000
953
- ),
954
- tailwindIndigo: (
955
- 0: #ffffff,
956
- 50: #eef2ff,
957
- 100: #e0e7ff,
958
- 200: #c7d2fe,
959
- 300: #a5b4fc,
960
- 400: #818cf8,
961
- 500: #6366f1,
962
- 600: #4f46e5,
963
- 700: #4338ca,
964
- 800: #3730a3,
965
- 900: #312e81,
966
- 1000: #000000
967
- ),
968
- tailwindViolet: (
969
- 0: #ffffff,
970
- 50: #f5f3ff,
971
- 100: #ede9fe,
972
- 200: #ddd6fe,
973
- 300: #c4b5fd,
974
- 400: #a78bfa,
975
- 500: #8b5cf6,
976
- 600: #7c3aed,
977
- 700: #6d28d9,
978
- 800: #5b21b6,
979
- 900: #4c1d95,
980
- 1000: #000000
981
- ),
982
- tailwindPurple: (
983
- 0: #ffffff,
984
- 50: #faf5ff,
985
- 100: #f3e8ff,
986
- 200: #e9d5ff,
987
- 300: #d8b4fe,
988
- 400: #c084fc,
989
- 500: #a855f7,
990
- 600: #9333ea,
991
- 700: #7e22ce,
992
- 800: #6b21a8,
993
- 900: #581c87,
994
- 1000: #000000
995
- ),
996
- tailwindFuchsia: (
997
- 0: #ffffff,
998
- 50: #fdf4ff,
999
- 100: #fae8ff,
1000
- 200: #f5d0fe,
1001
- 300: #f0abfc,
1002
- 400: #e879f9,
1003
- 500: #d946ef,
1004
- 600: #c026d3,
1005
- 700: #a21caf,
1006
- 800: #86198f,
1007
- 900: #701a75,
1008
- 1000: #000000
1009
- ),
1010
- tailwindPink: (
1011
- 0: #ffffff,
1012
- 50: #fdf2f8,
1013
- 100: #fce7f3,
1014
- 200: #fbcfe8,
1015
- 300: #f9a8d4,
1016
- 400: #f472b6,
1017
- 500: #ec4899,
1018
- 600: #db2777,
1019
- 700: #be185d,
1020
- 800: #9d174d,
1021
- 900: #831843,
1022
- 1000: #000000
1023
- ),
1024
- tailwindRose: (
1025
- 0: #ffffff,
1026
- 50: #fff1f2,
1027
- 100: #ffe4e6,
1028
- 200: #fecdd3,
1029
- 300: #fda4af,
1030
- 400: #fb7185,
1031
- 500: #f43f5e,
1032
- 600: #e11d48,
1033
- 700: #be123c,
1034
- 800: #9f1239,
1035
- 900: #881337,
1036
- 1000: #000000
1037
- )
1038
-
1039
- ) !default;
1040
-
1041
- // #endregion
1042
-
1043
- // #endregion
1044
- // #region @import "./functions/index.import.scss"; -> packages/core/scss/functions/index.import.scss
1045
- // #region @import "_color.import.scss"; -> packages/core/scss/functions/_color.import.scss
1046
- @function k-color-alpha( $color ) {
1047
- @return alpha( $color );
1048
- }
1049
-
1050
- @function k-color-red( $color ) {
1051
- @return red( $color );
1052
- }
1053
-
1054
- @function k-color-green( $color ) {
1055
- @return green( $color );
1056
- }
1057
-
1058
- @function k-color-blue( $color ) {
1059
- @return blue( $color );
1060
- }
1061
-
1062
- @function k-color-mix( $color1, $color2, $weight: 50% ) {
1063
- @return mix( $color1, $color2, $weight );
1064
- }
1065
-
1066
- @function k-color-darken( $color, $amount) {
1067
- @return darken( $color, $amount );
1068
- }
1069
-
1070
- @function k-color-lighten( $color, $amount) {
1071
- @return lighten( $color, $amount );
1072
- }
1073
-
1074
- // #endregion
1075
- // #region @import "_color-contrast.import.scss"; -> packages/core/scss/functions/_color-contrast.import.scss
1076
- // Adapted from https://gist.github.com/sgomes/ccc72f71137fe29039c92c0a9fe9b657
1077
- // Adapted from https://github.com/twbs/bootstrap/commit/03908ea37a55eaa44c12ce5694dddc1630c980b3
79
+ // #region @import "./_color-contrast.import.scss"; -> packages/core/scss/functions/_color-contrast.import.scss
80
+ // Adapted from https://gist.github.com/sgomes/ccc72f71137fe29039c92c0a9fe9b657
81
+ // Adapted from https://github.com/twbs/bootstrap/commit/03908ea37a55eaa44c12ce5694dddc1630c980b3
1078
82
 
1079
83
  // Precomputed linear color channel values, for use in contrast calculations.
1080
84
  // See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
@@ -1407,8 +411,32 @@ $wcag-light: white !default;
1407
411
  @return $max-ratio-color;
1408
412
  }
1409
413
 
414
+
415
+ // Legacy functions
416
+ @function k-yiq-luma-information($color) {
417
+ $r: k-color-red($color);
418
+ $g: k-color-green($color);
419
+ $b: k-color-blue($color);
420
+
421
+ $yiq: k-math-div( (($r * 299) + ($g * 587) + ($b * 114)), 1000 );
422
+
423
+ @return $yiq;
424
+ }
425
+ @function k-contrast-yiq($color, $dark: $yiq-dark, $light: $yiq-light) {
426
+ $yiq: k-yiq-luma-information($color);
427
+ $out: if($yiq >= $yiq-threshold, $dark, $light);
428
+ // @debug yiq;
429
+ @return $out;
430
+ }
431
+ @function k-contrast-legacy($color, $dark: $wcag-dark, $light: $wcag-light) {
432
+ $luma: k-color-luminance($color);
433
+ $out: if($luma < .5, $light, $dark);
434
+ // @debug $luma;
435
+ @return $out;
436
+ }
437
+
1410
438
  // #endregion
1411
- // #region @import "_color-manipulation.import.scss"; -> packages/core/scss/functions/_color-manipulation.import.scss
439
+ // #region @import "./_color-manipulation.import.scss"; -> packages/core/scss/functions/_color-manipulation.import.scss
1412
440
  /// Set a specific jump point for requesting color jumps
1413
441
  /// @group color-system
1414
442
  /// @access private
@@ -1439,18 +467,18 @@ $kendo-color-level-step: 8% !default;
1439
467
  }
1440
468
 
1441
469
  @function k-try-shade( $color, $level: 1 ) {
1442
- $dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
470
+ $_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
1443
471
 
1444
- @if $dark-theme {
472
+ @if $_dark-theme {
1445
473
  @return k-color-tint( $color, $level );
1446
474
  }
1447
475
 
1448
476
  @return k-color-shade( $color, $level );
1449
477
  }
1450
478
  @function k-try-tint( $color, $level: 1 ) {
1451
- $dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
479
+ $_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
1452
480
 
1453
- @if $dark-theme {
481
+ @if $_dark-theme {
1454
482
  @return k-color-shade( $color, $level );
1455
483
  }
1456
484
 
@@ -1459,18 +487,18 @@ $kendo-color-level-step: 8% !default;
1459
487
 
1460
488
 
1461
489
  @function k-try-darken( $color, $amount ) {
1462
- $dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
490
+ $_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
1463
491
 
1464
- @if $dark-theme {
492
+ @if $_dark-theme {
1465
493
  @return k-color-lighten( $color, $amount );
1466
494
  }
1467
495
  @return k-color-darken( $color, $amount );
1468
496
  }
1469
497
 
1470
498
  @function k-try-lighten( $color, $amount ) {
1471
- $dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
499
+ $_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
1472
500
 
1473
- @if $dark-theme {
501
+ @if $_dark-theme {
1474
502
  @return k-color-darken( $color, $amount );
1475
503
  }
1476
504
  @return k-color-lighten( $color, $amount );
@@ -1488,7 +516,7 @@ $kendo-color-level-step: 8% !default;
1488
516
  }
1489
517
 
1490
518
  // #endregion
1491
- // #region @import "_custom-properties.import.scss"; -> packages/core/scss/functions/_custom-properties.import.scss
519
+ // #region @import "./_custom-properties.import.scss"; -> packages/core/scss/functions/_custom-properties.import.scss
1492
520
  @function k-var( $prefix: kendo-, $var: null, $fallback: null ) {
1493
521
  $_prefix: $prefix;
1494
522
  $_var: $var;
@@ -1528,13 +556,57 @@ $kendo-color-level-step: 8% !default;
1528
556
  }
1529
557
 
1530
558
  // #endregion
1531
- // #region @import "_lang.import.scss"; -> packages/core/scss/functions/_lang.import.scss
559
+ // #region @import "./_escape-string.import.scss"; -> packages/core/scss/functions/_escape-string.import.scss
560
+ $_kendo-svg-escaped-characters: (
561
+ ("%", "%25"),
562
+ ("<", "%3c"),
563
+ (">", "%3e"),
564
+ ("#", "%23"),
565
+ ("(", "%28"),
566
+ (")", "%29")
567
+ ) !default;
568
+
569
+ // See https://codepen.io/kevinweber/pen/dXWoRw
570
+ @function k-escape-svg($string) {
571
+ @if k-string-index($string, "data:image/svg+xml") {
572
+ @each $char, $encoded in $_kendo-svg-escaped-characters {
573
+ // Do not escape the url brackets
574
+ @if k-string-index($string, "url(") == 1 {
575
+ $string: url("#{k-string-replace(k-string-slice($string, 6, -3), $char, $encoded)}");
576
+ } @else {
577
+ $string: k-string-replace($string, $char, $encoded);
578
+ }
579
+ }
580
+ }
581
+
582
+ @return $string;
583
+ }
584
+
585
+
586
+
587
+ $_kendo-escape-class-name: (
588
+ ".": "\\.",
589
+ "/": "\\/"
590
+ );
591
+
592
+ @function k-escape-class-name( $text ) {
593
+ $_text: $text;
594
+
595
+ @each $char, $rep in $_kendo-escape-class-name {
596
+ $_text: k-string-replace( $_text, k-string-unquote( $char ), k-string-unquote( $rep ) );
597
+ }
598
+
599
+ @return $_text;
600
+ }
601
+
602
+ // #endregion
603
+ // #region @import "./_lang.import.scss"; -> packages/core/scss/functions/_lang.import.scss
1532
604
  @function k-if-var( $var, $fallback ) {
1533
605
  @return if( $var != null, $var, $fallback );
1534
606
  }
1535
607
 
1536
608
  // #endregion
1537
- // #region @import "_list.import.scss"; -> packages/core/scss/functions/_list.import.scss
609
+ // #region @import "./_list.import.scss"; -> packages/core/scss/functions/_list.import.scss
1538
610
  @function k-list-append( $list, $val, $separator: auto ) {
1539
611
  @return append( $list, $val, $separator );
1540
612
  }
@@ -1594,7 +666,7 @@ $kendo-color-level-step: 8% !default;
1594
666
  }
1595
667
 
1596
668
  // #endregion
1597
- // #region @import "_math.import.scss"; -> packages/core/scss/functions/_math.import.scss
669
+ // #region @import "./_math.import.scss"; -> packages/core/scss/functions/_math.import.scss
1598
670
  @function k-math-abs( $number ) {
1599
671
  @return abs( $number );
1600
672
  }
@@ -1660,6 +732,10 @@ $kendo-color-level-step: 8% !default;
1660
732
 
1661
733
  }
1662
734
 
735
+ @function k-math-percentage( $number ) {
736
+ @return percentage( $number );
737
+ }
738
+
1663
739
  @function k-math-random( $limit: null ) {
1664
740
  @if ( $limit == null ) {
1665
741
  @return random();
@@ -1692,7 +768,7 @@ $kendo-color-level-step: 8% !default;
1692
768
  }
1693
769
 
1694
770
  // #endregion
1695
- // #region @import "_map.import.scss"; -> packages/core/scss/functions/_map.import.scss
771
+ // #region @import "./_map.import.scss"; -> packages/core/scss/functions/_map.import.scss
1696
772
  @function k-map-get( $map, $keys... ) {
1697
773
  @each $key in $keys {
1698
774
  $map: map-get( $map, $key );
@@ -1728,109 +804,1170 @@ $kendo-color-level-step: 8% !default;
1728
804
  }
1729
805
 
1730
806
  // #endregion
1731
- // #region @import "_meta.import.scss"; -> packages/core/scss/functions/_meta.import.scss
807
+ // #region @import "./_meta.import.scss"; -> packages/core/scss/functions/_meta.import.scss
1732
808
  // Adapted from https://css-tricks.com/snippets/sass/advanced-type-checking/
1733
809
 
1734
- @function k-meta-type-of( $value ) {
1735
- @return type-of( $value );
1736
- }
810
+ @function k-meta-call( $function, $args... ) {
811
+ @return call( $function, $args... );
812
+ }
813
+
814
+ @function k-meta-function-exists( $name ) {
815
+ @return function-exists( $name );
816
+ }
817
+
818
+ @function k-meta-get-function( $name, $args... ) {
819
+ @return get-function( $name, $args... );
820
+ }
821
+
822
+ @function k-meta-inspect( $value ) {
823
+ @return inspect( $value );
824
+ }
825
+
826
+ @function k-meta-keywords( $args ) {
827
+ @return keywords( $args );
828
+ }
829
+
830
+ @function k-meta-type-of( $value ) {
831
+ @return type-of( $value );
832
+ }
833
+
834
+ @function k-meta-variable-exists( $name ) {
835
+ @return variable-exists( $name );
836
+ }
837
+
838
+ @function k-meta-is-number( $value ) {
839
+ @return k-meta-type-of( $value ) == "number";
840
+ }
841
+
842
+ @function k-meta-is-integer( $value ) {
843
+ @return k-meta-is-number( $value ) and k-math-round( $value ) == $value;
844
+ }
845
+
846
+ @function k-meta-is-time( $value ) {
847
+ @return k-meta-is-number( $value ) and k-string-index( "ms" "s", k-math-unit( $value ) ) != null;
848
+ }
849
+
850
+ @function k-meta-is-duration( $value ) {
851
+ @return k-meta-is-time( $value );
852
+ }
853
+
854
+ @function k-meta-is-angle( $value ) {
855
+ @return k-meta-is-number( $value ) and k-string-index( "deg" "rad" "grad" "turn", k-math-unit( $value ) ) != null;
856
+ }
857
+
858
+ @function k-meta-is-frequency( $value ) {
859
+ @return k-meta-is-number( $value ) and k-string-index( "Hz" "kHz", k-math-unit( $value ) ) != null;
860
+ }
861
+
862
+ @function k-meta-is-relative-length( $value ) {
863
+ @return k-meta-is-number( $value ) and k-string-index( "em" "ex" "ch" "rem" "vw" "vh" "vmin" "vmax", k-math-unit( $value ) ) != null;
864
+ }
865
+
866
+ @function k-meta-is-absolute-length( $value ) {
867
+ @return k-meta-is-number( $value ) and k-string-index( "cm" "mm" "in" "px" "pt" "pc", k-math-unit( $value ) ) != null;
868
+ }
869
+
870
+ @function k-meta-is-percentage( $value ) {
871
+ @return k-meta-is-number( $value ) and k-math-unit( $value ) == "%";
872
+ }
873
+
874
+ @function k-meta-is-length( $value ) {
875
+ @return k-meta-is-relative-length( $value ) or k-meta-is-absolute-length( $value );
876
+ }
877
+
878
+ @function k-meta-is-resolution( $value ) {
879
+ @return k-meta-is-number( $value ) and k-string-index( "dpi" "dpcm" "dppx", k-math-unit( $value ) ) != null;
880
+ }
881
+
882
+ @function k-meta-is-position( $value ) {
883
+ @return k-meta-is-length( $value ) or k-meta-is-percentage( $value ) or k-string-index( "top" "right" "bottom" "left" "center", $value ) != null;
884
+ }
885
+
886
+ // #endregion
887
+ // #region @import "./_string.import.scss"; -> packages/core/scss/functions/_string.import.scss
888
+ @function k-string-index( $string, $substring ) {
889
+ @return str-index( $string, $substring );
890
+ }
891
+
892
+ @function k-string-insert( $string, $insert, $index ) {
893
+ @return str-insert( $string, $insert, $index );
894
+ }
895
+
896
+ @function k-string-length( $string ) {
897
+ @return str-length( $string );
898
+ }
899
+
900
+ @function k-string-quote( $string ) {
901
+ @return quote( $string );
902
+ }
903
+
904
+ // See https://www.sassmeister.com/gist/1b4f2da5527830088e4d
905
+ @function k-string-replace( $string, $search, $replace: "" ) {
906
+ @if k-meta-type-of( $string ) == number {
907
+ $string: $string + "";
908
+ }
909
+
910
+ $index: k-string-index( $string, $search );
911
+
912
+ @if $index {
913
+ @return k-string-slice( $string, 1, $index - 1 ) + $replace + k-string-replace( k-string-slice( $string, $index + k-string-length( $search ) ), $search, $replace );
914
+ }
915
+
916
+ @return $string;
917
+ }
918
+
919
+ @function k-string-slice( $string, $start-at, $end-at: -1 ) {
920
+ @return str-slice( $string, $start-at, $end-at );
921
+ }
922
+
923
+ @function k-string-to-lower-case( $string ) {
924
+ @return to-lower-case( $string );
925
+ }
926
+
927
+ @function k-string-to-upper-case( $string ) {
928
+ @return to-upper-case( $string );
929
+ }
930
+
931
+ @function k-string-unique-id() {
932
+ @return unique-id();
933
+ }
934
+
935
+ @function k-string-unquote( $string ) {
936
+ @return unquote( $string );
937
+ }
938
+
939
+ // #endregion
940
+
941
+ // #endregion
942
+ // #region @import "./color-system/index.import.scss"; -> packages/core/scss/color-system/index.import.scss
943
+ // #region @import "./_functions.import.scss"; -> packages/core/scss/color-system/_functions.import.scss
944
+ @function k-generate-theme-variant( $variant, $matrix, $src-palette-name ) {
945
+ $result: ();
946
+
947
+ @each $ui-state, $indices in $matrix {
948
+ $prefix: if( $ui-state == DEFAULT, "", "#{$ui-state}-" );
949
+ $indices-count: k-list-length( $indices );
950
+
951
+ $bg-prop: k-list-nth( $indices, 1 );
952
+ $text-prop: k-list-nth( $indices, 2 );
953
+ $border-prop: k-list-nth( $indices, 3 );
954
+ $gradient-prop: if( $indices-count > 3, k-list-nth( $indices, 4 ), null );
955
+ $shadow-prop: if( $indices-count > 4, k-list-nth( $indices, 5 ), null );
956
+ $outline-prop: if( $indices-count > 5, k-list-nth( $indices, 6 ), null );
957
+
958
+ // Take value from the palette only if it is a number
959
+ $bg: if( k-meta-type-of( $bg-prop ) == number, k-get-theme-color( $src-palette-name, $bg-prop ), $bg-prop );
960
+ $text: if( k-meta-type-of( $text-prop ) == number, k-get-theme-color( $src-palette-name, $text-prop ), $text-prop );
961
+ $border: if( k-meta-type-of( $border-prop ) == number, k-get-theme-color( $src-palette-name, $border-prop ), $border-prop );
962
+ $gradient: $gradient-prop;
963
+ $shadow: $shadow-prop;
964
+ $outline: $outline-prop;
965
+
966
+ $result: k-map-merge($result, (
967
+ // sass-lint:disable-block indentation
968
+ #{$prefix}bg: $bg,
969
+ #{$prefix}text: $text,
970
+ #{$prefix}border: $border,
971
+ #{$prefix}gradient: $gradient,
972
+ #{$prefix}shadow: $shadow,
973
+ #{$prefix}outline: $outline
974
+ ));
975
+ }
976
+
977
+ $result: (
978
+ #{$variant}: $result
979
+ );
980
+
981
+ @return $result;
982
+
983
+ };
984
+
985
+
986
+ @function k-process-variant-matrices( $theme-matrix, $palette-matrix: () ) {
987
+ $result: ();
988
+
989
+ // @debug $theme-matrix;
990
+ // @debug $palette-matrix;
991
+
992
+ @each $variant, $definition in $theme-matrix {
993
+ $tc-index: k-string-index( $variant, "THEME_COLOR" );
994
+ $src-palette-name: k-map-get( $definition, PALETTE );
995
+ $matrix: k-map-remove( $definition, PALETTE );
996
+
997
+ @if ($tc-index == null ) {
998
+ $tmp-result: k-generate-theme-variant( $variant, $matrix, $src-palette-name );
999
+ $result: k-map-merge( $result, $tmp-result);
1000
+ } @else {
1001
+ @each $color, $palette in $palette-matrix {
1002
+ $variant-name: k-string-replace( $variant, THEME_COLOR, $color);
1003
+ $palette-name: k-string-unquote($src-palette-name + "");
1004
+
1005
+ @if ($palette-name == THEME_COLOR) {
1006
+ $palette-name: k-string-replace( $palette-name, THEME_COLOR, $color );
1007
+ $palette-name: k-map-get( $palette-matrix, $palette-name );
1008
+ }
1737
1009
 
1738
- @function k-meta-is-number( $value ) {
1739
- @return k-meta-type-of( $value ) == "number";
1740
- }
1010
+ $tmp-result: k-generate-theme-variant( $variant-name, $matrix, $palette-name );
1011
+ $result: k-map-merge( $result, $tmp-result );
1012
+ }
1013
+ }
1014
+ }
1741
1015
 
1742
- @function k-meta-is-integer( $value ) {
1743
- @return k-meta-is-number( $value ) and k-math-round( $value ) == $value;
1016
+ @return $result;
1744
1017
  }
1745
1018
 
1746
- @function k-meta-is-time( $value ) {
1747
- @return k-meta-is-number( $value ) and k-string-index( "ms" "s", k-math-unit( $value ) ) != null;
1748
- }
1749
1019
 
1750
- @function k-meta-is-duration( $value ) {
1751
- @return k-meta-is-time( $value );
1020
+ @function k-get-theme-palette( $name ) {
1021
+ @return k-map-get( $kendo-palettes, $name );
1752
1022
  }
1753
1023
 
1754
- @function k-meta-is-angle( $value ) {
1755
- @return k-meta-is-number( $value ) and k-string-index( "deg" "rad" "grad" "turn", k-math-unit( $value ) ) != null;
1756
- }
1024
+ @function k-get-theme-color( $palette, $hue ) {
1025
+ @if ( k-meta-type-of( $palette ) == "map" ) {
1026
+ @return k-map-get( $palette, $hue );
1027
+ }
1757
1028
 
1758
- @function k-meta-is-frequency( $value ) {
1759
- @return k-meta-is-number( $value ) and k-string-index( "Hz" "kHz", k-math-unit( $value ) ) != null;
1029
+ @return k-map-get( k-get-theme-palette( $palette ), $hue );
1760
1030
  }
1761
1031
 
1762
- @function k-meta-is-relative-length( $value ) {
1763
- @return k-meta-is-number( $value ) and k-string-index( "em" "ex" "ch" "rem" "vw" "vh" "vmin" "vmax", k-math-unit( $value ) ) != null;
1032
+ @function k-get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo-" ) {
1033
+ @return var( --#{$prefix}#{$name}, #{$fallback} );
1764
1034
  }
1765
1035
 
1766
- @function k-meta-is-absolute-length( $value ) {
1767
- @return k-meta-is-number( $value ) and k-string-index( "cm" "mm" "in" "px" "pt" "pc", k-math-unit( $value ) ) != null;
1768
- }
1036
+ // #endregion
1037
+ // #region @import "./_mixins.import.scss"; -> packages/core/scss/color-system/_mixins.import.scss
1769
1038
 
1770
- @function k-meta-is-percentage( $value ) {
1771
- @return k-meta-is-number( $value ) and k-math-unit( $value ) == "%";
1772
- }
1039
+ // #endregion
1040
+ // #region @import "./_variables.scss"; -> packages/core/scss/color-system/_variables.scss
1041
+ // Color constants
1042
+ $kendo-color-white: #ffffff; // stylelint-disable-line scss/dollar-variable-default
1043
+ $kendo-color-black: #000000; // stylelint-disable-line scss/dollar-variable-default
1773
1044
 
1774
- @function k-meta-is-length( $value ) {
1775
- @return k-meta-is-relative-length( $value ) or k-meta-is-absolute-length( $value );
1776
- }
1045
+ $kendo-color-rgba-transparent: rgba( 0, 0, 0, 0 ); // stylelint-disable-line scss/dollar-variable-default
1777
1046
 
1778
- @function k-meta-is-resolution( $value ) {
1779
- @return k-meta-is-number( $value ) and k-string-index( "dpi" "dpcm" "dppx", k-math-unit( $value ) ) != null;
1780
- }
1047
+ $kendo-gradient-transparent-to-black: rgba( black, 0 ), black; // stylelint-disable-line scss/dollar-variable-default
1048
+ $kendo-gradient-transparent-to-white: rgba( white, 0 ), white; // stylelint-disable-line scss/dollar-variable-default
1049
+ $kendo-gradient-black-to-transparent: black, rgba( black, 0 ); // stylelint-disable-line scss/dollar-variable-default
1050
+ $kendo-gradient-white-to-transparent: white, rgba( white, 0 ); // stylelint-disable-line scss/dollar-variable-default
1781
1051
 
1782
- @function k-meta-is-position( $value ) {
1783
- @return k-meta-is-length( $value ) or k-meta-is-percentage( $value ) or k-string-index( "top" "right" "bottom" "left" "center", $value ) != null;
1784
- }
1052
+ $kendo-gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000; // stylelint-disable-line scss/dollar-variable-default
1785
1053
 
1786
1054
  // #endregion
1787
- // #region @import "_string.import.scss"; -> packages/core/scss/functions/_string.import.scss
1788
- @function k-string-index( $string, $substring ) {
1789
- @return str-index( $string, $substring );
1790
- }
1055
+ // #region @import "./_palettes.scss"; -> packages/core/scss/color-system/_palettes.scss
1056
+ $kendo-palettes: (
1791
1057
 
1792
- @function k-string-insert( $string, $insert, $index ) {
1793
- @return str-insert( $string, $insert, $index );
1794
- }
1058
+ // Kendo
1059
+ neutral: (
1060
+ 0: #ffffff,
1061
+ 50: #f8f8f8,
1062
+ 100: #ededed,
1063
+ 200: #d6d6d6,
1064
+ 300: #b7b7b7,
1065
+ 400: #949494,
1066
+ 500: #767676,
1067
+ 600: #5f5f5f,
1068
+ 700: #494949,
1069
+ 800: #373737,
1070
+ 900: #282828,
1071
+ 1000: #000000
1072
+ ),
1073
+ marsala: (
1074
+ 0: #ffffff,
1075
+ 50: #faf0f2,
1076
+ 100: #f3dde0,
1077
+ 200: #e197a3,
1078
+ 300: #c54e69,
1079
+ 400: #8b3548,
1080
+ 500: #622331,
1081
+ 600: #551d2a,
1082
+ 700: #441620,
1083
+ 800: #340f17,
1084
+ 900: #23080e,
1085
+ 1000: #000000
1086
+ ),
1795
1087
 
1796
- @function k-string-length( $string ) {
1797
- @return str-length( $string );
1798
- }
1799
1088
 
1800
- @function k-string-quote( $string ) {
1801
- @return quote( $string );
1802
- }
1089
+ // Bootstrap
1090
+ bootstrapGray: (
1091
+ 0: #ffffff,
1092
+ 100: #f8f9fa,
1093
+ 200: #e9ecef,
1094
+ 300: #dee2e6,
1095
+ 400: #ced4da,
1096
+ 500: #adb5bd,
1097
+ 600: #6c757d,
1098
+ 700: #495057,
1099
+ 800: #343a40,
1100
+ 900: #212529,
1101
+ 1000: #000000
1102
+ ),
1103
+ bootstrapBlue: (
1104
+ 0: #ffffff,
1105
+ 100: #cfe2ff,
1106
+ 200: #9ec5fe,
1107
+ 300: #6ea8fe,
1108
+ 400: #3d8bfd,
1109
+ 500: #0d6efd,
1110
+ 600: #0a58ca,
1111
+ 700: #084298,
1112
+ 800: #052c65,
1113
+ 900: #031633,
1114
+ 1000: #000000
1115
+ ),
1116
+ bootstrapIndigo: (
1117
+ 0: #ffffff,
1118
+ 100: #e0cffc,
1119
+ 200: #c29ffa,
1120
+ 300: #a370f7,
1121
+ 400: #8540f5,
1122
+ 500: #6610f2,
1123
+ 600: #520dc2,
1124
+ 700: #3d0a91,
1125
+ 800: #290661,
1126
+ 900: #140330,
1127
+ 1000: #000000
1128
+ ),
1129
+ bootstrapPurple: (
1130
+ 0: #ffffff,
1131
+ 100: #e2d9f3,
1132
+ 200: #c5b3e6,
1133
+ 300: #a98eda,
1134
+ 400: #8c68cd,
1135
+ 500: #6f42c1,
1136
+ 600: #59359a,
1137
+ 700: #432874,
1138
+ 800: #2c1a4d,
1139
+ 900: #160d27,
1140
+ 1000: #000000
1141
+ ),
1142
+ bootstrapPink: (
1143
+ 0: #ffffff,
1144
+ 100: #f7d6e6,
1145
+ 200: #efadce,
1146
+ 300: #e685b5,
1147
+ 400: #de5c9d,
1148
+ 500: #d63384,
1149
+ 600: #ab296a,
1150
+ 700: #801f4f,
1151
+ 800: #561435,
1152
+ 900: #2b0a1a,
1153
+ 1000: #000000
1154
+ ),
1155
+ bootstrapRed: (
1156
+ 0: #ffffff,
1157
+ 100: #f8d7da,
1158
+ 200: #f1aeb5,
1159
+ 300: #ea868f,
1160
+ 400: #e35d6a,
1161
+ 500: #dc3545,
1162
+ 600: #b02a37,
1163
+ 700: #842029,
1164
+ 800: #58151c,
1165
+ 900: #2c0b0e,
1166
+ 1000: #000000
1167
+ ),
1168
+ bootstrapOrange: (
1169
+ 0: #ffffff,
1170
+ 100: #ffe5d0,
1171
+ 200: #fecba1,
1172
+ 300: #feb272,
1173
+ 400: #fd9843,
1174
+ 500: #fd7e14,
1175
+ 600: #ca6510,
1176
+ 700: #984c0c,
1177
+ 800: #653208,
1178
+ 900: #331904,
1179
+ 1000: #000000
1180
+ ),
1181
+ bootstrapYellow: (
1182
+ 0: #ffffff,
1183
+ 100: #fff3cd,
1184
+ 200: #ffe69c,
1185
+ 300: #ffda6a,
1186
+ 400: #ffcd39,
1187
+ 500: #ffc107,
1188
+ 600: #cc9a06,
1189
+ 700: #997404,
1190
+ 800: #664d03,
1191
+ 900: #332701,
1192
+ 1000: #000000
1193
+ ),
1194
+ bootstrapGreen: (
1195
+ 0: #ffffff,
1196
+ 100: #d1e7dd,
1197
+ 200: #a3cfbb,
1198
+ 300: #75b798,
1199
+ 400: #479f76,
1200
+ 500: #198754,
1201
+ 600: #146c43,
1202
+ 700: #0f5132,
1203
+ 800: #0a3622,
1204
+ 900: #051b11,
1205
+ 1000: #000000
1206
+ ),
1207
+ bootstrapTeal: (
1208
+ 0: #ffffff,
1209
+ 100: #d2f4ea,
1210
+ 200: #a6e9d5,
1211
+ 300: #79dfc1,
1212
+ 400: #4dd4ac,
1213
+ 500: #20c997,
1214
+ 600: #1aa179,
1215
+ 700: #13795b,
1216
+ 800: #0d503c,
1217
+ 900: #06281e,
1218
+ 1000: #000000
1219
+ ),
1220
+ bootstrapCyan: (
1221
+ 0: #ffffff,
1222
+ 100: #cff4fc,
1223
+ 200: #9eeaf9,
1224
+ 300: #6edff6,
1225
+ 400: #3dd5f3,
1226
+ 500: #0dcaf0,
1227
+ 600: #0aa2c0,
1228
+ 700: #087990,
1229
+ 800: #055160,
1230
+ 900: #032830,
1231
+ 1000: #000000
1232
+ ),
1803
1233
 
1804
- // See https://www.sassmeister.com/gist/1b4f2da5527830088e4d
1805
- @function k-string-replace( $string, $search, $replace: "" ) {
1806
- $index: k-string-index( $string, $search );
1807
1234
 
1808
- @if $index {
1809
- @return k-string-slice( $string, 1, $index - 1 ) + $replace + k-string-replace( k-string-slice( $string, $index + k-string-length( $search ) ), $search, $replace );
1810
- }
1235
+ // Fluent
1236
+ fluentNeutral: (
1237
+ 0: #ffffff,
1238
+ 50: #faf9f8,
1239
+ 100: #edebe9,
1240
+ 150: #e1dfdd,
1241
+ 200: #d2d0ce,
1242
+ 250: #c8c6c4,
1243
+ 300: #bdbbb8,
1244
+ 350: #b3b0ad,
1245
+ 400: #a19f9d,
1246
+ 450: #8a8886,
1247
+ 500: #797775,
1248
+ 550: #605e5c,
1249
+ 600: #484644,
1250
+ 650: #3b3a39,
1251
+ 700: #323130,
1252
+ 750: #292827,
1253
+ 800: #201f1e,
1254
+ 850: #1b1a19,
1255
+ 900: #161514,
1256
+ 950: #11100f,
1257
+ 1000: #000000
1258
+ ),
1259
+
1811
1260
 
1812
- @return $string;
1813
- }
1261
+ // Material
1262
+ materialGray: (
1263
+ 0: #ffffff,
1264
+ 50: #fafafa,
1265
+ 100: #f5f5f5,
1266
+ 200: #eeeeee,
1267
+ 300: #e0e0e0,
1268
+ 400: #bdbdbd,
1269
+ 500: #9e9e9e,
1270
+ 600: #757575,
1271
+ 700: #616161,
1272
+ 800: #424242,
1273
+ 900: #212121,
1274
+ 1000: #000000
1275
+ ),
1276
+ materialBlueGray: (
1277
+ 0: #ffffff,
1278
+ 50: #eceff1,
1279
+ 100: #cfd8dc,
1280
+ 200: #b0bec5,
1281
+ 300: #90a4ae,
1282
+ 400: #78909c,
1283
+ 500: #607d8b,
1284
+ 600: #546e7a,
1285
+ 700: #455a64,
1286
+ 800: #37474f,
1287
+ 900: #263238,
1288
+ 1000: #000000
1289
+ ),
1290
+ materialRed: (
1291
+ 0: #ffffff,
1292
+ 50: #ffebee,
1293
+ 100: #ffcdd2,
1294
+ 200: #ef9a9a,
1295
+ 300: #e57373,
1296
+ 400: #ef5350,
1297
+ 500: #f44336,
1298
+ 600: #e53935,
1299
+ 700: #d32f2f,
1300
+ 800: #c62828,
1301
+ 900: #b71c1c,
1302
+ 1000: #000000
1303
+ ),
1304
+ materialPink: (
1305
+ 0: #ffffff,
1306
+ 50: #fce4ec,
1307
+ 100: #f8bbd0,
1308
+ 200: #f48fb1,
1309
+ 300: #f06292,
1310
+ 400: #ec407a,
1311
+ // 500 was #e91e63, but changed for better contrast against white
1312
+ 500: #e51a5f,
1313
+ 600: #d81b60,
1314
+ 700: #c2185b,
1315
+ 800: #ad1457,
1316
+ 900: #880e4f,
1317
+ 1000: #000000
1318
+ ),
1319
+ materialPurple: (
1320
+ 0: #ffffff,
1321
+ 50: #f3e5f5,
1322
+ 100: #e1bee7,
1323
+ 200: #ce93d8,
1324
+ 300: #ba68c8,
1325
+ 400: #ab47bc,
1326
+ 500: #9c27b0,
1327
+ 600: #8e24aa,
1328
+ 700: #7b1fa2,
1329
+ 800: #6a1b9a,
1330
+ 900: #4a148c,
1331
+ 1000: #000000
1332
+ ),
1333
+ materialDeepPurple: (
1334
+ 0: #ffffff,
1335
+ 50: #ede7f6,
1336
+ 100: #d1c4e9,
1337
+ 200: #b39ddb,
1338
+ 300: #9575cd,
1339
+ 400: #7e57c2,
1340
+ 500: #673ab7,
1341
+ 600: #5e35b1,
1342
+ 700: #512da8,
1343
+ 800: #4527a0,
1344
+ 900: #311b92,
1345
+ 1000: #000000
1346
+ ),
1347
+ materialIndigo: (
1348
+ 0: #ffffff,
1349
+ 50: #e8eaf6,
1350
+ 100: #c5cae9,
1351
+ 200: #9fa8da,
1352
+ 300: #7986cb,
1353
+ 400: #5c6bc0,
1354
+ 500: #3f51b5,
1355
+ 600: #3949ab,
1356
+ 700: #303f9f,
1357
+ 800: #283593,
1358
+ 900: #1a237e,
1359
+ 1000: #000000
1360
+ ),
1361
+ materialBlue: (
1362
+ 0: #ffffff,
1363
+ 50: #e3f2fd,
1364
+ 100: #bbdefb,
1365
+ 200: #90caf9,
1366
+ 300: #64b5f6,
1367
+ 400: #42a5f5,
1368
+ 500: #2196f3,
1369
+ 600: #1e88e5,
1370
+ 700: #1976d2,
1371
+ 800: #1565c0,
1372
+ 900: #0d47a1,
1373
+ 1000: #000000
1374
+ ),
1375
+ materialLightBlue: (
1376
+ 0: #ffffff,
1377
+ 50: #e1f5fe,
1378
+ 100: #b3e5fc,
1379
+ 200: #81d4fa,
1380
+ 300: #4fc3f7,
1381
+ 400: #29b6f6,
1382
+ 500: #03a9f4,
1383
+ 600: #039be5,
1384
+ 700: #0288d1,
1385
+ 800: #0277bd,
1386
+ 900: #01579b,
1387
+ 1000: #000000
1388
+ ),
1389
+ materialCyan: (
1390
+ 0: #ffffff,
1391
+ 50: #e0f7fa,
1392
+ 100: #b2ebf2,
1393
+ 200: #80deea,
1394
+ 300: #4dd0e1,
1395
+ 400: #26c6da,
1396
+ 500: #00bcd4,
1397
+ 600: #00acc1,
1398
+ 700: #0097a7,
1399
+ 800: #00838f,
1400
+ 900: #006064,
1401
+ 1000: #000000
1402
+ ),
1403
+ materialTeal: (
1404
+ 0: #ffffff,
1405
+ 50: #e0f2f1,
1406
+ 100: #b2dfdb,
1407
+ 200: #80cbc4,
1408
+ 300: #4db6ac,
1409
+ 400: #26a69a,
1410
+ 500: #009688,
1411
+ 600: #00897b,
1412
+ 700: #00796b,
1413
+ 800: #00695c,
1414
+ 900: #004d40,
1415
+ 1000: #000000
1416
+ ),
1417
+ materialGreen: (
1418
+ 0: #ffffff,
1419
+ 50: #e8f5e9,
1420
+ 100: #c8e6c9,
1421
+ 200: #a5d6a7,
1422
+ 300: #81c784,
1423
+ 400: #66bb6a,
1424
+ 500: #4caf50,
1425
+ 600: #43a047,
1426
+ 700: #388e3c,
1427
+ 800: #2e7d32,
1428
+ 900: #1b5e20,
1429
+ 1000: #000000
1430
+ ),
1431
+ materialLightGreen: (
1432
+ 0: #ffffff,
1433
+ 50: #f1f8e9,
1434
+ 100: #dcedc8,
1435
+ 200: #c5e1a5,
1436
+ 300: #aed581,
1437
+ 400: #9ccc65,
1438
+ 500: #8bc34a,
1439
+ 600: #7cb342,
1440
+ 700: #689f38,
1441
+ 800: #558b2f,
1442
+ 900: #33691e,
1443
+ 1000: #000000
1444
+ ),
1445
+ materialLime: (
1446
+ 0: #ffffff,
1447
+ 50: #f9fbe7,
1448
+ 100: #f0f4c3,
1449
+ 200: #e6ee9c,
1450
+ 300: #dce775,
1451
+ 400: #d4e157,
1452
+ 500: #cddc39,
1453
+ 600: #c0ca33,
1454
+ 700: #afb42b,
1455
+ 800: #9e9d24,
1456
+ 900: #827717,
1457
+ 1000: #000000
1458
+ ),
1459
+ materialYellow: (
1460
+ 0: #ffffff,
1461
+ 50: #fffde7,
1462
+ 100: #fff9c4,
1463
+ 200: #fff59d,
1464
+ 300: #fff176,
1465
+ 400: #ffee58,
1466
+ 500: #ffeb3b,
1467
+ 600: #fdd835,
1468
+ 700: #fbc02d,
1469
+ 800: #f9a825,
1470
+ 900: #f57f17,
1471
+ 1000: #000000
1472
+ ),
1473
+ materialAmber: (
1474
+ 0: #ffffff,
1475
+ 50: #fff8e1,
1476
+ 100: #ffecb3,
1477
+ 200: #ffe082,
1478
+ 300: #ffd54f,
1479
+ 400: #ffca28,
1480
+ 500: #ffc107,
1481
+ 600: #ffb300,
1482
+ 700: #ffa000,
1483
+ 800: #ff8f00,
1484
+ 900: #ff6f00,
1485
+ 1000: #000000
1486
+ ),
1487
+ materialOrange: (
1488
+ 0: #ffffff,
1489
+ 50: #fff3e0,
1490
+ 100: #ffe0b2,
1491
+ 200: #ffcc80,
1492
+ 300: #ffb74d,
1493
+ 400: #ffa726,
1494
+ 500: #ff9800,
1495
+ 600: #fb8c00,
1496
+ 700: #f57c00,
1497
+ 800: #ef6c00,
1498
+ 900: #e65100,
1499
+ 1000: #000000
1500
+ ),
1501
+ materialDeepOrange: (
1502
+ 0: #ffffff,
1503
+ 50: #fbe9e7,
1504
+ 100: #ffccbc,
1505
+ 200: #ffab91,
1506
+ 300: #ff8a65,
1507
+ 400: #ff7043,
1508
+ 500: #ff5722,
1509
+ 600: #f4511e,
1510
+ 700: #e64a19,
1511
+ 800: #d84315,
1512
+ 900: #bf360c,
1513
+ 1000: #000000
1514
+ ),
1515
+ materialBrown: (
1516
+ 0: #ffffff,
1517
+ 50: #efebe9,
1518
+ 100: #d7ccc8,
1519
+ 200: #bcaaa4,
1520
+ 300: #a1887f,
1521
+ 400: #8d6e63,
1522
+ 500: #795548,
1523
+ 600: #6d4c41,
1524
+ 700: #5d4037,
1525
+ 800: #4e342e,
1526
+ 900: #3e2723,
1527
+ 1000: #000000
1528
+ ),
1814
1529
 
1815
- @function k-string-slice( $string, $start-at, $end-at: -1 ) {
1816
- @return str-slice( $string, $start-at, $end-at );
1817
- }
1818
1530
 
1819
- @function k-string-to-lower-case( $string ) {
1820
- @return to-lower-case( $string );
1821
- }
1531
+ // Primer
1532
+ primerGray: (
1533
+ 0: #ffffff,
1534
+ 50: #f6f8fa,
1535
+ 100: #eaeef2,
1536
+ 200: #d0d7de,
1537
+ 300: #afb8c1,
1538
+ 400: #8c959f,
1539
+ 500: #6e7781,
1540
+ 600: #57606a,
1541
+ 700: #424a53,
1542
+ 800: #32383f,
1543
+ 900: #24292f,
1544
+ 1000: #000000
1545
+ ),
1546
+ primerBlue: (
1547
+ 0: #ffffff,
1548
+ 50: #ddf4ff,
1549
+ 100: #b6e3ff,
1550
+ 200: #80ccff,
1551
+ 300: #54aeff,
1552
+ 400: #218bff,
1553
+ 500: #0969da,
1554
+ 600: #0550ae,
1555
+ 700: #033d8b,
1556
+ 800: #0a3069,
1557
+ 900: #002155,
1558
+ 1000: #000000
1559
+ ),
1560
+ primerGreen: (
1561
+ 0: #ffffff,
1562
+ 50: #dafbe1,
1563
+ 100: #aceebb,
1564
+ 200: #6fdd8b,
1565
+ 300: #4ac26b,
1566
+ 400: #2da44e,
1567
+ 500: #1a7f37,
1568
+ 600: #116329,
1569
+ 700: #044f1e,
1570
+ 800: #003d16,
1571
+ 900: #002d11,
1572
+ 1000: #000000
1573
+ ),
1574
+ primerYellow: (
1575
+ 0: #ffffff,
1576
+ 50: #fff8c5,
1577
+ 100: #fae17d,
1578
+ 200: #eac54f,
1579
+ 300: #d4a72c,
1580
+ 400: #bf8700,
1581
+ 500: #9a6700,
1582
+ 600: #7d4e00,
1583
+ 700: #633c01,
1584
+ 800: #4d2d00,
1585
+ 900: #3b2300,
1586
+ 1000: #000000
1587
+ ),
1588
+ primerOrange: (
1589
+ 0: #ffffff,
1590
+ 50: #fff1e5,
1591
+ 100: #ffd8b5,
1592
+ 200: #ffb77c,
1593
+ 300: #fb8f44,
1594
+ 400: #e16f24,
1595
+ 500: #bc4c00,
1596
+ 600: #953800,
1597
+ 700: #762c00,
1598
+ 800: #5c2200,
1599
+ 900: #471700,
1600
+ 1000: #000000
1601
+ ),
1602
+ primerRed: (
1603
+ 0: #ffffff,
1604
+ 50: #ffebe9,
1605
+ 100: #ffcecb,
1606
+ 200: #ffaba8,
1607
+ 300: #ff8182,
1608
+ 400: #fa4549,
1609
+ 500: #cf222e,
1610
+ 600: #a40e26,
1611
+ 700: #82071e,
1612
+ 800: #660018,
1613
+ 900: #4c0014,
1614
+ 1000: #000000
1615
+ ),
1616
+ primerPurple: (
1617
+ 0: #ffffff,
1618
+ 50: #fbefff,
1619
+ 100: #ecd8ff,
1620
+ 200: #d8b9ff,
1621
+ 300: #c297ff,
1622
+ 400: #a475f9,
1623
+ 500: #8250df,
1624
+ 600: #6639ba,
1625
+ 700: #512a97,
1626
+ 800: #3e1f79,
1627
+ 900: #2e1461,
1628
+ 1000: #000000
1629
+ ),
1630
+ primerPink: (
1631
+ 0: #ffffff,
1632
+ 50: #ffeff7,
1633
+ 100: #ffd3eb,
1634
+ 200: #ffadda,
1635
+ 300: #ff80c8,
1636
+ 400: #e85aad,
1637
+ 500: #bf3989,
1638
+ 600: #99286e,
1639
+ 700: #772057,
1640
+ 800: #611347,
1641
+ 900: #4d0336,
1642
+ 1000: #000000
1643
+ ),
1644
+ primerCoral: (
1645
+ 0: #ffffff,
1646
+ 50: #fff0eb,
1647
+ 100: #ffd6cc,
1648
+ 200: #ffb4a1,
1649
+ 300: #fd8c73,
1650
+ 400: #ec6547,
1651
+ 500: #c4432b,
1652
+ 600: #9e2f1c,
1653
+ 700: #801f0f,
1654
+ 800: #691105,
1655
+ 900: #510901,
1656
+ 1000: #000000
1657
+ ),
1822
1658
 
1823
- @function k-string-to-upper-case( $string ) {
1824
- @return to-upper-case( $string );
1825
- }
1826
1659
 
1827
- @function k-string-unique-id() {
1828
- @return unique-id();
1829
- }
1660
+ // Tailwind
1661
+ tailwindNeutral: (
1662
+ 0: #ffffff,
1663
+ 50: #fafafa,
1664
+ 100: #f5f5f5,
1665
+ 200: #e5e5e5,
1666
+ 300: #d4d4d4,
1667
+ 400: #a3a3a3,
1668
+ 500: #737373,
1669
+ 600: #525252,
1670
+ 700: #404040,
1671
+ 800: #262626,
1672
+ 900: #171717,
1673
+ 1000: #000000
1674
+ ),
1675
+ tailwindSlate: (
1676
+ 0: #ffffff,
1677
+ 50: #f8fafc,
1678
+ 100: #f1f5f9,
1679
+ 200: #e2e8f0,
1680
+ 300: #cbd5e1,
1681
+ 400: #94a3b8,
1682
+ 500: #64748b,
1683
+ 600: #475569,
1684
+ 700: #334155,
1685
+ 800: #1e293b,
1686
+ 900: #0f172a,
1687
+ 1000: #000000
1688
+ ),
1689
+ tailwindGray: (
1690
+ 0: #ffffff,
1691
+ 50: #f9fafb,
1692
+ 100: #f3f4f6,
1693
+ 200: #e5e7eb,
1694
+ 300: #d1d5db,
1695
+ 400: #9ca3af,
1696
+ 500: #6b7280,
1697
+ 600: #4b5563,
1698
+ 700: #374151,
1699
+ 800: #1f2937,
1700
+ 900: #111827,
1701
+ 1000: #000000
1702
+ ),
1703
+ tailwindZinc: (
1704
+ 0: #ffffff,
1705
+ 50: #fafafa,
1706
+ 100: #f4f4f5,
1707
+ 200: #e4e4e7,
1708
+ 300: #d4d4d8,
1709
+ 400: #a1a1aa,
1710
+ 500: #71717a,
1711
+ 600: #52525b,
1712
+ 700: #3f3f46,
1713
+ 800: #27272a,
1714
+ 900: #18181b,
1715
+ 1000: #000000
1716
+ ),
1717
+ tailwindStone: (
1718
+ 0: #ffffff,
1719
+ 50: #fafaf9,
1720
+ 100: #f5f5f4,
1721
+ 200: #e7e5e4,
1722
+ 300: #d6d3d1,
1723
+ 400: #a8a29e,
1724
+ 500: #78716c,
1725
+ 600: #57534e,
1726
+ 700: #44403c,
1727
+ 800: #292524,
1728
+ 900: #1c1917,
1729
+ 1000: #000000
1730
+ ),
1731
+ tailwindRed: (
1732
+ 0: #ffffff,
1733
+ 50: #fef2f2,
1734
+ 100: #fee2e2,
1735
+ 200: #fecaca,
1736
+ 300: #fca5a5,
1737
+ 400: #f87171,
1738
+ 500: #ef4444,
1739
+ 600: #dc2626,
1740
+ 700: #b91c1c,
1741
+ 800: #991b1b,
1742
+ 900: #7f1d1d,
1743
+ 1000: #000000
1744
+ ),
1745
+ tailwindOrange: (
1746
+ 0: #ffffff,
1747
+ 50: #fff7ed,
1748
+ 100: #ffedd5,
1749
+ 200: #fed7aa,
1750
+ 300: #fdba74,
1751
+ 400: #fb923c,
1752
+ 500: #f97316,
1753
+ 600: #ea580c,
1754
+ 700: #c2410c,
1755
+ 800: #9a3412,
1756
+ 900: #7c2d12,
1757
+ 1000: #000000
1758
+ ),
1759
+ tailwindAmber: (
1760
+ 0: #ffffff,
1761
+ 50: #fffbeb,
1762
+ 100: #fef3c7,
1763
+ 200: #fde68a,
1764
+ 300: #fcd34d,
1765
+ 400: #fbbf24,
1766
+ 500: #f59e0b,
1767
+ 600: #d97706,
1768
+ 700: #b45309,
1769
+ 800: #92400e,
1770
+ 900: #78350f,
1771
+ 1000: #000000
1772
+ ),
1773
+ tailwindYellow: (
1774
+ 0: #ffffff,
1775
+ 50: #fefce8,
1776
+ 100: #fef9c3,
1777
+ 200: #fef08a,
1778
+ 300: #fde047,
1779
+ 400: #facc15,
1780
+ 500: #eab308,
1781
+ 600: #ca8a04,
1782
+ 700: #a16207,
1783
+ 800: #854d0e,
1784
+ 900: #713f12,
1785
+ 1000: #000000
1786
+ ),
1787
+ tailwindLime: (
1788
+ 0: #ffffff,
1789
+ 50: #f7fee7,
1790
+ 100: #ecfccb,
1791
+ 200: #d9f99d,
1792
+ 300: #bef264,
1793
+ 400: #a3e635,
1794
+ 500: #84cc16,
1795
+ 600: #65a30d,
1796
+ 700: #4d7c0f,
1797
+ 800: #3f6212,
1798
+ 900: #365314,
1799
+ 1000: #000000
1800
+ ),
1801
+ tailwindGreen: (
1802
+ 0: #ffffff,
1803
+ 50: #f0fdf4,
1804
+ 100: #dcfce7,
1805
+ 200: #bbf7d0,
1806
+ 300: #86efac,
1807
+ 400: #4ade80,
1808
+ 500: #22c55e,
1809
+ 600: #16a34a,
1810
+ 700: #15803d,
1811
+ 800: #166534,
1812
+ 900: #14532d,
1813
+ 1000: #000000
1814
+ ),
1815
+ tailwindEmerald: (
1816
+ 0: #ffffff,
1817
+ 50: #ecfdf5,
1818
+ 100: #d1fae5,
1819
+ 200: #a7f3d0,
1820
+ 300: #6ee7b7,
1821
+ 400: #34d399,
1822
+ 500: #10b981,
1823
+ 600: #059669,
1824
+ 700: #047857,
1825
+ 800: #065f46,
1826
+ 900: #064e3b,
1827
+ 1000: #000000
1828
+ ),
1829
+ tailwindTeal: (
1830
+ 0: #ffffff,
1831
+ 50: #f0fdfa,
1832
+ 100: #ccfbf1,
1833
+ 200: #99f6e4,
1834
+ 300: #5eead4,
1835
+ 400: #2dd4bf,
1836
+ 500: #14b8a6,
1837
+ 600: #0d9488,
1838
+ 700: #0f766e,
1839
+ 800: #115e59,
1840
+ 900: #134e4a,
1841
+ 1000: #000000
1842
+ ),
1843
+ tailwindCyan: (
1844
+ 0: #ffffff,
1845
+ 50: #ecfeff,
1846
+ 100: #cffafe,
1847
+ 200: #a5f3fc,
1848
+ 300: #67e8f9,
1849
+ 400: #22d3ee,
1850
+ 500: #06b6d4,
1851
+ 600: #0891b2,
1852
+ 700: #0e7490,
1853
+ 800: #155e75,
1854
+ 900: #164e63,
1855
+ 1000: #000000
1856
+ ),
1857
+ tailwindSky: (
1858
+ 0: #ffffff,
1859
+ 50: #f0f9ff,
1860
+ 100: #e0f2fe,
1861
+ 200: #bae6fd,
1862
+ 300: #7dd3fc,
1863
+ 400: #38bdf8,
1864
+ 500: #0ea5e9,
1865
+ 600: #0284c7,
1866
+ 700: #0369a1,
1867
+ 800: #075985,
1868
+ 900: #0c4a6e,
1869
+ 1000: #000000
1870
+ ),
1871
+ tailwindBlue: (
1872
+ 0: #ffffff,
1873
+ 50: #eff6ff,
1874
+ 100: #dbeafe,
1875
+ 200: #bfdbfe,
1876
+ 300: #93c5fd,
1877
+ 400: #60a5fa,
1878
+ 500: #3b82f6,
1879
+ 600: #2563eb,
1880
+ 700: #1d4ed8,
1881
+ 800: #1e40af,
1882
+ 900: #1e3a8a,
1883
+ 1000: #000000
1884
+ ),
1885
+ tailwindIndigo: (
1886
+ 0: #ffffff,
1887
+ 50: #eef2ff,
1888
+ 100: #e0e7ff,
1889
+ 200: #c7d2fe,
1890
+ 300: #a5b4fc,
1891
+ 400: #818cf8,
1892
+ 500: #6366f1,
1893
+ 600: #4f46e5,
1894
+ 700: #4338ca,
1895
+ 800: #3730a3,
1896
+ 900: #312e81,
1897
+ 1000: #000000
1898
+ ),
1899
+ tailwindViolet: (
1900
+ 0: #ffffff,
1901
+ 50: #f5f3ff,
1902
+ 100: #ede9fe,
1903
+ 200: #ddd6fe,
1904
+ 300: #c4b5fd,
1905
+ 400: #a78bfa,
1906
+ 500: #8b5cf6,
1907
+ 600: #7c3aed,
1908
+ 700: #6d28d9,
1909
+ 800: #5b21b6,
1910
+ 900: #4c1d95,
1911
+ 1000: #000000
1912
+ ),
1913
+ tailwindPurple: (
1914
+ 0: #ffffff,
1915
+ 50: #faf5ff,
1916
+ 100: #f3e8ff,
1917
+ 200: #e9d5ff,
1918
+ 300: #d8b4fe,
1919
+ 400: #c084fc,
1920
+ 500: #a855f7,
1921
+ 600: #9333ea,
1922
+ 700: #7e22ce,
1923
+ 800: #6b21a8,
1924
+ 900: #581c87,
1925
+ 1000: #000000
1926
+ ),
1927
+ tailwindFuchsia: (
1928
+ 0: #ffffff,
1929
+ 50: #fdf4ff,
1930
+ 100: #fae8ff,
1931
+ 200: #f5d0fe,
1932
+ 300: #f0abfc,
1933
+ 400: #e879f9,
1934
+ 500: #d946ef,
1935
+ 600: #c026d3,
1936
+ 700: #a21caf,
1937
+ 800: #86198f,
1938
+ 900: #701a75,
1939
+ 1000: #000000
1940
+ ),
1941
+ tailwindPink: (
1942
+ 0: #ffffff,
1943
+ 50: #fdf2f8,
1944
+ 100: #fce7f3,
1945
+ 200: #fbcfe8,
1946
+ 300: #f9a8d4,
1947
+ 400: #f472b6,
1948
+ 500: #ec4899,
1949
+ 600: #db2777,
1950
+ 700: #be185d,
1951
+ 800: #9d174d,
1952
+ 900: #831843,
1953
+ 1000: #000000
1954
+ ),
1955
+ tailwindRose: (
1956
+ 0: #ffffff,
1957
+ 50: #fff1f2,
1958
+ 100: #ffe4e6,
1959
+ 200: #fecdd3,
1960
+ 300: #fda4af,
1961
+ 400: #fb7185,
1962
+ 500: #f43f5e,
1963
+ 600: #e11d48,
1964
+ 700: #be123c,
1965
+ 800: #9f1239,
1966
+ 900: #881337,
1967
+ 1000: #000000
1968
+ )
1830
1969
 
1831
- @function k-string-unquote( $string ) {
1832
- @return unquote( $string );
1833
- }
1970
+ ) !default;
1834
1971
 
1835
1972
  // #endregion
1836
1973
 
@@ -1839,59 +1976,59 @@ $kendo-color-level-step: 8% !default;
1839
1976
  // #region @import "./_border-radius.scss"; -> packages/core/scss/mixins/_border-radius.scss
1840
1977
  // Border radius
1841
1978
  @mixin border-radius( $radius: null ) {
1842
- @if $enable-rounded {
1979
+ @if $kendo-enable-rounded {
1843
1980
  border-radius: $radius;
1844
1981
  }
1845
1982
  }
1846
1983
 
1847
1984
  @mixin border-top-radius( $radius: null ) {
1848
- @if $enable-rounded {
1985
+ @if $kendo-enable-rounded {
1849
1986
  border-top-left-radius: $radius;
1850
1987
  border-top-right-radius: $radius;
1851
1988
  }
1852
1989
  }
1853
1990
 
1854
1991
  @mixin border-right-radius( $radius: null ) {
1855
- @if $enable-rounded {
1992
+ @if $kendo-enable-rounded {
1856
1993
  border-top-right-radius: $radius;
1857
1994
  border-bottom-right-radius: $radius;
1858
1995
  }
1859
1996
  }
1860
1997
 
1861
1998
  @mixin border-bottom-radius( $radius: null ) {
1862
- @if $enable-rounded {
1999
+ @if $kendo-enable-rounded {
1863
2000
  border-bottom-right-radius: $radius;
1864
2001
  border-bottom-left-radius: $radius;
1865
2002
  }
1866
2003
  }
1867
2004
 
1868
2005
  @mixin border-left-radius( $radius: null ) {
1869
- @if $enable-rounded {
2006
+ @if $kendo-enable-rounded {
1870
2007
  border-top-left-radius: $radius;
1871
2008
  border-bottom-left-radius: $radius;
1872
2009
  }
1873
2010
  }
1874
2011
 
1875
2012
  @mixin border-top-radius-only( $radius: null ) {
1876
- @if $enable-rounded {
2013
+ @if $kendo-enable-rounded {
1877
2014
  border-radius: $radius $radius 0 0;
1878
2015
  }
1879
2016
  }
1880
2017
 
1881
2018
  @mixin border-right-radius-only( $radius: null ) {
1882
- @if $enable-rounded {
2019
+ @if $kendo-enable-rounded {
1883
2020
  border-radius: 0 $radius $radius 0;
1884
2021
  }
1885
2022
  }
1886
2023
 
1887
2024
  @mixin border-bottom-radius-only( $radius: null ) {
1888
- @if $enable-rounded {
2025
+ @if $kendo-enable-rounded {
1889
2026
  border-radius: 0 0 $radius $radius;
1890
2027
  }
1891
2028
  }
1892
2029
 
1893
2030
  @mixin border-left-radius-only( $radius: null ) {
1894
- @if $enable-rounded {
2031
+ @if $kendo-enable-rounded {
1895
2032
  border-radius: $radius 0 0 $radius;
1896
2033
  }
1897
2034
  }
@@ -1899,7 +2036,7 @@ $kendo-color-level-step: 8% !default;
1899
2036
  // #endregion
1900
2037
  // #region @import "./_box-shadow.scss"; -> packages/core/scss/mixins/_box-shadow.scss
1901
2038
  @mixin box-shadow( $shadow... ) {
1902
- @if $enable-shadows and nth($shadow, 1) {
2039
+ @if $kendo-enable-shadows and k-list-nth($shadow, 1) {
1903
2040
  box-shadow: $shadow;
1904
2041
  }
1905
2042
  }
@@ -1926,29 +2063,30 @@ $data-uris: () !default;
1926
2063
 
1927
2064
  // #endregion
1928
2065
  // #region @import "./_disabled.scss"; -> packages/core/scss/mixins/_disabled.scss
1929
- $disabled-styling: () !default;
1930
-
1931
2066
  // Disabled
1932
- @mixin disabled( $disabled-styling ) {
2067
+ @mixin disabled( $kendo-disabled-styling ) {
1933
2068
  outline: none;
1934
2069
  cursor: default;
1935
- opacity: k-map-get($disabled-styling, opacity);
1936
- filter: k-map-get($disabled-styling, filter);
2070
+ opacity: k-map-get($kendo-disabled-styling, opacity);
2071
+ filter: k-map-get($kendo-disabled-styling, filter);
1937
2072
  pointer-events: none;
1938
2073
  box-shadow: none;
1939
2074
  }
1940
2075
 
1941
- @mixin disabled-legacy-ie( $disabled-styling ) {
1942
- outline: none;
1943
- cursor: default;
1944
- opacity: k-map-get($disabled-styling, opacity);
1945
- box-shadow: none;
2076
+ // #endregion
2077
+ // #region @import "./_focus-indicator.scss"; -> packages/core/scss/mixins/_focus-indicator.scss
2078
+ @mixin focus-indicator( $indicator, $inset: false, $themeable: false, $type: "box-shadow" ) {
2079
+ @if $kendo-enable-focus-contrast and k-list-nth($indicator, 1) {
2080
+ @include box-shadow( if( $inset, inset, null ) 0 0 0 2px if( $themeable, currentColor, rgb( 0, 0, 0 ) ) );
2081
+ } @else {
2082
+ @include box-shadow( $indicator... );
2083
+ }
1946
2084
  }
1947
2085
 
1948
2086
  // #endregion
1949
2087
  // #region @import "./_gradient.scss"; -> packages/core/scss/mixins/_gradient.scss
1950
2088
  @mixin linear-gradient( $gradient: null ) {
1951
- @if $gradient and $enable-gradients {
2089
+ @if $gradient and $kendo-enable-gradients {
1952
2090
  @if $gradient == none {
1953
2091
  background-image: none;
1954
2092
  } @else {
@@ -2712,7 +2850,7 @@ $_imported: ();
2712
2850
 
2713
2851
  @mixin verify-dependencies() {
2714
2852
  @each $component in $kendo-components {
2715
- @if (k-map-has-key( $_kendo-dependencies, $component) == false) {
2853
+ @if (k-map-has-key( $_kendo-dependencies, $component ) == false) {
2716
2854
  // sass-lint:disable-block no-warn
2717
2855
  @error "Module '#{$component}' is not defined.";
2718
2856
  }
@@ -2723,8 +2861,8 @@ $_imported: ();
2723
2861
  // #endregion
2724
2862
  // #region @import "./styles/index.import.scss"; -> packages/core/scss/styles/index.import.scss
2725
2863
  // #region @import "./_accessibility.scss"; -> packages/core/scss/styles/_accessibility.scss
2726
- /// @name k-sr-only
2727
- /// @description This class could be assigned to elements which should be visually hidden, but remain accessible for screen readers.
2864
+ /// This class could be assigned to elements which should be visually hidden, but remain accessible for screen readers.
2865
+ /// @name .k-sr-only
2728
2866
  /// @group accessibility
2729
2867
  .k-sr-only {
2730
2868
  position: absolute;
@@ -2752,9 +2890,37 @@ $_imported: ();
2752
2890
  display: flex;
2753
2891
  flex-flow: column nowrap;
2754
2892
  }
2893
+
2894
+ // Spacer
2755
2895
  .k-spacer {
2896
+ flex: 1 1 auto;
2897
+ }
2898
+ .k-spacer-sized {
2756
2899
  flex: none;
2757
- flex-grow: 1;
2900
+ }
2901
+
2902
+
2903
+ // Float wrap
2904
+ .k-float-wrap::after {
2905
+ content: "";
2906
+ display: block;
2907
+ clear: both;
2908
+ }
2909
+
2910
+
2911
+ // Stack layout
2912
+ .k-stack-layout {}
2913
+
2914
+
2915
+ // Flex layout
2916
+ .k-flex-layout {
2917
+ display: flex;
2918
+ }
2919
+
2920
+
2921
+ // Grid layout
2922
+ .k-grid-layout {
2923
+ display: grid;
2758
2924
  }
2759
2925
 
2760
2926
 
@@ -2800,6 +2966,13 @@ hr.k-separator {
2800
2966
  direction: rtl;
2801
2967
  }
2802
2968
 
2969
+
2970
+ // Legacy aliases
2971
+ .k-hbox { @extend .k-hstack !optional; }
2972
+ .k-vbox { @extend .k-vstack !optional; }
2973
+ .k-floatwrap { @extend .k-float-wrap !optional; }
2974
+ .k-flex { @extend .k-spacer !optional; }
2975
+
2803
2976
  // #endregion
2804
2977
  // #region @import "./_normalize.scss"; -> packages/core/scss/styles/_normalize.scss
2805
2978
  // Hidden attribute
@@ -2816,6 +2989,9 @@ script {
2816
2989
 
2817
2990
  // #endregion
2818
2991
 
2992
+ // #endregion
2993
+ // #region @import "./_variables.scss"; -> packages/core/scss/_variables.scss
2994
+ // File already imported_once. Skipping output.
2819
2995
  // #endregion
2820
2996
 
2821
2997
  // #endregion