@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
@@ -3,124 +3,337 @@
3
3
 
4
4
  // Typography
5
5
 
6
- /// Global typography styles for the Kendo Default theme.
6
+ // Headings
7
+
8
+ /// The font size of the highest level heading.
9
+ /// @group typography
10
+ $kendo-h1-font-size: 32px !default;
11
+ /// The font size of the second highest level heading.
12
+ /// @group typography
13
+ $kendo-h2-font-size: 28px !default;
14
+ /// The font size of the third highest level heading.
15
+ /// @group typography
16
+ $kendo-h3-font-size: 24px !default;
17
+ /// The font size of the fourth highest level heading.
18
+ /// @group typography
19
+ $kendo-h4-font-size: 20px !default;
20
+ /// The font size of the fifth highest level heading.
21
+ /// @group typography
22
+ $kendo-h5-font-size: 18px !default;
23
+ /// The font size of the sixth highest level heading.
24
+ /// @group typography
25
+ $kendo-h6-font-size: 16px !default;
26
+
27
+ /// The font family of the highest level heading.
28
+ /// @group typography
29
+ $kendo-h1-font-family: var( --kendo-font-family, inherit ) !default;
30
+ /// The font family of the second highest level heading.
31
+ /// @group typography
32
+ $kendo-h2-font-family: var( --kendo-font-family, inherit ) !default;
33
+ /// The font family of the third highest level heading.
7
34
  /// @group typography
8
- $kendo-enable-typography: false !default;
35
+ $kendo-h3-font-family: var( --kendo-font-family, inherit ) !default;
36
+ /// The font family of the fourth highest level heading.
37
+ /// @group typography
38
+ $kendo-h4-font-family: var( --kendo-font-family, inherit ) !default;
39
+ /// The font family of the fifth highest level heading.
40
+ ///
41
+ $kendo-h5-font-family: var( --kendo-font-family, inherit ) !default;
42
+ /// The font family of the sixth highest level heading.
43
+ /// @group typography
44
+ $kendo-h6-font-family: var( --kendo-font-family, inherit ) !default;
9
45
 
46
+ /// The line height of the highest level heading.
47
+ /// @group typography
48
+ $kendo-h1-line-height: 40px !default;
49
+ /// The line height of the second highest level heading.
50
+ /// @group typography
51
+ $kendo-h2-line-height: 36px !default;
52
+ /// The line height of the third highest level heading.
53
+ /// @group typography
54
+ $kendo-h3-line-height: 32px !default;
55
+ /// The line height of the fourth highest level heading.
56
+ /// @group typography
57
+ $kendo-h4-line-height: 28px !default;
58
+ /// The line height of the fifth highest level heading.
59
+ /// @group typography
60
+ $kendo-h5-line-height: 24px !default;
61
+ /// The line height of the sixth highest level heading.
62
+ $kendo-h6-line-height: 22px !default;
63
+
64
+ /// The font weight of the highest level heading.
65
+ /// @group typography
66
+ $kendo-h2-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
67
+ /// The font weight of the second highest level heading.
68
+ /// @group typography
69
+ $kendo-h1-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
70
+ /// The font weight of the third highest level heading.
71
+ /// @group typography
72
+ $kendo-h3-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
73
+ /// The font weight of the fourth highest level heading.
74
+ /// @group typography
75
+ $kendo-h4-font-weight: var( --kendo-font-weight-semibold, normal )!default;
76
+ /// The font weight of the fifth highest level heading.
77
+ /// @group typography
78
+ $kendo-h5-font-weight: var( --kendo-font-weight-semibold, normal )!default;
79
+ /// The font weight of the sixth highest level heading.
80
+ /// @group typography
81
+ $kendo-h6-font-weight: var( --kendo-font-weight-semibold, normal )!default;
10
82
 
11
- /// Font family for monospaced text. Used for styling the code.
83
+ /// The letter spacing of the highest level heading.
84
+ /// @group typography
85
+ $kendo-h1-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
86
+ /// The letter spacing of the second highest level heading.
87
+ /// @group typography
88
+ $kendo-h2-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
89
+ /// The letter spacing of the third highest level heading.
90
+ /// @group typography
91
+ $kendo-h3-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
92
+ /// The letter spacing of the fourth highest level heading.
12
93
  /// @group typography
