@progress/kendo-theme-fluent 11.2.1-dev.0 → 11.3.0-dev.0

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 (341) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-main-dark.css +1 -1
  3. package/dist/fluent-main.css +1 -1
  4. package/dist/meta/sassdoc-data.json +24099 -27323
  5. package/dist/meta/sassdoc-raw-data.json +8421 -7718
  6. package/dist/meta/variables.json +7880 -8036
  7. package/lib/swatches/all.json +1 -1
  8. package/lib/swatches/fluent-main-dark.json +1 -1
  9. package/lib/swatches/fluent-main.json +1 -1
  10. package/package.json +4 -4
  11. package/scss/action-buttons/_layout.scss +2 -55
  12. package/scss/action-buttons/_theme.scss +2 -11
  13. package/scss/action-buttons/_variables.scss +17 -7
  14. package/scss/action-sheet/_layout.scss +11 -399
  15. package/scss/action-sheet/_theme.scss +14 -69
  16. package/scss/action-sheet/_variables.scss +129 -66
  17. package/scss/adaptive/_index.scss +0 -3
  18. package/scss/adaptive/_layout.scss +2 -457
  19. package/scss/adaptive/_theme.scss +2 -75
  20. package/scss/adaptive/_variables.scss +39 -18
  21. package/scss/appbar/_layout.scss +2 -114
  22. package/scss/appbar/_theme.scss +9 -20
  23. package/scss/appbar/_variables.scss +38 -71
  24. package/scss/avatar/_layout.scss +2 -73
  25. package/scss/avatar/_theme.scss +2 -16
  26. package/scss/avatar/_variables.scss +24 -82
  27. package/scss/badge/_layout.scss +3 -146
  28. package/scss/badge/_theme.scss +8 -21
  29. package/scss/badge/_variables.scss +41 -88
  30. package/scss/bottom-navigation/_layout.scss +5 -108
  31. package/scss/bottom-navigation/_theme.scss +73 -74
  32. package/scss/bottom-navigation/_variables.scss +58 -117
  33. package/scss/breadcrumb/_layout.scss +8 -132
  34. package/scss/breadcrumb/_theme.scss +15 -71
  35. package/scss/breadcrumb/_variables.scss +133 -71
  36. package/scss/button/_layout.scss +18 -182
  37. package/scss/button/_theme.scss +132 -113
  38. package/scss/button/_variables.scss +156 -301
  39. package/scss/calendar/_layout.scss +27 -383
  40. package/scss/calendar/_theme.scss +55 -127
  41. package/scss/calendar/_variables.scss +185 -100
  42. package/scss/captcha/_layout.scss +2 -59
  43. package/scss/captcha/_theme.scss +2 -9
  44. package/scss/captcha/_variables.scss +25 -9
  45. package/scss/card/_layout.scss +9 -314
  46. package/scss/card/_theme.scss +3 -103
  47. package/scss/card/_variables.scss +110 -60
  48. package/scss/chart-wizard/_layout.scss +2 -38
  49. package/scss/chart-wizard/_theme.scss +2 -28
  50. package/scss/chart-wizard/_variables.scss +25 -11
  51. package/scss/chat/_index.scss +0 -3
  52. package/scss/chat/_layout.scss +26 -450
  53. package/scss/chat/_theme.scss +9 -80
  54. package/scss/chat/_variables.scss +143 -71
  55. package/scss/checkbox/_layout.scss +14 -191
  56. package/scss/checkbox/_theme.scss +11 -100
  57. package/scss/checkbox/_variables.scss +165 -78
  58. package/scss/chip/_layout.scss +11 -137
  59. package/scss/chip/_theme.scss +56 -57
  60. package/scss/chip/_variables.scss +99 -94
  61. package/scss/color-preview/_layout.scss +4 -64
  62. package/scss/color-preview/_theme.scss +2 -27
  63. package/scss/color-preview/_variables.scss +23 -9
  64. package/scss/coloreditor/_layout.scss +21 -109
  65. package/scss/coloreditor/_theme.scss +3 -24
  66. package/scss/coloreditor/_variables.scss +92 -57
  67. package/scss/colorgradient/_layout.scss +12 -196
  68. package/scss/colorgradient/_theme.scss +27 -65
  69. package/scss/colorgradient/_variables.scss +134 -76
  70. package/scss/colorpalette/_layout.scss +6 -40
  71. package/scss/colorpalette/_theme.scss +10 -20
  72. package/scss/colorpalette/_variables.scss +39 -21
  73. package/scss/colorpicker/_layout.scss +2 -11
  74. package/scss/colorpicker/_theme.scss +2 -1
  75. package/scss/column-menu/_layout.scss +5 -56
  76. package/scss/column-menu/_theme.scss +1 -24
  77. package/scss/column-menu/_variables.scss +38 -17
  78. package/scss/combobox/_layout.scss +4 -2
  79. package/scss/combobox/_theme.scss +4 -2
  80. package/scss/core/functions/index.import.scss +1 -0
  81. package/scss/dataviz/_layout.scss +6 -543
  82. package/scss/dataviz/_theme.scss +12 -76
  83. package/scss/dataviz/_variables.scss +152 -33
  84. package/scss/daterangepicker/_layout.scss +2 -37
  85. package/scss/daterangepicker/_theme.scss +16 -7
  86. package/scss/daterangepicker/_variables.scss +9 -0
  87. package/scss/datetimepicker/_layout.scss +3 -41
  88. package/scss/datetimepicker/_theme.scss +3 -2
  89. package/scss/datetimepicker/_variables.scss +5 -1
  90. package/scss/dialog/_layout.scss +8 -53
  91. package/scss/dialog/_theme.scss +5 -25
  92. package/scss/dialog/_variables.scss +31 -60
  93. package/scss/dock-manager/_layout.scss +9 -193
  94. package/scss/dock-manager/_theme.scss +6 -28
  95. package/scss/dock-manager/_variables.scss +74 -36
  96. package/scss/draggable/_layout.scss +13 -59
  97. package/scss/draggable/_theme.scss +10 -15
  98. package/scss/draggable/_variables.scss +45 -23
  99. package/scss/drawer/_layout.scss +7 -198
  100. package/scss/drawer/_theme.scss +25 -52
  101. package/scss/drawer/_variables.scss +73 -45
  102. package/scss/dropdowngrid/_layout.scss +3 -11
  103. package/scss/dropdowngrid/_theme.scss +3 -3
  104. package/scss/dropdownlist/_layout.scss +4 -28
  105. package/scss/dropdownlist/_theme.scss +3 -7
  106. package/scss/dropdowntree/_layout.scss +2 -35
  107. package/scss/dropdowntree/_theme.scss +3 -4
  108. package/scss/dropdowntree/_variables.scss +4 -3
  109. package/scss/dropzone/_layout.scss +7 -31
  110. package/scss/dropzone/_theme.scss +2 -30
  111. package/scss/dropzone/_variables.scss +43 -21
  112. package/scss/editor/_layout.scss +3 -588
  113. package/scss/editor/_theme.scss +12 -78
  114. package/scss/editor/_variables.scss +45 -26
  115. package/scss/expansion-panel/_layout.scss +22 -57
  116. package/scss/expansion-panel/_theme.scss +13 -36
  117. package/scss/expansion-panel/_variables.scss +49 -28
  118. package/scss/fab/_layout.scss +11 -134
  119. package/scss/fab/_theme.scss +37 -126
  120. package/scss/fab/_variables.scss +104 -56
  121. package/scss/filemanager/_layout.scss +2 -240
  122. package/scss/filemanager/_theme.scss +8 -89
  123. package/scss/filemanager/_variables.scss +109 -56
  124. package/scss/filter/_layout.scss +8 -71
  125. package/scss/filter/_theme.scss +5 -14
  126. package/scss/filter/_variables.scss +20 -10
  127. package/scss/floating-label/_layout.scss +3 -75
  128. package/scss/floating-label/_theme.scss +4 -20
  129. package/scss/floating-label/_variables.scss +35 -17
  130. package/scss/forms/_index.scss +0 -1
  131. package/scss/forms/_layout.scss +5 -302
  132. package/scss/forms/_theme.scss +5 -24
  133. package/scss/forms/_variables.scss +73 -39
  134. package/scss/gantt/_layout.scss +5 -801
  135. package/scss/gantt/_theme.scss +17 -236
  136. package/scss/gantt/_variables.scss +142 -73
  137. package/scss/grid/_layout.scss +60 -1276
  138. package/scss/grid/_theme.scss +35 -343
  139. package/scss/grid/_variables.scss +306 -183
  140. package/scss/gridlayout/_layout.scss +1 -6
  141. package/scss/gridlayout/_theme.scss +1 -6
  142. package/scss/icons/_layout.scss +4 -33
  143. package/scss/icons/_theme.scss +7 -1
  144. package/scss/icons/_variables.scss +35 -9
  145. package/scss/imageeditor/_layout.scss +2 -152
  146. package/scss/imageeditor/_theme.scss +5 -42
  147. package/scss/imageeditor/_variables.scss +66 -32
  148. package/scss/index.scss +2 -1
  149. package/scss/input/_layout.scss +36 -468
  150. package/scss/input/_theme.scss +52 -128
  151. package/scss/input/_variables.scss +153 -208
  152. package/scss/list/_layout.scss +3 -252
  153. package/scss/list/_theme.scss +10 -81
  154. package/scss/list/_variables.scss +176 -92
  155. package/scss/listbox/_layout.scss +2 -80
  156. package/scss/listbox/_theme.scss +5 -8
  157. package/scss/listbox/_variables.scss +28 -13
  158. package/scss/listgroup/_layout.scss +2 -174
  159. package/scss/listgroup/_theme.scss +2 -8
  160. package/scss/listgroup/_variables.scss +23 -10
  161. package/scss/listview/_layout.scss +6 -133
  162. package/scss/listview/_theme.scss +8 -37
  163. package/scss/listview/_variables.scss +66 -39
  164. package/scss/loader/_layout.scss +15 -572
  165. package/scss/loader/_theme.scss +2 -14
  166. package/scss/loader/_variables.scss +90 -92
  167. package/scss/map/_layout.scss +7 -121
  168. package/scss/map/_theme.scss +5 -17
  169. package/scss/map/_variables.scss +40 -22
  170. package/scss/maskedtextbox/_layout.scss +3 -3
  171. package/scss/maskedtextbox/_theme.scss +3 -3
  172. package/scss/mediaplayer/_layout.scss +5 -72
  173. package/scss/mediaplayer/_theme.scss +5 -15
  174. package/scss/mediaplayer/_variables.scss +27 -14
  175. package/scss/menu/_layout.scss +25 -267
  176. package/scss/menu/_theme.scss +14 -73
  177. package/scss/menu/_variables.scss +135 -76
  178. package/scss/menu-button/_layout.scss +9 -14
  179. package/scss/menu-button/_theme.scss +5 -1
  180. package/scss/menu-button/_variables.scss +10 -0
  181. package/scss/messagebox/_layout.scss +2 -18
  182. package/scss/messagebox/_theme.scss +4 -19
  183. package/scss/messagebox/_variables.scss +33 -37
  184. package/scss/multiselect/_layout.scss +3 -4
  185. package/scss/multiselect/_theme.scss +3 -4
  186. package/scss/no-data/_layout.scss +2 -17
  187. package/scss/no-data/_theme.scss +2 -5
  188. package/scss/no-data/_variables.scss +7 -2
  189. package/scss/notification/_functions.scss +17 -0
  190. package/scss/notification/_layout.scss +2 -68
  191. package/scss/notification/_theme.scss +4 -28
  192. package/scss/notification/_variables.scss +50 -91
  193. package/scss/numerictextbox/_layout.scss +3 -7
  194. package/scss/numerictextbox/_theme.scss +3 -3
  195. package/scss/orgchart/_layout.scss +8 -99
  196. package/scss/orgchart/_theme.scss +4 -45
  197. package/scss/orgchart/_variables.scss +87 -45
  198. package/scss/otp/_layout.scss +1 -34
  199. package/scss/otp/_theme.scss +1 -7
  200. package/scss/otp/_variables.scss +25 -12
  201. package/scss/overlay/_layout.scss +2 -11
  202. package/scss/overlay/_theme.scss +4 -3
  203. package/scss/overlay/_variables.scss +7 -3
  204. package/scss/pager/_layout.scss +11 -145
  205. package/scss/pager/_theme.scss +7 -15
  206. package/scss/pager/_variables.scss +49 -26
  207. package/scss/panel/_layout.scss +2 -24
  208. package/scss/panel/_theme.scss +10 -13
  209. package/scss/panel/_variables.scss +23 -10
  210. package/scss/panelbar/_layout.scss +17 -95
  211. package/scss/panelbar/_theme.scss +15 -164
  212. package/scss/panelbar/_variables.scss +134 -68
  213. package/scss/pdf-viewer/_layout.scss +3 -327
  214. package/scss/pdf-viewer/_theme.scss +2 -80
  215. package/scss/pdf-viewer/_variables.scss +75 -36
  216. package/scss/pivotgrid/_index.scss +0 -6
  217. package/scss/pivotgrid/_layout.scss +44 -579
  218. package/scss/pivotgrid/_theme.scss +5 -192
  219. package/scss/pivotgrid/_variables.scss +144 -70
  220. package/scss/popover/_layout.scss +6 -73
  221. package/scss/popover/_theme.scss +2 -36
  222. package/scss/popover/_variables.scss +54 -27
  223. package/scss/popup/_layout.scss +5 -70
  224. package/scss/popup/_theme.scss +2 -9
  225. package/scss/popup/_variables.scss +25 -12
  226. package/scss/progressbar/_layout.scss +10 -196
  227. package/scss/progressbar/_theme.scss +11 -46
  228. package/scss/progressbar/_variables.scss +57 -34
  229. package/scss/prompt/_layout.scss +2 -75
  230. package/scss/prompt/_theme.scss +2 -35
  231. package/scss/prompt/_variables.scss +43 -20
  232. package/scss/radio/_layout.scss +12 -178
  233. package/scss/radio/_theme.scss +7 -75
  234. package/scss/radio/_variables.scss +72 -36
  235. package/scss/rating/_layout.scss +11 -57
  236. package/scss/rating/_theme.scss +8 -6
  237. package/scss/rating/_variables.scss +21 -13
  238. package/scss/responsivepanel/_layout.scss +2 -45
  239. package/scss/responsivepanel/_theme.scss +3 -3
  240. package/scss/ripple/_layout.scss +2 -50
  241. package/scss/ripple/_theme.scss +2 -2
  242. package/scss/scheduler/_layout.scss +11 -773
  243. package/scss/scheduler/_theme.scss +32 -167
  244. package/scss/scheduler/_variables.scss +149 -77
  245. package/scss/scroller/_layout.scss +2 -80
  246. package/scss/scroller/_theme.scss +2 -5
  247. package/scss/scrollview/_layout.scss +2 -159
  248. package/scss/scrollview/_theme.scss +11 -35
  249. package/scss/scrollview/_variables.scss +52 -29
  250. package/scss/searchbox/_layout.scss +2 -0
  251. package/scss/searchbox/_theme.scss +4 -1
  252. package/scss/searchbox/_variables.scss +1 -1
  253. package/scss/signature/_layout.scss +3 -67
  254. package/scss/signature/_theme.scss +3 -8
  255. package/scss/signature/_variables.scss +46 -25
  256. package/scss/skeleton/_layout.scss +2 -79
  257. package/scss/skeleton/_theme.scss +2 -17
  258. package/scss/skeleton/_variables.scss +15 -6
  259. package/scss/slider/_layout.scss +18 -203
  260. package/scss/slider/_theme.scss +31 -40
  261. package/scss/slider/_variables.scss +58 -41
  262. package/scss/speech-to-text-button/_layout.scss +1 -9
  263. package/scss/speech-to-text-button/_theme.scss +1 -3
  264. package/scss/split-button/_layout.scss +22 -18
  265. package/scss/split-button/_theme.scss +2 -1
  266. package/scss/split-button/_variables.scss +18 -9
  267. package/scss/splitter/_layout.scss +8 -171
  268. package/scss/splitter/_theme.scss +2 -31
  269. package/scss/splitter/_variables.scss +42 -20
  270. package/scss/spreadsheet/_layout.scss +50 -724
  271. package/scss/spreadsheet/_theme.scss +14 -182
  272. package/scss/spreadsheet/_variables.scss +172 -99
  273. package/scss/stacklayout/_layout.scss +1 -5
  274. package/scss/stacklayout/_theme.scss +1 -5
  275. package/scss/stepper/_layout.scss +9 -255
  276. package/scss/stepper/_theme.scss +4 -186
  277. package/scss/stepper/_variables.scss +125 -60
  278. package/scss/suggestion/_layout.scss +2 -38
  279. package/scss/suggestion/_theme.scss +3 -66
  280. package/scss/suggestion/_variables.scss +42 -19
  281. package/scss/switch/_layout.scss +2 -138
  282. package/scss/switch/_theme.scss +2 -136
  283. package/scss/switch/_variables.scss +99 -49
  284. package/scss/table/_layout.scss +6 -249
  285. package/scss/table/_theme.scss +9 -95
  286. package/scss/table/_variables.scss +100 -64
  287. package/scss/tabstrip/_layout.scss +2 -421
  288. package/scss/tabstrip/_theme.scss +12 -123
  289. package/scss/tabstrip/_variables.scss +113 -61
  290. package/scss/taskboard/_layout.scss +28 -178
  291. package/scss/taskboard/_theme.scss +20 -55
  292. package/scss/taskboard/_variables.scss +122 -63
  293. package/scss/textarea/_layout.scss +3 -6
  294. package/scss/textarea/_theme.scss +3 -4
  295. package/scss/textbox/_layout.scss +3 -4
  296. package/scss/textbox/_theme.scss +3 -4
  297. package/scss/tilelayout/_layout.scss +2 -36
  298. package/scss/tilelayout/_theme.scss +13 -10
  299. package/scss/tilelayout/_variables.scss +19 -8
  300. package/scss/time-marker/_layout.scss +2 -15
  301. package/scss/time-marker/_theme.scss +2 -17
  302. package/scss/time-marker/_variables.scss +7 -2
  303. package/scss/timedurationpicker/_layout.scss +3 -4
  304. package/scss/timedurationpicker/_theme.scss +3 -4
  305. package/scss/timeline/_layout.scss +8 -423
  306. package/scss/timeline/_theme.scss +11 -34
  307. package/scss/timeline/_variables.scss +108 -61
  308. package/scss/timepicker/_layout.scss +7 -3
  309. package/scss/timepicker/_theme.scss +3 -4
  310. package/scss/timeselector/_layout.scss +3 -223
  311. package/scss/timeselector/_theme.scss +5 -55
  312. package/scss/timeselector/_variables.scss +84 -41
  313. package/scss/toolbar/_layout.scss +11 -297
  314. package/scss/toolbar/_theme.scss +3 -167
  315. package/scss/toolbar/_variables.scss +65 -32
  316. package/scss/tooltip/_functions.scss +17 -0
  317. package/scss/tooltip/_layout.scss +13 -74
  318. package/scss/tooltip/_theme.scss +17 -23
  319. package/scss/tooltip/_variables.scss +50 -72
  320. package/scss/treelist/_layout.scss +3 -82
  321. package/scss/treelist/_theme.scss +4 -6
  322. package/scss/treelist/_variables.scss +7 -2
  323. package/scss/treeview/_layout.scss +8 -137
  324. package/scss/treeview/_theme.scss +20 -65
  325. package/scss/treeview/_variables.scss +88 -48
  326. package/scss/typography/_layout.scss +3 -113
  327. package/scss/typography/_theme.scss +2 -17
  328. package/scss/typography/_variables.scss +84 -3
  329. package/scss/upload/_layout.scss +7 -219
  330. package/scss/upload/_theme.scss +4 -90
  331. package/scss/upload/_variables.scss +66 -29
  332. package/scss/validator/_layout.scss +2 -16
  333. package/scss/validator/_theme.scss +2 -2
  334. package/scss/virtual-scroller/_layout.scss +2 -34
  335. package/scss/virtual-scroller/_theme.scss +2 -2
  336. package/scss/window/_layout.scss +9 -141
  337. package/scss/window/_theme.scss +7 -35
  338. package/scss/window/_variables.scss +65 -70
  339. package/scss/wizard/_layout.scss +8 -95
  340. package/scss/wizard/_theme.scss +4 -7
  341. package/scss/wizard/_variables.scss +24 -11
