@progress/kendo-theme-core 5.10.1-dev.1 → 5.10.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.css +74 -0
- package/dist/all.scss +2815 -0
- package/package.json +2 -2
- package/scss/functions/_color-manipulation.import.scss +6 -0
- package/scss/functions/_color.import.scss +4 -0
- package/scss/functions/_lang.import.scss +3 -0
- package/scss/functions/_list.import.scss +4 -0
- package/scss/functions/index.import.scss +1 -0
- package/scss/index.import.scss +5 -0
- package/scss/mixins/_border-radius.scss +58 -0
- package/scss/mixins/_box-shadow.scss +5 -0
- package/scss/mixins/_data-uri.scss +17 -0
- package/scss/mixins/_disabled.scss +18 -0
- package/scss/mixins/_gradient.scss +36 -0
- package/scss/mixins/_hide-scrollbar.scss +18 -0
- package/scss/mixins/_import-once.scss +14 -0
- package/scss/mixins/_typography.scss +7 -0
- package/scss/mixins/index.import.scss +21 -0
- package/scss/module-system/_components.scss +141 -0
- package/scss/module-system/_dependencies.scss +477 -0
- package/scss/module-system/index.import.scss +48 -0
- package/scss/styles/_accessibility.scss +10 -0
- package/scss/styles/_asp-fallback.scss +4 -0
- package/scss/styles/_layout.scss +56 -0
- package/scss/styles/_normalize.scss +11 -0
- package/scss/styles/index.import.scss +4 -0
package/dist/all.scss
CHANGED
|
@@ -2,5 +2,2820 @@
|
|
|
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;
|
|
54
|
+
|
|
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 );
|
|
59
|
+
|
|
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 + "");
|
|
67
|
+
|
|
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
|
+
}
|
|
72
|
+
|
|
73
|
+
$tmp-result: k-generate-theme-variant( $variant-name, $matrix, $palette-name );
|
|
74
|
+
$result: k-map-merge( $result, $tmp-result );
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@return $result;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
@function k-get-theme-palette( $name ) {
|
|
84
|
+
@return k-map-get( $kendo-palettes, $name );
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@function k-get-theme-color( $palette, $hue ) {
|
|
88
|
+
@if ( k-meta-type-of( $palette ) == "map" ) {
|
|
89
|
+
@return k-map-get( $palette, $hue );
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@return k-map-get( k-get-theme-palette( $palette ), $hue );
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@function k-get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo-" ) {
|
|
96
|
+
@return var( --#{$prefix}#{$name}, #{$fallback} );
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// #endregion
|
|
100
|
+
// #region @import "./_mixins.import.scss"; -> packages/core/scss/color-system/_mixins.import.scss
|
|
101
|
+
|
|
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
|
|
107
|
+
|
|
108
|
+
$rgba-transparent: rgba( 0, 0, 0, 0 ); // stylelint-disable-line scss/dollar-variable-default
|
|
109
|
+
|
|
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
|
|
114
|
+
|
|
115
|
+
$gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000; // stylelint-disable-line scss/dollar-variable-default
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
/// Set a specific jump point for requesting color jumps
|
|
119
|
+
/// @group color-system
|
|
120
|
+
/// @access private
|
|
121
|
+
$kendo-color-level-step: 8% !default;
|
|
122
|
+
|
|
123
|
+
// #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
|
|
1078
|
+
|
|
1079
|
+
// Precomputed linear color channel values, for use in contrast calculations.
|
|
1080
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1081
|
+
//
|
|
1082
|
+
// Algorithm, for c in 0 to 255:
|
|
1083
|
+
// f(c) {
|
|
1084
|
+
// c = c / 255;
|
|
1085
|
+
// return c < 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
|
|
1086
|
+
// }
|
|
1087
|
+
//
|
|
1088
|
+
// This lookup table is needed since there is no `pow` in SASS.
|
|
1089
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
|
1090
|
+
$linear-channel-values: (
|
|
1091
|
+
0
|
|
1092
|
+
.0003035269835488375
|
|
1093
|
+
.000607053967097675
|
|
1094
|
+
.0009105809506465125
|
|
1095
|
+
.00121410793419535
|
|
1096
|
+
.0015176349177441874
|
|
1097
|
+
.001821161901293025
|
|
1098
|
+
.0021246888848418626
|
|
1099
|
+
.0024282158683907
|
|
1100
|
+
.0027317428519395373
|
|
1101
|
+
.003035269835488375
|
|
1102
|
+
.003346535763899161
|
|
1103
|
+
.003676507324047436
|
|
1104
|
+
.004024717018496307
|
|
1105
|
+
.004391442037410293
|
|
1106
|
+
.004776953480693729
|
|
1107
|
+
.005181516702338386
|
|
1108
|
+
.005605391624202723
|
|
1109
|
+
.006048833022857054
|
|
1110
|
+
.006512090792594475
|
|
1111
|
+
.006995410187265387
|
|
1112
|
+
.007499032043226175
|
|
1113
|
+
.008023192985384994
|
|
1114
|
+
.008568125618069307
|
|
1115
|
+
.009134058702220787
|
|
1116
|
+
.00972121732023785
|
|
1117
|
+
.010329823029626936
|
|
1118
|
+
.010960094006488246
|
|
1119
|
+
.011612245179743885
|
|
1120
|
+
.012286488356915872
|
|
1121
|
+
.012983032342173012
|
|
1122
|
+
.013702083047289686
|
|
1123
|
+
.014443843596092545
|
|
1124
|
+
.01520851442291271
|
|
1125
|
+
.01599629336550963
|
|
1126
|
+
.016807375752887384
|
|
1127
|
+
.017641954488384078
|
|
1128
|
+
.018500220128379697
|
|
1129
|
+
.019382360956935723
|
|
1130
|
+
.0202885630566524
|
|
1131
|
+
.021219010376003555
|
|
1132
|
+
.022173884793387385
|
|
1133
|
+
.02315336617811041
|
|
1134
|
+
.024157632448504756
|
|
1135
|
+
.02518685962736163
|
|
1136
|
+
.026241221894849898
|
|
1137
|
+
.027320891639074894
|
|
1138
|
+
.028426039504420793
|
|
1139
|
+
.0295568344378088
|
|
1140
|
+
.030713443732993635
|
|
1141
|
+
.03189603307301153
|
|
1142
|
+
.033104766570885055
|
|
1143
|
+
.03433980680868217
|
|
1144
|
+
.03560131487502034
|
|
1145
|
+
.03688945040110004
|
|
1146
|
+
.0382043715953465
|
|
1147
|
+
.03954623527673284
|
|
1148
|
+
.04091519690685319
|
|
1149
|
+
.042311410620809675
|
|
1150
|
+
.043735029256973465
|
|
1151
|
+
.04518620438567554
|
|
1152
|
+
.046665086336880095
|
|
1153
|
+
.04817182422688942
|
|
1154
|
+
.04970656598412723
|
|
1155
|
+
.05126945837404324
|
|
1156
|
+
.052860647023180246
|
|
1157
|
+
.05448027644244237
|
|
1158
|
+
.05612849004960009
|
|
1159
|
+
.05780543019106723
|
|
1160
|
+
.0595112381629812
|
|
1161
|
+
.06124605423161761
|
|
1162
|
+
.06301001765316767
|
|
1163
|
+
.06480326669290577
|
|
1164
|
+
.06662593864377289
|
|
1165
|
+
.06847816984440017
|
|
1166
|
+
.07036009569659588
|
|
1167
|
+
.07227185068231748
|
|
1168
|
+
.07421356838014963
|
|
1169
|
+
.07618538148130785
|
|
1170
|
+
.07818742180518633
|
|
1171
|
+
.08021982031446832
|
|
1172
|
+
.0822827071298148
|
|
1173
|
+
.08437621154414882
|
|
1174
|
+
.08650046203654976
|
|
1175
|
+
.08865558628577294
|
|
1176
|
+
.09084171118340768
|
|
1177
|
+
.09305896284668745
|
|
1178
|
+
.0953074666309647
|
|
1179
|
+
.09758734714186246
|
|
1180
|
+
.09989872824711389
|
|
1181
|
+
.10224173308810132
|
|
1182
|
+
.10461648409110419
|
|
1183
|
+
.10702310297826761
|
|
1184
|
+
.10946171077829933
|
|
1185
|
+
.1119324278369056
|
|
1186
|
+
.11443537382697373
|
|
1187
|
+
.11697066775851084
|
|
1188
|
+
.11953842798834562
|
|
1189
|
+
.12213877222960187
|
|
1190
|
+
.12477181756095049
|
|
1191
|
+
.12743768043564743
|
|
1192
|
+
.1301364766903643
|
|
1193
|
+
.13286832155381798
|
|
1194
|
+
.13563332965520566
|
|
1195
|
+
.13843161503245183
|
|
1196
|
+
.14126329114027164
|
|
1197
|
+
.14412847085805777
|
|
1198
|
+
.14702726649759498
|
|
1199
|
+
.14995978981060856
|
|
1200
|
+
.15292615199615017
|
|
1201
|
+
.1559264637078274
|
|
1202
|
+
.1589608350608804
|
|
1203
|
+
.162029375639111
|
|
1204
|
+
.1651321945016676
|
|
1205
|
+
.16826940018969075
|
|
1206
|
+
.1714411007328226
|
|
1207
|
+
.17464740365558504
|
|
1208
|
+
.17788841598362912
|
|
1209
|
+
.18116424424986022
|
|
1210
|
+
.184474994500441
|
|
1211
|
+
.18782077230067787
|
|
1212
|
+
.19120168274079138
|
|
1213
|
+
.1946178304415758
|
|
1214
|
+
.19806931955994886
|
|
1215
|
+
.20155625379439707
|
|
1216
|
+
.20507873639031693
|
|
1217
|
+
.20863687014525575
|
|
1218
|
+
.21223075741405523
|
|
1219
|
+
.21586050011389926
|
|
1220
|
+
.2195261997292692
|
|
1221
|
+
.2232279573168085
|
|
1222
|
+
.22696587351009836
|
|
1223
|
+
.23074004852434915
|
|
1224
|
+
.23455058216100522
|
|
1225
|
+
.238397573812271
|
|
1226
|
+
.24228112246555486
|
|
1227
|
+
.24620132670783548
|
|
1228
|
+
.25015828472995344
|
|
1229
|
+
.25415209433082675
|
|
1230
|
+
.2581828529215958
|
|
1231
|
+
.26225065752969623
|
|
1232
|
+
.26635560480286247
|
|
1233
|
+
.2704977910130658
|
|
1234
|
+
.27467731206038465
|
|
1235
|
+
.2788942634768104
|
|
1236
|
+
.2831487404299921
|
|
1237
|
+
.2874408377269175
|
|
1238
|
+
.29177064981753587
|
|
1239
|
+
.2961382707983211
|
|
1240
|
+
.3005437944157765
|
|
1241
|
+
.3049873140698863
|
|
1242
|
+
.30946892281750854
|
|
1243
|
+
.31398871337571754
|
|
1244
|
+
.31854677812509186
|
|
1245
|
+
.32314320911295075
|
|
1246
|
+
.3277780980565422
|
|
1247
|
+
.33245153634617935
|
|
1248
|
+
.33716361504833037
|
|
1249
|
+
.3419144249086609
|
|
1250
|
+
.3467040563550296
|
|
1251
|
+
.35153259950043936
|
|
1252
|
+
.3564001441459435
|
|
1253
|
+
.3613067797835095
|
|
1254
|
+
.3662525955988395
|
|
1255
|
+
.3712376804741491
|
|
1256
|
+
.3762621229909065
|
|
1257
|
+
.38132601143253014
|
|
1258
|
+
.386429433787049
|
|
1259
|
+
.39157247774972326
|
|
1260
|
+
.39675523072562685
|
|
1261
|
+
.4019777798321958
|
|
1262
|
+
.4072402119017367
|
|
1263
|
+
.41254261348390375
|
|
1264
|
+
.4178850708481375
|
|
1265
|
+
.4232676699860717
|
|
1266
|
+
.4286904966139066
|
|
1267
|
+
.43415363617474895
|
|
1268
|
+
.4396571738409188
|
|
1269
|
+
.44520119451622786
|
|
1270
|
+
.45078578283822346
|
|
1271
|
+
.45641102318040466
|
|
1272
|
+
.4620769996544071
|
|
1273
|
+
.467783796112159
|
|
1274
|
+
.47353149614800955
|
|
1275
|
+
.4793201831008268
|
|
1276
|
+
.4851499400560704
|
|
1277
|
+
.4910208498478356
|
|
1278
|
+
.4969329950608704
|
|
1279
|
+
.5028864580325687
|
|
1280
|
+
.5088813208549338
|
|
1281
|
+
.5149176653765214
|
|
1282
|
+
.5209955732043543
|
|
1283
|
+
.5271151257058131
|
|
1284
|
+
.5332764040105052
|
|
1285
|
+
.5394794890121072
|
|
1286
|
+
.5457244613701866
|
|
1287
|
+
.5520114015120001
|
|
1288
|
+
.5583403896342679
|
|
1289
|
+
.5647115057049292
|
|
1290
|
+
.5711248294648731
|
|
1291
|
+
.5775804404296506
|
|
1292
|
+
.5840784178911641
|
|
1293
|
+
.5906188409193369
|
|
1294
|
+
.5972017883637634
|
|
1295
|
+
.6038273388553378
|
|
1296
|
+
.6104955708078648
|
|
1297
|
+
.6172065624196511
|
|
1298
|
+
.6239603916750761
|
|
1299
|
+
.6307571363461468
|
|
1300
|
+
.6375968739940326
|
|
1301
|
+
.6444796819705821
|
|
1302
|
+
.6514056374198242
|
|
1303
|
+
.6583748172794485
|
|
1304
|
+
.665387298282272
|
|
1305
|
+
.6724431569576875
|
|
1306
|
+
.6795424696330938
|
|
1307
|
+
.6866853124353135
|
|
1308
|
+
.6938717612919899
|
|
1309
|
+
.7011018919329731
|
|
1310
|
+
.7083757798916868
|
|
1311
|
+
.7156935005064807
|
|
1312
|
+
.7230551289219693
|
|
1313
|
+
.7304607400903537
|
|
1314
|
+
.7379104087727308
|
|
1315
|
+
.7454042095403874
|
|
1316
|
+
.7529422167760779
|
|
1317
|
+
.7605245046752924
|
|
1318
|
+
.768151147247507
|
|
1319
|
+
.7758222183174236
|
|
1320
|
+
.7835377915261935
|
|
1321
|
+
.7912979403326302
|
|
1322
|
+
.799102738014409
|
|
1323
|
+
.8069522576692516
|
|
1324
|
+
.8148465722161012
|
|
1325
|
+
.8227857543962835
|
|
1326
|
+
.8307698767746546
|
|
1327
|
+
.83879901174074
|
|
1328
|
+
.846873231509858
|
|
1329
|
+
.8549926081242338
|
|
1330
|
+
.8631572134541023
|
|
1331
|
+
.8713671191987972
|
|
1332
|
+
.8796223968878317
|
|
1333
|
+
.8879231178819663
|
|
1334
|
+
.8962693533742664
|
|
1335
|
+
.9046611743911496
|
|
1336
|
+
.9130986517934192
|
|
1337
|
+
.9215818562772946
|
|
1338
|
+
.9301108583754237
|
|
1339
|
+
.938685728457888
|
|
1340
|
+
.9473065367331999
|
|
1341
|
+
.9559733532492861
|
|
1342
|
+
.9646862478944651
|
|
1343
|
+
.9734452903984125
|
|
1344
|
+
.9822505503331171
|
|
1345
|
+
.9911020971138298
|
|
1346
|
+
1
|
|
1347
|
+
);
|
|
1348
|
+
|
|
1349
|
+
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark".
|
|
1350
|
+
// Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
|
1351
|
+
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
|
1352
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1353
|
+
$wcag-min-contrast-ratio: 7 !default;
|
|
1354
|
+
$wcag-dark: black !default;
|
|
1355
|
+
$wcag-light: white !default;
|
|
1356
|
+
|
|
1357
|
+
// Calculate the luminance for a color.
|
|
1358
|
+
// See https://www.w3.org/TR/WCAG/#dfn-relative-luminance
|
|
1359
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1360
|
+
@function k-color-luminance( $color ) {
|
|
1361
|
+
$red: k-list-nth( $linear-channel-values, k-color-red( $color ) + 1 );
|
|
1362
|
+
$green: k-list-nth( $linear-channel-values, k-color-green( $color ) + 1 );
|
|
1363
|
+
$blue: k-list-nth( $linear-channel-values, k-color-blue( $color ) + 1 );
|
|
1364
|
+
|
|
1365
|
+
@return .2126 * $red + .7152 * $green + .0722 * $blue;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
// Calculate the luminance for a color.
|
|
1369
|
+
// See https://www.w3.org/TR/WCAG/#dfn-contrast-ratio
|
|
1370
|
+
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1371
|
+
@function k-color-contrast-ratio( $background, $foreground ) {
|
|
1372
|
+
// sass-lint:disable-block variable-name-format
|
|
1373
|
+
$backLum: k-color-luminance( $background ) + .05;
|
|
1374
|
+
$foreLum: k-color-luminance( $foreground ) + .05;
|
|
1375
|
+
|
|
1376
|
+
@return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
@function k-is-dark( $color ) {
|
|
1380
|
+
@return if( k-color-luminance( $color ) < .5, true, false );
|
|
1381
|
+
}
|
|
1382
|
+
@function k-is-light( $color ) {
|
|
1383
|
+
@return if( k-color-luminance( $color ) < .5, false, true );
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
// Contrast functions
|
|
1388
|
+
@function k-contrast-color( $background, $dark: $wcag-dark, $light: $wcag-light, $min-ratio: $wcag-min-contrast-ratio ) {
|
|
1389
|
+
$foregrounds: $light, $dark, #ffffff, #000000;
|
|
1390
|
+
$max-ratio: 0;
|
|
1391
|
+
$max-ratio-color: null;
|
|
1392
|
+
|
|
1393
|
+
@each $color in $foregrounds {
|
|
1394
|
+
$contrast-ratio: k-color-contrast-ratio( $background, $color );
|
|
1395
|
+
|
|
1396
|
+
@if ( $contrast-ratio > $min-ratio ) {
|
|
1397
|
+
@return $color;
|
|
1398
|
+
} @else if ( $contrast-ratio > $max-ratio ) {
|
|
1399
|
+
$max-ratio: $contrast-ratio;
|
|
1400
|
+
$max-ratio-color: $color;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
// sass-lint:disable-block no-warn
|
|
1405
|
+
@warn "Found no color leading to #{$min-ratio}:1 contrast ratio against #{$background}...";
|
|
1406
|
+
|
|
1407
|
+
@return $max-ratio-color;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
// #endregion
|
|
1411
|
+
// #region @import "_color-manipulation.import.scss"; -> packages/core/scss/functions/_color-manipulation.import.scss
|
|
1412
|
+
/// Set a specific jump point for requesting color jumps
|
|
1413
|
+
/// @group color-system
|
|
1414
|
+
/// @access private
|
|
1415
|
+
$kendo-color-level-step: 8% !default;
|
|
1416
|
+
|
|
1417
|
+
@function k-color-level( $color, $level: 0 ) {
|
|
1418
|
+
|
|
1419
|
+
@if ( $level == 0 ) or ( $level == 0% ) {
|
|
1420
|
+
@return $color;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
$base: if( $level < 0, #ffffff, #000000 );
|
|
1424
|
+
$level: k-math-abs( $level );
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
@if ( k-math-unit($level) == "%" ) {
|
|
1428
|
+
@return k-color-mix( $base, $color, $level );
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
@return k-color-mix( $base, $color, $level * $kendo-color-level-step );
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
@function k-color-tint( $color, $level: 1 ) {
|
|
1435
|
+
@return k-color-level( $color, -$level );
|
|
1436
|
+
}
|
|
1437
|
+
@function k-color-shade( $color, $level: 1 ) {
|
|
1438
|
+
@return k-color-level( $color, $level );
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
@function k-try-shade( $color, $level: 1 ) {
|
|
1442
|
+
$dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
|
|
1443
|
+
|
|
1444
|
+
@if $dark-theme {
|
|
1445
|
+
@return k-color-tint( $color, $level );
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
@return k-color-shade( $color, $level );
|
|
1449
|
+
}
|
|
1450
|
+
@function k-try-tint( $color, $level: 1 ) {
|
|
1451
|
+
$dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
|
|
1452
|
+
|
|
1453
|
+
@if $dark-theme {
|
|
1454
|
+
@return k-color-shade( $color, $level );
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
@return k-color-tint( $color, $level );
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
@function k-try-darken( $color, $amount ) {
|
|
1462
|
+
$dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
|
|
1463
|
+
|
|
1464
|
+
@if $dark-theme {
|
|
1465
|
+
@return k-color-lighten( $color, $amount );
|
|
1466
|
+
}
|
|
1467
|
+
@return k-color-darken( $color, $amount );
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
@function k-try-lighten( $color, $amount ) {
|
|
1471
|
+
$dark-theme: if( variable-exists( dark-theme ), $dark-theme, false );
|
|
1472
|
+
|
|
1473
|
+
@if $dark-theme {
|
|
1474
|
+
@return k-color-darken( $color, $amount );
|
|
1475
|
+
}
|
|
1476
|
+
@return k-color-lighten( $color, $amount );
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
@function k-rgba-to-mix( $color, $bg ) {
|
|
1480
|
+
$percent: k-color-alpha( $color ) * 100%;
|
|
1481
|
+
|
|
1482
|
+
@return k-color-mix( rgba( $color, 1 ), $bg, $percent );
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
// TODO: Remove this function or rethink the logic
|
|
1486
|
+
@function k-true-mix( $color1, $color2, $weight: 50% ) {
|
|
1487
|
+
@return k-color-mix( rgba( $color1, 1 ), rgba( $color2, 1 ), $weight );
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
// #endregion
|
|
1491
|
+
// #region @import "_custom-properties.import.scss"; -> packages/core/scss/functions/_custom-properties.import.scss
|
|
1492
|
+
@function k-var( $prefix: kendo-, $var: null, $fallback: null ) {
|
|
1493
|
+
$_prefix: $prefix;
|
|
1494
|
+
$_var: $var;
|
|
1495
|
+
$_fallback: $fallback;
|
|
1496
|
+
|
|
1497
|
+
@if ( k-string-index( $prefix, "--" ) == 1 ) {
|
|
1498
|
+
$_prefix: "";
|
|
1499
|
+
$_var: k-string-slice( $prefix, 3 );
|
|
1500
|
+
$_fallback: $var;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
@if not $_var {
|
|
1504
|
+
@return null;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
@if $_prefix == null {
|
|
1508
|
+
$_prefix: "";
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
@if ($_fallback != null and $_fallback != "") {
|
|
1512
|
+
@return var( --#{$_prefix}#{$_var}, #{$_fallback} );
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
@return var( --#{$_prefix}#{$_var} );
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
@function k-vars( $prefix: kendo-, $vars... ) {
|
|
1519
|
+
$vars: k-list-reverse( $vars );
|
|
1520
|
+
$result: null;
|
|
1521
|
+
|
|
1522
|
+
// @debug $prefix;
|
|
1523
|
+
@each $var in $vars {
|
|
1524
|
+
$result: k-var( $prefix, $var, $result );
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
@return $result;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
// #endregion
|
|
1531
|
+
// #region @import "_lang.import.scss"; -> packages/core/scss/functions/_lang.import.scss
|
|
1532
|
+
@function k-if-var( $var, $fallback ) {
|
|
1533
|
+
@return if( $var != null, $var, $fallback );
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
// #endregion
|
|
1537
|
+
// #region @import "_list.import.scss"; -> packages/core/scss/functions/_list.import.scss
|
|
1538
|
+
@function k-list-append( $list, $val, $separator: auto ) {
|
|
1539
|
+
@return append( $list, $val, $separator );
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
@function k-list-includes( $list, $value ) {
|
|
1543
|
+
@return k-list-index( $list, $value ) != null;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
@function k-list-index( $list, $value ) {
|
|
1547
|
+
@return index( $list, $value );
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
@function k-list-is-bracketed( $list ) {
|
|
1551
|
+
@return is-bracketed( $list );
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
@function k-list-join( $list1, $list2, $separator: auto, $bracketed: auto ) {
|
|
1555
|
+
@return join( $list1, $list2, $separator, $bracketed );
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
@function k-list-length( $list ) {
|
|
1559
|
+
@return length( $list );
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
@function k-list-nth( $list, $n ) {
|
|
1563
|
+
@return nth( $list, $n );
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
@function k-list-reverse( $list: null ) {
|
|
1567
|
+
$result: ();
|
|
1568
|
+
|
|
1569
|
+
@if ($list) {
|
|
1570
|
+
$len: k-list-length( $list );
|
|
1571
|
+
|
|
1572
|
+
@for $i from $len through 1 {
|
|
1573
|
+
$result: k-list-append( $result, k-list-nth( $list, $i ) );
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
@return $result;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
// sass-lint:disable-block no-warn
|
|
1580
|
+
@warn "No list passed.";
|
|
1581
|
+
@return $result;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
@function k-list-separator( $list ) {
|
|
1585
|
+
@return list-separator( $list );
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
@function k-list-set-nth( $list, $n, $value ) {
|
|
1589
|
+
@return set-nth( $list, $n, $value );
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
@function k-list-zip( $lists... ) {
|
|
1593
|
+
@return zip( $lists... );
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
// #endregion
|
|
1597
|
+
// #region @import "_math.import.scss"; -> packages/core/scss/functions/_math.import.scss
|
|
1598
|
+
@function k-math-abs( $number ) {
|
|
1599
|
+
@return abs( $number );
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
@function k-math-ceil( $number ) {
|
|
1603
|
+
@return ceil( $number );
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
@function k-math-clamp( $value, $min, $max ) {
|
|
1607
|
+
@return k-math-max( $min, k-math-min( $max, $value ) );
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
@function k-math-compatible( $a, $b ) {
|
|
1611
|
+
@return comparable( $a, $b );
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
@function k-math-div( $a, $b ) {
|
|
1615
|
+
@return ( $a / $b );
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
@function k-math-is-unitless( $number ) {
|
|
1619
|
+
@return unitless( $number );
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
@function k-math-max( $a, $b ) {
|
|
1623
|
+
@return max( $a, $b );
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
@function k-math-min( $a, $b ) {
|
|
1627
|
+
@return min( $a, $b );
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
@function k-math-mod( $a, $b ) {
|
|
1631
|
+
@return ( $a % $b );
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
@function k-math-mul( $a, $b ) {
|
|
1635
|
+
@return ( $a * $b );
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
@function k-math-percentage( $number ) {
|
|
1639
|
+
@return ( $number * 100% );
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
@function k-math-pow( $x, $n ) {
|
|
1643
|
+
$ret: 1;
|
|
1644
|
+
|
|
1645
|
+
@if ( $n == 0 ) {
|
|
1646
|
+
@return $ret;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
@if ( $n > 0 ) {
|
|
1650
|
+
@for $i from 1 through $n {
|
|
1651
|
+
$ret: $ret * $x;
|
|
1652
|
+
}
|
|
1653
|
+
@return $ret;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
@for $i from $n to 0 {
|
|
1657
|
+
$ret: k-math-div( $ret, $x );
|
|
1658
|
+
}
|
|
1659
|
+
@return $ret;
|
|
1660
|
+
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
@function k-math-random( $limit: null ) {
|
|
1664
|
+
@if ( $limit == null ) {
|
|
1665
|
+
@return random();
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
@return random( $limit );
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
@function k-math-round( $number, $precision: 0 ) {
|
|
1672
|
+
|
|
1673
|
+
@if ( $precision == 0 ) {
|
|
1674
|
+
@return round( $number );
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
$pow: k-math-pow( 10, $precision );
|
|
1678
|
+
|
|
1679
|
+
@return k-math-div( round( $number * $pow ), $pow );
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
@function k-math-unit( $number ) {
|
|
1683
|
+
@return unit( $number );
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
@function k-math-strip-unit($number) {
|
|
1687
|
+
@if ( k-meta-type-of( $number ) == "number" ) and not k-math-is-unitless( $number ) {
|
|
1688
|
+
@return k-math-div( $number, 1 * k-math-unit( $number) );
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
@return $number;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
// #endregion
|
|
1695
|
+
// #region @import "_map.import.scss"; -> packages/core/scss/functions/_map.import.scss
|
|
1696
|
+
@function k-map-get( $map, $keys... ) {
|
|
1697
|
+
@each $key in $keys {
|
|
1698
|
+
$map: map-get( $map, $key );
|
|
1699
|
+
}
|
|
1700
|
+
@return $map;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
@function k-map-has-key( $map, $key ) {
|
|
1704
|
+
@return map-has-key( $map, $key );
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
@function k-map-keys( $map ) {
|
|
1708
|
+
@return map-keys( $map );
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
@function k-map-merge( $map, $args... ) {
|
|
1712
|
+
@each $arg in $args {
|
|
1713
|
+
$map: map-merge( $map, $arg );
|
|
1714
|
+
}
|
|
1715
|
+
@return $map;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
@function k-map-remove( $map, $keys... ) {
|
|
1719
|
+
@return map-remove( $map, $keys... );
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
@function k-map-set( $map, $key, $value ) {
|
|
1723
|
+
@return k-map-merge( $map, ( $key: $value ) );
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
@function k-map-values( $map ) {
|
|
1727
|
+
@return map-values( $map );
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
// #endregion
|
|
1731
|
+
// #region @import "_meta.import.scss"; -> packages/core/scss/functions/_meta.import.scss
|
|
1732
|
+
// Adapted from https://css-tricks.com/snippets/sass/advanced-type-checking/
|
|
1733
|
+
|
|
1734
|
+
@function k-meta-type-of( $value ) {
|
|
1735
|
+
@return type-of( $value );
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
@function k-meta-is-number( $value ) {
|
|
1739
|
+
@return k-meta-type-of( $value ) == "number";
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
@function k-meta-is-integer( $value ) {
|
|
1743
|
+
@return k-meta-is-number( $value ) and k-math-round( $value ) == $value;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
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
|
+
|
|
1750
|
+
@function k-meta-is-duration( $value ) {
|
|
1751
|
+
@return k-meta-is-time( $value );
|
|
1752
|
+
}
|
|
1753
|
+
|
|
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
|
+
}
|
|
1757
|
+
|
|
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;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
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;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
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
|
+
}
|
|
1769
|
+
|
|
1770
|
+
@function k-meta-is-percentage( $value ) {
|
|
1771
|
+
@return k-meta-is-number( $value ) and k-math-unit( $value ) == "%";
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
@function k-meta-is-length( $value ) {
|
|
1775
|
+
@return k-meta-is-relative-length( $value ) or k-meta-is-absolute-length( $value );
|
|
1776
|
+
}
|
|
1777
|
+
|
|
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
|
+
}
|
|
1781
|
+
|
|
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
|
+
}
|
|
1785
|
+
|
|
1786
|
+
// #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
|
+
}
|
|
1791
|
+
|
|
1792
|
+
@function k-string-insert( $string, $insert, $index ) {
|
|
1793
|
+
@return str-insert( $string, $insert, $index );
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
@function k-string-length( $string ) {
|
|
1797
|
+
@return str-length( $string );
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
@function k-string-quote( $string ) {
|
|
1801
|
+
@return quote( $string );
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
// See https://www.sassmeister.com/gist/1b4f2da5527830088e4d
|
|
1805
|
+
@function k-string-replace( $string, $search, $replace: "" ) {
|
|
1806
|
+
$index: k-string-index( $string, $search );
|
|
1807
|
+
|
|
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
|
+
}
|
|
1811
|
+
|
|
1812
|
+
@return $string;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
@function k-string-slice( $string, $start-at, $end-at: -1 ) {
|
|
1816
|
+
@return str-slice( $string, $start-at, $end-at );
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
@function k-string-to-lower-case( $string ) {
|
|
1820
|
+
@return to-lower-case( $string );
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
@function k-string-to-upper-case( $string ) {
|
|
1824
|
+
@return to-upper-case( $string );
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
@function k-string-unique-id() {
|
|
1828
|
+
@return unique-id();
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
@function k-string-unquote( $string ) {
|
|
1832
|
+
@return unquote( $string );
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
// #endregion
|
|
1836
|
+
|
|
1837
|
+
// #endregion
|
|
1838
|
+
// #region @import "./mixins/index.import.scss"; -> packages/core/scss/mixins/index.import.scss
|
|
1839
|
+
// #region @import "./_border-radius.scss"; -> packages/core/scss/mixins/_border-radius.scss
|
|
1840
|
+
// Border radius
|
|
1841
|
+
@mixin border-radius( $radius: null ) {
|
|
1842
|
+
@if $enable-rounded {
|
|
1843
|
+
border-radius: $radius;
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
@mixin border-top-radius( $radius: null ) {
|
|
1848
|
+
@if $enable-rounded {
|
|
1849
|
+
border-top-left-radius: $radius;
|
|
1850
|
+
border-top-right-radius: $radius;
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
@mixin border-right-radius( $radius: null ) {
|
|
1855
|
+
@if $enable-rounded {
|
|
1856
|
+
border-top-right-radius: $radius;
|
|
1857
|
+
border-bottom-right-radius: $radius;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
@mixin border-bottom-radius( $radius: null ) {
|
|
1862
|
+
@if $enable-rounded {
|
|
1863
|
+
border-bottom-right-radius: $radius;
|
|
1864
|
+
border-bottom-left-radius: $radius;
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
@mixin border-left-radius( $radius: null ) {
|
|
1869
|
+
@if $enable-rounded {
|
|
1870
|
+
border-top-left-radius: $radius;
|
|
1871
|
+
border-bottom-left-radius: $radius;
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
@mixin border-top-radius-only( $radius: null ) {
|
|
1876
|
+
@if $enable-rounded {
|
|
1877
|
+
border-radius: $radius $radius 0 0;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
@mixin border-right-radius-only( $radius: null ) {
|
|
1882
|
+
@if $enable-rounded {
|
|
1883
|
+
border-radius: 0 $radius $radius 0;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
@mixin border-bottom-radius-only( $radius: null ) {
|
|
1888
|
+
@if $enable-rounded {
|
|
1889
|
+
border-radius: 0 0 $radius $radius;
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
@mixin border-left-radius-only( $radius: null ) {
|
|
1894
|
+
@if $enable-rounded {
|
|
1895
|
+
border-radius: $radius 0 0 $radius;
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
// #endregion
|
|
1900
|
+
// #region @import "./_box-shadow.scss"; -> packages/core/scss/mixins/_box-shadow.scss
|
|
1901
|
+
@mixin box-shadow( $shadow... ) {
|
|
1902
|
+
@if $enable-shadows and nth($shadow, 1) {
|
|
1903
|
+
box-shadow: $shadow;
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
// #endregion
|
|
1908
|
+
// #region @import "./_data-uri.scss"; -> packages/core/scss/mixins/_data-uri.scss
|
|
1909
|
+
/// A list of files converted to data URIs
|
|
1910
|
+
/// @access private
|
|
1911
|
+
$data-uris: () !default;
|
|
1912
|
+
|
|
1913
|
+
/// Saves a data URI that can be used from the $data-uris map instead of a file reference.
|
|
1914
|
+
/// @access private
|
|
1915
|
+
/// @param {String} $name - The name of the resource.
|
|
1916
|
+
/// @param {String} $content - The data URI of the resource.
|
|
1917
|
+
/// @require $data-uris
|
|
1918
|
+
@mixin register-data-uri( $name, $content ) {
|
|
1919
|
+
@if ( k-map-has-key( $data-uris, $name ) ) {
|
|
1920
|
+
// sass-lint:disable-block no-warn
|
|
1921
|
+
@warn "Attempt to redefine data URI of file `#{$name}`.";
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
$data-uris: k-map-merge( $data-uris, ( $name: $content ) ) !global;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
// #endregion
|
|
1928
|
+
// #region @import "./_disabled.scss"; -> packages/core/scss/mixins/_disabled.scss
|
|
1929
|
+
$disabled-styling: () !default;
|
|
1930
|
+
|
|
1931
|
+
// Disabled
|
|
1932
|
+
@mixin disabled( $disabled-styling ) {
|
|
1933
|
+
outline: none;
|
|
1934
|
+
cursor: default;
|
|
1935
|
+
opacity: k-map-get($disabled-styling, opacity);
|
|
1936
|
+
filter: k-map-get($disabled-styling, filter);
|
|
1937
|
+
pointer-events: none;
|
|
1938
|
+
box-shadow: none;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
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;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
// #endregion
|
|
1949
|
+
// #region @import "./_gradient.scss"; -> packages/core/scss/mixins/_gradient.scss
|
|
1950
|
+
@mixin linear-gradient( $gradient: null ) {
|
|
1951
|
+
@if $gradient and $enable-gradients {
|
|
1952
|
+
@if $gradient == none {
|
|
1953
|
+
background-image: none;
|
|
1954
|
+
} @else {
|
|
1955
|
+
background-image: linear-gradient( $gradient );
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
@mixin striped-gradient( $color: rgba( white, .15 ), $angle: 45deg ) {
|
|
1961
|
+
background-image: linear-gradient( $angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent );
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
@mixin repeating-striped-gradient( $color: rgba( white, .15), $background: white, $angle: 45deg, $large-step: 2px, $small-step: 1px ) {
|
|
1965
|
+
background-image: repeating-linear-gradient( $angle, $background, $background $small-step, $color $small-step, $color $large-step );
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
@mixin checkerboard-gradient( $primary-color: white, $secondary-color: rgba( black, .09 ), $size: 10px ) {
|
|
1969
|
+
// sass-lint:disable-block indentation
|
|
1970
|
+
$_position: calc( #{$size} / 2 );
|
|
1971
|
+
|
|
1972
|
+
background:
|
|
1973
|
+
linear-gradient( 45deg, $secondary-color 25%, transparent 25%, transparent 75%, $secondary-color 75%, $secondary-color ),
|
|
1974
|
+
linear-gradient( 45deg, $secondary-color 25%, transparent 25%, transparent 75%, $secondary-color 75%, $secondary-color ),
|
|
1975
|
+
$primary-color;
|
|
1976
|
+
background-repeat: repeat, repeat;
|
|
1977
|
+
background-position: 0px 0px, $_position $_position;
|
|
1978
|
+
transform-origin: 0 0 0;
|
|
1979
|
+
background-origin: padding-box, padding-box;
|
|
1980
|
+
background-size: $size $size, $size $size;
|
|
1981
|
+
box-shadow: none;
|
|
1982
|
+
text-shadow: none;
|
|
1983
|
+
transition: none;
|
|
1984
|
+
transform: scaleX(1) scaleY(1) scaleZ(1);
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
// #endregion
|
|
1988
|
+
// #region @import "./_hide-scrollbar.scss"; -> packages/core/scss/mixins/_hide-scrollbar.scss
|
|
1989
|
+
$default-scrollbar-width: 17px !default;
|
|
1990
|
+
|
|
1991
|
+
@mixin hide-scrollbar( $dir: "right", $max-scrollbar: 100px ) {
|
|
1992
|
+
// anything larger than the scrollbar width will do
|
|
1993
|
+
$scrollbar-size: var( --kendo-scrollbar-width, #{$default-scrollbar-width} );
|
|
1994
|
+
$margin: calc( -#{$max-scrollbar} - #{$scrollbar-size} );
|
|
1995
|
+
|
|
1996
|
+
padding-right: $max-scrollbar;
|
|
1997
|
+
padding-left: $max-scrollbar;
|
|
1998
|
+
|
|
1999
|
+
@if ( $dir == "right" ) {
|
|
2000
|
+
margin-left: -$max-scrollbar;
|
|
2001
|
+
margin-right: $margin;
|
|
2002
|
+
} @else {
|
|
2003
|
+
margin-left: $margin;
|
|
2004
|
+
margin-right: -$max-scrollbar;
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
// #endregion
|
|
2009
|
+
// #region @import "./_import-once.scss"; -> packages/core/scss/mixins/_import-once.scss
|
|
2010
|
+
/// A list of exported modules.
|
|
2011
|
+
/// @access private
|
|
2012
|
+
$imported-modules: () !default;
|
|
2013
|
+
|
|
2014
|
+
/// Outputs a module once, no matter how many times it is included.
|
|
2015
|
+
/// @access public
|
|
2016
|
+
/// @param {String} $name - The name of the exported module.
|
|
2017
|
+
/// @require $imported-modules
|
|
2018
|
+
@mixin exports( $name ) {
|
|
2019
|
+
@if (k-list-index( $imported-modules, $name ) == null) {
|
|
2020
|
+
$imported-modules: k-list-append( $imported-modules, $name ) !global;
|
|
2021
|
+
@content;
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
// #endregion
|
|
2026
|
+
// #region @import "./_typography.scss"; -> packages/core/scss/mixins/_typography.scss
|
|
2027
|
+
@mixin typography( $font-size: null, $font-family: null, $line-height: null, $font-weight: null, $letter-spacing: null ) {
|
|
2028
|
+
font-size: $font-size;
|
|
2029
|
+
font-family: $font-family;
|
|
2030
|
+
line-height: $line-height;
|
|
2031
|
+
font-weight: $font-weight;
|
|
2032
|
+
letter-spacing: $letter-spacing;
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
// #endregion
|
|
2036
|
+
|
|
2037
|
+
@mixin fill( $color: null, $bg: null, $border: null, $gradient: null ) {
|
|
2038
|
+
border-color: $border;
|
|
2039
|
+
color: $color;
|
|
2040
|
+
background-color: $bg;
|
|
2041
|
+
@include linear-gradient( $gradient );
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
@mixin background-image( $background-image: null ) {
|
|
2045
|
+
@if $background-image {
|
|
2046
|
+
background-image: url(#{$background-image});
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
// #endregion
|
|
2051
|
+
// #region @import "./module-system/index.import.scss"; -> packages/core/scss/module-system/index.import.scss
|
|
2052
|
+
// #region @import "./_components.scss"; -> packages/core/scss/module-system/_components.scss
|
|
2053
|
+
$kendo-components: (
|
|
2054
|
+
// Typography and utils
|
|
2055
|
+
"typography",
|
|
2056
|
+
"utils",
|
|
2057
|
+
"cursor",
|
|
2058
|
+
"draggable",
|
|
2059
|
+
|
|
2060
|
+
// Generic content
|
|
2061
|
+
"table",
|
|
2062
|
+
"icon",
|
|
2063
|
+
"chip",
|
|
2064
|
+
"messagebox",
|
|
2065
|
+
|
|
2066
|
+
// Primitive components
|
|
2067
|
+
"input",
|
|
2068
|
+
"list",
|
|
2069
|
+
"listgroup",
|
|
2070
|
+
"overlay",
|
|
2071
|
+
"ripple",
|
|
2072
|
+
"virtual-scroller",
|
|
2073
|
+
|
|
2074
|
+
// Indicators
|
|
2075
|
+
"avatar",
|
|
2076
|
+
"badge",
|
|
2077
|
+
"color-preview",
|
|
2078
|
+
"loader",
|
|
2079
|
+
"skeleton",
|
|
2080
|
+
"tooltip",
|
|
2081
|
+
|
|
2082
|
+
// Native forms
|
|
2083
|
+
"button",
|
|
2084
|
+
"split-button",
|
|
2085
|
+
"menu-button",
|
|
2086
|
+
"textbox",
|
|
2087
|
+
"textarea",
|
|
2088
|
+
"checkbox",
|
|
2089
|
+
"listbox",
|
|
2090
|
+
"progressbar",
|
|
2091
|
+
"radio",
|
|
2092
|
+
"slider",
|
|
2093
|
+
|
|
2094
|
+
// Form helpers
|
|
2095
|
+
"form",
|
|
2096
|
+
"validator",
|
|
2097
|
+
"floating-label",
|
|
2098
|
+
|
|
2099
|
+
// Form requirements
|
|
2100
|
+
"calendar",
|
|
2101
|
+
"popup",
|
|
2102
|
+
"time-selector",
|
|
2103
|
+
|
|
2104
|
+
// Augmented inputs
|
|
2105
|
+
"autocomplete",
|
|
2106
|
+
"captcha",
|
|
2107
|
+
"color-palette",
|
|
2108
|
+
"color-gradient",
|
|
2109
|
+
"color-editor",
|
|
2110
|
+
"color-picker",
|
|
2111
|
+
"combobox",
|
|
2112
|
+
"date-input",
|
|
2113
|
+
"date-picker",
|
|
2114
|
+
"time-picker",
|
|
2115
|
+
"date-time-picker",
|
|
2116
|
+
"date-range-picker",
|
|
2117
|
+
"dropdown-grid",
|
|
2118
|
+
"dropdown-list",
|
|
2119
|
+
"dropdown-tree",
|
|
2120
|
+
"masked-textbox",
|
|
2121
|
+
"multiselect",
|
|
2122
|
+
"numeric-textbox",
|
|
2123
|
+
"rating",
|
|
2124
|
+
"searchbox",
|
|
2125
|
+
"switch",
|
|
2126
|
+
"upload",
|
|
2127
|
+
"dropzone",
|
|
2128
|
+
|
|
2129
|
+
// Command interfaces
|
|
2130
|
+
"actions",
|
|
2131
|
+
"appbar",
|
|
2132
|
+
"fab",
|
|
2133
|
+
"menu",
|
|
2134
|
+
"toolbar",
|
|
2135
|
+
|
|
2136
|
+
// Popups and modals
|
|
2137
|
+
"action-sheet",
|
|
2138
|
+
"dialog",
|
|
2139
|
+
"drawer",
|
|
2140
|
+
"notification",
|
|
2141
|
+
"popover",
|
|
2142
|
+
"responsive-panel",
|
|
2143
|
+
"window",
|
|
2144
|
+
|
|
2145
|
+
// Navigation
|
|
2146
|
+
"bottom-navigation",
|
|
2147
|
+
"breadcrumb",
|
|
2148
|
+
"pager",
|
|
2149
|
+
"stepper",
|
|
2150
|
+
"tabstrip",
|
|
2151
|
+
"treeview",
|
|
2152
|
+
"wizard",
|
|
2153
|
+
|
|
2154
|
+
// Layout & containers
|
|
2155
|
+
"card",
|
|
2156
|
+
"expander",
|
|
2157
|
+
"panelbar",
|
|
2158
|
+
"splitter",
|
|
2159
|
+
"tile-layout",
|
|
2160
|
+
|
|
2161
|
+
// Data management
|
|
2162
|
+
"grid",
|
|
2163
|
+
"listview",
|
|
2164
|
+
"spreadsheet",
|
|
2165
|
+
"pivotgrid",
|
|
2166
|
+
"treelist",
|
|
2167
|
+
"filter",
|
|
2168
|
+
"file-manager",
|
|
2169
|
+
"task-board",
|
|
2170
|
+
|
|
2171
|
+
// Editors
|
|
2172
|
+
"editor",
|
|
2173
|
+
"image-editor",
|
|
2174
|
+
|
|
2175
|
+
// Scheduling
|
|
2176
|
+
"gantt",
|
|
2177
|
+
"scheduler",
|
|
2178
|
+
|
|
2179
|
+
// Misc
|
|
2180
|
+
"adaptive",
|
|
2181
|
+
"chat",
|
|
2182
|
+
"media-player",
|
|
2183
|
+
"timeline",
|
|
2184
|
+
"pdf-viewer",
|
|
2185
|
+
"scroller",
|
|
2186
|
+
"scroll-view",
|
|
2187
|
+
|
|
2188
|
+
// Dataviz
|
|
2189
|
+
"dataviz",
|
|
2190
|
+
"map",
|
|
2191
|
+
"orgchart",
|
|
2192
|
+
"signature"
|
|
2193
|
+
) !default;
|
|
2194
|
+
|
|
2195
|
+
// #endregion
|
|
2196
|
+
// #region @import "./_dependencies.scss"; -> packages/core/scss/module-system/_dependencies.scss
|
|
2197
|
+
$_kendo-dependencies: (
|
|
2198
|
+
action-sheet: (
|
|
2199
|
+
"icon",
|
|
2200
|
+
"listgroup",
|
|
2201
|
+
"popup"
|
|
2202
|
+
),
|
|
2203
|
+
actions: (),
|
|
2204
|
+
adaptive: (),
|
|
2205
|
+
appbar: (),
|
|
2206
|
+
autocomplete: (
|
|
2207
|
+
"button",
|
|
2208
|
+
"icon",
|
|
2209
|
+
"input",
|
|
2210
|
+
"list",
|
|
2211
|
+
"popup"
|
|
2212
|
+
),
|
|
2213
|
+
avatar: (),
|
|
2214
|
+
badge: (),
|
|
2215
|
+
bottom-navigation: (
|
|
2216
|
+
"icon"
|
|
2217
|
+
),
|
|
2218
|
+
breadcrumb: (
|
|
2219
|
+
"icon",
|
|
2220
|
+
"textbox"
|
|
2221
|
+
),
|
|
2222
|
+
button: (
|
|
2223
|
+
"badge",
|
|
2224
|
+
"icon"
|
|
2225
|
+
),
|
|
2226
|
+
calendar: (
|
|
2227
|
+
"button",
|
|
2228
|
+
"list"
|
|
2229
|
+
),
|
|
2230
|
+
captcha: (
|
|
2231
|
+
"button",
|
|
2232
|
+
"slider",
|
|
2233
|
+
"textbox"
|
|
2234
|
+
),
|
|
2235
|
+
card: (
|
|
2236
|
+
"actions",
|
|
2237
|
+
"button",
|
|
2238
|
+
// "utils/flex",
|
|
2239
|
+
// "utils/grid"
|
|
2240
|
+
),
|
|
2241
|
+
chat: (
|
|
2242
|
+
"avatar",
|
|
2243
|
+
"card",
|
|
2244
|
+
"textbox",
|
|
2245
|
+
"toolbar"
|
|
2246
|
+
),
|
|
2247
|
+
checkbox: (),
|
|
2248
|
+
chip: (),
|
|
2249
|
+
color-editor: (
|
|
2250
|
+
"actions",
|
|
2251
|
+
"color-palette",
|
|
2252
|
+
"color-preview",
|
|
2253
|
+
"color-gradient"
|
|
2254
|
+
),
|
|
2255
|
+
color-gradient: (
|
|
2256
|
+
"button",
|
|
2257
|
+
"numeric-textbox",
|
|
2258
|
+
"slider",
|
|
2259
|
+
"textbox",
|
|
2260
|
+
// "utils/flex"
|
|
2261
|
+
),
|
|
2262
|
+
color-palette: (
|
|
2263
|
+
"color-preview",
|
|
2264
|
+
// "utils/flex"
|
|
2265
|
+
),
|
|
2266
|
+
color-preview: (),
|
|
2267
|
+
color-picker: (
|
|
2268
|
+
"button",
|
|
2269
|
+
"color-editor",
|
|
2270
|
+
"input",
|
|
2271
|
+
"popup"
|
|
2272
|
+
),
|
|
2273
|
+
combobox: (
|
|
2274
|
+
"button",
|
|
2275
|
+
"input",
|
|
2276
|
+
"popup",
|
|
2277
|
+
"list"
|
|
2278
|
+
),
|
|
2279
|
+
cursor: (),
|
|
2280
|
+
dataviz: (
|
|
2281
|
+
"popup",
|
|
2282
|
+
"tooltip"
|
|
2283
|
+
),
|
|
2284
|
+
date-input: (
|
|
2285
|
+
"input"
|
|
2286
|
+
),
|
|
2287
|
+
date-picker: (
|
|
2288
|
+
"button",
|
|
2289
|
+
"calendar",
|
|
2290
|
+
"icon",
|
|
2291
|
+
"input",
|
|
2292
|
+
"popup"
|
|
2293
|
+
),
|
|
2294
|
+
date-range-picker: (
|
|
2295
|
+
"date-picker"
|
|
2296
|
+
),
|
|
2297
|
+
date-time-picker: (
|
|
2298
|
+
"date-picker",
|
|
2299
|
+
"time-picker"
|
|
2300
|
+
),
|
|
2301
|
+
dialog: (
|
|
2302
|
+
"window"
|
|
2303
|
+
),
|
|
2304
|
+
draggable: (),
|
|
2305
|
+
drawer: (
|
|
2306
|
+
"list",
|
|
2307
|
+
"overlay"
|
|
2308
|
+
),
|
|
2309
|
+
dropdown-grid: (
|
|
2310
|
+
"button",
|
|
2311
|
+
"grid",
|
|
2312
|
+
"icon",
|
|
2313
|
+
"input",
|
|
2314
|
+
"popup",
|
|
2315
|
+
"table"
|
|
2316
|
+
),
|
|
2317
|
+
dropdown-list: (
|
|
2318
|
+
"button",
|
|
2319
|
+
"icon",
|
|
2320
|
+
"input",
|
|
2321
|
+
"list",
|
|
2322
|
+
"popup"
|
|
2323
|
+
),
|
|
2324
|
+
dropdown-tree: (
|
|
2325
|
+
"button",
|
|
2326
|
+
"icon",
|
|
2327
|
+
"input",
|
|
2328
|
+
"popup",
|
|
2329
|
+
"treeview"
|
|
2330
|
+
),
|
|
2331
|
+
dropzone: (),
|
|
2332
|
+
editor: (
|
|
2333
|
+
"button",
|
|
2334
|
+
"checkbox",
|
|
2335
|
+
"color-picker",
|
|
2336
|
+
"combobox",
|
|
2337
|
+
"dropdown-list",
|
|
2338
|
+
"toolbar",
|
|
2339
|
+
"upload",
|
|
2340
|
+
"window"
|
|
2341
|
+
),
|
|
2342
|
+
expander: (
|
|
2343
|
+
"icon",
|
|
2344
|
+
"list",
|
|
2345
|
+
// "utils/display",
|
|
2346
|
+
// "utils/flex"
|
|
2347
|
+
),
|
|
2348
|
+
fab: (
|
|
2349
|
+
"button",
|
|
2350
|
+
"badge",
|
|
2351
|
+
// "utils/position"
|
|
2352
|
+
),
|
|
2353
|
+
file-manager: (
|
|
2354
|
+
"breadcrumb",
|
|
2355
|
+
"dialog",
|
|
2356
|
+
"grid",
|
|
2357
|
+
"icon",
|
|
2358
|
+
"input",
|
|
2359
|
+
"listview",
|
|
2360
|
+
"menu",
|
|
2361
|
+
"splitter",
|
|
2362
|
+
"switch",
|
|
2363
|
+
"toolbar",
|
|
2364
|
+
"treeview",
|
|
2365
|
+
"upload"
|
|
2366
|
+
),
|
|
2367
|
+
filter: (
|
|
2368
|
+
"button",
|
|
2369
|
+
"checkbox",
|
|
2370
|
+
"date-time-picker",
|
|
2371
|
+
"dropdown-list",
|
|
2372
|
+
"input",
|
|
2373
|
+
"numeric-textbox",
|
|
2374
|
+
"textbox",
|
|
2375
|
+
"toolbar"
|
|
2376
|
+
),
|
|
2377
|
+
floating-label: (
|
|
2378
|
+
"input"
|
|
2379
|
+
),
|
|
2380
|
+
form: (
|
|
2381
|
+
"actions",
|
|
2382
|
+
"button",
|
|
2383
|
+
"toolbar"
|
|
2384
|
+
),
|
|
2385
|
+
gantt: (
|
|
2386
|
+
"button",
|
|
2387
|
+
"date-time-picker",
|
|
2388
|
+
"input",
|
|
2389
|
+
"numeric-textbox",
|
|
2390
|
+
"splitter",
|
|
2391
|
+
"treelist",
|
|
2392
|
+
"validator",
|
|
2393
|
+
"window"
|
|
2394
|
+
),
|
|
2395
|
+
grid: (
|
|
2396
|
+
"actions",
|
|
2397
|
+
"button",
|
|
2398
|
+
"checkbox",
|
|
2399
|
+
"dialog",
|
|
2400
|
+
"input",
|
|
2401
|
+
"list",
|
|
2402
|
+
"menu",
|
|
2403
|
+
"pager",
|
|
2404
|
+
"popup",
|
|
2405
|
+
"radio",
|
|
2406
|
+
"skeleton",
|
|
2407
|
+
"toolbar",
|
|
2408
|
+
"validator"
|
|
2409
|
+
),
|
|
2410
|
+
icon: (),
|
|
2411
|
+
image-editor: (
|
|
2412
|
+
"checkbox",
|
|
2413
|
+
"dropdown-list",
|
|
2414
|
+
"form",
|
|
2415
|
+
"numeric-textbox",
|
|
2416
|
+
"toolbar"
|
|
2417
|
+
),
|
|
2418
|
+
input: (
|
|
2419
|
+
"button",
|
|
2420
|
+
"icon"
|
|
2421
|
+
),
|
|
2422
|
+
list: (),
|
|
2423
|
+
listbox: (
|
|
2424
|
+
"button",
|
|
2425
|
+
"list"
|
|
2426
|
+
),
|
|
2427
|
+
listgroup: (),
|
|
2428
|
+
listview: (
|
|
2429
|
+
"pager",
|
|
2430
|
+
// "utils/grid",
|
|
2431
|
+
// "utils/flex"
|
|
2432
|
+
),
|
|
2433
|
+
loader: (),
|
|
2434
|
+
map: (
|
|
2435
|
+
"button",
|
|
2436
|
+
"scroller",
|
|
2437
|
+
// "utils/position"
|
|
2438
|
+
),
|
|
2439
|
+
masked-textbox: (
|
|
2440
|
+
"button",
|
|
2441
|
+
"input"
|
|
2442
|
+
),
|
|
2443
|
+
media-player: (
|
|
2444
|
+
"slider",
|
|
2445
|
+
"toolbar"
|
|
2446
|
+
),
|
|
2447
|
+
menu: (
|
|
2448
|
+
"button",
|
|
2449
|
+
"icon",
|
|
2450
|
+
"popup"
|
|
2451
|
+
),
|
|
2452
|
+
menu-button: (
|
|
2453
|
+
"button",
|
|
2454
|
+
"menu"
|
|
2455
|
+
),
|
|
2456
|
+
messagebox: (),
|
|
2457
|
+
multiselect: (
|
|
2458
|
+
"button",
|
|
2459
|
+
"chip",
|
|
2460
|
+
"icon",
|
|
2461
|
+
"input",
|
|
2462
|
+
"list",
|
|
2463
|
+
"popup"
|
|
2464
|
+
),
|
|
2465
|
+
notification: (
|
|
2466
|
+
"button",
|
|
2467
|
+
"icon",
|
|
2468
|
+
"popup"
|
|
2469
|
+
),
|
|
2470
|
+
numeric-textbox: (
|
|
2471
|
+
"button",
|
|
2472
|
+
"icon",
|
|
2473
|
+
"input"
|
|
2474
|
+
),
|
|
2475
|
+
orgchart: (
|
|
2476
|
+
"button",
|
|
2477
|
+
"card",
|
|
2478
|
+
"dropdown-list",
|
|
2479
|
+
"icon",
|
|
2480
|
+
"menu",
|
|
2481
|
+
"textbox",
|
|
2482
|
+
"upload",
|
|
2483
|
+
"window"
|
|
2484
|
+
),
|
|
2485
|
+
overlay: (),
|
|
2486
|
+
pager: (
|
|
2487
|
+
"dropdown-list",
|
|
2488
|
+
"icon",
|
|
2489
|
+
"list",
|
|
2490
|
+
"toolbar"
|
|
2491
|
+
),
|
|
2492
|
+
panelbar: (
|
|
2493
|
+
"icon"
|
|
2494
|
+
),
|
|
2495
|
+
pdf-viewer: (
|
|
2496
|
+
"button",
|
|
2497
|
+
"combobox",
|
|
2498
|
+
"dialog",
|
|
2499
|
+
"dropzone",
|
|
2500
|
+
"pager",
|
|
2501
|
+
"textbox",
|
|
2502
|
+
"toolbar",
|
|
2503
|
+
"window"
|
|
2504
|
+
),
|
|
2505
|
+
pivotgrid: (
|
|
2506
|
+
"dialog",
|
|
2507
|
+
"grid",
|
|
2508
|
+
"list",
|
|
2509
|
+
"treeview",
|
|
2510
|
+
// "utils/flex",
|
|
2511
|
+
// "utils/grid",
|
|
2512
|
+
// "utils/position"
|
|
2513
|
+
),
|
|
2514
|
+
popover: (
|
|
2515
|
+
"card",
|
|
2516
|
+
"popup"
|
|
2517
|
+
),
|
|
2518
|
+
popup: (),
|
|
2519
|
+
progressbar: (),
|
|
2520
|
+
radio: (),
|
|
2521
|
+
rating: (
|
|
2522
|
+
"icon"
|
|
2523
|
+
),
|
|
2524
|
+
responsive-panel: (),
|
|
2525
|
+
ripple: (),
|
|
2526
|
+
scheduler: (
|
|
2527
|
+
"button",
|
|
2528
|
+
"date-time-picker",
|
|
2529
|
+
"dialog",
|
|
2530
|
+
"dropdown-list",
|
|
2531
|
+
"toolbar",
|
|
2532
|
+
"tooltip"
|
|
2533
|
+
),
|
|
2534
|
+
scroller: (),
|
|
2535
|
+
scroll-view: (
|
|
2536
|
+
"button"
|
|
2537
|
+
),
|
|
2538
|
+
searchbox: (
|
|
2539
|
+
"button",
|
|
2540
|
+
"input"
|
|
2541
|
+
),
|
|
2542
|
+
signature: (
|
|
2543
|
+
"button",
|
|
2544
|
+
"input"
|
|
2545
|
+
),
|
|
2546
|
+
skeleton: (),
|
|
2547
|
+
slider: (
|
|
2548
|
+
"button",
|
|
2549
|
+
"tooltip"
|
|
2550
|
+
),
|
|
2551
|
+
split-button: (
|
|
2552
|
+
"button",
|
|
2553
|
+
"menu"
|
|
2554
|
+
),
|
|
2555
|
+
splitter: (
|
|
2556
|
+
"icon"
|
|
2557
|
+
),
|
|
2558
|
+
spreadsheet: (
|
|
2559
|
+
"button",
|
|
2560
|
+
"checkbox",
|
|
2561
|
+
"color-picker",
|
|
2562
|
+
"combobox",
|
|
2563
|
+
"date-time-picker",
|
|
2564
|
+
"dropdown-list",
|
|
2565
|
+
"list",
|
|
2566
|
+
"menu",
|
|
2567
|
+
"radio",
|
|
2568
|
+
"tabstrip",
|
|
2569
|
+
"toolbar",
|
|
2570
|
+
"treeview",
|
|
2571
|
+
"upload",
|
|
2572
|
+
"window"
|
|
2573
|
+
),
|
|
2574
|
+
stepper: (
|
|
2575
|
+
"icon",
|
|
2576
|
+
"progressbar"
|
|
2577
|
+
),
|
|
2578
|
+
switch: (),
|
|
2579
|
+
table: (),
|
|
2580
|
+
tabstrip: (
|
|
2581
|
+
"button",
|
|
2582
|
+
"icon"
|
|
2583
|
+
),
|
|
2584
|
+
task-board: (
|
|
2585
|
+
"card",
|
|
2586
|
+
"form",
|
|
2587
|
+
"searchbox",
|
|
2588
|
+
"textbox",
|
|
2589
|
+
"toolbar"
|
|
2590
|
+
),
|
|
2591
|
+
textarea: (
|
|
2592
|
+
"button",
|
|
2593
|
+
"icon",
|
|
2594
|
+
"input"
|
|
2595
|
+
),
|
|
2596
|
+
textbox: (
|
|
2597
|
+
"button",
|
|
2598
|
+
"icon",
|
|
2599
|
+
"input"
|
|
2600
|
+
),
|
|
2601
|
+
tile-layout: (
|
|
2602
|
+
"card"
|
|
2603
|
+
),
|
|
2604
|
+
time-duration-picker: (
|
|
2605
|
+
"button",
|
|
2606
|
+
"icon",
|
|
2607
|
+
"input",
|
|
2608
|
+
"list",
|
|
2609
|
+
"popup",
|
|
2610
|
+
"time-selector"
|
|
2611
|
+
),
|
|
2612
|
+
time-selector: (
|
|
2613
|
+
"actions",
|
|
2614
|
+
"button",
|
|
2615
|
+
"list"
|
|
2616
|
+
),
|
|
2617
|
+
timeline: (
|
|
2618
|
+
"button",
|
|
2619
|
+
"card",
|
|
2620
|
+
"icon"
|
|
2621
|
+
),
|
|
2622
|
+
time-picker: (
|
|
2623
|
+
"button",
|
|
2624
|
+
"icon",
|
|
2625
|
+
"input",
|
|
2626
|
+
"list",
|
|
2627
|
+
"popup",
|
|
2628
|
+
"time-selector"
|
|
2629
|
+
),
|
|
2630
|
+
toolbar: (
|
|
2631
|
+
"button",
|
|
2632
|
+
"icon",
|
|
2633
|
+
"menu",
|
|
2634
|
+
"popup"
|
|
2635
|
+
),
|
|
2636
|
+
tooltip: (
|
|
2637
|
+
"button",
|
|
2638
|
+
"icon",
|
|
2639
|
+
"popup"
|
|
2640
|
+
),
|
|
2641
|
+
treelist: (
|
|
2642
|
+
"grid"
|
|
2643
|
+
),
|
|
2644
|
+
treeview: (
|
|
2645
|
+
"checkbox",
|
|
2646
|
+
"icon"
|
|
2647
|
+
),
|
|
2648
|
+
typography: (),
|
|
2649
|
+
upload: (
|
|
2650
|
+
"actions",
|
|
2651
|
+
"button",
|
|
2652
|
+
"dropzone",
|
|
2653
|
+
"icon",
|
|
2654
|
+
"listgroup",
|
|
2655
|
+
"toolbar"
|
|
2656
|
+
),
|
|
2657
|
+
utils: (),
|
|
2658
|
+
validator: (
|
|
2659
|
+
"tooltip"
|
|
2660
|
+
),
|
|
2661
|
+
virtual-scroller: (),
|
|
2662
|
+
window: (
|
|
2663
|
+
"actions",
|
|
2664
|
+
"button",
|
|
2665
|
+
"icon",
|
|
2666
|
+
"overlay"
|
|
2667
|
+
),
|
|
2668
|
+
wizard: (
|
|
2669
|
+
"button",
|
|
2670
|
+
"form",
|
|
2671
|
+
"stepper"
|
|
2672
|
+
)
|
|
2673
|
+
);
|
|
2674
|
+
|
|
2675
|
+
// #endregion
|
|
2676
|
+
|
|
2677
|
+
$_deps: ();
|
|
2678
|
+
$_imported: ();
|
|
2679
|
+
|
|
2680
|
+
@mixin module-register( $name: null, $dependencies: null ) {
|
|
2681
|
+
@if (k-list-index( $kendo-components, $name) != null) {
|
|
2682
|
+
$_deps: k-map-merge( $_deps, ( $name: $dependencies ) );
|
|
2683
|
+
|
|
2684
|
+
@if $dependencies {
|
|
2685
|
+
@each $dep in $dependencies {
|
|
2686
|
+
@if ( k-list-index( $kendo-components, $dep ) == null ) {
|
|
2687
|
+
// sass-lint:disable-block no-warn
|
|
2688
|
+
@warn "The module \"#{$name}\" depends on module \"#{$dep}\", but the styles will not be loaded!";
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
@mixin module-render( $name: null ) {
|
|
2696
|
+
$dependencies: k-map-get( $_deps, $name );
|
|
2697
|
+
|
|
2698
|
+
@if $dependencies {
|
|
2699
|
+
@each $dep in $dependencies {
|
|
2700
|
+
@if ( k-list-index( $_imported, $dep ) == null ) {
|
|
2701
|
+
// sass-lint:disable-block no-warn
|
|
2702
|
+
@warn "The module \"#{$name}\" depends on module \"#{$dep}\", but the styles have not been loaded yet!";
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null ) {
|
|
2708
|
+
$_imported: k-list-append( $_imported, $name );
|
|
2709
|
+
@content;
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
@mixin verify-dependencies() {
|
|
2714
|
+
@each $component in $kendo-components {
|
|
2715
|
+
@if (k-map-has-key( $_kendo-dependencies, $component) == false) {
|
|
2716
|
+
// sass-lint:disable-block no-warn
|
|
2717
|
+
@error "Module '#{$component}' is not defined.";
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
@include verify-dependencies();
|
|
2722
|
+
|
|
2723
|
+
// #endregion
|
|
2724
|
+
// #region @import "./styles/index.import.scss"; -> packages/core/scss/styles/index.import.scss
|
|
2725
|
+
// #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.
|
|
2728
|
+
/// @group accessibility
|
|
2729
|
+
.k-sr-only {
|
|
2730
|
+
position: absolute;
|
|
2731
|
+
left: -1px;
|
|
2732
|
+
width: 1px;
|
|
2733
|
+
height: 1px;
|
|
2734
|
+
overflow: hidden;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
// #endregion
|
|
2738
|
+
// #region @import "./_asp-fallback.scss"; -> packages/core/scss/styles/_asp-fallback.scss
|
|
2739
|
+
.k-theme-test-class,
|
|
2740
|
+
.k-common-test-class {
|
|
2741
|
+
opacity: 0;
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
// #endregion
|
|
2745
|
+
// #region @import "./_layout"; -> packages/core/scss/styles/_layout.scss
|
|
2746
|
+
// Basic layout
|
|
2747
|
+
.k-hstack {
|
|
2748
|
+
display: flex;
|
|
2749
|
+
flex-flow: row nowrap;
|
|
2750
|
+
}
|
|
2751
|
+
.k-vstack {
|
|
2752
|
+
display: flex;
|
|
2753
|
+
flex-flow: column nowrap;
|
|
2754
|
+
}
|
|
2755
|
+
.k-spacer {
|
|
2756
|
+
flex: none;
|
|
2757
|
+
flex-grow: 1;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
// Separator
|
|
2762
|
+
.k-separator {
|
|
2763
|
+
width: auto;
|
|
2764
|
+
height: 0;
|
|
2765
|
+
border-width: 1px 0 0;
|
|
2766
|
+
border-style: solid;
|
|
2767
|
+
border-color: inherit;
|
|
2768
|
+
display: block;
|
|
2769
|
+
flex-grow: 0 !important; // sass-lint:disable-line no-important
|
|
2770
|
+
flex-shrink: 0 !important; // sass-lint:disable-line no-important
|
|
2771
|
+
align-self: stretch;
|
|
2772
|
+
}
|
|
2773
|
+
.k-separator-horizontal,
|
|
2774
|
+
.k-vstack > .k-separator {
|
|
2775
|
+
width: auto;
|
|
2776
|
+
height: 0;
|
|
2777
|
+
border-width: 1px 0 0;
|
|
2778
|
+
}
|
|
2779
|
+
.k-separator-vertical,
|
|
2780
|
+
.k-hstack > .k-separator {
|
|
2781
|
+
width: 0;
|
|
2782
|
+
height: auto;
|
|
2783
|
+
border-width: 0 0 0 1px;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
hr.k-separator {
|
|
2787
|
+
margin: 0;
|
|
2788
|
+
padding: 0;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
// Hidden
|
|
2793
|
+
.k-hidden {
|
|
2794
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
// RTL
|
|
2799
|
+
.k-rtl {
|
|
2800
|
+
direction: rtl;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
// #endregion
|
|
2804
|
+
// #region @import "./_normalize.scss"; -> packages/core/scss/styles/_normalize.scss
|
|
2805
|
+
// Hidden attribute
|
|
2806
|
+
[hidden] {
|
|
2807
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
// Hide script tags
|
|
2812
|
+
// see https://github.com/telerik/kendo-themes/issues/2360
|
|
2813
|
+
script {
|
|
2814
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
// #endregion
|
|
2818
|
+
|
|
2819
|
+
// #endregion
|
|
5
2820
|
|
|
6
2821
|
// #endregion
|