13
- $kendo-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace !default;
94
+ $kendo-h4-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
95
+ /// The letter spacing of the fifth highest level heading.
96
+ /// @group typography
97
+ $kendo-h5-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
98
+ /// The letter spacing of the sixth highest level heading.
99
+ /// @group typography
100
+ $kendo-h6-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
14
101
 
102
+ /// The margin of the highest level heading.
103
+ /// @group typography
104
+ $kendo-h1-margin: 0 0 var( --kendo-font-size, inherit ) !default;
105
+ /// The margin of the second highest level heading.
106
+ /// @group typography
107
+ $kendo-h2-margin: 0 0 var( --kendo-font-size, inherit ) !default;
108
+ /// The margin of the third highest level heading.
109
+ /// @group typography
110
+ $kendo-h3-margin: 0 0 var( --kendo-font-size, inherit ) !default;
111
+ /// The margin of the fourth highest level heading.
112
+ /// @group typography
113
+ $kendo-h4-margin: 0 0 var( --kendo-font-size, inherit ) !default;
114
+ /// The margin of the fifth highest level heading.
115
+ /// @group typography
116
+ $kendo-h5-margin: 0 0 var( --kendo-font-size, inherit ) !default;
117
+ /// The margin of the sixth highest level heading.
118
+ /// @group typography
119
+ $kendo-h6-margin: 0 0 var( --kendo-font-size, inherit ) !default;
15
120
 
16
- // Headings
121
+ /// The headings Map.
122
+ /// @group typography
17
123
  $kendo-headings: (
18
124
  h1: (
19
- font-size: 42px,
20
- font-family: var( --kendo-font-family, inherit ),
21
- line-height: var( --kendo-line-height, normal ),
22
- font-weight: var( --kendo-font-weight-bold, bold),
23
- letter-spacing: var( --kendo-letter-spacing, normal),
24
- margin: 0 0 var( --kendo-font-size, inherit)
125
+ font-size: $kendo-h1-font-size,
126
+ font-family: $kendo-h1-font-family,
127
+ line-height: $kendo-h1-line-height,
128
+ font-weight: $kendo-h1-font-weight,
129
+ letter-spacing: $kendo-h1-letter-spacing,
130
+ margin: $kendo-h1-margin
25
131
  ),
26
132
  h2: (
27
- font-size: 32px,
28
- font-family: var( --kendo-font-family, inherit ),
29
- line-height: var( --kendo-line-height, normal ),
30
- font-weight: var( --kendo-font-weight-bold, bold),
31
- letter-spacing: var( --kendo-letter-spacing, normal),
32
- margin: 0 0 var( --kendo-font-size, inherit)
133
+ font-size: $kendo-h2-font-size,
134
+ font-family: $kendo-h2-font-family,
135
+ line-height: $kendo-h2-line-height,
136
+ font-weight: $kendo-h2-font-weight,
137
+ letter-spacing: $kendo-h2-letter-spacing,
138
+ margin: $kendo-h2-margin
33
139
  ),
34
140
  h3: (
35
- font-size: 28px,
36
- font-family: var( --kendo-font-family, inherit ),
37
- line-height: var( --kendo-line-height, normal ),
38
- font-weight: var( --kendo-font-weight-bold, bold),
39
- letter-spacing: var( --kendo-letter-spacing, normal),
40
- margin: 0 0 var( --kendo-font-size, inherit)
141
+ font-size: $kendo-h3-font-size,
142
+ font-family: $kendo-h3-font-family,
143
+ line-height: $kendo-h3-line-height,
144
+ font-weight: $kendo-h3-font-weight,
145
+ letter-spacing: $kendo-h3-letter-spacing,
146
+ margin: $kendo-h3-margin
41
147
  ),
42
148
  h4: (
43
- font-size: 20px,
44
- font-family: var( --kendo-font-family, inherit ),
45
- line-height: var( --kendo-line-height, normal ),
46
- font-weight: var( --kendo-font-weight-bold, bold),
47
- letter-spacing: var( --kendo-letter-spacing, normal),
48
- margin: 0 0 var( --kendo-font-size, inherit)
149
+ font-size: $kendo-h4-font-size,
150
+ font-family: $kendo-h4-font-family,
151
+ line-height: $kendo-h4-line-height,
152
+ font-weight: $kendo-h4-font-weight,
153
+ letter-spacing: $kendo-h4-letter-spacing,
154
+ margin: $kendo-h4-margin
49
155
  ),
50
156
  h5: (
51
- font-size: 18px,
52
- font-family: var( --kendo-font-family, inherit ),
53
- line-height: var( --kendo-line-height, normal ),
54
- font-weight: var( --kendo-font-weight-bold, bold),
55
- letter-spacing: var( --kendo-letter-spacing, normal),
56
- margin: 0 0 var( --kendo-font-size, inherit)
157
+ font-size: $kendo-h5-font-size,
158
+ font-family: $kendo-h5-font-family,
159
+ line-height: $kendo-h5-line-height,
160
+ font-weight: $kendo-h5-font-weight,
161
+ letter-spacing: $kendo-h5-letter-spacing,
162
+ margin: $kendo-h5-margin
57
163
  ),
58
164
  h6: (
59
- font-size: 16px,
60
- font-family: var( --kendo-font-family, inherit ),
61
- line-height: var( --kendo-line-height, normal ),
62
- font-weight: var( --kendo-font-weight-bold, bold),
63
- letter-spacing: var( --kendo-letter-spacing, normal),
64
- margin: 0 0 var( --kendo-font-size, inherit)
165
+ font-size: $kendo-h6-font-size,
166
+ font-family: $kendo-h6-font-family,
167
+ line-height: $kendo-h6-line-height,
168
+ font-weight: $kendo-h6-font-weight,
169
+ letter-spacing: $kendo-h6-letter-spacing,
170
+ margin: $kendo-h6-margin
65
171
  )
66
172
  ) !default;
