@progress/kendo-theme-fluent 8.0.0-dev.0 → 8.0.0-dev.10

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 (125) hide show
  1. package/dist/all.css +6809 -3721
  2. package/dist/meta/sassdoc-data.json +40427 -33117
  3. package/dist/meta/sassdoc-raw-data.json +7826 -3729
  4. package/lib/swatches/all.json +1 -1
  5. package/lib/swatches/fluent-main.json +1 -1
  6. package/package.json +5 -5
  7. package/scss/action-buttons/_variables.scss +3 -3
  8. package/scss/action-sheet/_layout.scss +1 -1
  9. package/scss/action-sheet/_variables.scss +13 -13
  10. package/scss/adaptive/_layout.scss +8 -8
  11. package/scss/appbar/_variables.scss +6 -6
  12. package/scss/avatar/_variables.scss +3 -3
  13. package/scss/badge/_theme.scss +4 -0
  14. package/scss/badge/_variables.scss +10 -10
  15. package/scss/bottom-navigation/_variables.scss +8 -8
  16. package/scss/breadcrumb/_variables.scss +16 -16
  17. package/scss/button/_layout.scss +1 -1
  18. package/scss/button/_variables.scss +58 -58
  19. package/scss/calendar/_layout.scss +44 -40
  20. package/scss/calendar/_theme.scss +4 -0
  21. package/scss/calendar/_variables.scss +40 -35
  22. package/scss/captcha/_variables.scss +3 -3
  23. package/scss/card/_variables.scss +13 -13
  24. package/scss/chat/_layout.scss +2 -2
  25. package/scss/chat/_variables.scss +13 -13
  26. package/scss/checkbox/_layout.scss +1 -1
  27. package/scss/checkbox/_variables.scss +15 -15
  28. package/scss/chip/_variables.scss +11 -11
  29. package/scss/color-preview/_variables.scss +1 -1
  30. package/scss/coloreditor/_variables.scss +6 -6
  31. package/scss/colorgradient/_variables.scss +9 -9
  32. package/scss/colorpalette/_variables.scss +1 -1
  33. package/scss/core/_index.scss +18 -1
  34. package/scss/core/_variables.scss +3 -59
  35. package/scss/core/border-radii/_index.scss +42 -0
  36. package/scss/core/color-system/_swatch-legacy.scss +0 -4
  37. package/scss/core/spacing/_index.scss +28 -0
  38. package/scss/core/typography/_index.scss +70 -0
  39. package/scss/dataviz/_layout.scss +11 -5
  40. package/scss/dataviz/_variables.scss +1 -1
  41. package/scss/daterangepicker/_layout.scss +1 -1
  42. package/scss/datetimepicker/_variables.scss +1 -1
  43. package/scss/dialog/_variables.scss +8 -8
  44. package/scss/dock-manager/_layout.scss +1 -0
  45. package/scss/dock-manager/_variables.scss +5 -5
  46. package/scss/draggable/_variables.scss +2 -1
  47. package/scss/drawer/_layout.scss +2 -0
  48. package/scss/drawer/_variables.scss +9 -7
  49. package/scss/dropdowntree/_variables.scss +1 -1
  50. package/scss/dropzone/_variables.scss +5 -5
  51. package/scss/editor/_layout.scss +6 -5
  52. package/scss/editor/_variables.scss +3 -3
  53. package/scss/expansion-panel/_variables.scss +6 -6
  54. package/scss/fab/_variables.scss +16 -16
  55. package/scss/filemanager/_variables.scss +6 -6
  56. package/scss/filter/_variables.scss +2 -1
  57. package/scss/forms/_layout.scss +6 -5
  58. package/scss/forms/_variables.scss +15 -14
  59. package/scss/gantt/_layout.scss +10 -9
  60. package/scss/gantt/_variables.scss +77 -76
  61. package/scss/grid/_layout.scss +2 -1
  62. package/scss/grid/_variables.scss +172 -172
  63. package/scss/icon/_variables.scss +2 -2
  64. package/scss/imageeditor/_variables.scss +11 -11
  65. package/scss/index.scss +8 -1
  66. package/scss/input/_variables.scss +9 -34
  67. package/scss/list/_layout.scss +1 -0
  68. package/scss/list/_variables.scss +24 -24
  69. package/scss/listbox/_variables.scss +2 -2
  70. package/scss/listgroup/_layout.scss +6 -6
  71. package/scss/listgroup/_variables.scss +3 -3
  72. package/scss/listview/_layout.scss +1 -0
  73. package/scss/listview/_variables.scss +8 -8
  74. package/scss/loader/_layout.scss +1 -1
  75. package/scss/loader/_variables.scss +29 -29
  76. package/scss/map/_variables.scss +6 -5
  77. package/scss/mediaplayer/_variables.scss +2 -2
  78. package/scss/menu/_variables.scss +16 -16
  79. package/scss/messagebox/_variables.scss +3 -3
  80. package/scss/notification/_variables.scss +6 -6
  81. package/scss/orgchart/_variables.scss +10 -10
  82. package/scss/pager/_variables.scss +8 -8
  83. package/scss/panelbar/_layout.scss +1 -0
  84. package/scss/panelbar/_variables.scss +9 -7
  85. package/scss/pdf-viewer/_variables.scss +4 -4
  86. package/scss/pivotgrid/_layout.scss +3 -3
  87. package/scss/pivotgrid/_variables.scss +17 -17
  88. package/scss/popover/_variables.scss +2 -2
  89. package/scss/popup/_variables.scss +5 -5
  90. package/scss/progressbar/_variables.scss +4 -4
  91. package/scss/prompt/_variables.scss +7 -7
  92. package/scss/radio/_variables.scss +13 -13
  93. package/scss/rating/_variables.scss +3 -3
  94. package/scss/scheduler/_layout.scss +2 -2
  95. package/scss/scheduler/_variables.scss +91 -91
  96. package/scss/scrollview/_variables.scss +2 -2
  97. package/scss/signature/_variables.scss +5 -5
  98. package/scss/skeleton/_variables.scss +2 -2
  99. package/scss/slider/_variables.scss +7 -7
  100. package/scss/splitter/_variables.scss +6 -6
  101. package/scss/spreadsheet/_layout.scss +9 -8
  102. package/scss/spreadsheet/_variables.scss +19 -18
  103. package/scss/stepper/_variables.scss +8 -8
  104. package/scss/table/_variables.scss +10 -10
  105. package/scss/tabstrip/_variables.scss +59 -54
  106. package/scss/taskboard/_variables.scss +23 -23
  107. package/scss/tilelayout/_variables.scss +1 -1
  108. package/scss/timeline/_variables.scss +24 -24
  109. package/scss/timeselector/_layout.scss +1 -1
  110. package/scss/timeselector/_variables.scss +6 -6
  111. package/scss/toolbar/_layout.scss +1 -1
  112. package/scss/toolbar/_variables.scss +9 -9
  113. package/scss/tooltip/_layout.scss +10 -10
  114. package/scss/tooltip/_variables.scss +6 -6
  115. package/scss/treelist/_layout.scss +2 -2
  116. package/scss/treelist/_variables.scss +2 -2
  117. package/scss/treeview/_variables.scss +11 -11
  118. package/scss/typography/_layout.scss +9 -0
  119. package/scss/typography/_theme.scss +7 -0
  120. package/scss/typography/_variables.scss +279 -66
  121. package/scss/upload/_layout.scss +1 -0
  122. package/scss/upload/_variables.scss +5 -5
  123. package/scss/window/_layout.scss +1 -1
  124. package/scss/window/_variables.scss +10 -10
  125. package/scss/wizard/_variables.scss +8 -8
