@progress/kendo-theme-core 6.4.0-dev.3 → 6.4.0-dev.4
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 +18 -25
- package/dist/meta/sassdoc-data.json +110 -110
- package/dist/meta/sassdoc-raw-data.json +103 -103
- package/dist/meta/variables.scss +1 -1
- package/package.json +2 -2
- package/scss/_variables.scss +2 -0
- package/scss/color-system/_functions.import.scss +1 -2
- package/scss/functions/_color-contrast.import.scss +2 -5
- package/scss/functions/_custom-properties.import.scss +1 -1
- package/scss/functions/_list.import.scss +0 -1
- package/scss/functions/_map.import.scss +2 -2
- package/scss/functions/_math.import.scss +1 -1
- package/scss/mixins/_data-uri.scss +0 -1
- package/scss/mixins/_gradient.scss +0 -1
- package/scss/mixins/_import-once.scss +1 -1
- package/scss/module-system/index.import.scss +2 -4
- package/scss/styles/_layout.scss +3 -3
- package/scss/styles/_normalize.scss +2 -2
- package/scss/styles/index.import.scss +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
{
|
|
3
3
|
"description": "The contrast ratio to reach against white, to determine if color changes from \"light\" to \"dark\".\nAcceptable values for WCAG 2.0 are 3, 4.5 and 7.\n",
|
|
4
4
|
"commentRange": {
|
|
5
|
-
"start":
|
|
6
|
-
"end":
|
|
5
|
+
"start": 273,
|
|
6
|
+
"end": 279
|
|
7
7
|
},
|
|
8
8
|
"context": {
|
|
9
9
|
"type": "variable",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"value": "7",
|
|
12
12
|
"scope": "default",
|
|
13
13
|
"line": {
|
|
14
|
-
"start":
|
|
15
|
-
"end":
|
|
14
|
+
"start": 280,
|
|
15
|
+
"end": 280
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"type": "Number",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
{
|
|
39
39
|
"description": "Default dark color for WCAG 2.0.\n",
|
|
40
40
|
"commentRange": {
|
|
41
|
-
"start":
|
|
42
|
-
"end":
|
|
41
|
+
"start": 281,
|
|
42
|
+
"end": 283
|
|
43
43
|
},
|
|
44
44
|
"context": {
|
|
45
45
|
"type": "variable",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"value": "black",
|
|
48
48
|
"scope": "default",
|
|
49
49
|
"line": {
|
|
50
|
-
"start":
|
|
51
|
-
"end":
|
|
50
|
+
"start": 284,
|
|
51
|
+
"end": 284
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"type": "Color",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
{
|
|
65
65
|
"description": "Default light color for WCAG 2.0.\n",
|
|
66
66
|
"commentRange": {
|
|
67
|
-
"start":
|
|
68
|
-
"end":
|
|
67
|
+
"start": 285,
|
|
68
|
+
"end": 287
|
|
69
69
|
},
|
|
70
70
|
"context": {
|
|
71
71
|
"type": "variable",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"value": "white",
|
|
74
74
|
"scope": "default",
|
|
75
75
|
"line": {
|
|
76
|
-
"start":
|
|
77
|
-
"end":
|
|
76
|
+
"start": 288,
|
|
77
|
+
"end": 288
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"type": "Color",
|
|
@@ -90,16 +90,16 @@
|
|
|
90
90
|
{
|
|
91
91
|
"description": "Calculate the relative luminance for a color.\n",
|
|
92
92
|
"commentRange": {
|
|
93
|
-
"start":
|
|
94
|
-
"end":
|
|
93
|
+
"start": 290,
|
|
94
|
+
"end": 297
|
|
95
95
|
},
|
|
96
96
|
"context": {
|
|
97
97
|
"type": "function",
|
|
98
98
|
"name": "k-color-luminance",
|
|
99
99
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
100
100
|
"line": {
|
|
101
|
-
"start":
|
|
102
|
-
"end":
|
|
101
|
+
"start": 298,
|
|
102
|
+
"end": 304
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"parameter": [
|
|
@@ -163,10 +163,10 @@
|
|
|
163
163
|
"context": {
|
|
164
164
|
"type": "function",
|
|
165
165
|
"name": "k-color-contrast-ratio",
|
|
166
|
-
"code": "\n
|
|
166
|
+
"code": "\n $backLum: k-color-luminance( $background ) + .05;\n $foreLum: k-color-luminance( $foreground ) + .05;\n\n @return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );\n",
|
|
167
167
|
"line": {
|
|
168
|
-
"start":
|
|
169
|
-
"end":
|
|
168
|
+
"start": 315,
|
|
169
|
+
"end": 320
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
},
|
|
@@ -175,10 +175,10 @@
|
|
|
175
175
|
"context": {
|
|
176
176
|
"type": "function",
|
|
177
177
|
"name": "k-color-contrast-ratio",
|
|
178
|
-
"code": "\n
|
|
178
|
+
"code": "\n $backLum: k-color-luminance( $background ) + .05;\n $foreLum: k-color-luminance( $foreground ) + .05;\n\n @return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );\n",
|
|
179
179
|
"line": {
|
|
180
|
-
"start":
|
|
181
|
-
"end":
|
|
180
|
+
"start": 315,
|
|
181
|
+
"end": 320
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
},
|
|
@@ -189,8 +189,8 @@
|
|
|
189
189
|
"name": "k-is-dark",
|
|
190
190
|
"code": "\n @return if( k-color-luminance( $color ) < .5, true, false );\n",
|
|
191
191
|
"line": {
|
|
192
|
-
"start":
|
|
193
|
-
"end":
|
|
192
|
+
"start": 327,
|
|
193
|
+
"end": 329
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
},
|
|
@@ -201,8 +201,8 @@
|
|
|
201
201
|
"name": "k-is-light",
|
|
202
202
|
"code": "\n @return if( k-color-luminance( $color ) < .5, false, true );\n",
|
|
203
203
|
"line": {
|
|
204
|
-
"start":
|
|
205
|
-
"end":
|
|
204
|
+
"start": 336,
|
|
205
|
+
"end": 338
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
}
|
|
@@ -211,16 +211,16 @@
|
|
|
211
211
|
{
|
|
212
212
|
"description": "Calculates contrast ratio between two colors\n",
|
|
213
213
|
"commentRange": {
|
|
214
|
-
"start":
|
|
215
|
-
"end":
|
|
214
|
+
"start": 306,
|
|
215
|
+
"end": 314
|
|
216
216
|
},
|
|
217
217
|
"context": {
|
|
218
218
|
"type": "function",
|
|
219
219
|
"name": "k-color-contrast-ratio",
|
|
220
|
-
"code": "\n
|
|
220
|
+
"code": "\n $backLum: k-color-luminance( $background ) + .05;\n $foreLum: k-color-luminance( $foreground ) + .05;\n\n @return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );\n",
|
|
221
221
|
"line": {
|
|
222
|
-
"start":
|
|
223
|
-
"end":
|
|
222
|
+
"start": 315,
|
|
223
|
+
"end": 320
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
"parameter": [
|
|
@@ -285,10 +285,10 @@
|
|
|
285
285
|
"context": {
|
|
286
286
|
"type": "function",
|
|
287
287
|
"name": "k-contrast-color",
|
|
288
|
-
"code": "\n $foregrounds: $light, $dark, #ffffff, #000000;\n $max-ratio: 0;\n $max-ratio-color: null;\n\n @each $color in $foregrounds {\n $contrast-ratio: k-color-contrast-ratio( $background, $color );\n\n @if ( $contrast-ratio > $min-ratio ) {\n @return $color;\n } @else if ( $contrast-ratio > $max-ratio ) {\n $max-ratio: $contrast-ratio;\n $max-ratio-color: $color;\n }\n }\n\n
|
|
288
|
+
"code": "\n $foregrounds: $light, $dark, #ffffff, #000000;\n $max-ratio: 0;\n $max-ratio-color: null;\n\n @each $color in $foregrounds {\n $contrast-ratio: k-color-contrast-ratio( $background, $color );\n\n @if ( $contrast-ratio > $min-ratio ) {\n @return $color;\n } @else if ( $contrast-ratio > $max-ratio ) {\n $max-ratio: $contrast-ratio;\n $max-ratio-color: $color;\n }\n }\n\n @warn \"Found no color leading to #{$min-ratio}:1 contrast ratio against #{$background}...\";\n\n @return $max-ratio-color;\n",
|
|
289
289
|
"line": {
|
|
290
|
-
"start":
|
|
291
|
-
"end":
|
|
290
|
+
"start": 350,
|
|
291
|
+
"end": 369
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
}
|
|
@@ -297,16 +297,16 @@
|
|
|
297
297
|
{
|
|
298
298
|
"description": "Checks if a color is dark\n",
|
|
299
299
|
"commentRange": {
|
|
300
|
-
"start":
|
|
301
|
-
"end":
|
|
300
|
+
"start": 322,
|
|
301
|
+
"end": 326
|
|
302
302
|
},
|
|
303
303
|
"context": {
|
|
304
304
|
"type": "function",
|
|
305
305
|
"name": "k-is-dark",
|
|
306
306
|
"code": "\n @return if( k-color-luminance( $color ) < .5, true, false );\n",
|
|
307
307
|
"line": {
|
|
308
|
-
"start":
|
|
309
|
-
"end":
|
|
308
|
+
"start": 327,
|
|
309
|
+
"end": 329
|
|
310
310
|
}
|
|
311
311
|
},
|
|
312
312
|
"parameter": [
|
|
@@ -338,16 +338,16 @@
|
|
|
338
338
|
{
|
|
339
339
|
"description": "Checks if a color is light\n",
|
|
340
340
|
"commentRange": {
|
|
341
|
-
"start":
|
|
342
|
-
"end":
|
|
341
|
+
"start": 331,
|
|
342
|
+
"end": 335
|
|
343
343
|
},
|
|
344
344
|
"context": {
|
|
345
345
|
"type": "function",
|
|
346
346
|
"name": "k-is-light",
|
|
347
347
|
"code": "\n @return if( k-color-luminance( $color ) < .5, false, true );\n",
|
|
348
348
|
"line": {
|
|
349
|
-
"start":
|
|
350
|
-
"end":
|
|
349
|
+
"start": 336,
|
|
350
|
+
"end": 338
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
"parameter": [
|
|
@@ -379,16 +379,16 @@
|
|
|
379
379
|
{
|
|
380
380
|
"description": "Calculates the contrast ratio between a background color and a foreground color.\nIf the contrast ratio is not high enough, it will return the color with the highest contrast ratio.\n",
|
|
381
381
|
"commentRange": {
|
|
382
|
-
"start":
|
|
383
|
-
"end":
|
|
382
|
+
"start": 341,
|
|
383
|
+
"end": 349
|
|
384
384
|
},
|
|
385
385
|
"context": {
|
|
386
386
|
"type": "function",
|
|
387
387
|
"name": "k-contrast-color",
|
|
388
|
-
"code": "\n $foregrounds: $light, $dark, #ffffff, #000000;\n $max-ratio: 0;\n $max-ratio-color: null;\n\n @each $color in $foregrounds {\n $contrast-ratio: k-color-contrast-ratio( $background, $color );\n\n @if ( $contrast-ratio > $min-ratio ) {\n @return $color;\n } @else if ( $contrast-ratio > $max-ratio ) {\n $max-ratio: $contrast-ratio;\n $max-ratio-color: $color;\n }\n }\n\n
|
|
388
|
+
"code": "\n $foregrounds: $light, $dark, #ffffff, #000000;\n $max-ratio: 0;\n $max-ratio-color: null;\n\n @each $color in $foregrounds {\n $contrast-ratio: k-color-contrast-ratio( $background, $color );\n\n @if ( $contrast-ratio > $min-ratio ) {\n @return $color;\n } @else if ( $contrast-ratio > $max-ratio ) {\n $max-ratio: $contrast-ratio;\n $max-ratio-color: $color;\n }\n }\n\n @warn \"Found no color leading to #{$min-ratio}:1 contrast ratio against #{$background}...\";\n\n @return $max-ratio-color;\n",
|
|
389
389
|
"line": {
|
|
390
|
-
"start":
|
|
391
|
-
"end":
|
|
390
|
+
"start": 350,
|
|
391
|
+
"end": 369
|
|
392
392
|
}
|
|
393
393
|
},
|
|
394
394
|
"parameter": [
|
|
@@ -1541,8 +1541,8 @@
|
|
|
1541
1541
|
"name": "k-color-luminance",
|
|
1542
1542
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
1543
1543
|
"line": {
|
|
1544
|
-
"start":
|
|
1545
|
-
"end":
|
|
1544
|
+
"start": 298,
|
|
1545
|
+
"end": 304
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
@@ -1598,8 +1598,8 @@
|
|
|
1598
1598
|
"name": "k-color-luminance",
|
|
1599
1599
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
1600
1600
|
"line": {
|
|
1601
|
-
"start":
|
|
1602
|
-
"end":
|
|
1601
|
+
"start": 298,
|
|
1602
|
+
"end": 304
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
1605
1605
|
}
|
|
@@ -1655,8 +1655,8 @@
|
|
|
1655
1655
|
"name": "k-color-luminance",
|
|
1656
1656
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
1657
1657
|
"line": {
|
|
1658
|
-
"start":
|
|
1659
|
-
"end":
|
|
1658
|
+
"start": 298,
|
|
1659
|
+
"end": 304
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
1662
|
}
|
|
@@ -2497,10 +2497,10 @@
|
|
|
2497
2497
|
"context": {
|
|
2498
2498
|
"type": "function",
|
|
2499
2499
|
"name": "k-list-reverse",
|
|
2500
|
-
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n
|
|
2500
|
+
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n @warn \"No list passed.\";\n @return $result;\n",
|
|
2501
2501
|
"line": {
|
|
2502
2502
|
"start": 88,
|
|
2503
|
-
"end":
|
|
2503
|
+
"end": 103
|
|
2504
2504
|
}
|
|
2505
2505
|
}
|
|
2506
2506
|
},
|
|
@@ -2509,7 +2509,7 @@
|
|
|
2509
2509
|
"context": {
|
|
2510
2510
|
"type": "mixin",
|
|
2511
2511
|
"name": "exports",
|
|
2512
|
-
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) {\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
2512
|
+
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) { // stylelint-disable-line\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
2513
2513
|
"line": {
|
|
2514
2514
|
"start": 9,
|
|
2515
2515
|
"end": 14
|
|
@@ -2636,7 +2636,7 @@
|
|
|
2636
2636
|
"context": {
|
|
2637
2637
|
"type": "mixin",
|
|
2638
2638
|
"name": "exports",
|
|
2639
|
-
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) {\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
2639
|
+
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) { // stylelint-disable-line\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
2640
2640
|
"line": {
|
|
2641
2641
|
"start": 9,
|
|
2642
2642
|
"end": 14
|
|
@@ -2794,10 +2794,10 @@
|
|
|
2794
2794
|
"context": {
|
|
2795
2795
|
"type": "function",
|
|
2796
2796
|
"name": "k-list-reverse",
|
|
2797
|
-
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n
|
|
2797
|
+
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n @warn \"No list passed.\";\n @return $result;\n",
|
|
2798
2798
|
"line": {
|
|
2799
2799
|
"start": 88,
|
|
2800
|
-
"end":
|
|
2800
|
+
"end": 103
|
|
2801
2801
|
}
|
|
2802
2802
|
}
|
|
2803
2803
|
}
|
|
@@ -2858,8 +2858,8 @@
|
|
|
2858
2858
|
"name": "k-color-luminance",
|
|
2859
2859
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
2860
2860
|
"line": {
|
|
2861
|
-
"start":
|
|
2862
|
-
"end":
|
|
2861
|
+
"start": 298,
|
|
2862
|
+
"end": 304
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
2865
|
},
|
|
@@ -2870,8 +2870,8 @@
|
|
|
2870
2870
|
"name": "k-color-luminance",
|
|
2871
2871
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
2872
2872
|
"line": {
|
|
2873
|
-
"start":
|
|
2874
|
-
"end":
|
|
2873
|
+
"start": 298,
|
|
2874
|
+
"end": 304
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
2877
2877
|
},
|
|
@@ -2882,8 +2882,8 @@
|
|
|
2882
2882
|
"name": "k-color-luminance",
|
|
2883
2883
|
"code": "\n $red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );\n $green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );\n $blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );\n\n @return .2126 * $red + .7152 * $green + .0722 * $blue;\n",
|
|
2884
2884
|
"line": {
|
|
2885
|
-
"start":
|
|
2886
|
-
"end":
|
|
2885
|
+
"start": 298,
|
|
2886
|
+
"end": 304
|
|
2887
2887
|
}
|
|
2888
2888
|
}
|
|
2889
2889
|
},
|
|
@@ -2892,10 +2892,10 @@
|
|
|
2892
2892
|
"context": {
|
|
2893
2893
|
"type": "function",
|
|
2894
2894
|
"name": "k-list-reverse",
|
|
2895
|
-
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n
|
|
2895
|
+
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n @warn \"No list passed.\";\n @return $result;\n",
|
|
2896
2896
|
"line": {
|
|
2897
2897
|
"start": 88,
|
|
2898
|
-
"end":
|
|
2898
|
+
"end": 103
|
|
2899
2899
|
}
|
|
2900
2900
|
}
|
|
2901
2901
|
}
|
|
@@ -2910,10 +2910,10 @@
|
|
|
2910
2910
|
"context": {
|
|
2911
2911
|
"type": "function",
|
|
2912
2912
|
"name": "k-list-reverse",
|
|
2913
|
-
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n
|
|
2913
|
+
"code": "\n $result: ();\n\n @if ($list) {\n $len: k-list-length( $list );\n\n @for $i from $len through 1 {\n $result: k-list-append( $result, k-list-nth( $list, $i ) );\n }\n\n @return $result;\n }\n\n @warn \"No list passed.\";\n @return $result;\n",
|
|
2914
2914
|
"line": {
|
|
2915
2915
|
"start": 88,
|
|
2916
|
-
"end":
|
|
2916
|
+
"end": 103
|
|
2917
2917
|
}
|
|
2918
2918
|
},
|
|
2919
2919
|
"parameter": [
|
|
@@ -2960,16 +2960,16 @@
|
|
|
2960
2960
|
{
|
|
2961
2961
|
"description": "Returns the separator of `$list`.\n",
|
|
2962
2962
|
"commentRange": {
|
|
2963
|
-
"start":
|
|
2964
|
-
"end":
|
|
2963
|
+
"start": 105,
|
|
2964
|
+
"end": 110
|
|
2965
2965
|
},
|
|
2966
2966
|
"context": {
|
|
2967
2967
|
"type": "function",
|
|
2968
2968
|
"name": "k-list-separator",
|
|
2969
2969
|
"code": "\n @return list-separator( $list );\n",
|
|
2970
2970
|
"line": {
|
|
2971
|
-
"start":
|
|
2972
|
-
"end":
|
|
2971
|
+
"start": 111,
|
|
2972
|
+
"end": 113
|
|
2973
2973
|
}
|
|
2974
2974
|
},
|
|
2975
2975
|
"parameter": [
|
|
@@ -3003,16 +3003,16 @@
|
|
|
3003
3003
|
{
|
|
3004
3004
|
"description": "Returns a copy of `$list` with `$val` inserted at `$n`.\n",
|
|
3005
3005
|
"commentRange": {
|
|
3006
|
-
"start":
|
|
3007
|
-
"end":
|
|
3006
|
+
"start": 115,
|
|
3007
|
+
"end": 122
|
|
3008
3008
|
},
|
|
3009
3009
|
"context": {
|
|
3010
3010
|
"type": "function",
|
|
3011
3011
|
"name": "k-list-set-nth",
|
|
3012
3012
|
"code": "\n @return set-nth( $list, $n, $value );\n",
|
|
3013
3013
|
"line": {
|
|
3014
|
-
"start":
|
|
3015
|
-
"end":
|
|
3014
|
+
"start": 123,
|
|
3015
|
+
"end": 125
|
|
3016
3016
|
}
|
|
3017
3017
|
},
|
|
3018
3018
|
"parameter": [
|
|
@@ -3056,16 +3056,16 @@
|
|
|
3056
3056
|
{
|
|
3057
3057
|
"description": "Combines two lists into a single list of two-item lists.\n",
|
|
3058
3058
|
"commentRange": {
|
|
3059
|
-
"start":
|
|
3060
|
-
"end":
|
|
3059
|
+
"start": 127,
|
|
3060
|
+
"end": 133
|
|
3061
3061
|
},
|
|
3062
3062
|
"context": {
|
|
3063
3063
|
"type": "function",
|
|
3064
3064
|
"name": "k-list-zip",
|
|
3065
3065
|
"code": "\n @return zip( $lists... );\n",
|
|
3066
3066
|
"line": {
|
|
3067
|
-
"start":
|
|
3068
|
-
"end":
|
|
3067
|
+
"start": 134,
|
|
3068
|
+
"end": 136
|
|
3069
3069
|
}
|
|
3070
3070
|
},
|
|
3071
3071
|
"parameter": [
|
|
@@ -3110,7 +3110,7 @@
|
|
|
3110
3110
|
"context": {
|
|
3111
3111
|
"type": "function",
|
|
3112
3112
|
"name": "k-map-get",
|
|
3113
|
-
"code": "\n @each $key in $keys {\n $map: map-get( $map, $key )
|
|
3113
|
+
"code": "\n @each $key in $keys {\n $map: map-get( $map, $key ); // stylelint-disable-line\n }\n @return $map;\n",
|
|
3114
3114
|
"line": {
|
|
3115
3115
|
"start": 7,
|
|
3116
3116
|
"end": 12
|
|
@@ -3198,10 +3198,10 @@
|
|
|
3198
3198
|
"context": {
|
|
3199
3199
|
"type": "mixin",
|
|
3200
3200
|
"name": "register-data-uri",
|
|
3201
|
-
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n
|
|
3201
|
+
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n @warn \"Attempt to redefine data URI of file `#{$name}`.\";\n }\n\n $_kendo-data-uris: k-map-merge( $_kendo-data-uris, ( $name: $content ) ) !global;\n",
|
|
3202
3202
|
"line": {
|
|
3203
3203
|
"start": 10,
|
|
3204
|
-
"end":
|
|
3204
|
+
"end": 16
|
|
3205
3205
|
}
|
|
3206
3206
|
}
|
|
3207
3207
|
}
|
|
@@ -3259,7 +3259,7 @@
|
|
|
3259
3259
|
"context": {
|
|
3260
3260
|
"type": "function",
|
|
3261
3261
|
"name": "k-map-merge",
|
|
3262
|
-
"code": "\n @each $arg in $args {\n $map: map-merge( $map, $arg )
|
|
3262
|
+
"code": "\n @each $arg in $args {\n $map: map-merge( $map, $arg ); // stylelint-disable-line\n }\n @return $map;\n",
|
|
3263
3263
|
"line": {
|
|
3264
3264
|
"start": 43,
|
|
3265
3265
|
"end": 48
|
|
@@ -3315,10 +3315,10 @@
|
|
|
3315
3315
|
"context": {
|
|
3316
3316
|
"type": "mixin",
|
|
3317
3317
|
"name": "register-data-uri",
|
|
3318
|
-
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n
|
|
3318
|
+
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n @warn \"Attempt to redefine data URI of file `#{$name}`.\";\n }\n\n $_kendo-data-uris: k-map-merge( $_kendo-data-uris, ( $name: $content ) ) !global;\n",
|
|
3319
3319
|
"line": {
|
|
3320
3320
|
"start": 10,
|
|
3321
|
-
"end":
|
|
3321
|
+
"end": 16
|
|
3322
3322
|
}
|
|
3323
3323
|
}
|
|
3324
3324
|
}
|
|
@@ -3842,10 +3842,10 @@
|
|
|
3842
3842
|
"context": {
|
|
3843
3843
|
"type": "function",
|
|
3844
3844
|
"name": "k-color-contrast-ratio",
|
|
3845
|
-
"code": "\n
|
|
3845
|
+
"code": "\n $backLum: k-color-luminance( $background ) + .05;\n $foreLum: k-color-luminance( $foreground ) + .05;\n\n @return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );\n",
|
|
3846
3846
|
"line": {
|
|
3847
|
-
"start":
|
|
3848
|
-
"end":
|
|
3847
|
+
"start": 315,
|
|
3848
|
+
"end": 320
|
|
3849
3849
|
}
|
|
3850
3850
|
}
|
|
3851
3851
|
},
|
|
@@ -3997,10 +3997,10 @@
|
|
|
3997
3997
|
"context": {
|
|
3998
3998
|
"type": "function",
|
|
3999
3999
|
"name": "k-color-contrast-ratio",
|
|
4000
|
-
"code": "\n
|
|
4000
|
+
"code": "\n $backLum: k-color-luminance( $background ) + .05;\n $foreLum: k-color-luminance( $foreground ) + .05;\n\n @return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );\n",
|
|
4001
4001
|
"line": {
|
|
4002
|
-
"start":
|
|
4003
|
-
"end":
|
|
4002
|
+
"start": 315,
|
|
4003
|
+
"end": 320
|
|
4004
4004
|
}
|
|
4005
4005
|
}
|
|
4006
4006
|
},
|
|
@@ -4071,10 +4071,10 @@
|
|
|
4071
4071
|
"context": {
|
|
4072
4072
|
"type": "function",
|
|
4073
4073
|
"name": "k-color-contrast-ratio",
|
|
4074
|
-
"code": "\n
|
|
4074
|
+
"code": "\n $backLum: k-color-luminance( $background ) + .05;\n $foreLum: k-color-luminance( $foreground ) + .05;\n\n @return k-math-div( k-math-max( $backLum, $foreLum ), k-math-min( $backLum, $foreLum ) );\n",
|
|
4075
4075
|
"line": {
|
|
4076
|
-
"start":
|
|
4077
|
-
"end":
|
|
4076
|
+
"start": 315,
|
|
4077
|
+
"end": 320
|
|
4078
4078
|
}
|
|
4079
4079
|
}
|
|
4080
4080
|
},
|
|
@@ -4307,7 +4307,7 @@
|
|
|
4307
4307
|
"context": {
|
|
4308
4308
|
"type": "function",
|
|
4309
4309
|
"name": "k-math-random",
|
|
4310
|
-
"code": "\n @if ( $limit == null ) {\n @return random();\n }\n\n @return random( $limit );\n",
|
|
4310
|
+
"code": "\n @if ( $limit == null ) { // stylelint-disable-line\n @return random();\n }\n\n @return random( $limit );\n",
|
|
4311
4311
|
"line": {
|
|
4312
4312
|
"start": 172,
|
|
4313
4313
|
"end": 178
|
|
@@ -6694,10 +6694,10 @@
|
|
|
6694
6694
|
"context": {
|
|
6695
6695
|
"type": "mixin",
|
|
6696
6696
|
"name": "register-data-uri",
|
|
6697
|
-
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n
|
|
6697
|
+
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n @warn \"Attempt to redefine data URI of file `#{$name}`.\";\n }\n\n $_kendo-data-uris: k-map-merge( $_kendo-data-uris, ( $name: $content ) ) !global;\n",
|
|
6698
6698
|
"line": {
|
|
6699
6699
|
"start": 10,
|
|
6700
|
-
"end":
|
|
6700
|
+
"end": 16
|
|
6701
6701
|
}
|
|
6702
6702
|
}
|
|
6703
6703
|
}
|
|
@@ -6712,10 +6712,10 @@
|
|
|
6712
6712
|
"context": {
|
|
6713
6713
|
"type": "mixin",
|
|
6714
6714
|
"name": "register-data-uri",
|
|
6715
|
-
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n
|
|
6715
|
+
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n @warn \"Attempt to redefine data URI of file `#{$name}`.\";\n }\n\n $_kendo-data-uris: k-map-merge( $_kendo-data-uris, ( $name: $content ) ) !global;\n",
|
|
6716
6716
|
"line": {
|
|
6717
6717
|
"start": 10,
|
|
6718
|
-
"end":
|
|
6718
|
+
"end": 16
|
|
6719
6719
|
}
|
|
6720
6720
|
},
|
|
6721
6721
|
"access": "private",
|
|
@@ -6784,7 +6784,7 @@
|
|
|
6784
6784
|
"context": {
|
|
6785
6785
|
"type": "mixin",
|
|
6786
6786
|
"name": "exports",
|
|
6787
|
-
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) {\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
6787
|
+
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) { // stylelint-disable-line\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
6788
6788
|
"line": {
|
|
6789
6789
|
"start": 9,
|
|
6790
6790
|
"end": 14
|
|
@@ -6802,7 +6802,7 @@
|
|
|
6802
6802
|
"context": {
|
|
6803
6803
|
"type": "mixin",
|
|
6804
6804
|
"name": "exports",
|
|
6805
|
-
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) {\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
6805
|
+
"code": "\n @if (k-list-index( $_kendo-imported-modules, $name ) == null) { // stylelint-disable-line\n $_kendo-imported-modules: k-list-append( $_kendo-imported-modules, $name ) !global;\n @content;\n }\n",
|
|
6806
6806
|
"line": {
|
|
6807
6807
|
"start": 9,
|
|
6808
6808
|
"end": 14
|
package/dist/meta/variables.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-core",
|
|
3
3
|
"description": "A collection of functions and mixins used for building themes for Kendo UI",
|
|
4
|
-
"version": "6.4.0-dev.
|
|
4
|
+
"version": "6.4.0-dev.4",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"prepublishOnly": "node ../../scripts/themes-prepublish.js",
|
|
40
40
|
"postpublish": "echo 'no postpublish for core theme'"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f1697f6f332595856450d44528bc344d6d4c728c"
|
|
43
43
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
$outline: $outline-prop;
|
|
22
22
|
|
|
23
23
|
$result: k-map-merge($result, (
|
|
24
|
-
// sass-lint:disable-block indentation
|
|
25
24
|
#{$prefix}bg: $bg,
|
|
26
25
|
#{$prefix}text: $text,
|
|
27
26
|
#{$prefix}border: $border,
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
$src-palette-name: k-map-get( $definition, PALETTE );
|
|
52
51
|
$matrix: k-map-remove( $definition, PALETTE );
|
|
53
52
|
|
|
54
|
-
@if ($tc-index == null ) {
|
|
53
|
+
@if ($tc-index == null ) { // stylelint-disable-line
|
|
55
54
|
$tmp-result: k-generate-theme-variant( $variant, $matrix, $src-palette-name );
|
|
56
55
|
$result: k-map-merge( $result, $tmp-result);
|
|
57
56
|
} @else {
|