@progress/kendo-theme-default 7.3.0-dev.1 → 8.0.0-dev.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.
Files changed (163) hide show
  1. package/dist/all.css +9608 -9003
  2. package/dist/all.scss +5335 -5049
  3. package/dist/default-blue.scss +143 -29
  4. package/dist/default-dataviz-v4.scss +45 -6
  5. package/dist/default-green.scss +135 -29
  6. package/dist/default-main-dark.scss +190 -34
  7. package/dist/default-main.scss +34 -29
  8. package/dist/default-nordic.scss +143 -29
  9. package/dist/default-ocean-blue-a11y.scss +170 -33
  10. package/dist/default-ocean-blue.scss +166 -33
  11. package/dist/default-orange.scss +143 -29
  12. package/dist/default-purple.scss +143 -29
  13. package/dist/default-turquoise.scss +143 -29
  14. package/dist/default-urban.scss +143 -29
  15. package/dist/meta/sassdoc-data.json +31805 -30179
  16. package/dist/meta/sassdoc-raw-data.json +3341 -2591
  17. package/dist/meta/variables.json +3843 -3739
  18. package/lib/swatches/default-blue.json +541 -1
  19. package/lib/swatches/default-dataviz-v4.json +166 -1
  20. package/lib/swatches/default-green.json +501 -1
  21. package/lib/swatches/default-main-dark.json +751 -1
  22. package/lib/swatches/default-main.json +11 -1
  23. package/lib/swatches/default-nordic.json +541 -1
  24. package/lib/swatches/default-ocean-blue-a11y.json +672 -8
  25. package/lib/swatches/default-ocean-blue.json +645 -3
  26. package/lib/swatches/default-orange.json +541 -1
  27. package/lib/swatches/default-purple.json +541 -1
  28. package/lib/swatches/default-turquoise.json +541 -1
  29. package/lib/swatches/default-urban.json +541 -1
  30. package/package.json +4 -4
  31. package/scss/_variables.scss +0 -172
  32. package/scss/action-buttons/_variables.scss +4 -4
  33. package/scss/action-sheet/_layout.scss +1 -1
  34. package/scss/action-sheet/_variables.scss +17 -17
  35. package/scss/adaptive/_layout.scss +8 -8
  36. package/scss/adaptive/_variables.scss +3 -3
  37. package/scss/appbar/_variables.scss +6 -6
  38. package/scss/avatar/_variables.scss +6 -6
  39. package/scss/badge/_variables.scss +17 -17
  40. package/scss/bottom-navigation/_layout.scss +2 -2
  41. package/scss/bottom-navigation/_variables.scss +9 -9
  42. package/scss/breadcrumb/_variables.scss +17 -17
  43. package/scss/button/_variables.scss +21 -21
  44. package/scss/calendar/_layout.scss +2 -2
  45. package/scss/calendar/_theme.scss +1 -1
  46. package/scss/calendar/_variables.scss +33 -61
  47. package/scss/captcha/_variables.scss +6 -6
  48. package/scss/card/_variables.scss +18 -18
  49. package/scss/chat/_layout.scss +7 -7
  50. package/scss/chat/_variables.scss +13 -13
  51. package/scss/checkbox/_layout.scss +1 -1
  52. package/scss/checkbox/_variables.scss +9 -9
  53. package/scss/chip/_layout.scss +1 -1
  54. package/scss/chip/_variables.scss +15 -15
  55. package/scss/color-preview/_variables.scss +1 -1
  56. package/scss/coloreditor/_variables.scss +7 -7
  57. package/scss/colorgradient/_layout.scss +1 -1
  58. package/scss/colorgradient/_variables.scss +10 -10
  59. package/scss/colorpalette/_variables.scss +3 -3
  60. package/scss/common/_base.scss +7 -7
  61. package/scss/core/_index.scss +12 -0
  62. package/scss/core/border-radii/index.import.scss +1 -0
  63. package/scss/core/color-system/_swatch-legacy.scss +1 -1
  64. package/scss/core/color-system/_swatch.scss +1 -1
  65. package/scss/core/spacing/index.import.scss +29 -0
  66. package/scss/core/typography/index.import.scss +1 -0
  67. package/scss/dataviz/_layout.scss +8 -8
  68. package/scss/dataviz/_variables.scss +8 -8
  69. package/scss/daterangepicker/_layout.scss +1 -1
  70. package/scss/datetimepicker/_variables.scss +1 -1
  71. package/scss/dock-manager/_variables.scss +10 -10
  72. package/scss/draggable/_variables.scss +4 -4
  73. package/scss/drawer/_layout.scss +3 -3
  74. package/scss/drawer/_variables.scss +8 -18
  75. package/scss/dropdowntree/_layout.scss +2 -2
  76. package/scss/dropdowntree/_variables.scss +2 -2
  77. package/scss/dropzone/_variables.scss +8 -8
  78. package/scss/editor/_layout.scss +5 -5
  79. package/scss/editor/_variables.scss +3 -3
  80. package/scss/expansion-panel/_variables.scss +9 -9
  81. package/scss/fab/_layout.scss +4 -4
  82. package/scss/fab/_variables.scss +18 -18
  83. package/scss/filemanager/_layout.scss +3 -3
  84. package/scss/filemanager/_variables.scss +9 -9
  85. package/scss/filter/_layout.scss +4 -4
  86. package/scss/filter/_variables.scss +2 -2
  87. package/scss/forms/_layout.scss +16 -16
  88. package/scss/forms/_variables.scss +17 -17
  89. package/scss/gantt/_layout.scss +12 -12
  90. package/scss/gantt/_variables.scss +151 -7
  91. package/scss/grid/_layout.scss +10 -10
  92. package/scss/grid/_variables.scss +64 -64
  93. package/scss/imageeditor/_variables.scss +7 -7
  94. package/scss/input/_layout.scss +5 -5
  95. package/scss/input/_variables.scss +14 -14
  96. package/scss/list/_variables.scss +27 -27
  97. package/scss/listbox/_variables.scss +6 -6
  98. package/scss/listgroup/_layout.scss +7 -7
  99. package/scss/listgroup/_variables.scss +5 -5
  100. package/scss/listview/_variables.scss +7 -7
  101. package/scss/loader/_layout.scss +9 -9
  102. package/scss/loader/_variables.scss +25 -25
  103. package/scss/map/_layout.scss +1 -1
  104. package/scss/map/_variables.scss +8 -8
  105. package/scss/mediaplayer/_variables.scss +5 -5
  106. package/scss/menu/_layout.scss +1 -1
  107. package/scss/menu/_variables.scss +30 -30
  108. package/scss/menu-button/_layout.scss +3 -3
  109. package/scss/messagebox/_variables.scss +3 -3
  110. package/scss/notification/_variables.scss +7 -7
  111. package/scss/orgchart/_variables.scss +11 -11
  112. package/scss/pager/_variables.scss +10 -10
  113. package/scss/panelbar/_layout.scss +2 -2
  114. package/scss/panelbar/_variables.scss +9 -9
  115. package/scss/pdf-viewer/_variables.scss +5 -5
  116. package/scss/pivotgrid/_layout.scss +12 -12
  117. package/scss/pivotgrid/_variables.scss +15 -15
  118. package/scss/popup/_layout.scss +1 -1
  119. package/scss/popup/_theme.scss +1 -1
  120. package/scss/popup/_variables.scss +4 -4
  121. package/scss/progressbar/_layout.scss +2 -2
  122. package/scss/progressbar/_variables.scss +2 -2
  123. package/scss/prompt/_variables.scss +7 -7
  124. package/scss/radio/_layout.scss +1 -1
  125. package/scss/radio/_variables.scss +9 -9
  126. package/scss/rating/_variables.scss +4 -4
  127. package/scss/scheduler/_layout.scss +5 -5
  128. package/scss/scheduler/_theme.scss +1 -1
  129. package/scss/scheduler/_variables.scss +18 -18
  130. package/scss/scrollview/_layout.scss +1 -1
  131. package/scss/scrollview/_variables.scss +5 -5
  132. package/scss/signature/_variables.scss +5 -5
  133. package/scss/skeleton/_variables.scss +1 -1
  134. package/scss/slider/_theme.scss +1 -1
  135. package/scss/slider/_variables.scss +3 -3
  136. package/scss/splitter/_variables.scss +6 -6
  137. package/scss/spreadsheet/_layout.scss +11 -11
  138. package/scss/spreadsheet/_variables.scss +17 -17
  139. package/scss/stepper/_variables.scss +8 -8
  140. package/scss/table/_layout.scss +1 -1
  141. package/scss/table/_variables.scss +12 -12
  142. package/scss/tabstrip/_layout.scss +2 -2
  143. package/scss/tabstrip/_variables.scss +11 -11
  144. package/scss/taskboard/_variables.scss +16 -16
  145. package/scss/tilelayout/_variables.scss +2 -2
  146. package/scss/timeline/_layout.scss +4 -4
  147. package/scss/timeline/_variables.scss +10 -10
  148. package/scss/timeselector/_layout.scss +1 -1
  149. package/scss/timeselector/_variables.scss +6 -6
  150. package/scss/toolbar/_layout.scss +2 -2
  151. package/scss/toolbar/_variables.scss +12 -12
  152. package/scss/tooltip/_layout.scss +10 -10
  153. package/scss/tooltip/_variables.scss +4 -4
  154. package/scss/treelist/_layout.scss +1 -1
  155. package/scss/treelist/_variables.scss +5 -0
  156. package/scss/treeview/_layout.scss +1 -1
  157. package/scss/treeview/_variables.scss +20 -20
  158. package/scss/typography/_layout.scss +51 -111
  159. package/scss/typography/_variables.scss +136 -53
  160. package/scss/upload/_layout.scss +3 -3
  161. package/scss/upload/_variables.scss +8 -8
  162. package/scss/window/_variables.scss +7 -7
  163. package/scss/wizard/_variables.scss +7 -7