@@ -7,13 +7,13 @@
7
7
 
8
8
  /// The horizontal spacing of the Timeline.
9
9
  /// @group timeline
10
- $kendo-timeline-spacing-x: map.get( $kendo-spacing, 10 ) !default;
10
+ $kendo-timeline-spacing-x: k-spacing(10) !default;
11
11
  /// The vertical spacing of the Timeline.
12
12
  /// @group timeline
13
- $kendo-timeline-spacing-y: map.get( $kendo-spacing, 10 ) !default;
13
+ $kendo-timeline-spacing-y: k-spacing(10) !default;
14
14
  /// The padding between the Timeline's track items.
15
15
  /// @group timeline
16
- $kendo-timeline-items-padding: map.get( $kendo-spacing, 4 ) !default;
16
+ $kendo-timeline-items-padding: k-spacing(4) !default;
17
17
 
18
18
  /// The font family of the Timeline.
19
19
  /// @group timeline
@@ -27,30 +27,30 @@ $kendo-timeline-line-height: var( --kendo-line-height, normal ) !default;
27
27
 
28
28
  /// The horizontal spacing of the mobile Timeline.
29
29
  /// @group timeline
30
- $kendo-timeline-mobile-spacing-x: map.get( $kendo-spacing, 4 ) !default;
30
+ $kendo-timeline-mobile-spacing-x: k-spacing(4) !default;
31
31
  /// The vertical spacing of the mobile Timeline.
