@progress/kendo-theme-fluent 12.0.0-dev.1 → 12.0.0-dev.3

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 (191) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-1-dark.css +1 -0
  3. package/dist/fluent-1-dark.scss +157 -0
  4. package/dist/fluent-1.css +1 -0
  5. package/dist/fluent-1.scss +157 -0
  6. package/dist/fluent-main-dark.css +1 -1
  7. package/dist/fluent-main-dark.scss +145 -145
  8. package/dist/fluent-main.css +1 -1
  9. package/dist/meta/sassdoc-data.json +12553 -15657
  10. package/dist/meta/sassdoc-raw-data.json +4305 -5755
  11. package/dist/meta/variables.json +2154 -2441
  12. package/lib/swatches/all.json +1 -1
  13. package/lib/swatches/fluent-1-dark.json +757 -0
  14. package/lib/swatches/fluent-1.json +757 -0
  15. package/lib/swatches/fluent-main-dark.json +151 -151
  16. package/lib/swatches/fluent-main.json +5 -5
  17. package/package.json +4 -4
  18. package/scss/action-buttons/_variables.scss +3 -3
  19. package/scss/action-sheet/_layout.scss +4 -4
  20. package/scss/action-sheet/_theme.scss +0 -16
  21. package/scss/action-sheet/_variables.scss +12 -12
  22. package/scss/adaptive/_theme.scss +1 -1
  23. package/scss/appbar/_theme.scss +9 -1
  24. package/scss/appbar/_variables.scss +21 -3
  25. package/scss/badge/_theme.scss +6 -0
  26. package/scss/badge/_variables.scss +5 -5
  27. package/scss/bottom-navigation/_layout.scss +0 -17
  28. package/scss/bottom-navigation/_theme.scss +4 -12
  29. package/scss/bottom-navigation/_variables.scss +0 -10
  30. package/scss/breadcrumb/_layout.scss +0 -12
  31. package/scss/breadcrumb/_theme.scss +30 -17
  32. package/scss/breadcrumb/_variables.scss +31 -31
  33. package/scss/bubble/_theme.scss +2 -2
  34. package/scss/bubble/_variables.scss +2 -2
  35. package/scss/button/_layout.scss +15 -20
  36. package/scss/button/_theme.scss +100 -94
  37. package/scss/button/_variables.scss +22 -62
  38. package/scss/calendar/_layout.scss +13 -60
  39. package/scss/calendar/_theme.scss +63 -91
  40. package/scss/calendar/_variables.scss +23 -32
  41. package/scss/captcha/_variables.scss +2 -2
  42. package/scss/card/_layout.scss +6 -0
  43. package/scss/card/_theme.scss +5 -0
  44. package/scss/card/_variables.scss +8 -8
  45. package/scss/chart-wizard/_variables.scss +1 -1
  46. package/scss/chat/_layout.scss +4 -18
  47. package/scss/chat/_theme.scss +10 -2
  48. package/scss/chat/_variables.scss +4 -4
  49. package/scss/checkbox/_layout.scss +6 -3
  50. package/scss/checkbox/_theme.scss +12 -0
  51. package/scss/checkbox/_variables.scss +8 -8
  52. package/scss/chip/_layout.scss +7 -11
  53. package/scss/chip/_theme.scss +43 -25
  54. package/scss/chip/_variables.scss +15 -24
  55. package/scss/coloreditor/_layout.scss +2 -2
  56. package/scss/coloreditor/_variables.scss +14 -14
  57. package/scss/colorgradient/_layout.scss +17 -1
  58. package/scss/colorgradient/_theme.scss +21 -16
  59. package/scss/colorgradient/_variables.scss +4 -4
  60. package/scss/colorpalette/_layout.scss +0 -2
  61. package/scss/colorpalette/_theme.scss +1 -9
  62. package/scss/colorpalette/_variables.scss +3 -24
  63. package/scss/column-menu/_variables.scss +6 -6
  64. package/scss/core/border-radii/_index.scss +4 -4
  65. package/scss/core/color-system/_palettes.scss +240 -556
  66. package/scss/core/color-system/_swatch.scss +144 -144
  67. package/scss/core/elevation/_index.scss +16 -16
  68. package/scss/core/typography/_index.scss +25 -1
  69. package/scss/dialog/_layout.scss +0 -24
  70. package/scss/dialog/_variables.scss +3 -23
  71. package/scss/dock-manager/_layout.scss +14 -2
  72. package/scss/dock-manager/_theme.scss +9 -0
  73. package/scss/dock-manager/_variables.scss +9 -9
  74. package/scss/drawer/_layout.scss +8 -4
  75. package/scss/drawer/_theme.scss +4 -2
  76. package/scss/drawer/_variables.scss +33 -20
  77. package/scss/dropzone/_layout.scss +1 -0
  78. package/scss/dropzone/_variables.scss +3 -3
  79. package/scss/expansion-panel/_layout.scss +1 -10
  80. package/scss/expansion-panel/_theme.scss +7 -3
  81. package/scss/expansion-panel/_variables.scss +14 -20
  82. package/scss/fab/_layout.scss +31 -16
  83. package/scss/fab/_theme.scss +16 -9
  84. package/scss/fab/_variables.scss +47 -54
  85. package/scss/filemanager/_theme.scss +8 -0
  86. package/scss/filemanager/_variables.scss +1 -1
  87. package/scss/filter/_layout.scss +3 -22
  88. package/scss/filter/_variables.scss +4 -1
  89. package/scss/floating-label/_layout.scss +0 -4
  90. package/scss/floating-label/_variables.scss +0 -4
  91. package/scss/forms/_layout.scss +0 -7
  92. package/scss/forms/_variables.scss +1 -5
  93. package/scss/gantt/_variables.scss +21 -21
  94. package/scss/grid/_layout.scss +12 -7
  95. package/scss/grid/_theme.scss +1 -1
  96. package/scss/grid/_variables.scss +4 -3
  97. package/scss/imageeditor/_theme.scss +4 -0
  98. package/scss/input/_layout.scss +47 -40
  99. package/scss/input/_theme.scss +46 -38
  100. package/scss/input/_variables.scss +37 -37
  101. package/scss/list/_layout.scss +13 -0
  102. package/scss/list/_variables.scss +54 -42
  103. package/scss/listbox/_theme.scss +1 -1
  104. package/scss/listview/_layout.scss +0 -14
  105. package/scss/listview/_theme.scss +0 -19
  106. package/scss/listview/_variables.scss +3 -37
  107. package/scss/loader/_layout.scss +4 -0
  108. package/scss/loader/_variables.scss +7 -7
  109. package/scss/mediaplayer/_layout.scss +6 -2
  110. package/scss/mediaplayer/_variables.scss +1 -1
  111. package/scss/menu/_layout.scss +9 -2
  112. package/scss/menu/_variables.scss +4 -4
  113. package/scss/messagebox/_layout.scss +4 -0
  114. package/scss/messagebox/_theme.scss +3 -0
  115. package/scss/messagebox/_variables.scss +6 -3
  116. package/scss/notification/_functions.scss +2 -2
  117. package/scss/notification/_theme.scss +0 -4
  118. package/scss/notification/_variables.scss +8 -8
  119. package/scss/pager/_layout.scss +2 -0
  120. package/scss/pager/_variables.scss +1 -1
  121. package/scss/panelbar/_layout.scss +17 -17
  122. package/scss/panelbar/_theme.scss +1 -13
  123. package/scss/panelbar/_variables.scss +15 -18
  124. package/scss/pdf-viewer/_variables.scss +1 -1
  125. package/scss/pivotgrid/_layout.scss +10 -14
  126. package/scss/popover/_layout.scss +3 -16
  127. package/scss/popover/_variables.scss +13 -16
  128. package/scss/popup/_variables.scss +2 -2
  129. package/scss/progressbar/_variables.scss +4 -4
  130. package/scss/prompt/_variables.scss +20 -20
  131. package/scss/radio/_layout.scss +3 -0
  132. package/scss/radio/_theme.scss +8 -0
  133. package/scss/radio/_variables.scss +6 -6
  134. package/scss/rating/_layout.scss +2 -1
  135. package/scss/rating/_theme.scss +2 -13
  136. package/scss/rating/_variables.scss +3 -6
  137. package/scss/scheduler/_layout.scss +0 -10
  138. package/scss/scheduler/_variables.scss +11 -11
  139. package/scss/signature/_layout.scss +0 -8
  140. package/scss/signature/_theme.scss +1 -1
  141. package/scss/signature/_variables.scss +2 -6
  142. package/scss/skeleton/_variables.scss +1 -1
  143. package/scss/slider/_layout.scss +19 -53
  144. package/scss/slider/_theme.scss +27 -0
  145. package/scss/slider/_variables.scss +7 -7
  146. package/scss/split-button/_layout.scss +0 -48
  147. package/scss/split-button/_variables.scss +6 -16
  148. package/scss/splitter/_variables.scss +15 -15
  149. package/scss/spreadsheet/_layout.scss +2 -159
  150. package/scss/spreadsheet/_theme.scss +5 -35
  151. package/scss/spreadsheet/_variables.scss +12 -40
  152. package/scss/stepper/_layout.scss +1 -5
  153. package/scss/stepper/_theme.scss +7 -1
  154. package/scss/stepper/_variables.scss +10 -10
  155. package/scss/suggestion/_layout.scss +9 -0
  156. package/scss/suggestion/_theme.scss +3 -3
  157. package/scss/suggestion/_variables.scss +2 -2
  158. package/scss/switch/_layout.scss +2 -1
  159. package/scss/switch/_variables.scss +9 -9
  160. package/scss/table/_layout.scss +3 -17
  161. package/scss/table/_variables.scss +10 -20
  162. package/scss/tabstrip/_layout.scss +47 -5
  163. package/scss/tabstrip/_theme.scss +1 -2
  164. package/scss/tabstrip/_variables.scss +11 -11
  165. package/scss/taskboard/_layout.scss +3 -2
  166. package/scss/taskboard/_theme.scss +5 -1
  167. package/scss/taskboard/_variables.scss +9 -6
  168. package/scss/timeline/_layout.scss +0 -4
  169. package/scss/timeline/_variables.scss +2 -5
  170. package/scss/timepicker/_layout.scss +0 -3
  171. package/scss/timeselector/_layout.scss +15 -3
  172. package/scss/timeselector/_theme.scss +1 -1
  173. package/scss/timeselector/_variables.scss +16 -16
  174. package/scss/toolbar/_theme.scss +6 -0
  175. package/scss/toolbar/_variables.scss +14 -14
  176. package/scss/tooltip/_layout.scss +0 -9
  177. package/scss/tooltip/_theme.scss +5 -0
  178. package/scss/tooltip/_variables.scss +5 -5
  179. package/scss/treelist/_layout.scss +1 -1
  180. package/scss/treeview/_layout.scss +0 -5
  181. package/scss/treeview/_theme.scss +2 -26
  182. package/scss/treeview/_variables.scss +49 -29
  183. package/scss/typography/_variables.scss +21 -21
  184. package/scss/upload/_layout.scss +16 -3
  185. package/scss/upload/_theme.scss +24 -0
  186. package/scss/upload/_variables.scss +10 -10
  187. package/scss/window/_layout.scss +10 -1
  188. package/scss/window/_theme.scss +7 -0
  189. package/scss/window/_variables.scss +8 -8
  190. package/scss/wizard/_layout.scss +3 -0
  191. package/scss/wizard/_variables.scss +3 -3