67
173
 
68
174
 
69
175
  // Paragraph
176
+
177
+ /// The margin of the paragraph.
178
+ /// @group typography
70
179
  $kendo-paragraph-margin: 0 0 var( --kendo-font-size, inherit) !default;
180
+ /// The font size of the paragraph.
181
+ /// @group typography
71
182
  $kendo-paragraph-font-size: var( --kendo-font-size, inherit) !default;
183
+ /// The font family of the paragraph.
184
+ /// @group typography
72
185
  $kendo-paragraph-font-family: var( --kendo-font-family, inherit ) !default;
186
+ /// The line height of the paragraph.
187
+ /// @group typography
73
188
  $kendo-paragraph-line-height: var( --kendo-line-height, normal) !default;
189
+ /// The font weight of the paragraph.
190
+ /// @group typography
74
191
  $kendo-paragraph-font-weight: var( --kendo-font-weight, normal) !default;
192
+ /// The letter spacing of the paragraph.
193
+ /// @group typography
75
194
  $kendo-paragraph-letter-spacing: var( --kendo-letter-spacing, normal) !default;
76
195
 
77
196
 
78
197
  // Code
198
+
199
+ /// The font size of the code tag.
200
+ /// @group typography
79
201
  $kendo-code-font-size: var( --kendo-font-size, inherit) !default;
202
+ /// The font family of the code tag.
203
+ /// @group typography
80
204
  $kendo-code-font-family: $kendo-font-family-monospace !default;
205
+ /// The line height of the code tag.
206
+ /// @group typography
81
207
  $kendo-code-line-height: var( --kendo-line-height, normal) !default;
208
+ /// The font weight of the code tag.
209
+ /// @group typography
82
210
  $kendo-code-font-weight: var( --kendo-font-weight, normal) !default;
211
+ /// The letter spacing of the code tag.
212
+ /// @group typography
83
213
  $kendo-code-letter-spacing: var( --kendo-letter-spacing, normal) !default;
84
214
 
