@progress/kendo-theme-fluent 11.2.1-dev.1 → 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 (340) 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/_layout.scss +5 -302
  131. package/scss/forms/_theme.scss +5 -24
  132. package/scss/forms/_variables.scss +73 -39
  133. package/scss/gantt/_layout.scss +5 -801
  134. package/scss/gantt/_theme.scss +17 -236
  135. package/scss/gantt/_variables.scss +142 -73
  136. package/scss/grid/_layout.scss +60 -1276
  137. package/scss/grid/_theme.scss +35 -343
  138. package/scss/grid/_variables.scss +306 -183
  139. package/scss/gridlayout/_layout.scss +1 -6
  140. package/scss/gridlayout/_theme.scss +1 -6
  141. package/scss/icons/_layout.scss +4 -33
  142. package/scss/icons/_theme.scss +7 -1
  143. package/scss/icons/_variables.scss +35 -9
  144. package/scss/imageeditor/_layout.scss +2 -152
  145. package/scss/imageeditor/_theme.scss +5 -42
  146. package/scss/imageeditor/_variables.scss +66 -32
  147. package/scss/index.scss +2 -1
  148. package/scss/input/_layout.scss +36 -468
  149. package/scss/input/_theme.scss +52 -128
  150. package/scss/input/_variables.scss +153 -208
  151. package/scss/list/_layout.scss +3 -252
  152. package/scss/list/_theme.scss +10 -81
  153. package/scss/list/_variables.scss +176 -92
  154. package/scss/listbox/_layout.scss +2 -80
  155. package/scss/listbox/_theme.scss +5 -8
  156. package/scss/listbox/_variables.scss +28 -13
  157. package/scss/listgroup/_layout.scss +2 -174
  158. package/scss/listgroup/_theme.scss +2 -8
  159. package/scss/listgroup/_variables.scss +23 -10
  160. package/scss/listview/_layout.scss +6 -133
  161. package/scss/listview/_theme.scss +8 -37
  162. package/scss/listview/_variables.scss +66 -39
  163. package/scss/loader/_layout.scss +15 -572
  164. package/scss/loader/_theme.scss +2 -14
  165. package/scss/loader/_variables.scss +90 -92
  166. package/scss/map/_layout.scss +7 -121
  167. package/scss/map/_theme.scss +5 -17
  168. package/scss/map/_variables.scss +40 -22
  169. package/scss/maskedtextbox/_layout.scss +3 -3
  170. package/scss/maskedtextbox/_theme.scss +3 -3
  171. package/scss/mediaplayer/_layout.scss +5 -72
  172. package/scss/mediaplayer/_theme.scss +5 -15
  173. package/scss/mediaplayer/_variables.scss +27 -14
  174. package/scss/menu/_layout.scss +25 -267
  175. package/scss/menu/_theme.scss +14 -73
  176. package/scss/menu/_variables.scss +135 -76
  177. package/scss/menu-button/_layout.scss +9 -14
  178. package/scss/menu-button/_theme.scss +5 -1
  179. package/scss/menu-button/_variables.scss +10 -0
  180. package/scss/messagebox/_layout.scss +2 -18
  181. package/scss/messagebox/_theme.scss +4 -19
  182. package/scss/messagebox/_variables.scss +33 -37
  183. package/scss/multiselect/_layout.scss +3 -4
  184. package/scss/multiselect/_theme.scss +3 -4
  185. package/scss/no-data/_layout.scss +2 -17
  186. package/scss/no-data/_theme.scss +2 -5
  187. package/scss/no-data/_variables.scss +7 -2
  188. package/scss/notification/_functions.scss +17 -0
  189. package/scss/notification/_layout.scss +2 -68
  190. package/scss/notification/_theme.scss +4 -28
  191. package/scss/notification/_variables.scss +50 -91
  192. package/scss/numerictextbox/_layout.scss +3 -7
  193. package/scss/numerictextbox/_theme.scss +3 -3
  194. package/scss/orgchart/_layout.scss +8 -99
  195. package/scss/orgchart/_theme.scss +4 -45
  196. package/scss/orgchart/_variables.scss +87 -45
  197. package/scss/otp/_layout.scss +1 -34
  198. package/scss/otp/_theme.scss +1 -7
  199. package/scss/otp/_variables.scss +25 -12
  200. package/scss/overlay/_layout.scss +2 -11
  201. package/scss/overlay/_theme.scss +4 -3
  202. package/scss/overlay/_variables.scss +7 -3
  203. package/scss/pager/_layout.scss +11 -145
  204. package/scss/pager/_theme.scss +7 -15
  205. package/scss/pager/_variables.scss +49 -26
  206. package/scss/panel/_layout.scss +2 -24
  207. package/scss/panel/_theme.scss +10 -13
  208. package/scss/panel/_variables.scss +23 -10
  209. package/scss/panelbar/_layout.scss +17 -95
  210. package/scss/panelbar/_theme.scss +15 -164
  211. package/scss/panelbar/_variables.scss +134 -68
  212. package/scss/pdf-viewer/_layout.scss +3 -327
  213. package/scss/pdf-viewer/_theme.scss +2 -80
  214. package/scss/pdf-viewer/_variables.scss +75 -36
  215. package/scss/pivotgrid/_index.scss +0 -6
  216. package/scss/pivotgrid/_layout.scss +44 -579
  217. package/scss/pivotgrid/_theme.scss +5 -192
  218. package/scss/pivotgrid/_variables.scss +144 -70
  219. package/scss/popover/_layout.scss +6 -73
  220. package/scss/popover/_theme.scss +2 -36
  221. package/scss/popover/_variables.scss +54 -27
  222. package/scss/popup/_layout.scss +5 -70
  223. package/scss/popup/_theme.scss +2 -9
  224. package/scss/popup/_variables.scss +25 -12
  225. package/scss/progressbar/_layout.scss +10 -196
  226. package/scss/progressbar/_theme.scss +11 -46
  227. package/scss/progressbar/_variables.scss +57 -34
  228. package/scss/prompt/_layout.scss +2 -75
  229. package/scss/prompt/_theme.scss +2 -35
  230. package/scss/prompt/_variables.scss +43 -20
  231. package/scss/radio/_layout.scss +12 -178
  232. package/scss/radio/_theme.scss +7 -75
  233. package/scss/radio/_variables.scss +72 -36
  234. package/scss/rating/_layout.scss +11 -57
  235. package/scss/rating/_theme.scss +8 -6
  236. package/scss/rating/_variables.scss +21 -13
  237. package/scss/responsivepanel/_layout.scss +2 -45
  238. package/scss/responsivepanel/_theme.scss +3 -3
  239. package/scss/ripple/_layout.scss +2 -50
  240. package/scss/ripple/_theme.scss +2 -2
  241. package/scss/scheduler/_layout.scss +11 -773
  242. package/scss/scheduler/_theme.scss +32 -167
  243. package/scss/scheduler/_variables.scss +149 -77
  244. package/scss/scroller/_layout.scss +2 -80
  245. package/scss/scroller/_theme.scss +2 -5
  246. package/scss/scrollview/_layout.scss +2 -159
  247. package/scss/scrollview/_theme.scss +11 -35
  248. package/scss/scrollview/_variables.scss +52 -29
  249. package/scss/searchbox/_layout.scss +2 -0
  250. package/scss/searchbox/_theme.scss +4 -1
  251. package/scss/searchbox/_variables.scss +1 -1
  252. package/scss/signature/_layout.scss +3 -67
  253. package/scss/signature/_theme.scss +3 -8
  254. package/scss/signature/_variables.scss +46 -25
  255. package/scss/skeleton/_layout.scss +2 -79
  256. package/scss/skeleton/_theme.scss +2 -17
  257. package/scss/skeleton/_variables.scss +15 -6
  258. package/scss/slider/_layout.scss +18 -203
  259. package/scss/slider/_theme.scss +31 -40
  260. package/scss/slider/_variables.scss +58 -41
  261. package/scss/speech-to-text-button/_layout.scss +1 -9
  262. package/scss/speech-to-text-button/_theme.scss +1 -3
  263. package/scss/split-button/_layout.scss +22 -18
  264. package/scss/split-button/_theme.scss +2 -1
  265. package/scss/split-button/_variables.scss +18 -9
  266. package/scss/splitter/_layout.scss +8 -171
  267. package/scss/splitter/_theme.scss +2 -31
  268. package/scss/splitter/_variables.scss +42 -20
  269. package/scss/spreadsheet/_layout.scss +50 -724
  270. package/scss/spreadsheet/_theme.scss +14 -182
  271. package/scss/spreadsheet/_variables.scss +172 -99
  272. package/scss/stacklayout/_layout.scss +1 -5
  273. package/scss/stacklayout/_theme.scss +1 -5
  274. package/scss/stepper/_layout.scss +9 -255
  275. package/scss/stepper/_theme.scss +4 -186
  276. package/scss/stepper/_variables.scss +125 -60
  277. package/scss/suggestion/_layout.scss +2 -38
  278. package/scss/suggestion/_theme.scss +3 -66
  279. package/scss/suggestion/_variables.scss +42 -19
  280. package/scss/switch/_layout.scss +2 -138
  281. package/scss/switch/_theme.scss +2 -136
  282. package/scss/switch/_variables.scss +99 -49
  283. package/scss/table/_layout.scss +6 -249
  284. package/scss/table/_theme.scss +9 -95
  285. package/scss/table/_variables.scss +100 -64
  286. package/scss/tabstrip/_layout.scss +2 -421
  287. package/scss/tabstrip/_theme.scss +12 -123
  288. package/scss/tabstrip/_variables.scss +113 -61
  289. package/scss/taskboard/_layout.scss +28 -178
  290. package/scss/taskboard/_theme.scss +20 -55
  291. package/scss/taskboard/_variables.scss +122 -63
  292. package/scss/textarea/_layout.scss +3 -6
  293. package/scss/textarea/_theme.scss +3 -4
  294. package/scss/textbox/_layout.scss +3 -4
  295. package/scss/textbox/_theme.scss +3 -4
  296. package/scss/tilelayout/_layout.scss +2 -36
  297. package/scss/tilelayout/_theme.scss +13 -10
  298. package/scss/tilelayout/_variables.scss +19 -8
  299. package/scss/time-marker/_layout.scss +2 -15
  300. package/scss/time-marker/_theme.scss +2 -17
  301. package/scss/time-marker/_variables.scss +7 -2
  302. package/scss/timedurationpicker/_layout.scss +3 -4
  303. package/scss/timedurationpicker/_theme.scss +3 -4
  304. package/scss/timeline/_layout.scss +8 -423
  305. package/scss/timeline/_theme.scss +11 -34
  306. package/scss/timeline/_variables.scss +108 -61
  307. package/scss/timepicker/_layout.scss +7 -3
  308. package/scss/timepicker/_theme.scss +3 -4
  309. package/scss/timeselector/_layout.scss +3 -223
  310. package/scss/timeselector/_theme.scss +5 -55
  311. package/scss/timeselector/_variables.scss +84 -41
  312. package/scss/toolbar/_layout.scss +11 -296
  313. package/scss/toolbar/_theme.scss +3 -167
  314. package/scss/toolbar/_variables.scss +65 -32
  315. package/scss/tooltip/_functions.scss +17 -0
  316. package/scss/tooltip/_layout.scss +13 -74
  317. package/scss/tooltip/_theme.scss +17 -23
  318. package/scss/tooltip/_variables.scss +50 -72
  319. package/scss/treelist/_layout.scss +3 -82
  320. package/scss/treelist/_theme.scss +4 -6
  321. package/scss/treelist/_variables.scss +7 -2
  322. package/scss/treeview/_layout.scss +8 -137
  323. package/scss/treeview/_theme.scss +20 -65
  324. package/scss/treeview/_variables.scss +88 -48
  325. package/scss/typography/_layout.scss +3 -113
  326. package/scss/typography/_theme.scss +2 -17
  327. package/scss/typography/_variables.scss +84 -3
  328. package/scss/upload/_layout.scss +7 -219
  329. package/scss/upload/_theme.scss +4 -90
  330. package/scss/upload/_variables.scss +66 -29
  331. package/scss/validator/_layout.scss +2 -16
  332. package/scss/validator/_theme.scss +2 -2
  333. package/scss/virtual-scroller/_layout.scss +2 -34
  334. package/scss/virtual-scroller/_theme.scss +2 -2
  335. package/scss/window/_layout.scss +9 -141
  336. package/scss/window/_theme.scss +7 -35
  337. package/scss/window/_variables.scss +65 -70
  338. package/scss/wizard/_layout.scss +8 -95
  339. package/scss/wizard/_theme.scss +4 -7
  340. package/scss/wizard/_variables.scss +24 -11