@@ -4,27 +4,27 @@
4
4
 
5
5
  /// The width of the border around the Button.
6
6
  /// @group button
7
- $kendo-button-border-width: 1px !default;
7
+ $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: k-spacing(5) !default;
11
+ $kendo-button-sm-padding-x: var( --kendo-button-sm-padding-x, k-spacing(5) ) !default;
12
12
  /// The horizontal padding of the medium Button.
13
13
  /// @group button
14
- $kendo-button-md-padding-x: k-spacing(5) !default;
14
+ $kendo-button-md-padding-x: var( --kendo-button-md-padding-x, k-spacing(5) ) !default;
15
15
  /// The horizontal padding of the large Button.
16
16
  /// @group button
17
- $kendo-button-lg-padding-x: k-spacing(5) !default;
17
+ $kendo-button-lg-padding-x: var( --kendo-button-lg-padding-x, k-spacing(5) ) !default;
18
18
 
19
19
  /// The vertical padding of the small Button.
20
20
  /// @group button
21
- $kendo-button-sm-padding-y: k-spacing(1) !default;
21
+ $kendo-button-sm-padding-y: var( --kendo-button-sm-padding-y, k-spacing(1) ) !default;
22
22
  /// The vertical padding of the medium Button.
23
23
  /// @group button