@@ -8,43 +8,43 @@ $kendo-button-border-width: var( --kendo-button-border-width, 1px ) !default;
8
8
 
9
9
  /// The horizontal padding of the small Button.
10
10
  /// @group button
11
- $kendo-button-sm-padding-x: var( --kendo-button-sm-padding-x, k-spacing(5) ) !default;
11
+ $kendo-button-sm-padding-x: var( --kendo-button-sm-padding-x, k-spacing(2) ) !default;
12
12
  /// The horizontal padding of the medium Button.
13
13
  /// @group button
14
- $kendo-button-md-padding-x: var( --kendo-button-md-padding-x, k-spacing(5) ) !default;
14
+ $kendo-button-md-padding-x: var( --kendo-button-md-padding-x, k-spacing(3) ) !default;
15
15
  /// The horizontal padding of the large Button.
16
16
  /// @group button
17
- $kendo-button-lg-padding-x: var( --kendo-button-lg-padding-x, k-spacing(5) ) !default;
17
+ $kendo-button-lg-padding-x: var( --kendo-button-lg-padding-x, k-spacing(4) ) !default;
18
18
 
19
19
  /// The vertical padding of the small Button.
20
20
  /// @group button
21
- $kendo-button-sm-padding-y: var( --kendo-button-sm-padding-y, k-spacing(1) ) !default;
21
+ $kendo-button-sm-padding-y: calc(var( --kendo-button-sm-padding-y, #{k-spacing(0.5)} ) + 1px) !default;
22
22
  /// The vertical padding of the medium Button.
23
23
  /// @group button
24
- $kendo-button-md-padding-y: var( --kendo-button-md-padding-y, k-spacing(1.5) ) !default;
24
+ $kendo-button-md-padding-y: calc(var( --kendo-button-md-padding-y, #{k-spacing(1)} ) + 1px) !default;
25
25
  /// The vertical padding of the large Button.
26
26
  /// @group button
27
- $kendo-button-lg-padding-y: var( --kendo-button-lg-padding-y, k-spacing(2) ) !default;
27
+ $kendo-button-lg-padding-y: calc(var( --kendo-button-lg-padding-y, #{k-spacing(2)} ) + 1px) !default;
28
28
 
29
29
  /// The font size of the small Button.
30
30
  /// @group button
31
- $kendo-button-sm-font-size: var( --kendo-font-size, inherit ) !default;
31
+ $kendo-button-sm-font-size: var( --kendo-font-size-sm, inherit ) !default;
32
32
  /// The font size of the medium Button.
33
33
  /// @group button
34
34
  $kendo-button-md-font-size: var( --kendo-font-size, inherit ) !default;
35
35
  /// The font size of the large Button.
36
36
  /// @group button
37
- $kendo-button-lg-font-size: var( --kendo-font-size, inherit ) !default;
37
+ $kendo-button-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
38
38
 
39
39
  /// The line height used along with the $kendo-font-size variable of the small Button.
40
40
  /// @group button
41
- $kendo-button-sm-line-height: var( --kendo-line-height, normal ) !default;
41
+ $kendo-button-sm-line-height: var( --kendo-line-height-lg, normal ) !default;
42
42
  /// The line height used along with the $kendo-font-size variable of the medium Button.
43
43
  /// @group button
44
44
  $kendo-button-md-line-height: var( --kendo-line-height, normal ) !default;
45
45
  /// The line height used along with the $kendo-font-size variable of the large Button.
46
46
  /// @group button
47
- $kendo-button-lg-line-height: var( --kendo-line-height, normal ) !default;
47
+ $kendo-button-lg-line-height: var( --kendo-line-height-sm, normal ) !default;
48
48
 
49
49
  /// The font family of the Button.
50
50
  /// @group button
@@ -52,7 +52,7 @@ $kendo-button-font-family: var( --kendo-font-family, inherit ) !default;
52
52
 
53
53
  /// The font weight of the Button.
54
54
  /// @group button
55
- $kendo-button-font-weight: var( --kendo-font-weight-bold, normal ) !default;
55
+ $kendo-button-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
56
56
 
57
57
  /// The calculated height of the Button.
58
58
  /// @group button
@@ -91,16 +91,9 @@ $kendo-button-sizes: (
91
91
  )
92
92
  ) !default;
93
93
 
94
- /// The content spacing of the Button.
95
- /// @group button
96
- $kendo-button-spacing: var( --kendo-button-spacing, k-spacing(2) ) !default;
97
-
98
- /// The offset of the focused Button.
99
- /// @group button
100
- $kendo-button-focus-offset: var( --kendo-button-focus-offset, k-spacing(0.5) ) !default;
101
94
  /// The Outline width of the focused Button.
102
95
  /// @group button
103
- $kendo-button-focus-outline-width: var( --kendo-button-focus-outline-width, 1px ) !default;
96
+ $kendo-button-focus-outline-width: var( --kendo-button-focus-outline-width, 2px ) !default;
104
97
  /// The outline style of the focused Button.
105
98
  /// @group button
106
99
  $kendo-button-focus-outline-style: var( --kendo-button-focus-outline-style, solid ) !default;
@@ -108,16 +101,10 @@ $kendo-button-focus-outline-style: var( --kendo-button-focus-outline-style, soli
108
101
  /// The offset of the flat focused Button.
109
102
  /// @group button
110
103
  $kendo-button-flat-focus-offset: var( --kendo-button-flat-focus-offset, 1px ) !default;
111
- /// The outline width of the flat focused Button.
112
- /// @group button
113
- $kendo-button-flat-focus-outline-width: var( --kendo-button-flat-focus-outline-width, k-spacing(0.5) ) !default;
114
104
 
115
105
  /// The offset of the link focused Button.
116
106
  /// @group button
117
107
  $kendo-button-link-focus-offset: var( --kendo-button-link-focus-offset, 0 ) !default;
118
- /// The outline width of the flat focused Button.
119
- /// @group button
120
- $kendo-button-link-focus-outline-width: var( --kendo-button-link-focus-outline-width, 1px ) !default;
121
108
 
122
109
  /// The opacity of the pulsing animation for the generating Button.
123
110
  /// @group button
@@ -147,7 +134,7 @@ $kendo-button-bg: var( --kendo-button-bg, k-color(base) ) !default;
147
134
  $kendo-button-text: var( --kendo-button-text, k-color(on-base) ) !default;
148
135
  /// The base border color of the Button.
149
136
  /// @group button
150
- $kendo-button-border: var( --kendo-button-border, k-color(border) ) !default;
137
+ $kendo-button-border: var( --kendo-button-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
151
138
  /// The base background gradient of the Button.
152
139
  /// @group button
153
140
  $kendo-button-gradient: linear-gradient( var( --kendo-button-gradient, transparent, transparent ) ) !default;
@@ -163,32 +150,14 @@ $kendo-button-hover-bg: var( --kendo-button-hover-bg, k-color(base-hover) ) !def
163
150
  $kendo-button-hover-text: var( --kendo-button-hover-text, k-color(on-base) ) !default;
164
151
  /// The base border color of the hovered Button.
165
152
  /// @group button
166
- $kendo-button-hover-border: var( --kendo-button-hover-border, k-color(border) ) !default;
153
+ $kendo-button-hover-border: var( --kendo-button-hover-border, color-mix( in srgb, k-color(border) 34%, transparent ) ) !default;
167
154
 
168
- /// The base background of the focused Button.
169
- /// @group button
170
- $kendo-button-focus-bg: var( --kendo-button-focus-bg, k-color(base) ) !default;
171
- /// The base text color of the focused Button.
172
- /// @group button
173
- $kendo-button-focus-text: var( --kendo-button-focus-text, k-color(on-base) ) !default;
174
155
  /// The base border color of the focused Button.
175
156
  /// @group button
176
- $kendo-button-focus-border: var( --kendo-button-focus-border, k-color(border) ) !default;
157
+ $kendo-button-focus-border: var( --kendo-button-focus-border, k-color(border-alt) ) !default;
177
158
  /// The base outline color of the focused Button.
178
159
  /// @group button
179
160
  $kendo-button-focus-outline: var( --kendo-button-focus-outline, k-color(on-base) ) !default;
180
- /// The base background of the focused Button when hovered.
181
- /// @group button
182
- $kendo-button-focus-hover-bg: var( --kendo-button-focus-hover-bg, k-color(base-hover) ) !default;
183
- /// The base text color of the focused Button when hovered.
184
- /// @group button
185
- $kendo-button-focus-hover-text: var( --kendo-button-focus-hover-text, k-color(on-base) ) !default;
186
- /// The base border color of the focused Button when hovered.
187
- /// @group button
188
- $kendo-button-focus-hover-border: var( --kendo-button-focus-hover-border, k-color(border) ) !default;
189
- /// The base outline color of the focused Button when hovered.
190
- /// @group button
191
- $kendo-button-focus-hover-outline: var( --kendo-button-focus-hover-outline, k-color(on-base) ) !default;
192
161
 
193
162
  /// The base background of the active Button.
194
163
  /// @group button
@@ -198,43 +167,34 @@ $kendo-button-active-bg: var( --kendo-button-active-bg, k-color(base-active) ) !
198
167
  $kendo-button-active-text: var( --kendo-button-active-text, k-color(on-base) ) !default;
199
168
  /// The base border color of the active Button.
200
169
  /// @group button
201
- $kendo-button-active-border: var( --kendo-button-active-border, k-color(border) ) !default;
202
- /// The base background of the active Button when hovered.
203
- /// @group button
204
- $kendo-button-active-hover-bg: var( --kendo-button-active-hover-bg, k-color(base-hover) ) !default;
205
- /// The base text color of the active Button when hovered.
206
- /// @group button
207
- $kendo-button-active-hover-text: var( --kendo-button-active-hover-text, k-color(on-base) ) !default;
208
- /// The base border color of the active Button when hovered.
209
- /// @group button
210
- $kendo-button-active-hover-border: var( --kendo-button-active-hover-border, k-color(border) ) !default;
170
+ $kendo-button-active-border: var( --kendo-button-active-border, $kendo-button-border ) !default;
211
171
 
212
172
  /// The base background of the disabled Button.
213
173
  /// @group button
214
- $kendo-button-disabled-bg: var( --kendo-button-disabled-bg, color-mix(in srgb, k-color(on-app-surface) 6%, transparent) ) !default;
174
+ $kendo-button-disabled-bg: var( --kendo-button-disabled-bg, color-mix(in srgb, k-color(on-app-surface) 7%, transparent) ) !default;
215
175
  /// The base text color of the disabled Button.
216
176
  /// @group button
217
- $kendo-button-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
177
+ $kendo-button-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
218
178
  /// The base border color of the disabled Button.
219
179
  /// @group button
220
- $kendo-button-disabled-border: var( --kendo-button-disabled-border, transparent ) !default;
180
+ $kendo-button-disabled-border: var( --kendo-button-disabled-border, color-mix(in srgb, k-color(on-app-surface) 14%, transparent) ) !default;
221
181
 
222
182
  /// The base background of the disabled outline Button.
223
183
  /// @group button
224
184
  $kendo-button-outline-disabled-bg: var( --kendo-button-disabled-bg, initial ) !default;
225
185
  /// The base text color of the disabled outline Button.
226
186
  /// @group button
227
- $kendo-button-outline-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
187
+ $kendo-button-outline-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
228
188
  /// The base border color of the disabled outline Button.
229
189
  /// @group button
230
- $kendo-button-outline-disabled-border: var( --kendo-button-disabled-border, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
190
+ $kendo-button-outline-disabled-border: var( --kendo-button-disabled-border, color-mix(in srgb, k-color(on-app-surface) 14%, transparent) ) !default;
231
191
 
232
192
  /// The base background of the disabled flat Button.
233
193
  /// @group button
234
194
  $kendo-button-flat-disabled-bg: var( --kendo-button-disabled-bg, initial ) !default;
235
195
  /// The base text color of the disabled flat Button.
236
196
  /// @group button
237
- $kendo-button-flat-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
197
+ $kendo-button-flat-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
238
198
  /// The base border color of the disabled flat Button.
239
199
  /// @group button
240
200
  $kendo-button-flat-disabled-border: var( --kendo-button-disabled-border, initial ) !default;
@@ -22,8 +22,18 @@
22
22
  text-align: center;
23
23
  }
24
24
 
25
+ .k-calendar-th {
26
+ box-sizing: border-box;
27
+ }
28
+
25
29
  .k-calendar-td {
26
30
  font-size: inherit;
31
+ padding: $kendo-calendar-cell-padding;
32
+ box-sizing: border-box;
33
+
34
+ &.k-selected {
35
+ border-width: 1px;
36
+ }
27
37
  }
28
38
 
29
39
  .k-calendar-header {
@@ -67,11 +77,6 @@
67
77
  }
68
78
  }
69
79
 
70
- .k-calendar .k-content.k-scrollable,
71
- .k-calendar .k-calendar-content.k-scrollable {
72
- @include hide-scrollbar-dir-agnostic();
73
- }
74
-
75
80
  .k-calendar-infinite {
76
81
  .k-calendar-header {
77
82
  margin-inline-start: calc( -1 * #{$kendo-infinite-calendar-view-padding-x} );
@@ -92,63 +97,11 @@
92
97
  flex-direction: column;
93
98
  }
94
99
  }
95
- }
96
-
97
- .k-range-start,
98
- .k-range-end,
99
- .k-range-mid {
100
- position: relative;
101
100
 
102
- &::before {
103
- content: "";
104
- position: absolute;
105
- inset: 0px;
106
- border-style: solid;
101
+ .k-range-start,
102
+ .k-range-end {
103
+ border-radius: $kendo-calendar-range-cell-border-radius;
107
104
  }
108
-
109
- &:hover .k-link,
110
- &.k-hover .k-link {
111
- border-radius: 0;
112
- }
113
- }
114
-
115
- .k-range-mid::before {
116
- border-width: var( --kendo-calendar-range-border-width, 1px );
117
- border-inline-width: 0;
118
- border-radius: 0;
119
- }
120
-
121
- .k-range-start::before,
122
- .k-range-mid:not(
123
- .k-range-start + .k-range-mid,
124
- .k-range-mid + .k-range-mid,
125
- :last-child
126
- )::before {
127
- border-width: var( --kendo-calendar-range-border-width, 1px );
128
- border-inline-end-width: 0;
129
- border-radius: 0;
130
-
131
- @if ( $kendo-enable-rounded ) {
132
- border-start-start-radius: $kendo-calendar-cell-border-radius;
133
- border-end-start-radius: $kendo-calendar-cell-border-radius;
134
- }
135
- }
136
-
137
- .k-range-end::before,
138
- .k-range-mid:last-child::before {
139
- border-width: var( --kendo-calendar-range-border-width, 1px );
140
- border-inline-start-width: 0;
141
- border-radius: 0;
142
-
143
- @if ( $kendo-enable-rounded ) {
144
- border-start-end-radius: $kendo-calendar-cell-border-radius;
145
- border-end-end-radius: $kendo-calendar-cell-border-radius;
146
- }
147
- }
148
-
149
- .k-range-start.k-range-end::before {
150
- border-width: var( --kendo-calendar-range-border-width, 1px );
151
- border-radius: $kendo-calendar-cell-border-radius;
152
105
  }
153
106
 
154
107
  .k-calendar-navigation::before,
@@ -19,57 +19,83 @@
19
19
  .k-calendar-td {
20
20
 
21
21
  &.k-today .k-link {
22
- color: $kendo-calendar-today-text;
23
- background-color: $kendo-calendar-today-bg;
22
+ @include fill(
23
+ $kendo-calendar-today-text,
24
+ $kendo-calendar-today-bg
25
+ );
24
26
  box-shadow: none;
25
27
  }
26
28
 
27
- &.k-today:hover .k-link,
28
- &.k-today.k-hover .k-link {
29
- color: $kendo-calendar-today-hover-text;
30
- background-color: $kendo-calendar-today-hover-bg;
29
+ &:hover,
30
+ &.k-hover {
31
+ @include fill(
32
+ $kendo-calendar-cell-hover-text,
33
+ $kendo-calendar-cell-hover-bg
34
+ );
31
35
  }
32
36
 
33
- &.k-weekend .k-link {
34
- color: $kendo-calendar-weekend-text;
35
- background-color: $kendo-calendar-weekend-bg;
37
+ &:focus,
38
+ &.k-focus {
39
+ box-shadow: $kendo-calendar-cell-focus-shadow;
36
40
  }
37
41
 
38
- &.k-other-month .k-link {
39
- color: $kendo-calendar-other-month-text;
40
- background-color: $kendo-calendar-other-month-bg;
42
+
43
+ &.k-selected {
44
+ @include fill(
45
+ $kendo-calendar-cell-selected-text,
46
+ $kendo-calendar-cell-selected-bg,
47
+ $kendo-calendar-cell-selected-border
48
+ );
49
+ box-shadow: $kendo-calendar-cell-selected-shadow;
41
50
  }
42
51
 
43
- &:hover .k-link,
44
- &.k-hover .k-link {
45
- color: $kendo-calendar-cell-hover-text;
46
- background-color: $kendo-calendar-cell-hover-bg;
52
+ &.k-selected:focus,
53
+ &.k-selected.k-focus {
54
+ box-shadow: $kendo-calendar-cell-selected-focus-shadow;
47
55
  }
48
56
 
49
- &:focus .k-link,
50
- &.k-focus .k-link {
51
- box-shadow: $kendo-calendar-cell-focus-shadow;
57
+ &.k-selected:hover,
58
+ &.k-selected.k-hover {
59
+ @include fill(
60
+ $kendo-calendar-cell-selected-hover-text,
61
+ $kendo-calendar-cell-selected-hover-bg
62
+ );
52
63
  }
53
64
 
54
- &.k-selected .k-link{
55
- color: $kendo-calendar-cell-selected-text;
56
- background-color: $kendo-calendar-cell-selected-bg;
57
- box-shadow: $kendo-calendar-cell-selected-shadow;
65
+ &.k-today:hover .k-link,
66
+ &.k-today.k-hover .k-link {
67
+ @include fill(
68
+ $kendo-calendar-today-hover-text,
69
+ $kendo-calendar-today-hover-bg
70
+ );
58
71
  }
59
72
 
60
- &.k-selected:hover .k-link,
61
- &.k-selected.k-hover .k-link {
62
- color: $kendo-calendar-cell-selected-hover-text;
63
- background-color: $kendo-calendar-cell-selected-hover-bg;
73
+ &.k-weekend .k-link {
74
+ @include fill(
75
+ $kendo-calendar-weekend-text,
76
+ $kendo-calendar-weekend-bg
77
+ );
78
+ }
79
+
80
+ &.k-other-month .k-link {
81
+ @include fill(
82
+ $kendo-calendar-other-month-text,
83
+ $kendo-calendar-other-month-bg
84
+ );
64
85
  }
65
86
 
87
+ &:focus .k-link,
88
+ &.k-focus .k-link,
66
89
  &.k-selected:focus .k-link,
67
90
  &.k-selected.k-focus .k-link {
68
- box-shadow: $kendo-calendar-cell-selected-focus-shadow;
91
+ box-shadow: none;
69
92
  }
70
93
 
71
94
  &.k-disabled {
72
- color: color-mix(in srgb, #{k-color(on-app-surface)} 46%, transparent);
95
+ @include fill(
96
+ color-mix(in srgb, k-color(on-app-surface) 30%, transparent),
97
+ $kendo-calendar-bg
98
+ );
73
99
  }
74
100
  }
75
101
 
@@ -81,39 +107,15 @@
81
107
  }
82
108
  }
83
109
 
84
- .k-calendar[dir="rtl"],
85
- .k-rtl .k-calendar {
86
- .k-calendar-td {
87
-
88
- &.k-range-start:hover .k-link,
89
- &.k-range-start.k-hover .k-link {
90
- box-shadow: $kendo-calendar-end-range-hover-shadow;
91
-
92
- }
93
-
94
- &.k-range-mid:last-child:hover .k-link,
95
- &.k-range-mid:last-child.k-hover .k-link,
96
- &.k-range-end:hover .k-link,
97
- &.k-range-end.k-hover .k-link {
98
- box-shadow: $kendo-calendar-start-range-hover-shadow;
99
- }
100
-
101
- &.k-range-mid:first-child:hover .k-link,
102
- &.k-range-mid:first-child.k-hover .k-link,
103
- &.k-alt + .k-range-mid:hover .k-link,
104
- &.k-alt + .k-range-mid.k-hover .k-link {
105
- box-shadow: $kendo-calendar-end-range-hover-shadow;
106
- }
107
- }
108
- }
109
-
110
110
  .k-calendar .k-calendar-td {
111
111
 
112
112
  &.k-range-start,
113
113
  &.k-range-end,
114
114
  &.k-range-mid {
115
- background-color: $kendo-calendar-range-bg;
116
- color: $kendo-calendar-range-text;
115
+ @include fill(
116
+ $kendo-calendar-range-text,
117
+ $kendo-calendar-range-bg
118
+ );
117
119
 
118
120
  .k-link {
119
121
  background-color: transparent;
@@ -124,12 +126,11 @@
124
126
  }
125
127
  }
126
128
 
127
- &::before {
128
- border-color: $kendo-calendar-range-border;
129
- }
130
-
131
129
  &.k-disabled {
132
- color: color-mix(in srgb, #{k-color(on-app-surface)} 46%, transparent);
130
+ @include fill(
131
+ color-mix(in srgb, k-color(on-app-surface) 30%, transparent),
132
+ $kendo-calendar-bg
133
+ );
133
134
  }
134
135
 
135
136
  &:hover .k-link,
@@ -137,35 +138,6 @@
137
138
  background-color: $kendo-calendar-cell-selected-hover-bg;
138
139
  }
139
140
  }
140
-
141
- &.k-range-start:hover .k-link,
142
- &.k-range-start.k-hover .k-link {
143
- box-shadow: $kendo-calendar-start-range-hover-shadow;
144
-
145
- }
146
-
147
- &.k-range-mid:hover .k-link,
148
- &.k-range-mid.k-hover .k-link {
149
- box-shadow: $kendo-calendar-mid-range-hover-shadow;
150
- }
151
-
152
- &.k-range-mid:last-child:hover .k-link,
153
- &.k-range-mid:last-child.k-hover .k-link,
154
- &.k-range-end:hover .k-link,
155
- &.k-range-end.k-hover .k-link {
156
- box-shadow: $kendo-calendar-end-range-hover-shadow;
157
- }
158
-
159
- &.k-range-mid:first-child:hover .k-link,
160
- &.k-range-mid:first-child.k-hover .k-link,
161
- &.k-alt + .k-range-mid:hover .k-link,
162
- &.k-alt + .k-range-mid.k-hover .k-link {
163
- box-shadow: $kendo-calendar-start-range-hover-shadow;
164
- }
165
-
166
- &.k-range-start.k-range-end:hover .k-link {
167
- box-shadow: $kendo-calendar-start-end-range-hover-shadow;
168
- }
169
141
  }
170
142
 
171
143
  }
@@ -19,7 +19,10 @@ $kendo-calendar-border-radius: var( --kendo-calendar-border-radius, 0 ) !default
19
19
 
20
20
  /// The size of the calendar cell.
21
21
  /// @group calendar
22
- $kendo-calendar-cell-size: var( --kendo-calendar-cell-size, 28px ) !default;
22
+ $kendo-calendar-cell-size: var( --kendo-calendar-cell-size, 32px ) !default;
23
+ /// The spacing of the calendar cell.
24
+ /// @group calendar
25
+ $kendo-calendar-cell-padding: var( --kendo-calendar-cell-padding, k-spacing(0.5) ) !default;
23
26
 
24
27
  /// The background color of the Calendar.
25
28
  /// @group calendar
@@ -75,10 +78,10 @@ $kendo-calendar-cell-border-radius: var( --kendo-calendar-cell-border-radius, va
75
78
 
76
79
  /// The horizontal padding of the calendar header cell.
77
80
  /// @group calendar
78
- $kendo-calendar-header-cell-padding-x: var( --kendo-calendar-header-cell-padding-x, k-spacing(0) ) !default;
81
+ $kendo-calendar-header-cell-padding-x: var( --kendo-calendar-header-cell-padding-x, k-spacing(0.5) ) !default;
79
82
  /// Th vertical padding of the calendar header cell.
80
83
  /// @group calendar
81
- $kendo-calendar-header-cell-padding-y: var( --kendo-calendar-header-cell-padding-y, k-spacing(0) ) !default;
84
+ $kendo-calendar-header-cell-padding-y: var( --kendo-calendar-header-cell-padding-y, k-spacing(0.5) ) !default;
82
85
  /// The width of the calendar header cell.
83
86
  /// @group calendar
84
87
  $kendo-calendar-header-cell-width: var( --kendo-calendar-header-cell-width, #{$kendo-calendar-cell-size} ) !default;
@@ -140,22 +143,22 @@ $kendo-calendar-weekend-text: var( --kendo-calendar-weekend-text, inherit ) !def
140
143
 
141
144
  /// The text color of the calendar today cell.
142
145
  /// @group calendar
143
- $kendo-calendar-today-text: var( --kendo-calendar-today-text, k-color(app-surface) ) !default; // use contrast function
146
+ $kendo-calendar-today-text: var( --kendo-calendar-today-text, k-color(on-primary) ) !default; // use contrast function
144
147
  /// The background color of the calendar today cell.
145
148
  /// @group calendar
146
149
  $kendo-calendar-today-bg: var( --kendo-calendar-today-bg, k-color(primary) ) !default;
147
150
  /// The text color of the calendar today cell when hovered.
148
151
  /// @group calendar
149
- $kendo-calendar-today-hover-text: var( --kendo-calendar-today-hover-text, k-color(app-surface) ) !default; // use contrast function
152
+ $kendo-calendar-today-hover-text: var( --kendo-calendar-today-hover-text, k-color(on-primary) ) !default; // use contrast function
150
153
  /// The background color of the calendar today cell when hovered.
151
154
  /// @group calendar
152
- $kendo-calendar-today-hover-bg: var( --kendo-calendar-today-hover-bg, k-color(primary-hover) ) !default;
155
+ $kendo-calendar-today-hover-bg: var( --kendo-calendar-today-hover-bg, $kendo-calendar-today-bg ) !default;
153
156
  /// The border radius of the calendar today cell.
154
157
  /// @group calendar
155
158
  $kendo-calendar-today-border-radius: var( --kendo-calendar-today-border-radius, 9999px ) !default;
156
159
  /// The font weight of the current day in the Calendar.
157
160
  /// @group calendar
158
- $kendo-calendar-today-font-weight: var( --kendo-calendar-today-font-weight, var( --kendo-calendar-font-weight-bold, var( --kendo-font-weight-bold, normal ) ) ) !default;
161
+ $kendo-calendar-today-font-weight: var( --kendo-calendar-today-font-weight, var( --kendo-calendar-font-weight-normal, var( --kendo-font-weight-normal, normal ) ) ) !default;
159
162
  /// The box shadow of the current day in the Calendar.
160
163
  /// @group calendar
161
164
  $kendo-calendar-today-box-shadow: var( --kendo-calendar-today-box-shadow, null ) !default;
@@ -172,38 +175,38 @@ $kendo-calendar-week-number-text: var( --kendo-calendar-week-number-text, k-colo
172
175
  $kendo-calendar-other-month-bg: var( --kendo-calendar-other-month-bg, inherit ) !default;
173
176
  /// The text color of the other months calendar cells.
174
177
  /// @group calendar
175
- $kendo-calendar-other-month-text: var( --kendo-calendar-other-month-text, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
178
+ $kendo-calendar-other-month-text: var( --kendo-calendar-other-month-text, k-color(subtle)) !default;
176
179
 
177
180
  /// The background color of the calendar cells when hovered.
178
181
  /// @group calendar
179
- $kendo-calendar-cell-hover-bg: var( --kendo-calendar-cell-hover-bg, k-color(base-hover) ) !default;
182
+ $kendo-calendar-cell-hover-bg: var( --kendo-calendar-cell-hover-bg, k-color(primary-subtle) ) !default;
180
183
  /// The text color of the calendar cells when hovered.
181
184
  /// @group calendar
182
185
  $kendo-calendar-cell-hover-text: var( --kendo-calendar-cell-hover-text, k-color(on-base) ) !default;
183
186
 
184
187
  /// The background color of the selected calendar cell.
185
188
  /// @group calendar
186
- $kendo-calendar-cell-selected-bg: var( --kendo-calendar-cell-selected-bg, k-color(base-active) ) !default;
189
+ $kendo-calendar-cell-selected-bg: var( --kendo-calendar-cell-selected-bg, k-color(primary-subtle-hover) ) !default;
187
190
  /// The text color of the selected calendar cell.
188
191
  /// @group calendar
189
192
  $kendo-calendar-cell-selected-text: var( --kendo-calendar-cell-selected-text, k-color(on-base) ) !default;
190
193
  /// The border color of the selected calendar cell.
191
194
  /// @group calendar
192
- $kendo-calendar-cell-selected-border: var( --kendo-calendar-cell-selected-border, color-mix(in srgb, k-color(border-alt) 76%, transparent) ) !default;
195
+ $kendo-calendar-cell-selected-border: var( --kendo-calendar-cell-selected-border, k-color(primary-on-surface) ) !default;
193
196
  /// The shadow of the selected calendar cell.
194
197
  /// @group calendar
195
- $kendo-calendar-cell-selected-shadow: var( --kendo-calendar-cell-selected-shadow, inset 0 0 0 1px #{$kendo-calendar-cell-selected-border} ) !default;
198
+ $kendo-calendar-cell-selected-shadow: var( --kendo-calendar-cell-selected-shadow, null ) !default;
196
199
 
197
200
  /// The background color of the selected calendar cell when hovered.
198
201
  /// @group calendar
199
- $kendo-calendar-cell-selected-hover-bg: var( --kendo-calendar-cell-selected-hover-bg, k-color(base-subtle-active) ) !default;
202
+ $kendo-calendar-cell-selected-hover-bg: var( --kendo-calendar-cell-selected-hover-bg, k-color(primary-subtle-hover) ) !default;
200
203
  /// The text color of the selected calendar cell when hovered.
201
204
  /// @group calendar
202
205
  $kendo-calendar-cell-selected-hover-text: var( --kendo-calendar-cell-selected-hover-text, k-color(on-base) ) !default;
203
206
 
204
207
  /// The shadow of the selected calendar cell when focused.
205
208
  /// @group calendar
206
- $kendo-calendar-cell-focus-shadow: var( --kendo-calendar-cell-focus-shadow, inset 0 0 0 1px k-color(base-emphasis) ) !default;
209
+ $kendo-calendar-cell-focus-shadow: var( --kendo-calendar-cell-focus-shadow, inset 0 0 0 2px k-color(primary) ) !default;
207
210
  /// The shadow of the selected calendar cell when selected and focused.
208
211
  /// @group calendar
209
212
  $kendo-calendar-cell-selected-focus-shadow: var( --kendo-calendar-cell-selected-focus-shadow, #{$kendo-calendar-cell-focus-shadow} ) !default;
@@ -260,26 +263,13 @@ $kendo-infinite-calendar-view-height: var( --kendo-infinite-calendar-view-height
260
263
  // Range calendar
261
264
  /// The background color of the range selection in the Calendar.
262
265
  /// @group calendar
263
- $kendo-calendar-range-bg: var( --kendo-calendar-range-bg, k-color(base-active) ) !default;
266
+ $kendo-calendar-range-bg: var( --kendo-calendar-range-bg, k-color(primary-subtle-hover) ) !default;
264
267
  /// The text color of the range selection in the Calendar.
265
268
  /// @group calendar
266
269
  $kendo-calendar-range-text: var( --kendo-calendar-range-text, inherit ) !default;
267
- /// The border color of the range selection in the Calendar.
268
- /// @group calendar
269
- $kendo-calendar-range-border: var( --kendo-calendar-range-border, k-color(base-emphasis) ) !default;
270
- /// The shadow of the hovered start range selection in the Calendar.
271
- /// @group calendar
272
- $kendo-calendar-start-range-hover-shadow: var( --kendo-calendar-start-range-hover-shadow, inset 1px -1px 0 0 k-color(base-emphasis), inset 0 1px 0 0 k-color(base-emphasis) ) !default;
273
- /// The shadow of the hovered mid range selection in the Calendar.
270
+ /// The border radius of the range cells in the Calendar.
274
271
  /// @group calendar
275
- $kendo-calendar-mid-range-hover-shadow: var( --kendo-calendar-mid-range-hover-shadow, inset 0 -1px 0 0 k-color(base-emphasis), inset 0 1px 0 0 k-color(base-emphasis) ) !default;
276
- /// The shadow of the hovered end range selection in the Calendar.
277
- /// @group calendar
278
- $kendo-calendar-end-range-hover-shadow: var( --kendo-calendar-end-range-hover-shadow, inset -1px -1px 0 0 k-color(base-emphasis), inset 0 1px 0 0 k-color(base-emphasis) ) !default;
279
- /// The shadow of the hovered start-end range selection in the Calendar.
280
- /// @group calendar
281
- $kendo-calendar-start-end-range-hover-shadow: var( --kendo-calendar-start-end-range-hover-shadow, inset 1px -1px 0 0 k-color(base-emphasis), inset -1px 1px 0 0 k-color(base-emphasis) ) !default;
282
-
272
+ $kendo-calendar-range-cell-border-radius: k-border-radius(md) !default;
283
273
 
284
274
  // Calendar sizes
285
275
 
@@ -310,7 +300,7 @@ $kendo-calendar-md-font-size: var( --kendo-calendar-md-font-size, var( --kendo-c
310
300
  $kendo-calendar-md-line-height: var( --kendo-calendar-md-line-height, var( --kendo-calendar-line-height, var( --kendo-line-height, normal ) ) ) !default;
311
301
  /// The size of the cells in the medium Calendar.
312
302
  /// @group calendar
313
- $kendo-calendar-md-cell-size: var( --kendo-calendar-md-cell-size, 28px ) !default;
303
+ $kendo-calendar-md-cell-size: var( --kendo-calendar-md-cell-size, $kendo-calendar-cell-size ) !default;
314
304
  /// The horizontal padding of the cells in the medium Calendar.
315
305
  /// @group calendar
316
306
  $kendo-calendar-md-cell-padding-x: var( --kendo-calendar-md-cell-padding-x, k-spacing(1) ) !default;
@@ -329,7 +319,7 @@ $kendo-calendar-lg-font-size: var( --kendo-calendar-lg-font-size, var( --kendo-c
329
319
  $kendo-calendar-lg-line-height: var( --kendo-calendar-lg-line-height, var( --kendo-calendar-line-height, var( --kendo-line-height, normal ) ) ) !default;
330
320
  /// The size of the cells in the large Calendar.
331
321
  /// @group calendar
332
- $kendo-calendar-lg-cell-size: var( --kendo-calendar-lg-cell-size, 32px ) !default;
322
+ $kendo-calendar-lg-cell-size: var( --kendo-calendar-lg-cell-size, 36px ) !default;
333
323
  /// The horizontal padding of the cells in the large Calendar.
334
324
  /// @group calendar
335
325
  $kendo-calendar-lg-cell-padding-x: var( --kendo-calendar-lg-cell-padding-x, k-spacing(1) ) !default;
@@ -431,6 +421,7 @@ $kendo-calendar-sizes: (
431
421
  $kendo-calendar-navigation-hover-text: $kendo-calendar-navigation-hover-text,
432
422
  $kendo-calendar-navigation-marker-text: $kendo-calendar-navigation-marker-text,
433
423
  $kendo-calendar-range-bg: $kendo-calendar-range-bg,
424
+ $kendo-calendar-range-cell-border-radius: $kendo-calendar-range-cell-border-radius,
434
425
  $kendo-infinite-calendar-header-padding-x: $kendo-infinite-calendar-header-padding-x,
435
426
  $kendo-infinite-calendar-header-padding-y: $kendo-infinite-calendar-header-padding-y,
436
427
  $kendo-infinite-calendar-view-padding-x: $kendo-infinite-calendar-view-padding-x,