32
32
  /// @group timeline
33
- $kendo-timeline-mobile-spacing-y: map.get( $kendo-spacing, 4 ) !default;
33
+ $kendo-timeline-mobile-spacing-y: k-spacing(4) !default;
34
34
 
35
35
  /// The width of the Timeline track arrow.
36
36
  /// @group timeline
37
- $kendo-timeline-track-arrow-width: map.get( $kendo-spacing, 7.5 ) !default;
37
+ $kendo-timeline-track-arrow-width: k-spacing(7.5) !default;
38
38
  /// The height of the Timeline track arrow.
39
39
  /// @group timeline
40
- $kendo-timeline-track-arrow-height: map.get( $kendo-spacing, 7.5 ) !default;
40
+ $kendo-timeline-track-arrow-height: k-spacing(7.5) !default;
41
41
 
42
42
  /// The size of the Timeline track.
43
43
  /// @group timeline
44
- $kendo-timeline-track-size: map.get( $kendo-spacing, 1.5 ) !default;
44
+ $kendo-timeline-track-size: k-spacing(1.5) !default;
45
45
  /// The bottom padding of the Timeline's track wrapper.
46
46
  /// @group timeline
47
- $kendo-timeline-track-wrap-padding-bottom: math.div( $kendo-timeline-track-size, 2 ) !default;
47
+ $kendo-timeline-track-wrap-padding-bottom: calc( #{$kendo-timeline-track-size} / 2 ) !default;
48
48
  /// The border width of the Timeline track.
49
49
  /// @group timeline
50
50
  $kendo-timeline-track-border-width: 1px !default;
51
51
  /// The bottom margin of the Timeline track.
52
52
  /// @group timeline
53
- $kendo-timeline-track-margin-bottom: map.get( $kendo-spacing, 4 ) !default;
53
+ $kendo-timeline-track-margin-bottom: k-spacing(4) !default;
54
54
  /// The bottom offset of the Timeline track.
55
55
  /// @group timeline
56
56
  $kendo-timeline-track-bottom-calc: calc( ( #{ $kendo-timeline-track-arrow-height } / 2 ) + #{ $kendo-timeline-track-wrap-padding-bottom } ) !default;
@@ -82,17 +82,17 @@ $kendo-timeline-track-arrow-disabled-border: var( --kendo-disabled-border, initi
82
82
 
83
83
  /// The offset of the Timeline track event.
84
84
  /// @group timeline
85
- $kendo-timeline-track-event-offset: map.get( $kendo-spacing, 8 ) !default;
85
+ $kendo-timeline-track-event-offset: k-spacing(8) !default;
86
86
 
87
87
  /// The horizontal padding of the Timeline flag.
88
88
  /// @group timeline
89
- $kendo-timeline-flag-padding-x: map.get( $kendo-spacing, 2 ) !default;
89
+ $kendo-timeline-flag-padding-x: k-spacing(2) !default;
90
90
  /// The vertical padding of the Timeline flag.
91
91
  /// @group timeline
92
- $kendo-timeline-flag-padding-y: map.get( $kendo-spacing, 2 ) !default;
92
+ $kendo-timeline-flag-padding-y: k-spacing(2) !default;
93
93
  /// The border radius of the Timeline flag.
94
94
  /// @group timeline
95
- $kendo-timeline-flag-border-radius: map.get( $kendo-spacing, 0.5 ) !default;
95
+ $kendo-timeline-flag-border-radius: k-spacing(0.5) !default;
96
96
  /// The line height of the Timeline flag.
97
97
  /// @group timeline
98
98
  $kendo-timeline-flag-line-height: var( --kendo-line-height, normal ) !default;
@@ -101,7 +101,7 @@ $kendo-timeline-flag-line-height: var( --kendo-line-height, normal ) !default;
101
101
  $kendo-timeline-flag-box-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
102
102
  /// The minimum width of the Timeline flag.
103
103
  /// @group timeline
104
- $kendo-timeline-flag-min-width: map.get( $kendo-spacing, 20 ) !default;
104
+ $kendo-timeline-flag-min-width: k-spacing(20) !default;
105
105
  /// The maximum width of the Timeline flag.
106
106
  /// @group timeline
107
107
  $kendo-timeline-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-spacing-x } ) !default;
@@ -110,7 +110,7 @@ $kendo-timeline-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 *
110
110
  $kendo-timeline-mobile-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-mobile-spacing-x } ) !default;