24
- $kendo-button-md-padding-y: k-spacing(1.5) !default;
24
+ $kendo-button-md-padding-y: var( --kendo-button-md-padding-y, k-spacing(1.5) ) !default;
25
25
  /// The vertical padding of the large Button.
26
26
  /// @group button
27
- $kendo-button-lg-padding-y: k-spacing(2) !default;
27
+ $kendo-button-lg-padding-y: var( --kendo-button-lg-padding-y, k-spacing(2) ) !default;
28
28
 
29
29
  /// The font size of the small Button.
30
30
  /// @group button
@@ -93,328 +93,183 @@ $kendo-button-sizes: (
93
93
 
94
94
  /// The content spacing of the Button.
95
95
  /// @group button
96
- $kendo-button-spacing: k-spacing(2) !default;
96
+ $kendo-button-spacing: var( --kendo-button-spacing, k-spacing(2) ) !default;
97
97
 
98
98
  /// The offset of the focused Button.
99
99
  /// @group button
100
- $kendo-button-focus-offset: k-spacing(0.5) !default;
100
+ $kendo-button-focus-offset: var( --kendo-button-focus-offset, k-spacing(0.5) ) !default;
101
101
  /// The Outline width of the focused Button.
102
102
  /// @group button
103
- $kendo-button-focus-outline-width: 1px !default;
103
+ $kendo-button-focus-outline-width: var( --kendo-button-focus-outline-width, 1px ) !default;
104
104
  /// The outline style of the focused Button.
105
105
  /// @group button
106
- $kendo-button-focus-outline-style: solid !default;
106
+ $kendo-button-focus-outline-style: var( --kendo-button-focus-outline-style, solid ) !default;
107
107
 
108
108
  /// The offset of the flat focused Button.
109
109
  /// @group button
110
- $kendo-button-flat-focus-offset: 1px !default;
110
+ $kendo-button-flat-focus-offset: var( --kendo-button-flat-focus-offset, 1px ) !default;
111
111
  /// The outline width of the flat focused Button.
112
112
  /// @group button
113
- $kendo-button-flat-focus-outline-width: k-spacing(0.5) !default;
113
+ $kendo-button-flat-focus-outline-width: var( --kendo-button-flat-focus-outline-width, k-spacing(0.5) ) !default;
114
114
 
115
115
  /// The offset of the link focused Button.
116
116
  /// @group button
117
- $kendo-button-link-focus-offset: 0 !default;
117
+ $kendo-button-link-focus-offset: var( --kendo-button-link-focus-offset, 0 ) !default;
118
118
  /// The outline width of the flat focused Button.
119
119
  /// @group button
120
- $kendo-button-link-focus-outline-width: 1px !default;
120
+ $kendo-button-link-focus-outline-width: var( --kendo-button-link-focus-outline-width, 1px ) !default;
121
121
 
122
122
  /// The opacity of the pulsing animation for the generating Button.
123
123
  /// @group button
124
- $kendo-button-pulsing-opacity: .6 !default;
124
+ $kendo-button-pulsing-opacity: var( --kendo-button-pulsing-opacity, .6 ) !default;
125
125
 
126
- // The theme variations for the Button.
127
-
128
- $kendo-button-brand-colors: (
129
- primary: primary,
130
- error: error,
131
- success: success,
132
- info: info,
133
- secondary: secondary,
134
- tertiary: tertiary,
135
- ) !default;
136
-
137
-
138
- // Matrices with theme colors in the order: bg, color, border, outline
139
-
140
- // The color matrix for the base Button
141
- $_tc-base-matrix: (
142
- solid: (
143
- normal: (color, on-color, border),
144
- hover: (color-hover, on-color, border),
145
- focus: (color, on-color, border, on-color),
146
- focus-hover: (color-hover, on-color, border, on-color),
147
- active: (color-active, on-color, border),
148
- active-hover: (color-hover, on-color, border),
149
- disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
150
- ),
151
- outline: (
152
- normal: (transparent, color-on-surface, currentColor),
153
- hover: (on-color, color, on-color),
154
- focus: (transparent, color-on-surface, currentColor, inherit),
155
- focus-hover: (on-color, color, on-color, inherit),
156
- active: (on-color, color, on-color),
157
- active-hover: (on-color, color, on-color),
158
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
159
- ),
160
- link: (
161
- normal: (transparent, on-color, transparent),
162
- hover: (transparent, on-color, transparent),
163
- focus: (transparent, on-color, transparent, color-subtle-active),
164
- focus-hover: (transparent, on-color, color-subtle-active, transparent),
165
- active: (transparent, on-color, transparent),
166
- active-hover: (transparent, on-color, transparent),
167
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
168
- ),
169
- clear: (
170
- normal: (transparent, color-on-surface, transparent),
171
- hover: (transparent, color-on-surface, transparent),
172
- focus: (color-subtle, color-on-surface, transparent, color-active),
173
- focus-hover: (transparent, color-on-surface, transparent, color-active),
174
- active: (transparent, color-on-surface, transparent),
175
- active-hover: (transparent, color-on-surface, transparent),
176
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
177
- )
178
- ) !default;
179
-
180
- // The color matrix for primary, error, success, info, secondary, tertiary Buttons
181
- $_tc-brand-matrix: (
182
- solid: (
183
- normal: (color, on-color, color),
184
- hover: (color-hover, on-color, color-hover),
185
- focus: (color, on-color, color, inherit),
186
- focus-hover: (color-hover, on-color, color-hover, inherit),
187
- active: (color-active, on-color, color-active),
188
- active-hover: (color-hover, on-color, color-hover),
189
- disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
190
- ),
191
- flat: (
192
- normal: (initial, color-on-surface, transparent),
193
- hover: (color-subtle, color-hover, transparent),
194
- focus: (initial, color-on-surface, transparent, color-subtle-active),
195
- focus-hover: (color-subtle, color-hover, transparent, color-subtle-active),
196
- active: (color-subtle-hover, color-hover, transparent),
197
- active-hover: (color-subtle, color-hover, transparent),
198
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
199
- ),
200
- outline: (
201
- normal: (transparent, color-on-surface, currentColor),
202
- hover: (color, on-color, color),
203
- focus: (transparent, color-on-surface, color, inherit),
204
- focus-hover: (color, on-color, color, inherit),
205
- active: (color, on-color, color),
206
- active-hover: (color, on-color, color),
207
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
208
- ),
209
- link: (
210
- normal: (transparent, color, transparent),
211
- hover: (transparent, color-hover, transparent),
212
- focus: (transparent, color, transparent, color-subtle-active),
213
- focus-hover: (transparent, color-hover, transparent, color-subtle-active),
214
- active: (transparent, color-active, transparent),
215
- active-hover: (transparent, color-hover, transparent),
216
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
217
- ),
218
- clear: (
219
- normal: (transparent, color-on-surface, transparent),
220
- hover: (transparent, color-on-surface, transparent),
221
- focus: (color-subtle, color-on-surface, transparent),
222
- focus-hover: (transparent, color-on-surface, transparent),
223
- active: (transparent, color-on-surface, transparent),
224
- active-hover: (transparent, color-on-surface, transparent),
225
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
226
- )
227
- ) !default;
228
-
229
- // The color matrix for warning Buttons
230
- $_tc-warning-matrix: (
231
- solid: (
232
- normal: (color, on-color, color),
233
- hover: (color-hover, on-color, color-hover),
234
- focus: (color, on-color, color, app-surface),
235
- focus-hover: (color-hover, on-color, color-hover, app-surface),
236
- active: (color-active, on-color, color-active),
237
- active-hover: (color-hover, on-color, color-hover),
238
- disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
239
- ),
240
- flat: (
241
- normal: (initial, color-on-surface, transparent),
242
- hover: (color-subtle, color-hover, transparent),
243
- focus: (initial, color-on-surface, transparent, color-subtle-active),
244
- focus-hover: (color-subtle, color-hover, transparent, color-subtle-active),
245
- active: (color-subtle-hover, color-hover, transparent),
246
- active-hover: (color-subtle, color-hover, transparent),
247
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
248
- ),
249
- outline: (
250
- normal: (transparent, color-on-surface, currentColor),
251
- hover: (color, on-color, color),
252
- focus: (transparent, color-on-surface, color-on-surface, inherit),
253
- focus-hover: (color, on-color, color, inherit),
254
- active: (color, on-color, color),
255
- active-hover: (color, on-color, color),
256
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
257
- ),
258
- link: (
259
- normal: (transparent, color, transparent),
260
- hover: (transparent, color-hover, transparent),
261
- focus: (transparent, color, color-subtle-active),
262
- focus-hover: (transparent, color-hover, transparent, color-subtle-active),
263
- active: (transparent, color-active, transparent),
264
- active-hover: (transparent, color-hover, transparent),
265
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial),
266
- ),
267
- clear: (
268
- normal: (transparent, color-on-surface, transparent),
269
- hover: (transparent, color-on-surface, transparent),
270
- focus: (color-subtle, color-on-surface, transparent),
271
- focus-hover: (transparent, color-on-surface, transparent),
272
- active: (transparent, color-on-surface, transparent),
273
- active-hover: (transparent, color-on-surface, transparent),
274
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial),
275
- )
126
+ /// The theme colors map for the Button.
127
+ /// @group button
128
+ $kendo-button-theme-colors: (
129
+ "base": k-color(base),
130
+ "primary": k-color(primary),
131
+ "secondary": k-color(secondary),
132
+ "tertiary": k-color(tertiary),
133
+ "info": k-color(info),
134
+ "success": k-color(success),
135
+ "warning": k-color(warning),
136
+ "error": k-color(error),
137
+ "dark": k-color(dark),
138
+ "light": k-color(light),
139
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
276
140
  ) !default;