@@ -2,30 +2,30 @@
2
2
 
3
3
  /// The horizontal spacing of the Timeline.
4
4
  /// @group timeline
5
- $kendo-timeline-spacing-x: 40px !default;
5
+ $kendo-timeline-spacing-x: k-spacing(10) !default;
6
6
  /// The vertical spacing of the Timeline.
7
7
  /// @group timeline
8
- $kendo-timeline-spacing-y: 40px !default;
8
+ $kendo-timeline-spacing-y: k-spacing(10) !default;
9
9
  /// The padding between the Timeline's track items.
10
10
  /// @group timeline
11
- $kendo-timeline-items-padding: 16px !default;
11
+ $kendo-timeline-items-padding: k-spacing(4) !default;
12
12
 
13
13
  /// The font family of the Timeline.
14
14
  /// @group timeline
15
- $kendo-timeline-font-family: $kendo-font-family !default;
15
+ $kendo-timeline-font-family: var( --kendo-font-family, inherit ) !default;
16
16
  /// The font size of the Timeline.
17
17
  /// @group timeline
18
- $kendo-timeline-font-size: $kendo-font-size-md !default;
18
+ $kendo-timeline-font-size: var( --kendo-font-size, inherit ) !default;
19
19
  /// The line height of the Timeline.
20
20
  /// @group timeline
