@progress/kendo-theme-core 6.4.0-dev.2 → 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
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
{
|
|
4
4
|
"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",
|
|
5
5
|
"commentRange": {
|
|
6
|
-
"start":
|
|
7
|
-
"end":
|
|
6
|
+
"start": 273,
|
|
7
|
+
"end": 279
|
|
8
8
|
},
|
|
9
9
|
"context": {
|
|
10
10
|
"type": "variable",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"value": "7",
|
|
13
13
|
"scope": "default",
|
|
14
14
|
"line": {
|
|
15
|
-
"start":
|
|
16
|
-
"end":
|
|
15
|
+
"start": 280,
|
|
16
|
+
"end": 280
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"type": "Number",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
{
|
|
42
42
|
"description": "Default dark color for WCAG 2.0.\n",
|
|
43
43
|
"commentRange": {
|
|
44
|
-
"start":
|
|
45
|
-
"end":
|
|
44
|
+
"start": 281,
|
|
45
|
+
"end": 283
|
|
46
46
|
},
|
|
47
47
|
"context": {
|
|
48
48
|
"type": "variable",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"value": "black",
|
|
51
51
|
"scope": "default",
|
|
52
52
|
"line": {
|
|
53
|
-
"start":
|
|
54
|
-
"end":
|
|
53
|
+
"start": 284,
|
|
54
|
+
"end": 284
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"type": "Color",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
{
|
|
70
70
|
"description": "Default light color for WCAG 2.0.\n",
|
|
71
71
|
"commentRange": {
|
|
72
|
-
"start":
|
|
73
|
-
"end":
|
|
72
|
+
"start": 285,
|
|
73
|
+
"end": 287
|
|
74
74
|
},
|
|
75
75
|
"context": {
|
|
76
76
|
"type": "variable",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"value": "white",
|
|
79
79
|
"scope": "default",
|
|
80
80
|
"line": {
|
|
81
|
-
"start":
|
|
82
|
-
"end":
|
|
81
|
+
"start": 288,
|
|
82
|
+
"end": 288
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"type": "Color",
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
"context": {
|
|
330
330
|
"type": "mixin",
|
|
331
331
|
"name": "exports",
|
|
332
|
-
"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",
|
|
332
|
+
"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",
|
|
333
333
|
"line": {
|
|
334
334
|
"start": 9,
|
|
335
335
|
"end": 14
|
|
@@ -374,16 +374,16 @@
|
|
|
374
374
|
{
|
|
375
375
|
"description": "Calculate the relative luminance for a color.\n",
|
|
376
376
|
"commentRange": {
|
|
377
|
-
"start":
|
|
378
|
-
"end":
|
|
377
|
+
"start": 290,
|
|
378
|
+
"end": 297
|
|
379
379
|
},
|
|
380
380
|
"context": {
|
|
381
381
|
"type": "function",
|
|
382
382
|
"name": "k-color-luminance",
|
|
383
383
|
"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",
|
|
384
384
|
"line": {
|
|
385
|
-
"start":
|
|
386
|
-
"end":
|
|
385
|
+
"start": 298,
|
|
386
|
+
"end": 304
|
|
387
387
|
},
|
|
388
388
|
"signature": "k-color-luminance($color)"
|
|
389
389
|
},
|
|
@@ -441,10 +441,10 @@
|
|
|
441
441
|
"context": {
|
|
442
442
|
"type": "function",
|
|
443
443
|
"name": "k-color-contrast-ratio",
|
|
444
|
-
"code": "\n
|
|
444
|
+
"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",
|
|
445
445
|
"line": {
|
|
446
|
-
"start":
|
|
447
|
-
"end":
|
|
446
|
+
"start": 315,
|
|
447
|
+
"end": 320
|
|
448
448
|
},
|
|
449
449
|
"signature": "k-color-contrast-ratio($background, $foreground)"
|
|
450
450
|
}
|
|
@@ -454,10 +454,10 @@
|
|
|
454
454
|
"context": {
|
|
455
455
|
"type": "function",
|
|
456
456
|
"name": "k-color-contrast-ratio",
|
|
457
|
-
"code": "\n
|
|
457
|
+
"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",
|
|
458
458
|
"line": {
|
|
459
|
-
"start":
|
|
460
|
-
"end":
|
|
459
|
+
"start": 315,
|
|
460
|
+
"end": 320
|
|
461
461
|
},
|
|
462
462
|
"signature": "k-color-contrast-ratio($background, $foreground)"
|
|
463
463
|
}
|
|
@@ -469,8 +469,8 @@
|
|
|
469
469
|
"name": "k-is-dark",
|
|
470
470
|
"code": "\n @return if( k-color-luminance( $color ) < .5, true, false );\n",
|
|
471
471
|
"line": {
|
|
472
|
-
"start":
|
|
473
|
-
"end":
|
|
472
|
+
"start": 327,
|
|
473
|
+
"end": 329
|
|
474
474
|
},
|
|
475
475
|
"signature": "k-is-dark($color)"
|
|
476
476
|
}
|
|
@@ -482,8 +482,8 @@
|
|
|
482
482
|
"name": "k-is-light",
|
|
483
483
|
"code": "\n @return if( k-color-luminance( $color ) < .5, false, true );\n",
|
|
484
484
|
"line": {
|
|
485
|
-
"start":
|
|
486
|
-
"end":
|
|
485
|
+
"start": 336,
|
|
486
|
+
"end": 338
|
|
487
487
|
},
|
|
488
488
|
"signature": "k-is-light($color)"
|
|
489
489
|
}
|
|
@@ -501,16 +501,16 @@
|
|
|
501
501
|
{
|
|
502
502
|
"description": "Calculates contrast ratio between two colors\n",
|
|
503
503
|
"commentRange": {
|
|
504
|
-
"start":
|
|
505
|
-
"end":
|
|
504
|
+
"start": 306,
|
|
505
|
+
"end": 314
|
|
506
506
|
},
|
|
507
507
|
"context": {
|
|
508
508
|
"type": "function",
|
|
509
509
|
"name": "k-color-contrast-ratio",
|
|
510
|
-
"code": "\n
|
|
510
|
+
"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",
|
|
511
511
|
"line": {
|
|
512
|
-
"start":
|
|
513
|
-
"end":
|
|
512
|
+
"start": 315,
|
|
513
|
+
"end": 320
|
|
514
514
|
},
|
|
515
515
|
"signature": "k-color-contrast-ratio($background, $foreground)"
|
|
516
516
|
},
|
|
@@ -564,10 +564,10 @@
|
|
|
564
564
|
"context": {
|
|
565
565
|
"type": "function",
|
|
566
566
|
"name": "k-contrast-color",
|
|
567
|
-
"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
|
|
567
|
+
"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",
|
|
568
568
|
"line": {
|
|
569
|
-
"start":
|
|
570
|
-
"end":
|
|
569
|
+
"start": 350,
|
|
570
|
+
"end": 369
|
|
571
571
|
},
|
|
572
572
|
"signature": "k-contrast-color($background, $dark, $light, $min-ratio)"
|
|
573
573
|
}
|
|
@@ -590,16 +590,16 @@
|
|
|
590
590
|
{
|
|
591
591
|
"description": "Checks if a color is dark\n",
|
|
592
592
|
"commentRange": {
|
|
593
|
-
"start":
|
|
594
|
-
"end":
|
|
593
|
+
"start": 322,
|
|
594
|
+
"end": 326
|
|
595
595
|
},
|
|
596
596
|
"context": {
|
|
597
597
|
"type": "function",
|
|
598
598
|
"name": "k-is-dark",
|
|
599
599
|
"code": "\n @return if( k-color-luminance( $color ) < .5, true, false );\n",
|
|
600
600
|
"line": {
|
|
601
|
-
"start":
|
|
602
|
-
"end":
|
|
601
|
+
"start": 327,
|
|
602
|
+
"end": 329
|
|
603
603
|
},
|
|
604
604
|
"signature": "k-is-dark($color)"
|
|
605
605
|
},
|
|
@@ -633,16 +633,16 @@
|
|
|
633
633
|
{
|
|
634
634
|
"description": "Checks if a color is light\n",
|
|
635
635
|
"commentRange": {
|
|
636
|
-
"start":
|
|
637
|
-
"end":
|
|
636
|
+
"start": 331,
|
|
637
|
+
"end": 335
|
|
638
638
|
},
|
|
639
639
|
"context": {
|
|
640
640
|
"type": "function",
|
|
641
641
|
"name": "k-is-light",
|
|
642
642
|
"code": "\n @return if( k-color-luminance( $color ) < .5, false, true );\n",
|
|
643
643
|
"line": {
|
|
644
|
-
"start":
|
|
645
|
-
"end":
|
|
644
|
+
"start": 336,
|
|
645
|
+
"end": 338
|
|
646
646
|
},
|
|
647
647
|
"signature": "k-is-light($color)"
|
|
648
648
|
},
|
|
@@ -676,16 +676,16 @@
|
|
|
676
676
|
{
|
|
677
677
|
"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",
|
|
678
678
|
"commentRange": {
|
|
679
|
-
"start":
|
|
680
|
-
"end":
|
|
679
|
+
"start": 341,
|
|
680
|
+
"end": 349
|
|
681
681
|
},
|
|
682
682
|
"context": {
|
|
683
683
|
"type": "function",
|
|
684
684
|
"name": "k-contrast-color",
|
|
685
|
-
"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
|
|
685
|
+
"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",
|
|
686
686
|
"line": {
|
|
687
|
-
"start":
|
|
688
|
-
"end":
|
|
687
|
+
"start": 350,
|
|
688
|
+
"end": 369
|
|
689
689
|
},
|
|
690
690
|
"signature": "k-contrast-color($background, $dark, $light, $min-ratio)"
|
|
691
691
|
},
|
|
@@ -1263,8 +1263,8 @@
|
|
|
1263
1263
|
"name": "k-color-luminance",
|
|
1264
1264
|
"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",
|
|
1265
1265
|
"line": {
|
|
1266
|
-
"start":
|
|
1267
|
-
"end":
|
|
1266
|
+
"start": 298,
|
|
1267
|
+
"end": 304
|
|
1268
1268
|
},
|
|
1269
1269
|
"signature": "k-color-luminance($color)"
|
|
1270
1270
|
}
|
|
@@ -1322,8 +1322,8 @@
|
|
|
1322
1322
|
"name": "k-color-luminance",
|
|
1323
1323
|
"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",
|
|
1324
1324
|
"line": {
|
|
1325
|
-
"start":
|
|
1326
|
-
"end":
|
|
1325
|
+
"start": 298,
|
|
1326
|
+
"end": 304
|
|
1327
1327
|
},
|
|
1328
1328
|
"signature": "k-color-luminance($color)"
|
|
1329
1329
|
}
|
|
@@ -1381,8 +1381,8 @@
|
|
|
1381
1381
|
"name": "k-color-luminance",
|
|
1382
1382
|
"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",
|
|
1383
1383
|
"line": {
|
|
1384
|
-
"start":
|
|
1385
|
-
"end":
|
|
1384
|
+
"start": 298,
|
|
1385
|
+
"end": 304
|
|
1386
1386
|
},
|
|
1387
1387
|
"signature": "k-color-luminance($color)"
|
|
1388
1388
|
}
|
|
@@ -2237,10 +2237,10 @@
|
|
|
2237
2237
|
"context": {
|
|
2238
2238
|
"type": "function",
|
|
2239
2239
|
"name": "k-list-reverse",
|
|
2240
|
-
"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
|
|
2240
|
+
"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",
|
|
2241
2241
|
"line": {
|
|
2242
2242
|
"start": 88,
|
|
2243
|
-
"end":
|
|
2243
|
+
"end": 103
|
|
2244
2244
|
},
|
|
2245
2245
|
"signature": "k-list-reverse($list)"
|
|
2246
2246
|
}
|
|
@@ -2250,7 +2250,7 @@
|
|
|
2250
2250
|
"context": {
|
|
2251
2251
|
"type": "mixin",
|
|
2252
2252
|
"name": "exports",
|
|
2253
|
-
"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",
|
|
2253
|
+
"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",
|
|
2254
2254
|
"line": {
|
|
2255
2255
|
"start": 9,
|
|
2256
2256
|
"end": 14
|
|
@@ -2386,7 +2386,7 @@
|
|
|
2386
2386
|
"context": {
|
|
2387
2387
|
"type": "mixin",
|
|
2388
2388
|
"name": "exports",
|
|
2389
|
-
"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",
|
|
2389
|
+
"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",
|
|
2390
2390
|
"line": {
|
|
2391
2391
|
"start": 9,
|
|
2392
2392
|
"end": 14
|
|
@@ -2553,10 +2553,10 @@
|
|
|
2553
2553
|
"context": {
|
|
2554
2554
|
"type": "function",
|
|
2555
2555
|
"name": "k-list-reverse",
|
|
2556
|
-
"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
|
|
2556
|
+
"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",
|
|
2557
2557
|
"line": {
|
|
2558
2558
|
"start": 88,
|
|
2559
|
-
"end":
|
|
2559
|
+
"end": 103
|
|
2560
2560
|
},
|
|
2561
2561
|
"signature": "k-list-reverse($list)"
|
|
2562
2562
|
}
|
|
@@ -2614,8 +2614,8 @@
|
|
|
2614
2614
|
"name": "k-color-luminance",
|
|
2615
2615
|
"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",
|
|
2616
2616
|
"line": {
|
|
2617
|
-
"start":
|
|
2618
|
-
"end":
|
|
2617
|
+
"start": 298,
|
|
2618
|
+
"end": 304
|
|
2619
2619
|
},
|
|
2620
2620
|
"signature": "k-color-luminance($color)"
|
|
2621
2621
|
}
|
|
@@ -2627,8 +2627,8 @@
|
|
|
2627
2627
|
"name": "k-color-luminance",
|
|
2628
2628
|
"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",
|
|
2629
2629
|
"line": {
|
|
2630
|
-
"start":
|
|
2631
|
-
"end":
|
|
2630
|
+
"start": 298,
|
|
2631
|
+
"end": 304
|
|
2632
2632
|
},
|
|
2633
2633
|
"signature": "k-color-luminance($color)"
|
|
2634
2634
|
}
|
|
@@ -2640,8 +2640,8 @@
|
|
|
2640
2640
|
"name": "k-color-luminance",
|
|
2641
2641
|
"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",
|
|
2642
2642
|
"line": {
|
|
2643
|
-
"start":
|
|
2644
|
-
"end":
|
|
2643
|
+
"start": 298,
|
|
2644
|
+
"end": 304
|
|
2645
2645
|
},
|
|
2646
2646
|
"signature": "k-color-luminance($color)"
|
|
2647
2647
|
}
|
|
@@ -2651,10 +2651,10 @@
|
|
|
2651
2651
|
"context": {
|
|
2652
2652
|
"type": "function",
|
|
2653
2653
|
"name": "k-list-reverse",
|
|
2654
|
-
"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
|
|
2654
|
+
"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",
|
|
2655
2655
|
"line": {
|
|
2656
2656
|
"start": 88,
|
|
2657
|
-
"end":
|
|
2657
|
+
"end": 103
|
|
2658
2658
|
},
|
|
2659
2659
|
"signature": "k-list-reverse($list)"
|
|
2660
2660
|
}
|
|
@@ -2689,10 +2689,10 @@
|
|
|
2689
2689
|
"context": {
|
|
2690
2690
|
"type": "function",
|
|
2691
2691
|
"name": "k-list-reverse",
|
|
2692
|
-
"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
|
|
2692
|
+
"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",
|
|
2693
2693
|
"line": {
|
|
2694
2694
|
"start": 88,
|
|
2695
|
-
"end":
|
|
2695
|
+
"end": 103
|
|
2696
2696
|
},
|
|
2697
2697
|
"signature": "k-list-reverse($list)"
|
|
2698
2698
|
},
|
|
@@ -2740,16 +2740,16 @@
|
|
|
2740
2740
|
{
|
|
2741
2741
|
"description": "Returns the separator of `$list`.\n",
|
|
2742
2742
|
"commentRange": {
|
|
2743
|
-
"start":
|
|
2744
|
-
"end":
|
|
2743
|
+
"start": 105,
|
|
2744
|
+
"end": 110
|
|
2745
2745
|
},
|
|
2746
2746
|
"context": {
|
|
2747
2747
|
"type": "function",
|
|
2748
2748
|
"name": "k-list-separator",
|
|
2749
2749
|
"code": "\n @return list-separator( $list );\n",
|
|
2750
2750
|
"line": {
|
|
2751
|
-
"start":
|
|
2752
|
-
"end":
|
|
2751
|
+
"start": 111,
|
|
2752
|
+
"end": 113
|
|
2753
2753
|
},
|
|
2754
2754
|
"signature": "k-list-separator($list)"
|
|
2755
2755
|
},
|
|
@@ -2784,16 +2784,16 @@
|
|
|
2784
2784
|
{
|
|
2785
2785
|
"description": "Returns a copy of `$list` with `$val` inserted at `$n`.\n",
|
|
2786
2786
|
"commentRange": {
|
|
2787
|
-
"start":
|
|
2788
|
-
"end":
|
|
2787
|
+
"start": 115,
|
|
2788
|
+
"end": 122
|
|
2789
2789
|
},
|
|
2790
2790
|
"context": {
|
|
2791
2791
|
"type": "function",
|
|
2792
2792
|
"name": "k-list-set-nth",
|
|
2793
2793
|
"code": "\n @return set-nth( $list, $n, $value );\n",
|
|
2794
2794
|
"line": {
|
|
2795
|
-
"start":
|
|
2796
|
-
"end":
|
|
2795
|
+
"start": 123,
|
|
2796
|
+
"end": 125
|
|
2797
2797
|
},
|
|
2798
2798
|
"signature": "k-list-set-nth($list, $n, $val)"
|
|
2799
2799
|
},
|
|
@@ -2838,16 +2838,16 @@
|
|
|
2838
2838
|
{
|
|
2839
2839
|
"description": "Combines two lists into a single list of two-item lists.\n",
|
|
2840
2840
|
"commentRange": {
|
|
2841
|
-
"start":
|
|
2842
|
-
"end":
|
|
2841
|
+
"start": 127,
|
|
2842
|
+
"end": 133
|
|
2843
2843
|
},
|
|
2844
2844
|
"context": {
|
|
2845
2845
|
"type": "function",
|
|
2846
2846
|
"name": "k-list-zip",
|
|
2847
2847
|
"code": "\n @return zip( $lists... );\n",
|
|
2848
2848
|
"line": {
|
|
2849
|
-
"start":
|
|
2850
|
-
"end":
|
|
2849
|
+
"start": 134,
|
|
2850
|
+
"end": 136
|
|
2851
2851
|
},
|
|
2852
2852
|
"signature": "k-list-zip($list1, $list2)"
|
|
2853
2853
|
},
|
|
@@ -2893,7 +2893,7 @@
|
|
|
2893
2893
|
"context": {
|
|
2894
2894
|
"type": "function",
|
|
2895
2895
|
"name": "k-map-get",
|
|
2896
|
-
"code": "\n @each $key in $keys {\n $map: map-get( $map, $key )
|
|
2896
|
+
"code": "\n @each $key in $keys {\n $map: map-get( $map, $key ); // stylelint-disable-line\n }\n @return $map;\n",
|
|
2897
2897
|
"line": {
|
|
2898
2898
|
"start": 7,
|
|
2899
2899
|
"end": 12
|
|
@@ -2964,10 +2964,10 @@
|
|
|
2964
2964
|
"context": {
|
|
2965
2965
|
"type": "mixin",
|
|
2966
2966
|
"name": "register-data-uri",
|
|
2967
|
-
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n
|
|
2967
|
+
"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",
|
|
2968
2968
|
"line": {
|
|
2969
2969
|
"start": 10,
|
|
2970
|
-
"end":
|
|
2970
|
+
"end": 16
|
|
2971
2971
|
}
|
|
2972
2972
|
}
|
|
2973
2973
|
}
|
|
@@ -3045,7 +3045,7 @@
|
|
|
3045
3045
|
"context": {
|
|
3046
3046
|
"type": "function",
|
|
3047
3047
|
"name": "k-map-merge",
|
|
3048
|
-
"code": "\n @each $arg in $args {\n $map: map-merge( $map, $arg )
|
|
3048
|
+
"code": "\n @each $arg in $args {\n $map: map-merge( $map, $arg ); // stylelint-disable-line\n }\n @return $map;\n",
|
|
3049
3049
|
"line": {
|
|
3050
3050
|
"start": 43,
|
|
3051
3051
|
"end": 48
|
|
@@ -3084,10 +3084,10 @@
|
|
|
3084
3084
|
"context": {
|
|
3085
3085
|
"type": "mixin",
|
|
3086
3086
|
"name": "register-data-uri",
|
|
3087
|
-
"code": "\n @if ( k-map-has-key( $_kendo-data-uris, $name ) ) {\n
|
|
3087
|
+
"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",
|
|
3088
3088
|
"line": {
|
|
3089
3089
|
"start": 10,
|
|
3090
|
-
"end":
|
|
3090
|
+
"end": 16
|
|
3091
3091
|
}
|
|
3092
3092
|
}
|
|
3093
3093
|
}
|
|
@@ -3622,10 +3622,10 @@
|
|
|
3622
3622
|
"context": {
|
|
3623
3623
|
"type": "function",
|
|
3624
3624
|
"name": "k-color-contrast-ratio",
|
|
3625
|
-
"code": "\n
|
|
3625
|
+
"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",
|
|
3626
3626
|
"line": {
|
|
3627
|
-
"start":
|
|
3628
|
-
"end":
|
|
3627
|
+
"start": 315,
|
|
3628
|
+
"end": 320
|
|
3629
3629
|
},
|
|
3630
3630
|
"signature": "k-color-contrast-ratio($background, $foreground)"
|
|
3631
3631
|
}
|
|
@@ -3784,10 +3784,10 @@
|
|
|
3784
3784
|
"context": {
|
|
3785
3785
|
"type": "function",
|
|
3786
3786
|
"name": "k-color-contrast-ratio",
|
|
3787
|
-
"code": "\n
|
|
3787
|
+
"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",
|
|
3788
3788
|
"line": {
|
|
3789
|
-
"start":
|
|
3790
|
-
"end":
|
|
3789
|
+
"start": 315,
|
|
3790
|
+
"end": 320
|
|
3791
3791
|
},
|
|
3792
3792
|
"signature": "k-color-contrast-ratio($background, $foreground)"
|
|
3793
3793
|
}
|
|
@@ -3861,10 +3861,10 @@
|
|
|
3861
3861
|
"context": {
|
|
3862
3862
|
"type": "function",
|
|
3863
3863
|
"name": "k-color-contrast-ratio",
|
|
3864
|
-
"code": "\n
|
|
3864
|
+
"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",
|
|
3865
3865
|
"line": {
|
|
3866
|
-
"start":
|
|
3867
|
-
"end":
|
|
3866
|
+
"start": 315,
|
|
3867
|
+
"end": 320
|
|
3868
3868
|
},
|
|
3869
3869
|
"signature": "k-color-contrast-ratio($background, $foreground)"
|
|
3870
3870
|
}
|
|
@@ -4123,7 +4123,7 @@
|
|
|
4123
4123
|
"context": {
|
|
4124
4124
|
"type": "function",
|
|
4125
4125
|
"name": "k-math-random",
|
|
4126
|
-
"code": "\n @if ( $limit == null ) {\n @return random();\n }\n\n @return random( $limit );\n",
|
|
4126
|
+
"code": "\n @if ( $limit == null ) { // stylelint-disable-line\n @return random();\n }\n\n @return random( $limit );\n",
|
|
4127
4127
|
"line": {
|
|
4128
4128
|
"start": 172,
|
|
4129
4129
|
"end": 178
|
|
@@ -6601,8 +6601,8 @@
|
|
|
6601
6601
|
{
|
|
6602
6602
|
"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",
|
|
6603
6603
|
"commentRange": {
|
|
6604
|
-
"start":
|
|
6605
|
-
"end":
|
|
6604
|
+
"start": 273,
|
|
6605
|
+
"end": 279
|
|
6606
6606
|
},
|
|
6607
6607
|
"context": {
|
|
6608
6608
|
"type": "variable",
|
|
@@ -6610,8 +6610,8 @@
|
|
|
6610
6610
|
"value": "7",
|
|
6611
6611
|
"scope": "default",
|
|
6612
6612
|
"line": {
|
|
6613
|
-
"start":
|
|
6614
|
-
"end":
|
|
6613
|
+
"start": 280,
|
|
6614
|
+
"end": 280
|
|
6615
6615
|
}
|
|
6616
6616
|
},
|
|
6617
6617
|
"type": "Number",
|
|
@@ -6639,8 +6639,8 @@
|
|
|
6639
6639
|
{
|
|
6640
6640
|
"description": "Default dark color for WCAG 2.0.\n",
|
|
6641
6641
|
"commentRange": {
|
|
6642
|
-
"start":
|
|
6643
|
-
"end":
|
|
6642
|
+
"start": 281,
|
|
6643
|
+
"end": 283
|
|
6644
6644
|
},
|
|
6645
6645
|
"context": {
|
|
6646
6646
|
"type": "variable",
|
|
@@ -6648,8 +6648,8 @@
|
|
|
6648
6648
|
"value": "black",
|
|
6649
6649
|
"scope": "default",
|
|
6650
6650
|
"line": {
|
|
6651
|
-
"start":
|
|
6652
|
-
"end":
|
|
6651
|
+
"start": 284,
|
|
6652
|
+
"end": 284
|
|
6653
6653
|
}
|
|
6654
6654
|
},
|
|
6655
6655
|
"type": "Color",
|
|
@@ -6667,8 +6667,8 @@
|
|
|
6667
6667
|
{
|
|
6668
6668
|
"description": "Default light color for WCAG 2.0.\n",
|
|
6669
6669
|
"commentRange": {
|
|
6670
|
-
"start":
|
|
6671
|
-
"end":
|
|
6670
|
+
"start": 285,
|
|
6671
|
+
"end": 287
|
|
6672
6672
|
},
|
|
6673
6673
|
"context": {
|
|
6674
6674
|
"type": "variable",
|
|
@@ -6676,8 +6676,8 @@
|
|
|
6676
6676
|
"value": "white",
|
|
6677
6677
|
"scope": "default",
|
|
6678
6678
|
"line": {
|
|
6679
|
-
"start":
|
|
6680
|
-
"end":
|
|
6679
|
+
"start": 288,
|
|
6680
|
+
"end": 288
|
|
6681
6681
|
}
|
|
6682
6682
|
},
|
|
6683
6683
|
"type": "Color",
|