277
141
 
278
- // The color matrix for dark Buttons
279
- $_tc-dark-matrix: (
280
- solid: (
281
- normal: (color, on-color, color),
282
- hover: (color-hover, on-color, color-hover),
283
- focus: (color, on-color, color, on-color),
284
- focus-hover: (color-hover, on-color, color-hover, on-color),
285
- active: (color-active, on-color, color-active),
286
- active-hover: (color-hover, on-color, color-hover),
287
- disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent),
288
- ),
289
- flat: (
290
- normal: (initial, color-on-surface, transparent),
291
- hover: (color-subtle, color-hover, transparent),
292
- focus: (initial, color-on-surface, transparent, color-subtle-active),
293
- focus-hover: (color-subtle, color-hover, transparent, color-subtle-active),
294
- active: (color-subtle-hover, color-hover, transparent),
295
- active-hover: (color-subtle, color-hover, transparent),
296
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
297
- ),
298
- outline: (
299
- normal: (transparent, color-on-surface, currentColor),
300
- hover: (color, on-color, color),
301
- focus: (transparent, color-on-surface, color, inherit),
302
- focus-hover: (color, on-color, color, inherit),
303
- active: (color, on-color, color),
304
- active-hover: (color, on-color, color),
305
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
306
- ),
307
- link: (
308
- normal: (transparent, color, transparent),
309
- hover: (transparent, color-hover, transparent),
310
- focus: (transparent, color, color-subtle-active),
311
- focus-hover: (transparent, color-hover, transparent, color-subtle-active),
312
- active: (transparent, color-active, transparent),
313
- active-hover: (transparent, color-hover, transparent),
314
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
315
- ),
316
- clear: (
317
- normal: (transparent, color-on-surface, transparent),
318
- hover: (transparent, color-on-surface, transparent),
319
- focus: (color-subtle, color-on-surface, transparent),
320
- focus-hover: (transparent, color-on-surface, transparent),
321
- active: (transparent, color-on-surface, transparent),
322
- active-hover: (transparent, color-on-surface, transparent),
323
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
324
- )
325
- ) !default;
142
+ /// The base background of the Button.
143
+ /// @group button
144
+ $kendo-button-bg: var( --kendo-button-bg, k-color(base) ) !default;
145
+ /// The base text color of the Button.
146
+ /// @group button
147
+ $kendo-button-text: var( --kendo-button-text, k-color(on-base) ) !default;
148
+ /// The base border color of the Button.
149
+ /// @group button
150
+ $kendo-button-border: var( --kendo-button-border, k-color(border) ) !default;
151
+ /// The base background gradient of the Button.
152
+ /// @group button
153
+ $kendo-button-gradient: linear-gradient( var( --kendo-button-gradient, transparent, transparent ) ) !default;
154
+ /// The base shadow of the Button.
155
+ /// @group button
156
+ $kendo-button-shadow: var( --kendo-button-shadow, none ) !default;
326
157
 