21
- $kendo-timeline-line-height: $kendo-line-height-md !default;
21
+ $kendo-timeline-line-height: var( --kendo-line-height, normal ) !default;
22
22
 
23
23
  /// The horizontal spacing of the mobile Timeline.
24
24
  /// @group timeline
25
- $kendo-timeline-mobile-spacing-x: 16px !default;
25
+ $kendo-timeline-mobile-spacing-x: k-spacing(4) !default;
26
26
  /// The vertical spacing of the mobile Timeline.
27
27
  /// @group timeline
28
- $kendo-timeline-mobile-spacing-y: 16px !default;
28
+ $kendo-timeline-mobile-spacing-y: k-spacing(4) !default;
29
29
 
30
30
  /// The width of the Timeline track arrow.
31
31
  /// @group timeline
@@ -55,7 +55,7 @@ $kendo-timeline-track-wrap-padding-bottom: k-math-div( $kendo-timeline-track-siz
55
55
  $kendo-timeline-track-border-width: 1px !default;
56
56
  /// The bottom margin of the Timeline track.
57
57
  /// @group timeline
58
- $kendo-timeline-track-margin-bottom: 16px !default;
58
+ $kendo-timeline-track-margin-bottom: k-spacing(4) !default;
59
59
  /// The bottom offset of the Timeline track.
60
60
  /// @group timeline
61
61
  $kendo-timeline-track-bottom-calc: calc(#{k-math-div( $kendo-timeline-track-arrow-height, 2 )} + #{$kendo-timeline-track-wrap-padding-bottom}) !default;
@@ -127,7 +127,7 @@ $kendo-timeline-flag-margin-bottom-calc: calc(#{$kendo-timeline-track-size} + 2
127
127
  $kendo-timeline-date-width: 50px !default;
128
128
  /// The bottom margin of the Timeline date.
129
129
  /// @group timeline
130
- $kendo-timeline-date-margin-bottom: 8px !default;
130
+ $kendo-timeline-date-margin-bottom: k-spacing(2) !default;
131
131
 
132
132
  /// The padding of the vertical Timeline.
133
133
  /// @group timeline
@@ -216,7 +216,7 @@
216
216
  $_line-height: k-map-get( $size-props, line-height );
217
217
  $_list-item-padding-x: k-map-get( $size-props, list-item-padding-x );
218
218
  $_list-item-padding-y: k-map-get( $size-props, list-item-padding-y );
219
- $_highlight-height: calc( #{$_font-size * $_line-height} + #{ $_list-item-padding-y * 2} );
219
+ $_highlight-height: calc( calc( #{$_font-size} * #{$_line-height} ) + calc( #{ $_list-item-padding-y} * 2 ) );
220
220
 
221
221
 
222
222
  .k-timeselector-#{$size} {
@@ -1,9 +1,9 @@
1
1
  // Time selector
2
2
 
3
3
  $kendo-time-selector-border-width: 1px !default;
4
- $kendo-time-selector-font-family: $kendo-font-family !default;
5
- $kendo-time-selector-font-size: $kendo-font-size-md !default;
6
- $kendo-time-selector-line-height: $kendo-line-height-md !default;
4
+ $kendo-time-selector-font-family: var( --kendo-font-family, inherit ) !default;
5
+ $kendo-time-selector-font-size: var( --kendo-font-size, inherit ) !default;
6
+ $kendo-time-selector-line-height: var( --kendo-line-height, normal ) !default;
7
7
 
8
8
  $kendo-time-selector-bg: $kendo-component-bg !default;
9
9
  $kendo-time-selector-text: $kendo-component-text !default;
@@ -16,9 +16,9 @@ $kendo-time-selector-header-border-width: 0px !default;
16
16
  $kendo-time-list-width: 4em !default;
17
17
  $kendo-time-list-height: 240px !default;
18
18
 
19
- $kendo-time-list-title-font-size: $kendo-font-size-sm !default;
19
+ $kendo-time-list-title-font-size: var( --kendo-font-size-sm, inherit ) !default;
20
20
  $kendo-time-list-title-line-height: 1.5 !default;
21
- $kendo-time-list-title-height: ( $kendo-time-list-title-font-size * $kendo-time-list-title-line-height) !default;
21
+ $kendo-time-list-title-height: calc( ( #{$kendo-time-list-title-font-size} ) * ( #{$kendo-time-list-title-line-height} ) ) !default;
22
22
  $kendo-time-list-title-text: $kendo-subtle-text !default;
23
23
  $kendo-time-list-title-focus-text: $kendo-component-text !default;
24
24
 
@@ -26,7 +26,7 @@ $kendo-time-list-item-padding-x: $kendo-list-md-item-padding-x !default;
26
26
  $kendo-time-list-item-padding-y: $kendo-list-md-item-padding-y !default;
27
27
 
28
28
  $kendo-time-list-highlight-border-width: 1px 0px !default;
29
- $kendo-time-list-highlight-height: calc( #{$kendo-time-selector-font-size * $kendo-time-selector-line-height} + #{ $kendo-time-list-item-padding-y * 2} ) !default;
29
+ $kendo-time-list-highlight-height: calc( calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} ) + calc( #{$kendo-time-list-item-padding-y} * 2 ) ) !default;
30
30
  $kendo-time-list-highlight-bg: $kendo-component-bg !default;
31
31
  $kendo-time-list-highlight-border: $kendo-component-border !default;
32
32
 
@@ -133,7 +133,7 @@
133
133
 
134
134
  // Remove once we decide to not size empty containers
135
135
  &::before {
136
- margin-inline-start: -$_spacing;
136
+ margin-inline-start: calc( #{$_spacing} * -1 );
137
137
  }
138
138
 
139
139
  > * > label {
@@ -194,7 +194,7 @@
194
194
  }
195
195
 
196
196
  .k-separator {
197
- margin: k-map-get( $kendo-spacing, 1 ) 0;
197
+ margin: k-spacing(1) 0;
198
198
  }
199
199
 
200
200
  // Group
@@ -5,39 +5,39 @@
5
5
  $kendo-toolbar-padding-x: null !default;
6
6
  /// The horizontal padding of the small Toolbar.
7
7
  /// @group toolbar
8
- $kendo-toolbar-sm-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
8
+ $kendo-toolbar-sm-padding-x: k-spacing(1) !default;
9
9
  /// The horizontal padding of the medium Toolbar.
10
10
  /// @group toolbar
11
- $kendo-toolbar-md-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
11
+ $kendo-toolbar-md-padding-x: k-spacing(2) !default;
12
12
  /// The horizontal padding of the large Toolbar.
13
13
  /// @group toolbar
14
- $kendo-toolbar-lg-padding-x: k-map-get( $kendo-spacing, 2.5 ) !default;
14
+ $kendo-toolbar-lg-padding-x: k-spacing(2.5) !default;
15
15
 
16
16
  /// The vertical padding of the Toolbar.
17
17
  /// @group toolbar
18
18
  $kendo-toolbar-padding-y: null !default;
19
19
  /// The vertical padding of the small Toolbar.
20
20
  /// @group toolbar
21
- $kendo-toolbar-sm-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
21
+ $kendo-toolbar-sm-padding-y: k-spacing(1) !default;
22
22
  /// The vertical padding of the medium Toolbar.
23
23
  /// @group toolbar
24
- $kendo-toolbar-md-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
24
+ $kendo-toolbar-md-padding-y: k-spacing(2) !default;
25
25
  /// The vertical padding of the large Toolbar.
26
26
  /// @group toolbar
27
- $kendo-toolbar-lg-padding-y: k-map-get( $kendo-spacing, 2.5 ) !default;
27
+ $kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
28
28
 
29
29
  /// The spacing between the Toolbar tools.
30
30
  /// @group toolbar
31
31
  $kendo-toolbar-spacing: null !default;
32
32
  /// The spacing between the tools of the small Toolbar.
33
33
  /// @group toolbar
34
- $kendo-toolbar-sm-spacing: k-map-get( $kendo-spacing, 1.5 ) !default;
34
+ $kendo-toolbar-sm-spacing: k-spacing(1.5) !default;
35
35
  /// The spacing between the tools of the medium Toolbar.
36
36
  /// @group toolbar
37
- $kendo-toolbar-md-spacing: k-map-get( $kendo-spacing, 2 ) !default;
37
+ $kendo-toolbar-md-spacing: k-spacing(2) !default;
38
38
  /// The spacing between the tools of the large Toolbar.
39
39
  /// @group toolbar
40
- $kendo-toolbar-lg-spacing: k-map-get( $kendo-spacing, 2.5 ) !default;
40
+ $kendo-toolbar-lg-spacing: k-spacing(2.5) !default;
41
41
 
42
42
  /// The width of the border around the Toolbar.
43
43
  /// @group toolbar
@@ -48,13 +48,13 @@ $kendo-toolbar-border-radius: null !default;
48
48
 
49
49
  /// The font family of the Toolbar.
50
50
  /// @group toolbar
51
- $kendo-toolbar-font-family: $kendo-font-family !default;
51
+ $kendo-toolbar-font-family: var( --kendo-font-family, inherit ) !default;
52
52
  /// The font size of the Toolbar.
53
53
  /// @group toolbar
54
- $kendo-toolbar-font-size: $kendo-font-size-md !default;
54
+ $kendo-toolbar-font-size: var( --kendo-font-size, inherit ) !default;
55
55
  /// The line height of the Toolbar.
56
56
  /// @group toolbar
57
- $kendo-toolbar-line-height: $kendo-line-height-md !default;
57
+ $kendo-toolbar-line-height: var( --kendo-line-height, normal ) !default;
58
58
 
59
59
  /// The background color of the Toolbar.
60
60
  /// @group toolbar
@@ -59,8 +59,8 @@
59
59
 
60
60
  // Callout
61
61
  .k-callout {
62
- width: ($kendo-tooltip-callout-size * 2);
63
- height: ($kendo-tooltip-callout-size * 2);
62
+ width: calc( #{$kendo-tooltip-callout-size} * 2);
63
+ height: calc( #{$kendo-tooltip-callout-size} * 2);
64
64
  border-width: $kendo-tooltip-callout-size;
65
65
  border-style: solid;
66
66
  border-color: transparent;
@@ -73,38 +73,38 @@
73
73
  // Remove margin tweaking and uncomment when their implementation is fixed.
74
74
 
75
75
  .k-callout-n {
76
- margin-left: -$kendo-tooltip-callout-size;
76
+ margin-left: calc( #{$kendo-tooltip-callout-size} * -1 );
77
77
  border-bottom-color: currentColor;
78
78
  // top: 0;
79
- top: (-$kendo-tooltip-callout-size * 2);
79
+ top: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
80
80
  left: 50%;
81
81
  // transform: translate(-50%, -100%);
82
82
  pointer-events: none;
83
83
  }
84
84
  .k-callout-e {
85
- margin-top: -$kendo-tooltip-callout-size;
85
+ margin-top: calc( #{$kendo-tooltip-callout-size} * -1 );
86
86
  border-left-color: currentColor;
87
87
  top: 50%;
88
88
  // right: 0;
89
- right: (-$kendo-tooltip-callout-size * 2);
89
+ right: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
90
90
  // transform: translate(100%, -50%);
91
91
  pointer-events: none;
92
92
  }
93
93
  .k-callout-s {
94
- margin-left: -$kendo-tooltip-callout-size;
94
+ margin-left: calc( #{$kendo-tooltip-callout-size} * -1 );
95
95
  border-top-color: currentColor;
96
96
  // bottom: 0;
97
- bottom: (-$kendo-tooltip-callout-size * 2);
97
+ bottom: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
98
98
  left: 50%;
99
99
  // transform: translate(-50%, 100%);
100
100
  pointer-events: none;
101
101
  }
102
102
  .k-callout-w {
103
- margin-top: -$kendo-tooltip-callout-size;
103
+ margin-top: calc( #{$kendo-tooltip-callout-size} * -1 );
104
104
  border-right-color: currentColor;
105
105
  top: 50%;
106
106
  // left: 0;
107
- left: (-$kendo-tooltip-callout-size * 2);
107
+ left: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
108
108
  // transform: translate(-100%, -50%);
109
109
  pointer-events: none;
110
110
  }
@@ -11,21 +11,21 @@ $kendo-tooltip-padding-x: $kendo-padding-md-x !default;
11
11
  $kendo-tooltip-border-width: 0px !default;
12
12
  /// The border radius of the Tooltip.
13
13
  /// @group tooltip
14
- $kendo-tooltip-border-radius: $kendo-border-radius-md !default;
14
+ $kendo-tooltip-border-radius: k-border-radius(md) !default;
15
15
 
16
16
  /// The font family of the Tooltip.
17
17
  /// @group tooltip
18
- $kendo-tooltip-font-family: $kendo-font-family !default;
18
+ $kendo-tooltip-font-family: var( --kendo-font-family, inherit ) !default;
19
19
  /// The font size of the Tooltip.
20
20
  /// @group tooltip
21
- $kendo-tooltip-font-size: $kendo-font-size-md !default;
21
+ $kendo-tooltip-font-size: var( --kendo-font-size, inherit ) !default;
22
22
  /// The line height of the Tooltip.
23
23
  /// @group tooltip
24
24
  $kendo-tooltip-line-height: 1.25 !default;
25
25
 
26
26
  /// The font size of the Tooltip title.
27
27
  /// @group tooltip
28
- $kendo-tooltip-title-font-size: ($kendo-tooltip-font-size * 1.25) !default;
28
+ $kendo-tooltip-title-font-size: calc( ( #{$kendo-tooltip-font-size} * 1.25 ) ) !default;
29
29
  /// The line height of the Tooltip title.
30
30
  /// @group tooltip
31
31
  $kendo-tooltip-title-line-height: 1 !default;
@@ -101,7 +101,7 @@
101
101
  }
102
102
 
103
103
  .k-treelist-toggle {
104
- margin-block: -$kendo-icon-padding;
104
+ margin-block: calc( #{$kendo-icon-padding} * -1 );
105
105
  padding: $kendo-icon-padding;
106
106
  box-sizing: content-box;
107
107
  cursor: pointer;
@@ -1,3 +1,8 @@
1
1
  // Treelist
2
+
3
+ /// The background color of the TreeList footer row.
4
+ /// @group treelist
2
5
  $kendo-treelist-footer-row-bg: $kendo-grid-hover-bg !default;
6
+ /// The border width of the TreeList footer row.
7
+ /// @group treelist
3
8
  $kendo-treelist-footer-row-border-width: 1px !default;
@@ -27,7 +27,7 @@
27
27
 
28
28
  // Treeview filter
29
29
  .k-treeview-filter {
30
- padding: k-map-get( $kendo-spacing, 2 );
30
+ padding: k-spacing(2);
31
31
  display: block;
32
32
  position: relative;
33
33
  flex: none;
@@ -2,69 +2,69 @@
2
2
 
3
3
  /// The font family of the TreeView.
4
4
  /// @group treeview
5
- $kendo-treeview-font-family: $kendo-font-family !default;
5
+ $kendo-treeview-font-family: var( --kendo-font-family, inherit ) !default;
6
6
  /// The font size of the TreeView.
7
7
  /// @group treeview
8
- $kendo-treeview-font-size: $kendo-font-size-md !default;
8
+ $kendo-treeview-font-size: var( --kendo-font-size, inherit ) !default;
9
9
  /// The font size of the small TreeView.
10
10
  /// @group treeview
11
- $kendo-treeview-sm-font-size: $kendo-font-size-md !default;
11
+ $kendo-treeview-sm-font-size: var( --kendo-font-size, inherit ) !default;
12
12
  /// The font size of the medium TreeView.
13
13
  /// @group treeview
14
- $kendo-treeview-md-font-size: $kendo-font-size-md !default;
14
+ $kendo-treeview-md-font-size: var( --kendo-font-size, inherit ) !default;
15
15
  /// The font size of the large TreeView.
16
16
  /// @group treeview
17
- $kendo-treeview-lg-font-size: $kendo-font-size-lg !default;
17
+ $kendo-treeview-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
18
18
  /// The line height of the TreeView.
19
19
  /// @group treeview
20
- $kendo-treeview-line-height: $kendo-line-height-md !default;
20
+ $kendo-treeview-line-height: var( --kendo-line-height, normal ) !default;
21
21
  /// The line height of the small TreeView.
22
22
  /// @group treeview
23
- $kendo-treeview-sm-line-height: $kendo-line-height-md !default;
23
+ $kendo-treeview-sm-line-height: var( --kendo-line-height, normal ) !default;
24
24
  /// The line height of the medium TreeView.
25
25
  /// @group treeview
26
- $kendo-treeview-md-line-height: $kendo-line-height-md !default;
26
+ $kendo-treeview-md-line-height: var( --kendo-line-height, normal ) !default;
27
27
  /// The line height of the large TreeView.
28
28
  /// @group treeview
29
- $kendo-treeview-lg-line-height: $kendo-line-height-lg !default;
29
+ $kendo-treeview-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
30
30
  /// The indentation of child groups in the TreeView.
31
31
  /// @group treeview
32
32
  $kendo-treeview-indent: 24px !default;
33
33
 
34
34
  /// The horizontal padding of the TreeView items.
35
35
  /// @group treeview
36
- $kendo-treeview-item-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
36
+ $kendo-treeview-item-padding-x: k-spacing(2) !default;
37
37
  /// The horizontal padding of the small TreeView items.
38
38
  /// @group treeview
39
- $kendo-treeview-sm-item-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
39
+ $kendo-treeview-sm-item-padding-x: k-spacing(2) !default;
40
40
  /// The horizontal padding of the medium TreeView items.
41
41
  /// @group treeview
42
- $kendo-treeview-md-item-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
42
+ $kendo-treeview-md-item-padding-x: k-spacing(2) !default;
43
43
  /// The horizontal padding of the large TreeView items.
44
44
  /// @group treeview
45
- $kendo-treeview-lg-item-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
45
+ $kendo-treeview-lg-item-padding-x: k-spacing(2) !default;
46
46
  /// The vertical padding of the TreeView items.
47
47
  /// @group treeview
48
- $kendo-treeview-item-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
48
+ $kendo-treeview-item-padding-y: k-spacing(1) !default;
49
49
  /// The vertical padding of the small TreeView items.
50
50
  /// @group treeview
51
- $kendo-treeview-sm-item-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default;
51
+ $kendo-treeview-sm-item-padding-y: k-spacing(0.5) !default;
52
52
  /// The vertical padding of the medium TreeView items.
53
53
  /// @group treeview
54
- $kendo-treeview-md-item-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
54
+ $kendo-treeview-md-item-padding-y: k-spacing(1) !default;
55
55
  /// The vertical padding of the large TreeView items.
56
56
  /// @group treeview
57
- $kendo-treeview-lg-item-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
57
+ $kendo-treeview-lg-item-padding-y: k-spacing(2) !default;
58
58
  /// The border width of the TreeView items.
59
59
  /// @group treeview
60
60
  $kendo-treeview-item-border-width: 0px !default;
61
61
  /// The border radius of the TreeView items.
62
62
  /// @group treeview
63
- $kendo-treeview-item-border-radius: $kendo-border-radius-md !default;
63
+ $kendo-treeview-item-border-radius: k-border-radius(md) !default;
64
64
 
65
65
  /// The horizontal padding of the checkbox in the small TreeView.
66
66
  /// @group treeview
67
- $kendo-treeview-sm-checkbox-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
67
+ $kendo-treeview-sm-checkbox-padding-x: k-spacing(1) !default;
68
68
  /// The horizontal padding of the checkbox in the medium TreeView.
69
69
  /// @group treeview
70
70
  $kendo-treeview-md-checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x !default;
@@ -73,7 +73,7 @@ $kendo-treeview-md-checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x !de
73
73
  $kendo-treeview-lg-checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x !default;
74
74
  /// The vertical padding of the checkbox in the small TreeView.
75
75
  /// @group treeview
76
- $kendo-treeview-sm-checkbox-padding-y: k-map-get( $kendo-spacing, .5 ) !default;
76
+ $kendo-treeview-sm-checkbox-padding-y: k-spacing(0.5) !default;
77
77
  /// The vertical padding of the checkbox in the medium TreeView.
78
78
  /// @group treeview
79
79
  $kendo-treeview-md-checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y !default;
@@ -17,11 +17,11 @@
17
17
  .k-body,
18
18
  .k-typography {
19
19
  @include typography(
20
- $kendo-font-size-md,
21
- $kendo-font-family,
22
- $kendo-line-height-md,
23
- $kendo-font-weight-normal,
24
- $kendo-letter-spacing
20
+ var( --kendo-font-size, inherit ),
21
+ var( --kendo-font-family, inherit ),
22
+ var( --kendo-line-height, normal ),
23
+ var( --kendo-font-weight-normal, normal ),
24
+ var( --kendo-letter-spacing, normal )
25
25
  );
26
26
  margin: 0;
27
27
 
@@ -31,88 +31,47 @@
31
31
  }
32
32
 
33
33
  // Headings
34
- .k-h1 {
35
- @include typography(
36
- $kendo-h1-font-size,
37
- $kendo-h1-font-family,
38
- $kendo-h1-line-height,
39
- $kendo-h1-font-weight,
40
- $kendo-h1-letter-spacing
41
- );
42
- margin: $kendo-h1-margin;
43
- }
44
- .k-h2 {
45
- @include typography(
46
- $kendo-h2-font-size,
47
- $kendo-h2-font-family,
48
- $kendo-h2-line-height,
49
- $kendo-h2-font-weight,
50
- $kendo-h2-letter-spacing
51
- );
52
- margin: $kendo-h2-margin;
53
- }
54
- .k-h3 {
55
- @include typography(
56
- $kendo-h3-font-size,
57
- $kendo-h3-font-family,
58
- $kendo-h3-line-height,
59
- $kendo-h3-font-weight,
60
- $kendo-h3-letter-spacing
61
- );
62
- margin: $kendo-h3-margin;
63
- }
64
- .k-h4 {
65
- @include typography(
66
- $kendo-h4-font-size,
67
- $kendo-h4-font-family,
68
- $kendo-h4-line-height,
69
- $kendo-h4-font-weight,
70
- $kendo-h4-letter-spacing
71
- );
72
- margin: $kendo-h4-margin;
73
- }
74
- .k-h5 {
75
- @include typography(
76
- $kendo-h5-font-size,
77
- $kendo-h5-font-family,
78
- $kendo-h5-line-height,
79
- $kendo-h5-font-weight,
80
- $kendo-h5-letter-spacing
81
- );
82
- margin: $kendo-h5-margin;
83
- }
84
- .k-h6 {
85
- @include typography(
86
- $kendo-h6-font-size,
87
- $kendo-h6-font-family,
88
- $kendo-h6-line-height,
89
- $kendo-h6-font-weight,
90
- $kendo-h6-letter-spacing
91
- );
92
- margin: $kendo-h6-margin;
34
+ @each $heading, $heading-props in $kendo-headings {
35
+ $_font-size: k-map-get( $heading-props, font-size );
36
+ $_font-family: k-map-get( $heading-props, font-family );
37
+ $_line-height: k-map-get( $heading-props, line-height );
38
+ $_font-weight: k-map-get( $heading-props, font-weight );
39
+ $_letter-spacing: k-map-get( $heading-props, letter-spacing );
40
+ $_margin: k-map-get( $heading-props, margin );
41
+
42
+ .k-#{$heading} {
43
+ @include typography(
44
+ var( --kendo-#{$heading}-font-size, #{$_font-size} ),
45
+ var( --kendo-#{$heading}-font-family, #{$_font-family} ),
46
+ var( --kendo-#{$heading}-line-height, #{$_line-height} ),
47
+ var( --kendo-#{$heading}-font-weight, #{$_font-weight} ),
48
+ var( --kendo-#{$heading}-letter-spacing, #{$_letter-spacing} ),
49
+ );
50
+ margin: var( --kendo-#{$heading}-margin, #{$_margin} );
51
+ }
93
52
  }
94
53
 
95
54
  // Paragraph
96
55
  .k-paragraph {
97
56
  @include typography(
98
- $kendo-paragraph-font-size,
99
- $kendo-paragraph-font-family,
100
- $kendo-paragraph-line-height,
101
- $kendo-paragraph-font-weight,
102
- $kendo-paragraph-letter-spacing
57
+ var( --kendo-paragraph-font-size, #{$kendo-paragraph-font-size}),
58
+ var( --kendo-paragraph-font-family, #{$kendo-paragraph-font-family}),
59
+ var( --kendo-paragraph-line-height, #{$kendo-paragraph-line-height}),
60
+ var( --kendo-paragraph-font-weight, #{$kendo-paragraph-font-weight}),
61
+ var( --kendo-paragraph-letter-spacing, #{$kendo-paragraph-letter-spacing})
103
62
  );
104
- margin: $kendo-paragraph-margin;
63
+ margin: var( --kendo-paragraph-margin, #{$kendo-paragraph-margin});
105
64
  }
106
65
 
107
66
  // Code snippet
108
67
  .k-pre,
109
68
  .k-code {
110
69
  @include typography(
111
- $kendo-code-font-size,
112
- $kendo-code-font-family,
113
- $kendo-code-line-height,
114
- $kendo-code-font-weight,
115
- $kendo-code-letter-spacing
70
+ var( --kendo-code-font-size, #{$kendo-code-font-size}),
71
+ var( --kendo-code-font-family, #{$kendo-code-font-family}),
72
+ var( --kendo-code-line-height, #{$kendo-code-line-height}),
73
+ var( --kendo-code-font-weight, #{$kendo-code-font-weight}),
74
+ var( --kendo-code-letter-spacing, #{$kendo-code-letter-spacing})
116
75
  );
117
76
  border-style: solid;
118
77
  border-width: $kendo-code-border-width;
@@ -139,43 +98,24 @@
139
98
  }
140
99
 
141
100
  // Display
142
- .k-display-1 {
143
- @include typography(
144
- $kendo-display1-font-size,
145
- $kendo-display1-font-family,
146
- $kendo-display1-line-height,
147
- $kendo-display1-font-weight,
148
- $kendo-display1-letter-spacing
149
- );
150
- }
151
- .k-display-2 {
152
- @include typography(
153
- $kendo-display2-font-size,
154
- $kendo-display2-font-family,
155
- $kendo-display2-line-height,
156
- $kendo-display2-font-weight,
157
- $kendo-display2-letter-spacing
158
- );
159
- }
160
- .k-display-3 {
161
- @include typography(
162
- $kendo-display3-font-size,
163
- $kendo-display3-font-family,
164
- $kendo-display3-line-height,
165
- $kendo-display3-font-weight,
166
- $kendo-display3-letter-spacing
167
- );
168
- }
169
- .k-display-4 {
170
- @include typography(
171
- $kendo-display4-font-size,
172
- $kendo-display4-font-family,
173
- $kendo-display4-line-height,
174
- $kendo-display4-font-weight,
175
- $kendo-display4-letter-spacing
176
- );
177
- }
101
+ @each $display, $kendo-display-props in $kendo-display {
102
+ $_font-size: k-map-get( $kendo-display-props, font-size );
103
+ $_font-family: k-map-get( $kendo-display-props, font-family );
104
+ $_line-height: k-map-get( $kendo-display-props, line-height );
105
+ $_font-weight: k-map-get( $kendo-display-props, font-weight );
106
+ $_letter-spacing: k-map-get( $kendo-display-props, letter-spacing );
107
+ $_margin: k-map-get( $kendo-display-props, margin );
178
108
 
109
+ .k-display-#{$display} {
110
+ @include typography(
111
+ var( --kendo-display#{$display}-font-size, #{$_font-size} ),
112
+ var( --kendo-display#{$display}-font-family, #{$_font-family} ),
113
+ var( --kendo-display#{$display}-line-height, #{$_line-height} ),
114
+ var( --kendo-display#{$display}-font-weight, #{$_font-weight} ),
115
+ var( --kendo-display#{$display}-letter-spacing, #{$_letter-spacing} ),
116
+ );
117
+ }
118
+ }
179
119
  }
180
120
 
181
121