@progress/kendo-font-icons 4.10.0 → 4.10.1

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.
@@ -5,13 +5,13 @@ $ki-icon-default-size: md !default;
5
5
  $ki-font-family: "WebComponentsIcons" !default;
6
6
  $ki-icon-size: 16px !default;
7
7
 
8
- $ki-icon-size-xs: var(--kendo-icon-size-xs, calc( var(--kendo-icon-size, #{$ki-icon-size}) * .75 )) !default;
9
- $ki-icon-size-sm: var(--kendo-icon-size-sm, calc( var(--kendo-icon-size, #{$ki-icon-size}) * .875 )) !default;
10
- $ki-icon-size-md: var(--kendo-icon-size-md, var(--kendo-icon-size, #{$ki-icon-size})) !default;
11
- $ki-icon-size-lg: var(--kendo-icon-size-lg, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 1.25 )) !default;
12
- $ki-icon-size-xl: var(--kendo-icon-size-xl, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 1.5 )) !default;
13
- $ki-icon-size-xxl: var(--kendo-icon-size-xxl, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 2 )) !default;
14
- $ki-icon-size-xxxl: var(--kendo-icon-size-xxxl, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 3 )) !default;
8
+ $ki-icon-size-xs: calc( #{$ki-icon-size} * .75 ) !default;
9
+ $ki-icon-size-sm: calc( #{$ki-icon-size} * .875 ) !default;
10
+ $ki-icon-size-md: $ki-icon-size !default;
11
+ $ki-icon-size-lg: calc( #{$ki-icon-size} * 1.25 ) !default;
12
+ $ki-icon-size-xl: calc( #{$ki-icon-size} * 1.5 ) !default;
13
+ $ki-icon-size-xxl: calc( #{$ki-icon-size} * 2 ) !default;
14
+ $ki-icon-size-xxxl: calc( #{$ki-icon-size} * 3 ) !default;
15
15
 
16
16
  $ki-embed-font: false !default;
17
17
  $ki-font-file-url: "kendo-font-icons.ttf" !default;
package/scss/index.scss CHANGED
@@ -16,17 +16,6 @@
16
16
  }
17
17
  }
18
18
 
19
- :root {
20
- --kendo-icon-size: #{$ki-icon-size};
21
- --kendo-icon-size-xs: calc( var(--kendo-icon-size) * .75 );
22
- --kendo-icon-size-sm: calc( var(--kendo-icon-size) * .875 );
23
- --kendo-icon-size-md: var(--kendo-icon-size);
24
- --kendo-icon-size-lg: calc( var(--kendo-icon-size) * 1.25 );
25
- --kendo-icon-size-xl: calc( var(--kendo-icon-size) * 1.5 );
26
- --kendo-icon-size-xxl: calc( var(--kendo-icon-size) * 2 );
27
- --kendo-icon-size-xxxl: calc( var(--kendo-icon-size) * 3 );
28
- --kendo-icon-rotation: 0deg;
29
- }
30
19
 
31
20
  // Font icon
32
21
  .k-font-icon {
@@ -50,14 +39,13 @@
50
39
  position: relative;
51
40
  -moz-osx-font-smoothing: grayscale;
52
41
  -webkit-font-smoothing: antialiased;
53
- transform: rotate( var(--kendo-icon-rotation) );
54
42
 
55
43
  &:hover,
56
44
  &:focus {
57
45
  text-decoration: none;
58
46
  }
59
47
 
60
- // Font Icon sizes
48
+ // SVG Icon sizes
61
49
  @each $size, $value in $ki-icon-sizes {
62
50
  #{if($ki-icon-default-size == $size, "&,", null)}
63
51
  &.k-icon-#{$size} {
@@ -87,8 +75,7 @@
87
75
  // Rotate
88
76
  @each $index, $rotate in $ki-rotate-map {
89
77
  .k-rotate-#{$index} {
90
- --kendo-icon-rotation: #{$rotate};
91
- transform: rotate( var(--kendo-icon-rotation) );
78
+ transform: rotate( #{$rotate} );
92
79
  }
93
80
  }
94
81
 
Binary file