327
- // The color matrix for light Buttons
328
- $_tc-light-matrix: (
329
- solid: (
330
- normal: (color, on-color, color),
331
- hover: (color-hover, on-color, color-hover),
332
- focus: (color, on-color, color, app-surface),
333
- focus-hover: (color-hover, on-color, color-hover, app-surface),
334
- active: (color-active, on-color, color-active),
335
- active-hover: (color-hover, on-color, color-hover),
336
- disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
337
- ),
338
- flat: (
339
- normal: (initial, color-on-surface, transparent),
340
- hover: (color-subtle, color-hover, transparent),
341
- focus: (initial, color-on-surface, transparent, color-subtle-active),
342
- focus-hover: (color-subtle, color-hover, transparent, color-subtle-active),
343
- active: (color-subtle-hover, color-hover, transparent),
344
- active-hover: (color-subtle, color-hover, transparent),
345
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
346
- ),
347
- outline: (
348
- normal: (transparent, color-on-surface, currentColor),
349
- hover: (color, on-color, color),
350
- focus: (transparent, color-on-surface, color, inherit),
351
- focus-hover: (color, on-color, color, inherit),
352
- active: (color, on-color, color),
353
- active-hover: (color, on-color, color),
354
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent)),
355
- ),
356
- link: (
357
- normal: (transparent, color, transparent),
358
- hover: (transparent, color-hover, transparent),
359
- focus: (transparent, color, color-subtle-active),
360
- focus-hover: (transparent, color-hover, transparent, color-subtle-active),
361
- active: (transparent, color-active, transparent),
362
- active-hover: (transparent, color-hover, transparent),
363
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
364
- ),
365
- clear: (
366
- normal: (transparent, color-on-surface, transparent),
367
- hover: (transparent, color-on-surface, transparent),
368
- focus: (color-subtle, color-on-surface, transparent),
369
- focus-hover: (transparent, color-on-surface, transparent),
370
- active: (transparent, color-on-surface, transparent),
371
- active-hover: (transparent, color-on-surface, transparent),
372
- disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
373
- )
374
- ) !default;
158
+ /// The base background of the hovered Button.
159
+ /// @group button
160
+ $kendo-button-hover-bg: var( --kendo-button-hover-bg, k-color(base-hover) ) !default;
161
+ /// The base text color of the hovered Button.
162
+ /// @group button
163
+ $kendo-button-hover-text: var( --kendo-button-hover-text, k-color(on-base) ) !default;
164
+ /// The base border color of the hovered Button.
165
+ /// @group button
166
+ $kendo-button-hover-border: var( --kendo-button-hover-border, k-color(border) ) !default;
375
167
 