85
- $kendo-code-padding-x: map.get( $kendo-spacing, 1 ) !default;
86
- $kendo-code-padding-y: map.get( $kendo-spacing, 0 ) !default;
87
- $kendo-pre-padding-x: map.get( $kendo-spacing, 6 ) !default;
88
- $kendo-pre-padding-y: map.get( $kendo-spacing, 4 ) !default;
215
+ /// The horizontal padding of the code tag.
216
+ /// @group typography
217
+ $kendo-code-padding-x: k-spacing(1) !default;
218
+ /// The vertical padding of the code tag.
219
+ /// @group typography
220
+ $kendo-code-padding-y: k-spacing(0) !default;
221
+ /// The horizontal padding of the preformatted text.
222
+ /// @group typography
223
+ $kendo-pre-padding-x: k-spacing(6) !default;
224
+ /// The vertical padding of the preformatted text.
225
+ /// @group typography
226
+ $kendo-pre-padding-y: k-spacing(4) !default;
227
+ /// The width of the border of the code tag.
228
+ /// @group typography
89
229
  $kendo-code-border-width: 1px !default;
90
230
 
231
+ /// The background color of the code tag.
232
+ /// @group typography
91
233
  $kendo-code-bg: var( --kendo-component-bg, initial) !default;
234
+ /// The text color of the code tag.
235
+ /// @group typography
92
236
  $kendo-code-text: var( --kendo-component-text, initial) !default;
237
+ /// The border color of the code tag.
238
+ /// @group typography
93
239
  $kendo-code-border: var( --kendo-component-border, initial) !default;
94
240
 
95
-
96
241
  // Display