111
111
  /// The minimum width of the horizontal Timeline flag.
112
112
  /// @group timeline
113
- $kendo-timeline-horizontal-flag-min-width: map.get( $kendo-spacing, 15 ) !default;
113
+ $kendo-timeline-horizontal-flag-min-width: k-spacing(15) !default;
114
114
  /// The background color of the Timeline flag.
115
115
  /// @group timeline
116
116
  $kendo-timeline-flag-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
@@ -119,13 +119,13 @@ $kendo-timeline-flag-bg: if($kendo-enable-color-system, k-color( primary ), k-ge
119
119
  $kendo-timeline-flag-text: var( --kendo-component-bg, initial ) !default;
120
120
  /// The width of the Timeline's flag callout.
121
121
  /// @group timeline
122
- $kendo-timeline-flag-callout-width: map.get( $kendo-spacing, 2.5 ) !default;
122
+ $kendo-timeline-flag-callout-width: k-spacing(2.5) !default;
123
123
  /// The height of the Timeline's flag callout.
124
124
  /// @group timeline
125
- $kendo-timeline-flag-callout-height: map.get( $kendo-spacing, 2.5 ) !default;
125
+ $kendo-timeline-flag-callout-height: k-spacing(2.5) !default;
126
126
  /// The bottom offset of the Timeline flag.
127
127
  /// @group timeline
128
- $kendo-timeline-flag-offset-bottom: map.get( $kendo-spacing, 1 ) !default;
128
+ $kendo-timeline-flag-offset-bottom: k-spacing(1) !default;
129
129
  /// The bottom margin of the Timeline flag.
130
130
  /// @group timeline
131
131
  $kendo-timeline-flag-margin-bottom-calc: calc( #{ $kendo-timeline-track-size } + 2 * #{ $kendo-timeline-track-border-width } + #{ $kendo-timeline-flag-offset-bottom } + #{ $kendo-timeline-flag-callout-height } ) !default;
@@ -151,10 +151,10 @@ $kendo-timeline-card-scroll-thumb-hover: var( --kendo-hover-border, initial ) !d
151
151
  $kendo-timeline-date-body-text: var( --kendo-body-text, initial ) !default;
152
152
  /// The width of the Timeline date.
153
153
  /// @group timeline
154
- $kendo-timeline-date-width: map.get( $kendo-spacing, 12 ) + map.get( $kendo-spacing, 0.5 ) !default;
154
+ $kendo-timeline-date-width: calc( #{k-spacing(12)} + #{k-spacing(0.5)} ) !default;
155
155
  /// The bottom margin of the Timeline date.
156
156
  /// @group timeline
157
- $kendo-timeline-date-margin-bottom: map.get( $kendo-spacing, 2 ) !default;
157
+ $kendo-timeline-date-margin-bottom: k-spacing(2) !default;
158
158
 
159
159
  /// The padding of the vertical Timeline.
160
160
  /// @group timeline
@@ -164,7 +164,7 @@ $kendo-timeline-vertical-padding-calc: calc( #{ $kendo-timeline-spacing-x } + (
164
164
  $kendo-timeline-vertical-padding-with-dates-calc: calc( #{ $kendo-timeline-vertical-padding-calc } + #{ $kendo-timeline-date-width } ) !default;
165
165
  /// The border radius of the vertical Timeline.
166
166
  /// @group timeline
167
- $kendo-timeline-vertical-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-lg} ) !default;
167
+ $kendo-timeline-vertical-border-radius: k-border-radius(lg) !default;
168
168
  /// The padding of the vertical mobile Timeline.
169
169
  /// @group timeline
170
170
  $kendo-timeline-mobile-vertical-padding-calc: calc( #{ $kendo-timeline-mobile-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 ) !default;
@@ -174,10 +174,10 @@ $kendo-timeline-mobile-vertical-padding-with-dates-calc: calc( #{ $kendo-timelin
174
174
 
175
175
  /// The width of the Timeline circle.
176
176
  /// @group timeline
177
- $kendo-timeline-circle-width: map.get( $kendo-spacing, 4 ) !default;
177
+ $kendo-timeline-circle-width: k-spacing(4) !default;
178
178
  /// The height of the Timeline circle.
179
179
  /// @group timeline
180
- $kendo-timeline-circle-height: map.get( $kendo-spacing, 4 ) !default;
180
+ $kendo-timeline-circle-height: k-spacing(4) !default;
181
181
  /// The background color of the Timeline circle.
182
182
  /// @group timeline
183
183
  $kendo-timeline-circle-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
@@ -213,7 +213,7 @@
213
213
  $_line-height: map.get( $size-props, line-height );
214
214
  $_list-item-padding-x: map.get( $size-props, list-item-padding-x );
215
215
  $_list-item-padding-y: map.get( $size-props, list-item-padding-y );
216
- $_highlight-height: calc( #{$_font-size} * #{$_line-height} + #{ $_list-item-padding-y * 2} );
216
+ $_highlight-height: calc( #{$_font-size} * #{$_line-height} + calc( #{ $_list-item-padding-y} * 2 ) );
217
217
 
218
218
 
219
219
  .k-timeselector-#{$size} {
@@ -27,10 +27,10 @@ $kendo-time-selector-border: var( --kendo-component-border, initial ) !default;
27
27
 
28
28
  /// Horizontal padding of the time-selector header.
29
29
  /// @group time-selector
30
- $kendo-time-selector-header-padding-x: map.get( $kendo-spacing, 3 ) !default;
30
+ $kendo-time-selector-header-padding-x: k-spacing(3) !default;
31
31
  /// Vertical padding color of the time-selector header.
32
32
  /// @group time-selector
33
- $kendo-time-selector-header-padding-y: map.get( $kendo-spacing, 3 ) !default;
33
+ $kendo-time-selector-header-padding-y: k-spacing(3) !default;
34
34
  /// Width of the border around the time-selector header.
35
35
  /// @group time-selector
36
36
  $kendo-time-selector-header-border-width: 0px !default;
@@ -47,7 +47,7 @@ $kendo-time-list-height: 240px !default;
47
47
 
48
48
  /// Spacing beneath the time selector titles.
49
49
  /// @group time-selector
50
- $kendo-time-list-title-spacing: map.get( $kendo-spacing, 3 ) !default;
50
+ $kendo-time-list-title-spacing: k-spacing(3) !default;
51
51
  /// Font size of the time-selector titles.
52
52
  /// @group time-selector
53
53
  $kendo-time-list-title-font-size: var( --kendo-font-size-xs, inherit ) !default;
@@ -67,17 +67,17 @@ $kendo-time-list-title-focus-text: $kendo-time-selector-text !default;
67
67
 
68
68
  /// Horizontal padding of the time-selector list items.
69
69
  /// @group time-selector
70
- $kendo-time-list-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
70
+ $kendo-time-list-item-padding-x: k-spacing(2) !default;
71
71
  /// Vertical padding of the time-selector list items.
72
72
  /// @group time-selector
73
- $kendo-time-list-item-padding-y: map.get( $kendo-spacing, 1 ) !default;
73
+ $kendo-time-list-item-padding-y: k-spacing(1) !default;
74
74
 
75
75
  /// Width of the border of the selected item in the time-selector.
76
76
  /// @group time-selector
77
77
  $kendo-time-list-highlight-border-width: 1px 0px !default;
78
78
  /// Height of the selected item in the time-selector.
79
79
  /// @group time-selector
80
- $kendo-time-list-highlight-height: calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} + #{ $kendo-time-list-item-padding-y * 2} ) !default;
80
+ $kendo-time-list-highlight-height: calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} + calc( #{$kendo-time-list-item-padding-y} * 2 ) ) !default;
81
81
  /// Background color of the selected item in the time-selector.
82
82
  /// @group time-selector
83
83
  $kendo-time-list-highlight-bg: $kendo-time-selector-bg !default;
@@ -169,7 +169,7 @@
169
169
  }
170
170
 
171
171
  .k-separator {
172
- margin-block: map.get( $kendo-spacing, 1 );
172
+ margin-block: k-spacing(1);
173
173
  }
174
174
 
175
175
  // Group
@@ -3,33 +3,33 @@
3
3
 
4
4
  /// The horizontal padding of the small Toolbar.
5
5
  /// @group toolbar
6
- $kendo-toolbar-sm-padding-x: map.get( $kendo-spacing, 1 ) !default;
6
+ $kendo-toolbar-sm-padding-x: k-spacing(1) !default;
7
7
  /// The horizontal padding of the medium Toolbar.
8
8
  /// @group toolbar
9
- $kendo-toolbar-md-padding-x: map.get( $kendo-spacing, 2 ) !default;
9
+ $kendo-toolbar-md-padding-x: k-spacing(2) !default;
10
10
  /// The horizontal padding of the large Toolbar.
11
11
  /// @group toolbar
12
- $kendo-toolbar-lg-padding-x: map.get( $kendo-spacing, 2.5 ) !default;
12
+ $kendo-toolbar-lg-padding-x: k-spacing(2.5) !default;
13
13
 
14
14
  /// The vertical padding of the small Toolbar.
15
15
  /// @group toolbar
16
- $kendo-toolbar-sm-padding-y: map.get( $kendo-spacing, 1 ) !default;
16
+ $kendo-toolbar-sm-padding-y: k-spacing(1) !default;
17
17
  /// The vertical padding of the medium Toolbar.
18
18
  /// @group toolbar
19
- $kendo-toolbar-md-padding-y: map.get( $kendo-spacing, 2 ) !default;
19
+ $kendo-toolbar-md-padding-y: k-spacing(2) !default;
20
20
  /// The vertical padding of the large Toolbar.
21
21
  /// @group toolbar
22
- $kendo-toolbar-lg-padding-y: map.get( $kendo-spacing, 2.5 ) !default;
22
+ $kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
23
23
 
24
24
  /// The spacing between the tools of the small Toolbar.
25
25
  /// @group toolbar
26
- $kendo-toolbar-sm-spacing: map.get( $kendo-spacing, 2 ) !default;
26
+ $kendo-toolbar-sm-spacing: k-spacing(2) !default;
27
27
  /// The spacing between the tools of the medium Toolbar.
28
28
  /// @group toolbar
29
- $kendo-toolbar-md-spacing: map.get( $kendo-spacing, 2 ) !default;
29
+ $kendo-toolbar-md-spacing: k-spacing(2) !default;
30
30
  /// The spacing between the tools of the large Toolbar.
31
31
  /// @group toolbar
32
- $kendo-toolbar-lg-spacing: map.get( $kendo-spacing, 2 ) !default;
32
+ $kendo-toolbar-lg-spacing: k-spacing(2) !default;
33
33
 
34
34
  /// The width of the border around the Toolbar.
35
35
  /// @group toolbar
@@ -62,8 +62,8 @@
62
62
 
63
63
  // Callout
64
64
  .k-callout {
65
- width: ( $kendo-tooltip-callout-size * 2 );
66
- height: ( $kendo-tooltip-callout-size * 2 );
65
+ width: calc( #{$kendo-tooltip-callout-size} * 2 );
66
+ height: calc( #{$kendo-tooltip-callout-size} * 2 );
67
67
  border-width: $kendo-tooltip-callout-size;
68
68
  border-style: solid;
69
69
  border-color: transparent;
@@ -77,31 +77,31 @@
77
77
  // Remove margin tweaking and uncomment when their implementation is fixed.
78
78
 
79
79
  .k-callout-n {
80
- margin-inline-start: -$kendo-tooltip-callout-size;
80
+ margin-inline-start: calc( #{$kendo-tooltip-callout-size} * -1 );
81
81
  border-bottom-color: currentColor;
82
- top: ( -1 * $kendo-tooltip-callout-size * 2 );
82
+ top: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
83
83
  left: 50%;
84
84
  pointer-events: none;
85
85
  }
86
86
  .k-callout-e {
87
- margin-block-start: -$kendo-tooltip-callout-size;
87
+ margin-block-start: calc( #{$kendo-tooltip-callout-size} * -1 );
88
88
  border-left-color: currentColor;
89
89
  top: 50%;
90
- right: ( -1 * $kendo-tooltip-callout-size * 2 );
90
+ right: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
91
91
  pointer-events: none;
92
92
  }
93
93
  .k-callout-s {
94
- margin-inline-start: -$kendo-tooltip-callout-size;
94
+ margin-inline-start: calc( #{$kendo-tooltip-callout-size} * -1 );
95
95
  border-top-color: currentColor;
96
- bottom: ( -1 * $kendo-tooltip-callout-size * 2 );
96
+ bottom: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
97
97
  left: 50%;
98
98
  pointer-events: none;
99
99
  }
100
100
  .k-callout-w {
101
- margin-block-start: -$kendo-tooltip-callout-size;
101
+ margin-block-start: calc( #{$kendo-tooltip-callout-size} * -1 );
102
102
  border-right-color: currentColor;
103
103
  top: 50%;
104
- left: ( -1 * $kendo-tooltip-callout-size * 2 );
104
+ left: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
105
105
  pointer-events: none;
106
106
  }
107
107
 
@@ -3,13 +3,13 @@
3
3
 
4
4
  /// The border radius of the Tooltip.
5
5
  /// @group tooltip
6
- $kendo-tooltip-border-radius: $kendo-border-radius !default;
6
+ $kendo-tooltip-border-radius: k-border-radius(md) !default;
7
7
  /// The horizontal padding of the Tooltip.
8
8
  /// @group tooltip
9
- $kendo-tooltip-padding-x: map.get( $kendo-spacing, 2 ) !default;
9
+ $kendo-tooltip-padding-x: k-spacing(2) !default;
10
10
  /// The vertical padding of the Tooltip.
11
11
  /// @group tooltip
12
- $kendo-tooltip-padding-y: map.get( $kendo-spacing, 2 ) !default;
12
+ $kendo-tooltip-padding-y: k-spacing(2) !default;
13
13
  /// The width of the border around the Tooltip.
14
14
  /// @group tooltip
15
15
  $kendo-tooltip-border-width: 0px !default;
@@ -25,17 +25,17 @@ $kendo-tooltip-line-height: var( --kendo-line-height, normal ) !default;
25
25
 
26
26
  /// The font size of the Tooltip title.
27
27
  /// @group tooltip
28
- $kendo-tooltip-title-font-size: calc( #{$kendo-tooltip-font-size} * 1.25 ) !default;
28
+ $kendo-tooltip-title-font-size: calc( var( --kendo-font-size-sm, .75rem ) * 1.25 ) !default;
29
29
  /// The line height of the Tooltip title.
30
30
  /// @group tooltip
31
31
  $kendo-tooltip-title-line-height: var( --kendo-line-heigh-xs, normal ) !default;
32
32
  /// The margin of the Tooltip title.
33
33
  /// @group tooltip
34
- $kendo-tooltip-title-margin: map.get( $kendo-spacing, 1 ) !default;
34
+ $kendo-tooltip-title-margin: k-spacing(1) !default;
35
35
 
36
36
  /// The size of the Tooltip callout.
37
37
  /// @group tooltip
38
- $kendo-tooltip-callout-size: map.get( $kendo-spacing, 2 ) !default;
38
+ $kendo-tooltip-callout-size: k-spacing(2) !default;
39
39
 
40
40
  /// The default background of the Tooltip.
41
41
  /// @group tooltip
@@ -18,7 +18,7 @@
18
18
  // TODO: see what this does and use a better name
19
19
  .k-loading {
20
20
  vertical-align: baseline;
21
- margin-right: map.get( $kendo-spacing, 1 );
21
+ margin-right: k-spacing(1);
22
22
 
23
23
  // TODO
24
24
  display: none;
@@ -48,7 +48,7 @@
48
48
 
49
49
  .k-i-caret-alt-down,
50
50
  .k-i-caret-alt-right {
51
- margin-inline-end: map.get( $kendo-spacing, 2 );
51
+ margin-inline-end: k-spacing(2);
52
52
  }
53
53
  }
54
54
 
@@ -1,9 +1,9 @@
1
1
  @use "../core/" as *;
2
2
  @use "../grid/_variables.scss" as *;
3
3
 
4
- /// Background color of the treelist footer row.
4
+ /// The background color of the TreeList footer row.
5
5
  /// @group treelist
6
6
  $kendo-treelist-footer-row-bg: $kendo-grid-hover-bg !default;
7
- /// Border width of the treelist footer row.
7
+ /// The border width of the TreeList footer row.
8
8
  /// @group treelist
9
9
  $kendo-treelist-footer-row-border-width: 1px !default;
@@ -24,39 +24,39 @@ $kendo-treeview-md-line-height: var( --kendo-line-height, normal ) !default;
24
24
  $kendo-treeview-lg-line-height: var( --kendo-line-height, normal ) !default;
25
25
  /// The indentation of child groups in the TreeView.
26
26
  /// @group treeview
27
- $kendo-treeview-indent: map.get( $kendo-spacing, 6 ) !default;
27
+ $kendo-treeview-indent: k-spacing(6) !default;
28
28
 
29
29
  /// The horizontal padding of the small TreeView items.
30
30
  /// @group treeview
31
- $kendo-treeview-sm-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
31
+ $kendo-treeview-sm-item-padding-x: k-spacing(2) !default;
32
32
  /// The horizontal padding of the medium TreeView items.
33
33
  /// @group treeview
34
- $kendo-treeview-md-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
34
+ $kendo-treeview-md-item-padding-x: k-spacing(2) !default;
35
35
  /// The horizontal padding of the large TreeView items.
36
36
  /// @group treeview
37
- $kendo-treeview-lg-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
37
+ $kendo-treeview-lg-item-padding-x: k-spacing(2) !default;
38
38
  /// The vertical padding of the small TreeView items.
39
39
  /// @group treeview
40
- $kendo-treeview-sm-item-padding-y: map.get( $kendo-spacing, 1.5 ) !default;
40
+ $kendo-treeview-sm-item-padding-y: k-spacing(1.5) !default;
41
41
  /// The vertical padding of the medium TreeView items.
42
42
  /// @group treeview
43
- $kendo-treeview-md-item-padding-y: map.get( $kendo-spacing, 2 ) !default;
43
+ $kendo-treeview-md-item-padding-y: k-spacing(2) !default;
44
44
  /// The vertical padding of the large TreeView items.
45
45
  /// @group treeview
46
- $kendo-treeview-lg-item-padding-y: map.get( $kendo-spacing, 2.5 ) !default;
46
+ $kendo-treeview-lg-item-padding-y: k-spacing(2.5) !default;
47
47
  /// The border width of the TreeView items.
48
48
  /// @group treeview
49
49
  $kendo-treeview-item-border-width: 0 !default;
50
50
  /// The border radius of the TreeView items.
51
51
  /// @group treeview
52
- $kendo-treeview-item-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
52
+ $kendo-treeview-item-border-radius: k-border-radius(md) !default;
53
53
 
54
54
  /// The horizontal padding of the TreeViews' filter element.
55
55
  /// @group treeview
56
- $kendo-treeview-filter-padding-x: map.get( $kendo-spacing, 2 ) !default;
56
+ $kendo-treeview-filter-padding-x: k-spacing(2) !default;
57
57
  /// The vertical padding of the TreeViews' filter element.
58
58
  /// @group treeview
59
- $kendo-treeview-filter-padding-y: map.get( $kendo-spacing, 2 ) !default;
59
+ $kendo-treeview-filter-padding-y: k-spacing(2) !default;
60
60
 
61
61
 
62
62
  /// The sizes map of the TreeView.
@@ -181,4 +181,4 @@ $kendo-treeview-loadmore-focus-shadow: $kendo-treeview-item-focus-shadow !defaul
181
181
 
182
182
  /// The padding of the checkbox wrapper in the TreeView.
183
183
  /// @group treeview
184
- $kendo-treeview-checkbox-wrap-padding: map.get( $kendo-spacing, .5 ) !default;
184
+ $kendo-treeview-checkbox-wrap-padding: k-spacing(.5) !default;
@@ -17,6 +17,15 @@
17
17
  }
18
18
 
19
19
  .k-body {
20
+ @include typography(
21
+ var( --kendo-font-size, inherit ),
22
+ var( --kendo-font-family, inherit ),
23
+ var( --kendo-line-height, normal ),
24
+ var( --kendo-font-weight, normal ),
25
+ var( --kendo-letter-spacing, normal ),
26
+ );
27
+ margin: 0;
28
+
20
29
  p {
21
30
  margin: var( --kendo-paragraph-margin, #{$kendo-paragraph-margin});
22
31
  }
@@ -2,6 +2,13 @@
2
2
  @use "./_variables.scss" as *;
3
3
 
4
4
  @mixin kendo-typography--theme() {
5
+ .k-body {
6
+ @include fill(
7
+ var( --kendo-body-text, initial ),
8
+ var( --kendo-body-bg, initial )
9
+ );
10
+ }
11
+
5
12
  // Code snippet
6
13
  .k-pre,
7
14
  .k-code {