376
- /// The theme colors map for the Button.
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
+ /// The base border color of the focused Button.
175
+ /// @group button
176
+ $kendo-button-focus-border: var( --kendo-button-focus-border, k-color(border) ) !default;
177
+ /// The base outline color of the focused Button.
178
+ /// @group button
179
+ $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.
377
184
  /// @group button
378
- $kendo-button-theme-colors: () !default;
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;
379
192
 
380
- // The map for the base theme color
381
- @each $fill-mode, $ui-states in $_tc-base-matrix {
382
- $kendo-button-theme-colors: map.deep-merge(
383
- $kendo-button-theme-colors,
384
- k-generate-fill-mode-theme-variation( $fill-mode, base, base, $ui-states )
385
- );
386
- }
193
+ /// The base background of the active Button.
194
+ /// @group button
195
+ $kendo-button-active-bg: var( --kendo-button-active-bg, k-color(base-active) ) !default;
196
+ /// The base text color of the active Button.
197
+ /// @group button
198
+ $kendo-button-active-text: var( --kendo-button-active-text, k-color(on-base) ) !default;
199
+ /// The base border color of the active Button.
200
+ /// @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;
387
211
 
388
- // The map for the brand theme colors
389
- @each $fill-mode, $ui-states in $_tc-brand-matrix {
390
- @each $brand-color, $palette in $kendo-button-brand-colors {
391
- $kendo-button-theme-colors: map.deep-merge(
392
- $kendo-button-theme-colors,
393
- k-generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
394
- )
395
- }
396
- }
212
+ /// The base background of the disabled Button.
213
+ /// @group button
214
+ $kendo-button-disabled-bg: var( --kendo-button-disabled-bg, color-mix(in srgb, k-color(on-app-surface) 6%, transparent) ) !default;
215
+ /// The base text color of the disabled Button.
216
+ /// @group button
217
+ $kendo-button-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
218
+ /// The base border color of the disabled Button.
219
+ /// @group button
220
+ $kendo-button-disabled-border: var( --kendo-button-disabled-border, transparent ) !default;
397
221
 