242
+
243
+ /// The font size of the largest display text.
244
+ /// @group typography
245
+ $kendo-display1-font-size: calc( var( --kendo-font-size, .875rem ) * 9 ) !default;
246
+ /// The font size of the second largest display text.
247
+ /// @group typography
248
+ $kendo-display2-font-size: calc( var( --kendo-font-size, .875rem ) * 6 ) !default;
249
+ /// The font size of the third largest display text.
250
+ /// @group typography
251
+ $kendo-display3-font-size: 68px !default;
252
+ /// The font size of the fourth largest display text.
253
+ /// @group typography
254
+ $kendo-display4-font-size: calc( var( --kendo-font-size, .875rem ) * 3 ) !default;
255
+
256
+ /// The font family of the largest display text.
257
+ /// @group typography
258
+ $kendo-display1-font-family: var( --kendo-font-family, inherit ) !default;
259
+ /// The font family of the second largest display text.
260
+ /// @group typography
261
+ $kendo-display2-font-family: var( --kendo-font-family, inherit ) !default;
262
+ /// The font family of the third largest display text.
263
+ /// @group typography
264
+ $kendo-display3-font-family: var( --kendo-font-family, inherit ) !default;
265
+ /// The font family of the fourth largest display text.
266
+ /// @group typography
267
+ $kendo-display4-font-family: var( --kendo-font-family, inherit ) !default;
268
+
269
+ /// The line height of the largest display text.
270
+ /// @group typography
271
+ $kendo-display1-line-height: 118px !default;
272
+ /// The line height of the second largest display text.
273
+ /// @group typography
274
+ $kendo-display2-line-height: 94px !default;
275
+ /// The line height of the third largest display text.
276
+ /// @group typography
277
+ $kendo-display3-line-height: 76px !default;
278
+ /// The line height of the fourth largest display text.
279
+ /// @group typography
280
+ $kendo-display4-line-height: 52px !default;
281
+
282
+ /// The font weight of the largest display text.
283
+ /// @group typography
284
+ $kendo-display1-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
285
+ /// The font weight of the second largest display text.
286
+ /// @group typography
287
+ $kendo-display2-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
288
+ /// The font weight of the third largest display text.
289
+ /// @group typography
290
+ $kendo-display3-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
291
+ /// The font weight of the fourth largest display text.
292
+ /// @group typography
293
+ $kendo-display4-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
294
+
295
+ /// The letter spacing of the largest display text.
296
+ /// @group typography
297
+ $kendo-display1-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
298
+ /// The letter spacing of the second largest display text.
299
+ /// @group typography
300
+ $kendo-display2-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
301
+ /// The letter spacing of the third largest display text.
302
+ /// @group typography
303
+ $kendo-display3-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
304
+ /// The letter spacing of the fourth largest display text.
305
+ /// @group typography
306
+ $kendo-display4-letter-spacing: var( --kendo-letter-spacing, normal ) !default;
307
+
308
+ /// The displays Map.
309
+ /// @group typography
97
310
  $kendo-display: (
98
311
  1: (
99
- font-size: calc( var( --kendo-font-size, inherit) * 6 ),
100
- font-family: var( --kendo-font-family, inherit ),
101
- line-height: var( --kendo-line-height, normal ),
102
- font-weight: var( --kendo-font-weight-bold, bold),
103
- letter-spacing: var( --kendo-letter-spacing, normal)
312
+ font-size: $kendo-display1-font-size,
313
+ font-family: $kendo-display1-font-family,
314
+ line-height: $kendo-display1-line-height,
315
+ font-weight: $kendo-display1-font-weight,
316
+ letter-spacing: $kendo-display1-letter-spacing
104
317
  ),
105
318
  2: (
106
- font-size: calc( var( --kendo-font-size, inherit) * 5 ),
107
- font-family: var( --kendo-font-family, inherit ),
108
- line-height: var( --kendo-line-height, normal ),
109
- font-weight: var( --kendo-font-weight-bold, bold),
110
- letter-spacing: var( --kendo-letter-spacing, normal)
319
+ font-size: $kendo-display2-font-size,
320
+ font-family: $kendo-display2-font-family,
321
+ line-height: $kendo-display2-line-height,
322
+ font-weight: $kendo-display2-font-weight,
323
+ letter-spacing: $kendo-display2-letter-spacing
111
324
  ),
112
325
  3: (
113
- font-size: calc( var( --kendo-font-size, inherit) * 4 ),
114
- font-family: var( --kendo-font-family, inherit ),
115
- line-height: var( --kendo-line-height, normal ),
116
- font-weight: var( --kendo-font-weight-bold, bold),
117
- letter-spacing: var( --kendo-letter-spacing, normal)
326
+ font-size: $kendo-display3-font-size,
327
+ font-family: $kendo-display3-font-family,
328
+ line-height: $kendo-display3-line-height,
329
+ font-weight: $kendo-display3-font-weight,
330
+ letter-spacing: $kendo-display3-letter-spacing
118
331
  ),
119
332
  4: (
120
- font-size: calc( var( --kendo-font-size, inherit) * 3 ),
121
- font-family: var( --kendo-font-family, inherit ),
122
- line-height: var( --kendo-line-height, normal ),
123
- font-weight: var( --kendo-font-weight-bold, bold),
124
- letter-spacing: var( --kendo-letter-spacing, normal)
333
+ font-size: $kendo-display4-font-size,
334
+ font-family: $kendo-display4-font-family,
335
+ line-height: $kendo-display4-line-height,
336
+ font-weight: $kendo-display4-font-weight,
337
+ letter-spacing: $kendo-display4-letter-spacing
125
338
  )
126
339
  ) !default;
@@ -1,5 +1,6 @@
1
1
  @use "../core/" as *;
2
2
  @use "./_variables.scss" as *;
3
+ @use "../core/spacing" as *;
3
4
 