@@ -1,50 +1,11 @@
1
1
  @use "sass:map";
2
2
  @use "../core/_index.scss" as *;
3
3
  @use "./_variables.scss" as *;
4
+ @use "@progress/kendo-theme-core/scss/components/switch/_layout.scss" as *;
4
5
 
5
6
  @mixin kendo-switch--layout() {
7
+ @include kendo-switch--layout-base();
6
8
 
7
- .k-switch {
8
- box-sizing: border-box;
9
- width: var( --kendo-switch-width, auto );
10
- height: var( --kendo-switch-height, auto );
11
- font-family: var( --kendo-switch-font-family, #{$kendo-switch-font-family} );
12
- font-size: var( --kendo-switch-font-size, 1rem );
13
- outline: 0;
14
- display: inline-flex;
15
- align-items: center;
16
- vertical-align: middle;
17
- line-height: 1;
18
- position: relative;
19
- cursor: pointer;
20
- user-select: none;
21
- -webkit-touch-callout: none;
22
- -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
23
-
24
- &.k-switch-on .k-switch-thumb-wrap {
25
- inset-inline-start: calc( 100% - ( var( --kendo-switch-thumb-width, auto ) / 2 ) - var( --kendo-switch-thumb-offset, 0 ) );
26
- }
27
- &.k-switch-off .k-switch-thumb-wrap {
28
- inset-inline-start: calc( ( var( --kendo-switch-thumb-width, auto ) / 2 ) + var( --kendo-switch-thumb-offset, 0 ) );
29
- }
30
-
31
- *,
32
- *::before,
33
- *::after {
34
- box-sizing: border-box;
35
- }
36
-
37
- [type="checkbox"] {
38
- display: none;
39
- }
40
-
41
- &[aria-readonly="true"] {
42
- pointer-events: none;
43
- }
44
- }
45
-
46
-
47
- // Focus
48
9
  .k-switch:focus,
49
10
  .k-switch.k-focus {
50
11
  &::after {
@@ -55,111 +16,14 @@
55
16
  }
56
17
  }
57
18
 
58
-
59
- // Readonly
60
- .k-switch.k-readonly {
61
- pointer-events: none;
62
- }
63
-
64
-
65
- // Switch track
66
19
  .k-switch-track {
67
- width: var( --kendo-switch-width, auto );
68
- height: var( --kendo-switch-height, auto );
69
- border-width: var( --kendo-switch-track-border-width, #{$kendo-switch-track-border-width} );
70
- border-style: if( $kendo-switch-track-border-width == null, null, solid );
71
- outline: 0;
72
- display: flex;
73
- flex-flow: row nowrap;
74
- flex: 1 0 auto;
75
- position: relative;
76
20
  transition: all 100ms ease-in-out;
77
21
  }
78
22
 
79
-
80
- // Switch thumb
81
23
  .k-switch-thumb-wrap {
82
- width: 0;
83
- height: 0;
84
- overflow: visible;
85
- position: absolute;
86
24
  transition: inset-inline-start 100ms ease-in-out;
87
- top: 50%;
88
25
  }
89
26
  .k-switch-thumb {
90
- width: var( --kendo-switch-thumb-width, auto );
91
- height: var( --kendo-switch-thumb-height, auto );
92
- border-width: var( --kendo-switch-thumb-border-width, #{$kendo-switch-thumb-border-width} );
93
- border-style: if( $kendo-switch-thumb-border-width == null, null, solid );
94
- display: block;
95
- position: absolute;
96
- transform: translate( -50%, -50% );
97
27
  transition: all 100ms ease-in-out;
98
28
  }
99
-
100
-
101
- // Switch label
102
- .k-switch-label-on,
103
- .k-switch-label-off {
104
- text-transform: var( --kendo-switch-label-text-transform, #{$kendo-switch-label-text-transform} );
105
- display: var( --kendo-switch-label-display, #{$kendo-switch-label-display} );
106
- position: absolute;
107
- top: 50%;
108
- transform: translateY( -50% );
109
- overflow: hidden;
110
- }
111
- .k-switch-label-on {
112
- inset-inline-start: var( --kendo-switch-label-offset, 0 );
113
- }
114
- .k-switch-label-off {
115
- inset-inline-end: var( --kendo-switch-label-offset, 0 );
116
- }
117
-
118
-
119
- // Switch sizes
120
- @each $size, $size-props in $kendo-switch-sizes {
121
-
122
- $_font-size: map.get( $size-props, font-size );
123
- $_track-width: map.get( $size-props, track-width );
124
- $_track-height: map.get( $size-props, track-height );
125
- $_thumb-width: map.get( $size-props, thumb-width );
126
- $_thumb-height: map.get( $size-props, thumb-height );
127
- $_thumb-offset: map.get( $size-props, thumb-offset );
128
- $_label-offset: map.get( $size-props, label-offset );
129
-
130
- .k-switch-#{$size} {
131
- --kendo-switch-width: var( --kendo-switch-#{$size}-width, #{$_track-width} );
132
- --kendo-switch-height: var( --kendo-switch-#{$size}-height, #{$_track-height} );
133
- --kendo-switch-font-size: var( --kendo-switch-#{$size}-font-size, #{$_font-size} );
134
-
135
- .k-switch-label-on,
136
- .k-switch-label-off {
137
- --kendo-switch-label-offset: var( --kendo-switch-#{$size}-label-offset, #{$_label-offset} );
138
- }
139
-
140
- .k-switch-thumb,
141
- .k-switch-thumb-wrap {
142
- --kendo-switch-thumb-width: var( --kendo-switch-#{$size}-thumb-width, #{$_thumb-width} );
143
- --kendo-switch-thumb-height: var( --kendo-switch-#{$size}-thumb-height, #{$_thumb-height} );
144
- }
145
- .k-switch-thumb-wrap {
146
- --kendo-switch-thumb-offset: var( --kendo-switch-#{$size}-thumb-offset, #{$_thumb-offset} );
147
- }
148
- }
149
-
150
- }
151
-
152
-
153
- // RTL
154
- .k-switch[dir="rtl"],
155
- [dir="rtl"] .k-switch,
156
- .k-switch.k-rtl,
157
- .k-rtl .k-switch {
158
-
159
- .k-switch-thumb {
160
- transform: translate( 50%, -50% );
161
- }
162
-
163
- }
164
-
165
29
  }
@@ -1,9 +1,10 @@
1
1
  @use "../core/_index.scss" as *;
2
2
  @use "./_variables.scss" as *;
3
+ @use "@progress/kendo-theme-core/scss/components/switch/_theme.scss" as *;
3
4
 
4
5
  @mixin kendo-switch--theme() {
6
+ @include kendo-switch--theme-base();
5
7
 
6
- // Switch
7
8
  .k-switch {
8
9
  &:focus,
9
10
  &.k-focus {
@@ -17,139 +18,4 @@
17
18
  background-color: transparent;
18
19
  }
19
20
  }
20
-
21
-
22
- // Switch OFF
23
- .k-switch-off {
24
-
25
- // Normal state
26
- .k-switch-track {
27
- @include fill(
28
- var( --kendo-switch-off-track-text, #{$kendo-switch-off-track-text} ),
29
- var( --kendo-switch-off-track-bg, #{$kendo-switch-off-track-bg} ),
30
- var( --kendo-switch-off-track-border, #{$kendo-switch-off-track-border} )
31
- );
32
- }
33
- .k-switch-thumb {
34
- @include fill(
35
- var( --kendo-switch-off-thumb-text, #{$kendo-switch-off-thumb-text} ),
36
- var( --kendo-switch-off-thumb-bg, #{$kendo-switch-off-thumb-bg} ),
37
- var( --kendo-switch-off-thumb-border, #{$kendo-switch-off-thumb-border} )
38
- );
39
- }
40
-
41
- // Hover
42
- &:hover,
43
- &.k-hover {
44
- .k-switch-track {
45
- --kendo-switch-off-track-text: var( --kendo-switch-off-track-hover-text, #{$kendo-switch-off-track-hover-text} );
46
- --kendo-switch-off-track-bg: var( --kendo-switch-off-track-hover-bg, #{$kendo-switch-off-track-hover-bg} );
47
- --kendo-switch-off-track-border: var( --kendo-switch-off-track-hover-border, #{$kendo-switch-off-track-hover-border} );
48
- }
49
-
50
- .k-switch-thumb {
51
- --kendo-switch-off-thumb-text: var( --kendo-switch-off-thumb-hover-text, #{$kendo-switch-off-thumb-hover-text} );
52
- --kendo-switch-off-thumb-bg: var( --kendo-switch-off-thumb-hover-bg, #{$kendo-switch-off-thumb-hover-bg} );
53
- --kendo-switch-off-thumb-border: var( --kendo-switch-off-thumb-hover-border, #{$kendo-switch-off-thumb-hover-border} );
54
- }
55
- }
56
-
57
- // Focus
58
- &:focus,
59
- &.k-focus {
60
- .k-switch-track {
61
- --kendo-switch-off-track-text: var( --kendo-switch-off-track-focus-text, #{$kendo-switch-off-track-focus-text} );
62
- --kendo-switch-off-track-bg: var( --kendo-switch-off-track-focus-bg, #{$kendo-switch-off-track-focus-bg} );
63
- --kendo-switch-off-track-border: var( --kendo-switch-off-track-focus-border, #{$kendo-switch-off-track-focus-border} );
64
- }
65
- }
66
-
67
- // Disabled
68
- &:disabled,
69
- &.k-disabled {
70
- .k-switch-track {
71
- --kendo-switch-off-track-text: var( --kendo-switch-off-track-disabled-text, #{$kendo-switch-off-track-disabled-text} );
72
- --kendo-switch-off-track-bg: var( --kendo-switch-off-track-disabled-bg, #{$kendo-switch-off-track-disabled-bg} );
73
- --kendo-switch-off-track-border: var( --kendo-switch-off-track-disabled-border, #{$kendo-switch-off-track-disabled-border} );
74
- }
75
-
76
- .k-switch-thumb {
77
- --kendo-switch-off-thumb-text: var( --kendo-switch-off-thumb-disabled-text, #{$kendo-switch-off-thumb-disabled-text} );
78
- --kendo-switch-off-thumb-bg: var( --kendo-switch-off-thumb-disabled-bg, #{$kendo-switch-off-thumb-disabled-bg} );
79
- --kendo-switch-off-thumb-border: var( --kendo-switch-off-thumb-disabled-border, #{$kendo-switch-off-thumb-disabled-border} );
80
- }
81
- }
82
-
83
- .k-switch-label-on {
84
- color: transparent;
85
- }
86
- }
87
-
88
-
89
- // Switch ON
90
- .k-switch-on {
91
-
92
- // Normal state
93
- .k-switch-track {
94
- @include fill(
95
- var( --kendo-switch-on-track-text, #{$kendo-switch-on-track-text} ),
96
- var( --kendo-switch-on-track-bg, #{$kendo-switch-on-track-bg} ),
97
- var( --kendo-switch-on-track-border, #{$kendo-switch-on-track-border} )
98
- );
99
- }
100
- .k-switch-thumb {
101
- @include fill(
102
- var( --kendo-switch-on-thumb-text, #{$kendo-switch-on-thumb-text} ),
103
- var( --kendo-switch-on-thumb-bg, #{$kendo-switch-on-thumb-bg} ),
104
- var( --kendo-switch-on-thumb-border, #{$kendo-switch-on-thumb-border} )
105
- );
106
- }
107
-
108
- // Hover
109
- &:hover,
110
- &.k-hover {
111
- .k-switch-track {
112
- --kendo-switch-on-track-text: var( --kendo-switch-on-track-hover-text, #{$kendo-switch-on-track-hover-text} );
113
- --kendo-switch-on-track-bg: var( --kendo-switch-on-track-hover-bg, #{$kendo-switch-on-track-hover-bg} );
114
- --kendo-switch-on-track-border: var( --kendo-switch-on-track-hover-border, #{$kendo-switch-on-track-hover-border} );
115
- }
116
-
117
- .k-switch-thumb {
118
- --kendo-switch-on-thumb-text: var( --kendo-switch-on-thumb-hover-text, #{$kendo-switch-on-thumb-hover-text} );
119
- --kendo-switch-on-thumb-bg: var( --kendo-switch-on-thumb-hover-bg, #{$kendo-switch-on-thumb-hover-bg} );
120
- --kendo-switch-on-thumb-border: var( --kendo-switch-on-thumb-hover-border, #{$kendo-switch-on-thumb-hover-border} );
121
- }
122
- }
123
-
124
- // Focus
125
- &:focus,
126
- &.k-focus {
127
- .k-switch-track {
128
- --kendo-switch-on-track-text: var( --kendo-switch-on-track-focus-text, #{$kendo-switch-on-track-focus-text} );
129
- --kendo-switch-on-track-bg: var( --kendo-switch-on-track-focus-bg, #{$kendo-switch-on-track-focus-bg} );
130
- --kendo-switch-on-track-border: var( --kendo-switch-on-track-focus-border, #{$kendo-switch-on-track-focus-border} );
131
- }
132
- }
133
-
134
- // Disabled
135
- &:disabled,
136
- &.k-disabled {
137
- .k-switch-track {
138
- --kendo-switch-on-track-text: var( --kendo-switch-on-track-disabled-text, #{$kendo-switch-on-track-disabled-text} );
139
- --kendo-switch-on-track-bg: var( --kendo-switch-on-track-disabled-bg, #{$kendo-switch-on-track-disabled-bg} );
140
- --kendo-switch-on-track-border: var( --kendo-switch-on-track-disabled-border, #{$kendo-switch-on-track-disabled-border} );
141
- }
142
-
143
- .k-switch-thumb {
144
- --kendo-switch-on-thumb-text: var( --kendo-switch-on-thumb-disabled-text, #{$kendo-switch-on-thumb-disabled-text} );
145
- --kendo-switch-on-thumb-bg: var( --kendo-switch-on-thumb-disabled-bg, #{$kendo-switch-on-thumb-disabled-bg} );
146
- --kendo-switch-on-thumb-border: var( --kendo-switch-on-thumb-disabled-border, #{$kendo-switch-on-thumb-disabled-border} );
147
- }
148
- }
149
-
150
- .k-switch-label-off {
151
- color: transparent;
152
- }
153
- }
154
-
155
21
  }
@@ -2,23 +2,23 @@
2
2
 
3
3
  /// The font family of the Switch.
4
4
  /// @group switch
5
- $kendo-switch-font-family: var( --kendo-font-family, normal ) !default;
5
+ $kendo-switch-font-family: var( --kendo-switch-font-family, var( --kendo-font-family, normal ) ) !default;
6
6
 
7
7
  /// The border width of the Switch track.
8
8
  /// @group switch
9
- $kendo-switch-track-border-width: 1px !default;
9
+ $kendo-switch-track-border-width: var( --kendo-switch-track-border-width, 1px ) !default;
10
10
 
11
11
  /// The border width of the Switch thumb.
12
12
  /// @group switch
13
- $kendo-switch-thumb-border-width: 0 !default;
13
+ $kendo-switch-thumb-border-width: var( --kendo-switch-thumb-border-width, 0 ) !default;
14
14
 
15
15
  /// The text transform of the Switch label.
16
16
  /// @group switch
17
- $kendo-switch-label-text-transform: uppercase !default;
17
+ $kendo-switch-label-text-transform: var( --kendo-switch-label-text-transform, uppercase ) !default;
18
18
 
19
19
  /// The display of the Switch label.
20
20
  /// @group switch
21
- $kendo-switch-label-display: none !default;
21
+ $kendo-switch-label-display: var( --kendo-switch-label-display, none ) !default;
22
22
 
23
23
  /// The map with the different Switch sizes.
24
24
  /// @group switch
@@ -30,145 +30,195 @@ $kendo-switch-sizes: (
30
30
 
31
31
  /// The ring around the focused Switch.
32
32
  /// @group switch
33
- $kendo-switch-focus-ring: 1px solid k-color(base-emphasis) !default;
33
+ $kendo-switch-focus-ring: var( --kendo-switch-focus-ring, 1px solid k-color(base-emphasis) ) !default;
34
34
 
35
35
  /// The background of the track when the Switch is not checked.
36
36
  /// @group switch
37
- $kendo-switch-off-track-bg: k-color(surface-alt) !default;
37
+ $kendo-switch-off-track-bg: var( --kendo-switch-off-track-bg, k-color(surface-alt) ) !default;
38
38
  /// The text color of the track when the Switch is not checked.
39
39
  /// @group switch
40
- $kendo-switch-off-track-text: k-color(on-app-surface) !default;
40
+ $kendo-switch-off-track-text: var( --kendo-switch-off-track-text, k-color(on-app-surface) ) !default;
41
41
  /// The border color of the track when the Switch is not checked.
42
42
  /// @group switch
43
- $kendo-switch-off-track-border: k-color(border) !default;
43
+ $kendo-switch-off-track-border: var( --kendo-switch-off-track-border, k-color(border) ) !default;
44
44
 
45
45
  /// The background of the track when the hovered Switch is not checked.
46
46
  /// @group switch
47
- $kendo-switch-off-track-hover-bg: k-color(surface-alt) !default;
47
+ $kendo-switch-off-track-hover-bg: var( --kendo-switch-off-track-hover-bg, k-color(surface-alt) ) !default;
48
48
  /// The text color of the track when the hovered Switch is not checked.
49
49
  /// @group switch
50
- $kendo-switch-off-track-hover-text: k-color(on-app-surface) !default;
50
+ $kendo-switch-off-track-hover-text: var( --kendo-switch-off-track-hover-text, k-color(on-app-surface) ) !default;
51
51
  /// The border color of the track when the hovered Switch is not checked.
52
52
  /// @group switch
53
- $kendo-switch-off-track-hover-border: k-color(border-alt) !default;
53
+ $kendo-switch-off-track-hover-border: var( --kendo-switch-off-track-hover-border, k-color(border-alt) ) !default;
54
54
 
55
55
  /// The background of the track when the focused Switch is not checked.
56
56
  /// @group switch
57
- $kendo-switch-off-track-focus-bg: k-color(surface-alt) !default;
57
+ $kendo-switch-off-track-focus-bg: var( --kendo-switch-off-track-focus-bg, k-color(surface-alt) ) !default;
58
58
  /// The text color of the track when the focused Switch is not checked.
59
59
  /// @group switch
60
- $kendo-switch-off-track-focus-text: k-color(on-app-surface) !default;
60
+ $kendo-switch-off-track-focus-text: var( --kendo-switch-off-track-focus-text, k-color(on-app-surface) ) !default;
61
61
  /// The border color of the track when the focused Switch is not checked.
62
62
  /// @group switch
63
- $kendo-switch-off-track-focus-border: k-color(border) !default;
63
+ $kendo-switch-off-track-focus-border: var( --kendo-switch-off-track-focus-border, k-color(border) ) !default;
64
64
 
65
65
  /// The background of the track when the disabled Switch is not checked.
66
66
  /// @group switch
67
- $kendo-switch-off-track-disabled-bg: k-color(surface-alt) !default;
67
+ $kendo-switch-off-track-disabled-bg: var( --kendo-switch-off-track-disabled-bg, k-color(surface-alt) ) !default;
68
68
  /// The text color of the track when the disabled Switch is not checked.
69
69
  /// @group switch
70
- $kendo-switch-off-track-disabled-text: k-color(on-app-surface) !default;
70
+ $kendo-switch-off-track-disabled-text: var( --kendo-switch-off-track-disabled-text, k-color(on-app-surface) ) !default;
71
71
  /// The border color of the track when the disabled Switch is not checked.
72
72
  /// @group switch
73
- $kendo-switch-off-track-disabled-border: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
73
+ $kendo-switch-off-track-disabled-border: var( --kendo-switch-off-track-disabled-border, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
74
74
 
75
75
  /// The background of the thumb when the Switch is not checked.
76
76
  /// @group switch
77
- $kendo-switch-off-thumb-bg: k-color(subtle) !default;
77
+ $kendo-switch-off-thumb-bg: var( --kendo-switch-off-thumb-bg, k-color(subtle) ) !default;
78
78
  /// The text color of the thumb when the Switch is not checked.
79
79
  /// @group switch
80
- $kendo-switch-off-thumb-text: inherit !default;
80
+ $kendo-switch-off-thumb-text: var( --kendo-switch-off-thumb-text, inherit ) !default;
81
81
  /// The border color of the thumb when the Switch is not checked.
82
82
  /// @group switch
83
- $kendo-switch-off-thumb-border: k-color(border) !default;
83
+ $kendo-switch-off-thumb-border: var( --kendo-switch-off-thumb-border, k-color(border) ) !default;
84
84
 
85
85
  /// The background of the thumb when the hovered Switch is not checked.
86
86
  /// @group switch
87
- $kendo-switch-off-thumb-hover-bg: k-color(on-app-surface) !default;
87
+ $kendo-switch-off-thumb-hover-bg: var( --kendo-switch-off-thumb-hover-bg, k-color(on-app-surface) ) !default;
88
88
  /// The text color of the thumb when the hovered Switch is not checked.
89
89
  /// @group switch
90
- $kendo-switch-off-thumb-hover-text: inherit !default;
90
+ $kendo-switch-off-thumb-hover-text: var( --kendo-switch-off-thumb-hover-text, inherit ) !default;
91
91
  /// The border color of the thumb when the hovered Switch is not checked.
92
92
  /// @group switch
93
- $kendo-switch-off-thumb-hover-border: k-color(border-alt) !default;
93
+ $kendo-switch-off-thumb-hover-border: var( --kendo-switch-off-thumb-hover-border, k-color(border-alt) ) !default;
94
94
 
95
95
  /// The background of the thumb when the disabled Switch is not checked.
96
96
  /// @group switch
97
- $kendo-switch-off-thumb-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
97
+ $kendo-switch-off-thumb-disabled-bg: var( --kendo-switch-off-thumb-disabled-bg, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
98
98
  /// The text color of the thumb when the disabled Switch is not checked.
99
99
  /// @group switch
100
- $kendo-switch-off-thumb-disabled-text: inherit !default;
100
+ $kendo-switch-off-thumb-disabled-text: var( --kendo-switch-off-thumb-disabled-text, inherit ) !default;
101
101
  /// The border color of the thumb when the disabled Switch is not checked.
102
102
  /// @group switch
103
- $kendo-switch-off-thumb-disabled-border: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
104
-
103
+ $kendo-switch-off-thumb-disabled-border: var( --kendo-switch-off-thumb-disabled-border, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
105
104
 
106
105
  /// The background of the track when the Switch is checked.
107
106
  /// @group switch
108
- $kendo-switch-on-track-bg: k-color(primary) !default;
107
+ $kendo-switch-on-track-bg: var( --kendo-switch-on-track-bg, k-color(primary) ) !default;
109
108
  /// The text color of the track when the Switch is checked.
110
109
  /// @group switch
111
- $kendo-switch-on-track-text: k-color(app-surface) !default;
110
+ $kendo-switch-on-track-text: var( --kendo-switch-on-track-text, k-color(app-surface) ) !default;
112
111
  /// The border color of the track when the Switch is checked.
113
112
  /// @group switch
114
- $kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
113
+ $kendo-switch-on-track-border: var( --kendo-switch-on-track-border, $kendo-switch-on-track-bg ) !default;
115
114
 
116
115
  /// The background of the track when the hovered Switch is checked.
117
116
  /// @group switch
118
- $kendo-switch-on-track-hover-bg: k-color(primary-hover) !default;
117
+ $kendo-switch-on-track-hover-bg: var( --kendo-switch-on-track-hover-bg, k-color(primary-hover) ) !default;
119
118
  /// The text color of the track when the hovered Switch is checked.
120
119
  /// @group switch
121
- $kendo-switch-on-track-hover-text: k-color(app-surface) !default;
120
+ $kendo-switch-on-track-hover-text: var( --kendo-switch-on-track-hover-text, k-color(app-surface) ) !default;
122
121
  /// The border color of the track when the hovered Switch is checked.
123
122
  /// @group switch
124
- $kendo-switch-on-track-hover-border: $kendo-switch-on-track-hover-bg !default;
123
+ $kendo-switch-on-track-hover-border: var( --kendo-switch-on-track-hover-border, $kendo-switch-on-track-hover-bg ) !default;
125
124
 
126
125
  /// The background of the track when the focused Switch is checked.
127
126
  /// @group switch
128
- $kendo-switch-on-track-focus-bg: k-color(primary) !default;
127
+ $kendo-switch-on-track-focus-bg: var( --kendo-switch-on-track-focus-bg, k-color(primary) ) !default;
129
128
  /// The text color of the track when the focused Switch is checked.
130
129
  /// @group switch
131
- $kendo-switch-on-track-focus-text: k-color(app-surface) !default;
130
+ $kendo-switch-on-track-focus-text: var( --kendo-switch-on-track-focus-text, k-color(app-surface) ) !default;
132
131
  /// The border color of the track when the focused Switch is checked.
133
132
  /// @group switch
134
- $kendo-switch-on-track-focus-border: $kendo-switch-on-track-focus-bg !default;
133
+ $kendo-switch-on-track-focus-border: var( --kendo-switch-on-track-focus-border, $kendo-switch-on-track-focus-bg ) !default;
135
134
 
136
135
  /// The background of the track when the disabled Switch is checked.
137
136
  /// @group switch
138
- $kendo-switch-on-track-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
137
+ $kendo-switch-on-track-disabled-bg: var( --kendo-switch-on-track-disabled-bg, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
139
138
  /// The text color of the track when the disabled Switch is checked.
140
139
  /// @group switch
141
- $kendo-switch-on-track-disabled-text: k-color(app-surface) !default;
140
+ $kendo-switch-on-track-disabled-text: var( --kendo-switch-on-track-disabled-text, k-color(app-surface) ) !default;
142
141
  /// The border color of the track when the disabled Switch is checked.
143
142
  /// @group switch
144
- $kendo-switch-on-track-disabled-border: transparent !default;
143
+ $kendo-switch-on-track-disabled-border: var( --kendo-switch-on-track-disabled-border, transparent ) !default;
145
144
 
146
145
  /// The background of the thumb when the Switch is checked.
147
146
  /// @group switch
148
- $kendo-switch-on-thumb-bg: k-color(app-surface) !default;
147
+ $kendo-switch-on-thumb-bg: var( --kendo-switch-on-thumb-bg, k-color(app-surface) ) !default;
149
148
  /// The text color of the thumb when the Switch is checked.
150
149
  /// @group switch
151
- $kendo-switch-on-thumb-text: inherit !default;
150
+ $kendo-switch-on-thumb-text: var( --kendo-switch-on-thumb-text, inherit ) !default;
152
151
  /// The border color of the thumb when the Switch is checked.
153
152
  /// @group switch
154
- $kendo-switch-on-thumb-border: inherit !default;
153
+ $kendo-switch-on-thumb-border: var( --kendo-switch-on-thumb-border, inherit ) !default;
155
154
 
156
155
  /// The background of the thumb when the hovered Switch is checked.
157
156
  /// @group switch
158
- $kendo-switch-on-thumb-hover-bg: k-color(app-surface) !default;
157
+ $kendo-switch-on-thumb-hover-bg: var( --kendo-switch-on-thumb-hover-bg, k-color(app-surface) ) !default;
159
158
  /// The text color of the thumb when the hovered Switch is checked.
160
159
  /// @group switch
161
- $kendo-switch-on-thumb-hover-text: inherit !default;
160
+ $kendo-switch-on-thumb-hover-text: var( --kendo-switch-on-thumb-hover-text, inherit ) !default;
162
161
  /// The border color of the thumb when the hovered Switch is checked.
163
162
  /// @group switch
164
- $kendo-switch-on-thumb-hover-border: inherit !default;
163
+ $kendo-switch-on-thumb-hover-border: var( --kendo-switch-on-thumb-hover-border, inherit ) !default;
165
164
 
166
165
  /// The background of the thumb when the disabled Switch is checked.
167
166
  /// @group switch
168
- $kendo-switch-on-thumb-disabled-bg: k-color(surface) !default;
167
+ $kendo-switch-on-thumb-disabled-bg: var( --kendo-switch-on-thumb-disabled-bg, k-color(surface) ) !default;
169
168
  /// The text color of the thumb when the disabled Switch is checked.
170
169
  /// @group switch
171
- $kendo-switch-on-thumb-disabled-text: inherit !default;
170
+ $kendo-switch-on-thumb-disabled-text: var( --kendo-switch-on-thumb-disabled-text, inherit ) !default;
172
171
  /// The border color of the thumb when the disabled Switch is checked.
173
172
  /// @group switch
174
- $kendo-switch-on-thumb-disabled-border: color-mix(in srgb, k-color(on-app-surface) 6%, transparent) !default;
173
+ $kendo-switch-on-thumb-disabled-border: var( --kendo-switch-on-thumb-disabled-border, color-mix(in srgb, k-color(on-app-surface) 6%, transparent) ) !default;
174
+
175
+ @forward "@progress/kendo-theme-core/scss/components/switch/_variables.scss" with (
176
+ $kendo-switch-font-family: $kendo-switch-font-family,
177
+ $kendo-switch-track-border-width: $kendo-switch-track-border-width,
178
+ $kendo-switch-thumb-border-width: $kendo-switch-thumb-border-width,
179
+ $kendo-switch-label-text-transform: $kendo-switch-label-text-transform,
180
+ $kendo-switch-label-display: $kendo-switch-label-display,
181
+ $kendo-switch-sizes: $kendo-switch-sizes,
182
+ $kendo-switch-off-track-bg: $kendo-switch-off-track-bg,
183
+ $kendo-switch-off-track-text: $kendo-switch-off-track-text,
184
+ $kendo-switch-off-track-border: $kendo-switch-off-track-border,
185
+ $kendo-switch-off-track-hover-bg: $kendo-switch-off-track-hover-bg,
186
+ $kendo-switch-off-track-hover-text: $kendo-switch-off-track-hover-text,
187
+ $kendo-switch-off-track-hover-border: $kendo-switch-off-track-hover-border,
188
+ $kendo-switch-off-track-focus-bg: $kendo-switch-off-track-focus-bg,
189
+ $kendo-switch-off-track-focus-text: $kendo-switch-off-track-focus-text,
190
+ $kendo-switch-off-track-focus-border: $kendo-switch-off-track-focus-border,
191
+ $kendo-switch-off-track-disabled-bg: $kendo-switch-off-track-disabled-bg,
192
+ $kendo-switch-off-track-disabled-text: $kendo-switch-off-track-disabled-text,
193
+ $kendo-switch-off-track-disabled-border: $kendo-switch-off-track-disabled-border,
194
+ $kendo-switch-off-thumb-bg: $kendo-switch-off-thumb-bg,
195
+ $kendo-switch-off-thumb-text: $kendo-switch-off-thumb-text,
196
+ $kendo-switch-off-thumb-border: $kendo-switch-off-thumb-border,
197
+ $kendo-switch-off-thumb-hover-bg: $kendo-switch-off-thumb-hover-bg,
198
+ $kendo-switch-off-thumb-hover-text: $kendo-switch-off-thumb-hover-text,
199
+ $kendo-switch-off-thumb-hover-border: $kendo-switch-off-thumb-hover-border,
200
+ $kendo-switch-off-thumb-disabled-bg: $kendo-switch-off-thumb-disabled-bg,
201
+ $kendo-switch-off-thumb-disabled-text: $kendo-switch-off-thumb-disabled-text,
202
+ $kendo-switch-off-thumb-disabled-border: $kendo-switch-off-thumb-disabled-border,
203
+ $kendo-switch-on-track-bg: $kendo-switch-on-track-bg,
204
+ $kendo-switch-on-track-text: $kendo-switch-on-track-text,
205
+ $kendo-switch-on-track-border: $kendo-switch-on-track-border,
206
+ $kendo-switch-on-track-hover-bg: $kendo-switch-on-track-hover-bg,
207
+ $kendo-switch-on-track-hover-text: $kendo-switch-on-track-hover-text,
208
+ $kendo-switch-on-track-hover-border: $kendo-switch-on-track-hover-border,
209
+ $kendo-switch-on-track-focus-bg: $kendo-switch-on-track-focus-bg,
210
+ $kendo-switch-on-track-focus-text: $kendo-switch-on-track-focus-text,
211
+ $kendo-switch-on-track-focus-border: $kendo-switch-on-track-focus-border,
212
+ $kendo-switch-on-track-disabled-bg: $kendo-switch-on-track-disabled-bg,
213
+ $kendo-switch-on-track-disabled-text: $kendo-switch-on-track-disabled-text,
214
+ $kendo-switch-on-track-disabled-border: $kendo-switch-on-track-disabled-border,
215
+ $kendo-switch-on-thumb-bg: $kendo-switch-on-thumb-bg,
216
+ $kendo-switch-on-thumb-text: $kendo-switch-on-thumb-text,
217
+ $kendo-switch-on-thumb-border: $kendo-switch-on-thumb-border,
218
+ $kendo-switch-on-thumb-hover-bg: $kendo-switch-on-thumb-hover-bg,
219
+ $kendo-switch-on-thumb-hover-text: $kendo-switch-on-thumb-hover-text,
220
+ $kendo-switch-on-thumb-hover-border: $kendo-switch-on-thumb-hover-border,
221
+ $kendo-switch-on-thumb-disabled-bg: $kendo-switch-on-thumb-disabled-bg,
222
+ $kendo-switch-on-thumb-disabled-text: $kendo-switch-on-thumb-disabled-text,
223
+ $kendo-switch-on-thumb-disabled-border: $kendo-switch-on-thumb-disabled-border,
224
+ );