398
- // The map for the warning theme colors
399
- @each $fill-mode, $ui-states in $_tc-warning-matrix {
400
- $kendo-button-theme-colors: map.deep-merge(
401
- $kendo-button-theme-colors,
402
- k-generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
403
- );
404
- }
222
+ /// The base background of the disabled outline Button.
223
+ /// @group button
224
+ $kendo-button-outline-disabled-bg: var( --kendo-button-disabled-bg, initial ) !default;
225
+ /// The base text color of the disabled outline Button.
226
+ /// @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;
228
+ /// The base border color of the disabled outline Button.
229
+ /// @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;
405
231
 
406
- // The map for the dark theme colors
407
- @each $fill-mode, $ui-states in $_tc-dark-matrix {
408
- $kendo-button-theme-colors: map.deep-merge(
409
- $kendo-button-theme-colors,
410
- k-generate-fill-mode-theme-variation( $fill-mode, dark, dark, $ui-states )
411
- );
412
- }
232
+ /// The base background of the disabled flat Button.
233
+ /// @group button
234
+ $kendo-button-flat-disabled-bg: var( --kendo-button-disabled-bg, initial ) !default;
235
+ /// The base text color of the disabled flat Button.
236
+ /// @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;
238
+ /// The base border color of the disabled flat Button.
239
+ /// @group button
240
+ $kendo-button-flat-disabled-border: var( --kendo-button-disabled-border, initial ) !default;
413
241
 