4
5
  @mixin kendo-upload--layout() {
5
6
 
@@ -29,10 +29,10 @@ $kendo-upload-border: var( --kendo-component-border, initial ) !default;
29
29
 
30
30
  /// The horizontal padding of the Upload dropzone.
31
31
  /// @group upload
32
- $kendo-upload-dropzone-padding-x: map.get( $kendo-spacing, 2 ) !default;
32
+ $kendo-upload-dropzone-padding-x: k-spacing(2) !default;
33
33
  /// The vertical padding of the Upload dropzone.
34
34
  /// @group upload
35
- $kendo-upload-dropzone-padding-y: map.get( $kendo-spacing, 2 ) !default;
35
+ $kendo-upload-dropzone-padding-y: k-spacing(2) !default;
36
36
  /// The text color of the Upload dropzone.
37
37
  /// @group upload
38
38
  $kendo-upload-dropzone-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
@@ -55,14 +55,14 @@ $kendo-upload-status-text-opacity: null !default;
55
55
 
56
56
  /// The horizontal padding of an uploaded item.
57
57
  /// @group upload
58
- $kendo-upload-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
58
+ $kendo-upload-item-padding-x: k-spacing(2) !default;
59
59
  /// The vertical padding of an uploaded item.
60
60
  /// @group upload
61
- $kendo-upload-item-padding-y: map.get( $kendo-spacing, 2 ) !default;
61
+ $kendo-upload-item-padding-y: k-spacing(2) !default;
62
62
 
63
63
  /// The vertical spacing between uploaded batch items.
64
64
  /// @group upload
65
- $kendo-upload-multiple-items-spacing: map.get( $kendo-spacing, 4 ) !default;
65
+ $kendo-upload-multiple-items-spacing: k-spacing(4) !default;
66
66
 
67
67
  /// The font size of the Upload validation message.
68
68
  /// @group upload
@@ -71,7 +71,7 @@
71
71
  .k-window-titlebar-actions {
72
72
  margin-block: -5em;
73
73
  margin-inline: 0;
74
- margin-inline-end: ( $kendo-window-titlebar-padding-y - $kendo-window-titlebar-padding-x );
74
+ margin-inline-end: calc( #{$kendo-window-titlebar-padding-y} - #{$kendo-window-titlebar-padding-x} );
75
75
  line-height: 1;
76
76
  display: flex;
77
77
  gap: var( --kendo-window-actions-gap, #{$kendo-window-actions-gap} );
@@ -3,10 +3,10 @@
3
3
 
4
4
  /// The width of the border around the Window.
5
5
  /// @group window
6
- $kendo-window-border-width: map.get( $kendo-spacing, 1 ) 0 0 !default;
6
+ $kendo-window-border-width: k-spacing(1) 0 0 !default;
7
7
  /// The border radius of the Window.
8
8
  /// @group window
9
- $kendo-window-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
9
+ $kendo-window-border-radius: k-border-radius(md) !default;
10
10
  /// The font family of the Window.
11
11
  /// @group window
12
12
  $kendo-window-font-family: var( --kendo-font-family, inherit ) !default;
@@ -19,10 +19,10 @@ $kendo-window-line-height: var( --kendo-line-height, normal ) !default;
19
19
 
20
20
  /// The horizontal padding of the Window titlebar.
21
21
  /// @group window
22
- $kendo-window-titlebar-padding-x: map.get( $kendo-spacing, 6 ) !default;
22
+ $kendo-window-titlebar-padding-x: k-spacing(6) !default;
23
23
  /// The vertical padding of the Window titlebar.
24
24
  /// @group window
25
- $kendo-window-titlebar-padding-y: map.get( $kendo-spacing, 5 ) !default;
25
+ $kendo-window-titlebar-padding-y: k-spacing(5) !default;
26
26
  /// The width of the border of the Window titlebar.
27
27
  /// @group window
28
28
  $kendo-window-titlebar-border-width: 0 !default;
@@ -42,7 +42,7 @@ $kendo-window-title-font-weight: var( --kendo-font-weight-bold, bold ) !default;
42
42
 
43
43
  /// The spacing between the buttons in the Window titlebar.
44
44
  /// @group window
45
- $kendo-window-actions-gap: 0px !default;
45
+ $kendo-window-actions-gap: k-spacing(0) !default;
46
46
  /// OThe opacity of the buttons in the Window titlebar.
47
47
  /// @group window
48
48
  $kendo-window-action-opacity: 1 !default;
@@ -52,23 +52,23 @@ $kendo-window-action-hover-opacity: 1 !default;
52
52
 
53
53
  /// The horizontal padding of the content of the Window.
54
54
  /// @group window
55
- $kendo-window-inner-padding-x: map.get( $kendo-spacing, 6 ) !default;
55
+ $kendo-window-inner-padding-x: k-spacing(6) !default;
56
56
  /// The vertical padding of the content of the Window.
57
57
  /// @group window
58
- $kendo-window-inner-padding-y: map.get( $kendo-spacing, 3 ) !default;
58
+ $kendo-window-inner-padding-y: k-spacing(3) !default;
59
59
 
60
60
  /// The horizontal padding of the Window action buttons.
61
61
  /// @group window
62
- $kendo-window-buttongroup-padding-x: map.get( $kendo-spacing, 6 ) !default; // $kendo-actions-padding-x
62
+ $kendo-window-buttongroup-padding-x: k-spacing(6) !default; // $kendo-actions-padding-x
63
63
  /// The vertical padding of the Window action buttons.
64
64
  /// @group window
65
- $kendo-window-buttongroup-padding-y: map.get( $kendo-spacing, 6 ) !default; // $kendo-actions-padding-y
65
+ $kendo-window-buttongroup-padding-y: k-spacing(6) !default; // $kendo-actions-padding-y
66
66
  /// The width of the top border of the Window action buttons.
67
67
  /// @group window
68
68
  $kendo-window-buttongroup-border-width: 0 !default;
69
69
  /// The spacing between the Window action buttons.
70
70
  /// @group window
71
- $kendo-window-buttongroup-spacing: map.get( $kendo-spacing, 3 ) !default;
71
+ $kendo-window-buttongroup-spacing: k-spacing(3) !default;
72
72
 
73
73
  /// The background color of the Window.
74
74
  /// @group window
@@ -6,10 +6,10 @@
6
6
  $kendo-wizard-border-width: 0px !default;
7
7
  /// The horizontal padding of the Wizard.
8
8
  /// @group wizard
9
- $kendo-wizard-padding-x: map.get( $kendo-spacing, 6 ) !default;
9
+ $kendo-wizard-padding-x: k-spacing(6) !default;
10
10
  /// The vertical padding of the Wizard.
11
11
  /// @group wizard
12
- $kendo-wizard-padding-y: map.get( $kendo-spacing, 6 ) !default;
12
+ $kendo-wizard-padding-y: k-spacing(6) !default;
13
13
  /// The font size of the Wizard.
14
14
  /// @group wizard
15
15
  $kendo-wizard-font-size: var( --kendo-font-size, inherit ) !default;
@@ -23,17 +23,17 @@ $kendo-wizard-font-family: var( --kendo-font-family, inherit ) !default;
23
23
 
24
24
  /// The horizontal padding of the Wizard steps.
25
25
  /// @group wizard
26
- $kendo-wizard-steps-padding-x: map.get( $kendo-spacing, 3 ) !default;
26
+ $kendo-wizard-steps-padding-x: k-spacing(3) !default;
27
27
  /// The vertical padding of the Wizard steps.
28
28
  /// @group wizard
29
- $kendo-wizard-steps-padding-y: map.get( $kendo-spacing, 3 ) !default;
29
+ $kendo-wizard-steps-padding-y: k-spacing(3) !default;
30
30
 
31
31
  /// The horizontal padding of the Wizard content.
32
32
  /// @group wizard
33
- $kendo-wizard-content-padding-x: 0px !default;
33
+ $kendo-wizard-content-padding-x: k-spacing(0) !default;
34
34
  /// The vertical padding of the Wizard content.
35
35
  /// @group wizard
36
- $kendo-wizard-content-padding-y: 0px !default;
36
+ $kendo-wizard-content-padding-y: k-spacing(0) !default;
37
37
  /// The text color of the Wizard content.
38
38
  /// @group wizard
39
39
  $kendo-wizard-content-text: var( --kendo-component-text, initial ) !default;
@@ -43,10 +43,10 @@ $kendo-wizard-content-bg: var( --kendo-component-bg, initial ) !default;
43
43
 
44
44
  /// The horizontal margin of the Wizard's Button container.
45
45
  /// @group wizard
46
- $kendo-wizard-buttons-margin-x: map.get( $kendo-spacing, 7 ) !default;
46
+ $kendo-wizard-buttons-margin-x: k-spacing(7) !default;
47
47
  /// The vertical margin of the Wizard Button container.
48
48
  /// @group wizard
49
- $kendo-wizard-buttons-margin-y: map.get( $kendo-spacing, 6 ) !default;
49
+ $kendo-wizard-buttons-margin-y: k-spacing(6) !default;
50
50
 
51
51
  /// The outline of the focused Wizard step.
52
52
  /// @group wizard