414
- // The map for the light theme colors
415
- @each $fill-mode, $ui-states in $_tc-light-matrix {
416
- $kendo-button-theme-colors: map.deep-merge(
417
- $kendo-button-theme-colors,
418
- k-generate-fill-mode-theme-variation( $fill-mode, light, light, $ui-states )
419
- );
420
- }
242
+ @forward "@progress/kendo-theme-core/scss/components/button/_variables.scss" with (
243
+ $kendo-button-border-width: $kendo-button-border-width,
244
+ $kendo-button-sm-padding-x: $kendo-button-sm-padding-x,
245
+ $kendo-button-md-padding-x: $kendo-button-md-padding-x,
246
+ $kendo-button-lg-padding-x: $kendo-button-lg-padding-x,
247
+ $kendo-button-sm-padding-y: $kendo-button-sm-padding-y,
248
+ $kendo-button-md-padding-y: $kendo-button-md-padding-y,
249
+ $kendo-button-lg-padding-y: $kendo-button-lg-padding-y,
250
+ $kendo-button-sm-font-size: $kendo-button-sm-font-size,
251
+ $kendo-button-md-font-size: $kendo-button-md-font-size,
252
+ $kendo-button-lg-font-size: $kendo-button-lg-font-size,
253
+ $kendo-button-sm-line-height: $kendo-button-sm-line-height,
254
+ $kendo-button-md-line-height: $kendo-button-md-line-height,
255
+ $kendo-button-lg-line-height: $kendo-button-lg-line-height,
256
+ $kendo-button-font-family: $kendo-button-font-family,
257
+ $kendo-button-font-weight: $kendo-button-font-weight,
258
+ $kendo-button-sizes: $kendo-button-sizes,
259
+ $kendo-button-pulsing-opacity: $kendo-button-pulsing-opacity,
260
+ $kendo-button-theme-colors: $kendo-button-theme-colors,
261
+ $kendo-button-bg: $kendo-button-bg,
262
+ $kendo-button-text: $kendo-button-text,
263
+ $kendo-button-border: $kendo-button-border,
264
+ $kendo-button-gradient: $kendo-button-gradient,
265
+ $kendo-button-shadow: $kendo-button-shadow,
266
+ $kendo-button-hover-bg: $kendo-button-hover-bg,
267
+ $kendo-button-hover-text: $kendo-button-hover-text,
268
+ $kendo-button-hover-border: $kendo-button-hover-border,
269
+ $kendo-button-active-bg: $kendo-button-active-bg,
270
+ $kendo-button-active-text: $kendo-button-active-text,
271
+ $kendo-button-active-border: $kendo-button-active-border,
272
+ $kendo-button-disabled-bg: $kendo-button-disabled-bg,
273
+ $kendo-button-disabled-text: $kendo-button-disabled-text,
274
+ $kendo-button-disabled-border: $kendo-button-disabled-border
275
+ );