@progress/kendo-theme-fluent 10.6.0 → 11.0.0-dev.1

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 (144) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-main-dark.css +1 -1
  3. package/dist/fluent-main-dark.scss +1 -1
  4. package/dist/fluent-main.css +1 -1
  5. package/dist/fluent-main.scss +1 -5
  6. package/dist/meta/sassdoc-data.json +5942 -5186
  7. package/dist/meta/sassdoc-raw-data.json +2420 -2070
  8. package/dist/meta/variables.json +657 -1022
  9. package/lib/swatches/all.json +2 -13
  10. package/lib/swatches/fluent-main-dark.json +1 -12
  11. package/lib/swatches/fluent-main.json +2 -14
  12. package/package.json +4 -4
  13. package/scss/action-sheet/_variables.scss +16 -12
  14. package/scss/adaptive/_theme.scss +3 -3
  15. package/scss/adaptive/_variables.scss +13 -13
  16. package/scss/appbar/_variables.scss +10 -10
  17. package/scss/avatar/_variables.scss +11 -11
  18. package/scss/badge/_layout.scss +1 -1
  19. package/scss/badge/_variables.scss +14 -14
  20. package/scss/bottom-navigation/_variables.scss +35 -35
  21. package/scss/breadcrumb/_variables.scss +13 -13
  22. package/scss/button/_layout.scss +1 -1
  23. package/scss/button/_variables.scss +172 -172
  24. package/scss/calendar/_layout.scss +2 -1
  25. package/scss/calendar/_theme.scss +7 -3
  26. package/scss/calendar/_variables.scss +39 -27
  27. package/scss/captcha/_variables.scss +3 -3
  28. package/scss/card/_layout.scss +0 -1
  29. package/scss/card/_theme.scss +4 -0
  30. package/scss/card/_variables.scss +7 -7
  31. package/scss/chart-wizard/_variables.scss +4 -4
  32. package/scss/chat/_variables.scss +15 -15
  33. package/scss/checkbox/_variables.scss +22 -22
  34. package/scss/chip/_layout.scss +1 -0
  35. package/scss/chip/_variables.scss +52 -48
  36. package/scss/color-preview/_theme.scss +1 -1
  37. package/scss/color-preview/_variables.scss +4 -4
  38. package/scss/coloreditor/_variables.scss +4 -4
  39. package/scss/colorgradient/_layout.scss +1 -10
  40. package/scss/colorgradient/_variables.scss +14 -38
  41. package/scss/colorpalette/_variables.scss +4 -4
  42. package/scss/column-menu/_variables.scss +1 -1
  43. package/scss/core/_index.scss +8 -5
  44. package/scss/core/color-system/_index.scss +0 -1
  45. package/scss/core/color-system/_swatch.scss +0 -4
  46. package/scss/dataviz/_layout.scss +8 -8
  47. package/scss/dataviz/_theme.scss +3 -3
  48. package/scss/dataviz/_variables.scss +56 -56
  49. package/scss/daterangepicker/_theme.scss +1 -1
  50. package/scss/dialog/_theme.scss +1 -0
  51. package/scss/dialog/_variables.scss +12 -8
  52. package/scss/dock-manager/_variables.scss +10 -10
  53. package/scss/draggable/_variables.scss +4 -4
  54. package/scss/drawer/_layout.scss +5 -2
  55. package/scss/drawer/_theme.scss +7 -0
  56. package/scss/drawer/_variables.scss +34 -16
  57. package/scss/dropzone/_variables.scss +6 -6
  58. package/scss/editor/_theme.scss +2 -2
  59. package/scss/editor/_variables.scss +15 -15
  60. package/scss/expansion-panel/_variables.scss +14 -14
  61. package/scss/fab/_theme.scss +3 -3
  62. package/scss/fab/_variables.scss +12 -12
  63. package/scss/filemanager/_variables.scss +5 -5
  64. package/scss/filter/_variables.scss +5 -5
  65. package/scss/floating-label/_variables.scss +1 -1
  66. package/scss/forms/_theme.scss +2 -2
  67. package/scss/forms/_variables.scss +4 -4
  68. package/scss/gantt/_theme.scss +3 -3
  69. package/scss/gantt/_variables.scss +36 -36
  70. package/scss/grid/_layout.scss +1 -1
  71. package/scss/grid/_theme.scss +13 -43
  72. package/scss/grid/_variables.scss +20 -20
  73. package/scss/imageeditor/_variables.scss +6 -6
  74. package/scss/index.scss +3 -3
  75. package/scss/input/_theme.scss +3 -5
  76. package/scss/input/_variables.scss +74 -80
  77. package/scss/list/_layout.scss +8 -0
  78. package/scss/list/_variables.scss +46 -26
  79. package/scss/listbox/_variables.scss +4 -4
  80. package/scss/listgroup/_variables.scss +3 -3
  81. package/scss/listview/_variables.scss +4 -4
  82. package/scss/loader/_variables.scss +9 -9
  83. package/scss/map/_variables.scss +8 -8
  84. package/scss/marquee/_index.scss +16 -0
  85. package/scss/marquee/_layout.scss +6 -0
  86. package/scss/marquee/_theme.scss +6 -0
  87. package/scss/marquee/_variables.scss +11 -0
  88. package/scss/mediaplayer/_variables.scss +6 -6
  89. package/scss/menu/_theme.scss +1 -1
  90. package/scss/menu/_variables.scss +11 -11
  91. package/scss/messagebox/_theme.scss +1 -1
  92. package/scss/messagebox/_variables.scss +30 -2
  93. package/scss/no-data/_variables.scss +1 -1
  94. package/scss/notification/_layout.scss +2 -0
  95. package/scss/notification/_variables.scss +17 -10
  96. package/scss/orgchart/_variables.scss +8 -8
  97. package/scss/pager/_variables.scss +6 -6
  98. package/scss/panel/_layout.scss +3 -3
  99. package/scss/panel/_variables.scss +3 -3
  100. package/scss/panelbar/_variables.scss +12 -12
  101. package/scss/pdf-viewer/_variables.scss +16 -16
  102. package/scss/pivotgrid/_theme.scss +4 -4
  103. package/scss/pivotgrid/_variables.scss +22 -22
  104. package/scss/popover/_variables.scss +3 -3
  105. package/scss/popup/_variables.scss +3 -3
  106. package/scss/progressbar/_variables.scss +13 -13
  107. package/scss/prompt/_variables.scss +12 -12
  108. package/scss/radio/_variables.scss +13 -13
  109. package/scss/rating/_theme.scss +2 -2
  110. package/scss/rating/_variables.scss +4 -4
  111. package/scss/scheduler/_theme.scss +5 -5
  112. package/scss/scheduler/_variables.scss +17 -17
  113. package/scss/scrollview/_variables.scss +11 -11
  114. package/scss/searchbox/_variables.scss +1 -1
  115. package/scss/signature/_variables.scss +2 -2
  116. package/scss/skeleton/_variables.scss +2 -2
  117. package/scss/slider/_variables.scss +12 -12
  118. package/scss/split-button/_variables.scss +1 -1
  119. package/scss/splitter/_variables.scss +8 -8
  120. package/scss/spreadsheet/_variables.scss +29 -29
  121. package/scss/stepper/_theme.scss +29 -53
  122. package/scss/stepper/_variables.scss +20 -20
  123. package/scss/switch/_variables.scss +32 -32
  124. package/scss/table/_theme.scss +7 -18
  125. package/scss/table/_variables.scss +8 -8
  126. package/scss/tabstrip/_variables.scss +17 -16
  127. package/scss/taskboard/_theme.scss +4 -4
  128. package/scss/taskboard/_variables.scss +13 -13
  129. package/scss/tilelayout/_variables.scss +2 -2
  130. package/scss/timeline/_variables.scss +14 -14
  131. package/scss/timeselector/_theme.scss +14 -11
  132. package/scss/timeselector/_variables.scss +13 -4
  133. package/scss/toolbar/_layout.scss +6 -0
  134. package/scss/toolbar/_variables.scss +7 -7
  135. package/scss/tooltip/_variables.scss +10 -10
  136. package/scss/treeview/_variables.scss +11 -11
  137. package/scss/typography/_layout.scss +2 -2
  138. package/scss/typography/_theme.scss +2 -2
  139. package/scss/typography/_variables.scss +3 -3
  140. package/scss/upload/_theme.scss +2 -2
  141. package/scss/upload/_variables.scss +14 -14
  142. package/scss/window/_variables.scss +11 -11
  143. package/scss/wizard/_variables.scss +3 -3
  144. package/scss/core/color-system/_swatch-legacy.scss +0 -165
@@ -25,19 +25,19 @@ $kendo-chip-avatar-height: 1em !default;
25
25
  $kendo-chip-avatar-flex-basis: 1em !default;
26
26
  /// The text color of the disabled Chip.
27
27
  /// @group chip
28
- $kendo-chip-disabled-text: var( --kendo-disabled-text, inherit ) !default;
28
+ $kendo-chip-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
29
29
  /// The background color of the solid disabled Chip.
30
30
  /// @group chip
31
- $kendo-chip-solid-disabled-bg: var( --kendo-disabled-bg, transparent ) !default;
31
+ $kendo-chip-solid-disabled-bg: k-color(base-subtle) !default;
32
32
  /// The border color of the solid disabled Chip.
33
33
  /// @group chip
34
- $kendo-chip-solid-disabled-border: var( --kendo-disabled-border, inherit ) !default;
34
+ $kendo-chip-solid-disabled-border: transparent !default;
35
35
  /// The background color of the outline disabled Chip.
36
36
  /// @group chip
37
- $kendo-chip-outline-disabled-bg: var( $kendo-component-bg, transparent ) !default;
37
+ $kendo-chip-outline-disabled-bg: var( k-color(surface-alt), transparent ) !default;
38
38
  /// The border color of the outline disabled Chip.
39
39
  /// @group chip
40
- $kendo-chip-outline-disabled-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), k-get-theme-color-var( neutral-90 )) !default;
40
+ $kendo-chip-outline-disabled-border: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
41
41
 
42
42
  /// The offset of the outline focused Chip.
43
43
  /// @group chip
@@ -69,6 +69,10 @@ $kendo-chip-md-padding-y: k-spacing(1) !default;
69
69
  /// @group chip
70
70
  $kendo-chip-lg-padding-y: k-spacing(1.5) !default;
71
71
 
72
+ /// The font weight of the Chip.
73
+ /// @group chip
74
+ $kendo-chip-font-weight: var( --kendo-font-weight-normal, normal ) !default;
75
+
72
76
  /// The font size of the small Chip.
73
77
  /// @group chip
74
78
  $kendo-chip-sm-font-size: var( --kendo-font-size, inherit ) !default;
@@ -125,66 +129,66 @@ $kendo-chip-brand-colors: ( error, success, info ) !default;
125
129
  // The color matrix for the base Chip
126
130
  $_tc-base-matrix: (
127
131
  solid: (
128
- normal: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-subtle), (20, 160, 20)),
129
- hover: if($kendo-enable-color-system, (color-subtle-hover, color-on-subtle, color-subtle-hover), (30, 190, 30)),
130
- focus: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-on-subtle), (20, 160, 130)),
131
- focus-hover: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-on-subtle), (20, 190, 130)),
132
- selected: if($kendo-enable-color-system, (k-color( primary ), k-color( on-primary ), k-color( primary )), (k-get-theme-color-var( primary-100 ), $kendo-color-white, k-get-theme-color-var( primary-100 ))),
133
- selected-hover: if($kendo-enable-color-system, (k-color( primary ), k-color( on-primary ), k-color( primary )), (k-get-theme-color-var( primary-100 ), $kendo-color-white, k-get-theme-color-var( primary-100 ))),
134
- disabled: if($kendo-enable-color-system, (color-mix(in srgb, k-color( on-app-surface ) 6%, transparent), color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), transparent), (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit )))
132
+ normal: (color-subtle, color-on-subtle, color-subtle),
133
+ hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
134
+ focus: (color-subtle, color-on-subtle, color-on-subtle),
135
+ focus-hover: (color-subtle, color-on-subtle, color-on-subtle),
136
+ selected: (k-color(primary), k-color(on-primary), k-color(primary)),
137
+ selected-hover: (k-color(primary), k-color(on-primary), k-color(primary)),
138
+ disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
135
139
  ),
136
140
  outline: (
137
- normal: if($kendo-enable-color-system, (transparent, color-on-surface, currentColor), (transparent, 160, currentColor)),
138
- hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
139
- focus: if($kendo-enable-color-system, (transparent, color-on-surface, currentColor, inherit), (transparent, 160, currentColor, inherit)),
140
- focus-hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface, inherit), (190, $kendo-color-white, 190, inherit)),
141
- selected: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
142
- selected-hover: if($kendo-enable-color-system, (color-subtle, color-on-surface, color-on-subtle), (20, 190, 110)),
143
- disabled: if($kendo-enable-color-system, (initial, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), color-mix(in srgb, k-color( on-app-surface ) 46%, transparent)), (initial, var( --kendo-disabled-text, inherit ), 90))
141
+ normal: (transparent, color-on-surface, currentColor),
142
+ hover: (color-on-surface, app-surface, color-on-surface),
143
+ focus: (transparent, color-on-surface, currentColor, inherit),
144
+ focus-hover: (color-on-surface, app-surface, color-on-surface, inherit),
145
+ selected: (color-on-surface, app-surface, color-on-surface),
146
+ selected-hover: (color-subtle, color-on-surface, color-on-subtle),
147
+ disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
144
148
  ),
145
149
  ) !default;
146
150
 
147
151
  // The color matrix for the error, success and info Chips
148
152
  $_tc-brand-matrix: (
149
153
  solid: (
150
- normal: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-subtle), (20, 160, 20)),
151
- hover: if($kendo-enable-color-system, (color-subtle-hover, color-on-subtle, color-subtle-hover), (30, 190, 30)),
152
- focus: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-on-subtle), (20, 160, 160)),
153
- focus-hover: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-on-subtle), (20, 190, 160)),
154
- selected: if($kendo-enable-color-system, (color-subtle-active, color-on-subtle, color-subtle-active), (40, 190, 40)),
155
- selected-hover: if($kendo-enable-color-system, (color-subtle-hover, color-on-subtle, color-subtle-hover), (30, 190, 30)),
156
- disabled: if($kendo-enable-color-system, (color-mix(in srgb, k-color( on-app-surface ) 6%, transparent), color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), transparent), (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit )))
154
+ normal: (color-subtle, color-on-subtle, color-subtle),
155
+ hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
156
+ focus: (color-subtle, color-on-subtle, color-on-subtle),
157
+ focus-hover: (color-subtle, color-on-subtle, color-on-subtle),
158
+ selected: (color-subtle-active, color-on-subtle, color-subtle-active),
159
+ selected-hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
160
+ disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
157
161
  ),
158
162
  outline: (
159
- normal: if($kendo-enable-color-system, (transparent, color-on-surface, currentColor), (transparent, 160, currentColor)),
160
- hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
161
- focus: if($kendo-enable-color-system, (transparent, color-on-surface, color-on-surface, inherit), (transparent, 160, 160, inherit)),
162
- focus-hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface, inherit), (190, $kendo-color-white, 190, inherit)),
163
- selected: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
164
- selected-hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
165
- disabled: if($kendo-enable-color-system, (initial, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), color-mix(in srgb, k-color( on-app-surface ) 46%, transparent)), (initial, var( --kendo-disabled-text, inherit ), var( --kendo-disabled-text, inherit )))
163
+ normal: (transparent, color-on-surface, currentColor),
164
+ hover: (color-on-surface, app-surface, color-on-surface),
165
+ focus: (transparent, color-on-surface, color-on-surface, inherit),
166
+ focus-hover: (color-on-surface, app-surface, color-on-surface, inherit),
167
+ selected: (color-on-surface, app-surface, color-on-surface),
168
+ selected-hover: (color-on-surface, app-surface, color-on-surface),
169
+ disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
166
170
  )
167
171
  ) !default;
168
172
 
169
173
  // The color matrix for the warning Chips
170
174
  $_tc-warning-matrix: (
171
175
  solid: (
172
- normal: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-subtle), (20, k-get-theme-color-var( grey-160 ), 20)),
173
- hover: if($kendo-enable-color-system, (color-subtle-hover, color-on-subtle, color-subtle-hover), (30, k-get-theme-color-var( grey-190 ), 30)),
174
- focus: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-on-subtle), (20, k-get-theme-color-var( grey-160 ), 160)),
175
- focus-hover: if($kendo-enable-color-system, (color-subtle, color-on-subtle, color-on-subtle), (20, k-get-theme-color-var( grey-190 ), 160)),
176
- selected: if($kendo-enable-color-system, (color-subtle-active, color-on-subtle, color-subtle-active), (40, k-get-theme-color-var( grey-190 ), 40)),
177
- selected-hover: if($kendo-enable-color-system, (color-subtle-hover, color-on-subtle, color-subtle-hover), (30, k-get-theme-color-var( grey-190 ), 30)),
178
- disabled: if($kendo-enable-color-system, (color-mix(in srgb, k-color( on-app-surface ) 6%, transparent), color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), transparent), (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit )))
176
+ normal: (color-subtle, color-on-subtle, color-subtle),
177
+ hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
178
+ focus: (color-subtle, color-on-subtle, color-on-subtle),
179
+ focus-hover: (color-subtle, color-on-subtle, color-on-subtle),
180
+ selected: (color-subtle-active, color-on-subtle, color-subtle-active),
181
+ selected-hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
182
+ disabled: (color-mix(in srgb, k-color(on-app-surface) 6%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent), transparent)
179
183
  ),
180
184
  outline: (
181
- normal: if($kendo-enable-color-system, (transparent, color-on-surface, currentColor), (transparent, 160, currentColor)),
182
- hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
183
- focus: if($kendo-enable-color-system, (transparent, color-on-surface, color-on-surface, inherit), (transparent, 160, 160, inherit)),
184
- focus-hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface, inherit), (190, $kendo-color-white, 190, inherit)),
185
- selected: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
186
- selected-hover: if($kendo-enable-color-system, (color-on-surface, app-surface, color-on-surface), (190, $kendo-color-white, 190)),
187
- disabled: if($kendo-enable-color-system, (initial, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), color-mix(in srgb, k-color( on-app-surface ) 46%, transparent)), (initial, var( --kendo-disabled-text, inherit ), var( --kendo-disabled-text, inherit )))
185
+ normal: (transparent, color-on-surface, currentColor),
186
+ hover: (color-on-surface, app-surface, color-on-surface),
187
+ focus: (transparent, color-on-surface, color-on-surface, inherit),
188
+ focus-hover: (color-on-surface, app-surface, color-on-surface, inherit),
189
+ selected: (color-on-surface, app-surface, color-on-surface),
190
+ selected-hover: (color-on-surface, app-surface, color-on-surface),
191
+ disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), color-mix(in srgb, k-color(on-app-surface) 46%, transparent))
188
192
  )
189
193
  ) !default;
190
194
 
@@ -195,7 +199,7 @@ $kendo-chip-theme-colors: () !default;
195
199
  @each $fill-mode, $ui-states in $_tc-base-matrix {
196
200
  $kendo-chip-theme-colors: map.deep-merge(
197
201
  $kendo-chip-theme-colors,
198
- k-generate-fill-mode-theme-variation( $fill-mode, base, if($kendo-enable-color-system, base, neutral), $ui-states )
202
+ k-generate-fill-mode-theme-variation( $fill-mode, base, base, $ui-states )
199
203
  );
200
204
  }
201
205
 
@@ -24,7 +24,7 @@
24
24
  .k-disabled {
25
25
  .k-color-preview-mask::before {
26
26
  @include fill(
27
- $bg: var( --kendo-disabled-bg )
27
+ $bg: k-color(base-subtle)
28
28
  );
29
29
  }
30
30
  }
@@ -15,17 +15,17 @@ $kendo-color-preview-bg: transparent !default;
15
15
  $kendo-color-preview-text: inherit !default;
16
16
  /// Border color of the color preview.
17
17
  /// @group color-preview
18
- $kendo-color-preview-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
18
+ $kendo-color-preview-border: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
19
19
  /// Hover Border color of the color preview.
20
20
  /// @group color-preview
21
- $kendo-color-preview-hover-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) !default;
21
+ $kendo-color-preview-hover-border: color-mix(in srgb, k-color(on-app-surface) 28%, transparent) !default;
22
22
 
23
23
  /// Background color of the color preview when no color is selected.
24
24
  /// @group color-preview
25
- $kendo-color-preview-no-color-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
25
+ $kendo-color-preview-no-color-bg: k-color(app-surface) !default;
26
26
  /// Text color of the color preview when no color is selected.
27
27
  /// @group color-preview
28
- $kendo-color-preview-no-color-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color( error, 190 )) !default;
28
+ $kendo-color-preview-no-color-text: k-color(error-on-surface) !default;
29
29
  /// Border color of the color preview when no color is selected.
30
30
  /// @group color-preview
31
31
  $kendo-color-preview-no-color-border: currentColor !default;
@@ -35,20 +35,20 @@ $kendo-color-editor-font-size: var( --kendo-font-size, inherit ) !default;
35
35
  $kendo-color-editor-line-height: var( --kendo-line-height, normal ) !default;
36
36
  /// The text color of the ColorEditor.
37
37
  /// @group color-editor
38
- $kendo-color-editor-text: var( --kendo-component-text, initial ) !default;
38
+ $kendo-color-editor-text: k-color(on-app-surface) !default;
39
39
  /// The background color of the ColorEditor.
40
40
  /// @group color-editor
41
- $kendo-color-editor-bg: var( --kendo-component-bg, initial ) !default;
41
+ $kendo-color-editor-bg: k-color(surface-alt) !default;
42
42
  /// The border color of the ColorEditor.
43
43
  /// @group color-editor
44
- $kendo-color-editor-border: var( --kendo-component-border, initial ) !default;
44
+ $kendo-color-editor-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
45
45
  /// The box shadow of the ColorEditor.
46
46
  /// @group color-editor
47
47
  $kendo-color-editor-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
48
48
 
49
49
  /// The border color of the focused ColorEditor.
50
50
  /// @group color-editor
51
- $kendo-color-editor-focus-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 )) !default;
51
+ $kendo-color-editor-focus-border: color-mix(in srgb, k-color(border) 10%, transparent) !default;
52
52
  /// The box shadow of the focused ColorEditor.
53
53
  /// @group color-editor
54
54
  $kendo-color-editor-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
@@ -46,6 +46,7 @@
46
46
 
47
47
  .k-hsv-gradient {
48
48
  height: var( --kendo-color-gradient-canvas-rectangle-height, #{$kendo-color-gradient-canvas-rectangle-height} );
49
+ aspect-ratio: 1;
49
50
  }
50
51
 
51
52
  .k-hsv-draghandle {
@@ -138,8 +139,6 @@
138
139
  @each $size, $size-props in $kendo-color-gradient-sizes {
139
140
  $_width: map.get( $size-props, width );
140
141
  $_spacing: map.get( $size-props, spacing );
141
- $_vertical-slider-height: map.get( $size-props, vertical-slider-height );
142
- $_rectangle-height: map.get( $size-props, rectangle-height );
143
142
  $_input-width: map.get( $size-props, input-width );
144
143
  $_canvas-spacing: map.get( $size-props, canvas-spacing );
145
144
  $_padding-x: map.get( $size-props, padding-x );
@@ -160,14 +159,6 @@
160
159
  .k-colorgradient-canvas {
161
160
  gap: $_canvas-spacing;
162
161
 
163
- .k-hsv-gradient {
164
- height: $_rectangle-height;
165
- }
166
-
167
- .k-slider-vertical {
168
- height: $_vertical-slider-height;
169
- }
170
-
171
162
  .k-hsv-controls {
172
163
  gap: $_canvas-spacing;
173
164
  }
@@ -36,13 +36,13 @@ $kendo-color-gradient-line-height: var( --kendo-line-height, normal ) !default;
36
36
 
37
37
  /// The text color of the ColorGradient.
38
38
  /// @group color-gradient
39
- $kendo-color-gradient-text: var( --kendo-component-text, initial ) !default;
39
+ $kendo-color-gradient-text: k-color(on-app-surface) !default;
40
40
  /// The background color of the ColorGradient.
41
41
  /// @group color-gradient
42
- $kendo-color-gradient-bg: var( --kendo-component-bg, initial ) !default;
42
+ $kendo-color-gradient-bg: k-color(surface-alt) !default;
43
43
  /// The border color of the ColorGradient.
44
44
  /// @group color-gradient
45
- $kendo-color-gradient-border: var( --kendo-component-border, initial ) !default;
45
+ $kendo-color-gradient-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
46
46
  /// The box shadow of the ColorGradient.
47
47
  /// @group color-gradient
48
48
  $kendo-color-gradient-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
@@ -88,7 +88,7 @@ $kendo-color-gradient-lg-spacing: k-spacing(4.5) !default;
88
88
 
89
89
  /// The border color of the focused ColorGradient.
90
90
  /// @group color-gradient
91
- $kendo-color-gradient-focus-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 )) !default;
91
+ $kendo-color-gradient-focus-border: color-mix(in srgb, k-color(border) 10%, transparent) !default;
92
92
  /// The box shadow of the focused ColorGradient.
93
93
  /// @group color-gradient
94
94
  $kendo-color-gradient-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
@@ -104,16 +104,7 @@ $kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
104
104
  $kendo-color-gradient-canvas-spacing: k-spacing(2) !default;
105
105
  /// The height the ColorGradient canvas hsv rectangle.
106
106
  /// @group color-gradient
107
- $kendo-color-gradient-canvas-rectangle-height: 180px !default;
108
- /// The height the small ColorGradient canvas hsv rectangle.
109
- /// @group color-gradient
110
- $kendo-color-gradient-sm-canvas-rectangle-height: 164px !default;
111
- /// The height the medium ColorGradient canvas hsv rectangle.
112
- /// @group color-gradient
113
- $kendo-color-gradient-md-canvas-rectangle-height: $kendo-color-gradient-canvas-rectangle-height !default;
114
- /// The height the large ColorGradient canvas hsv rectangle.
115
- /// @group color-gradient
116
- $kendo-color-gradient-lg-canvas-rectangle-height: 256px !default;
107
+ $kendo-color-gradient-canvas-rectangle-height: 100% !default;
117
108
 
118
109
  /// The spacing between the items of the small ColorGradient canvas.
119
110
  /// @group color-gradient
@@ -127,7 +118,7 @@ $kendo-color-gradient-lg-canvas-spacing: k-spacing(4) !default;
127
118
 
128
119
  /// The border color of the ColorGradient canvas hsv rectangle.
129
120
  /// @group color-gradient
130
- $kendo-color-gradient-canvas-rectangle-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) !default;
121
+ $kendo-color-gradient-canvas-rectangle-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
131
122
  /// The box shadow of the ColorGradient canvas drag handle.
132
123
  /// @group color-gradient
133
124
  $kendo-color-gradient-canvas-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
@@ -140,29 +131,20 @@ $kendo-color-gradient-slider-track-size: 20px !default;
140
131
  $kendo-color-gradient-slider-border-radius: k-border-radius(md) !default;
141
132
  /// The width of the border around the ColorGradient slider.
142
133
  /// @group color-gradient
143
- $kendo-color-gradient-slider-border-width: if($kendo-enable-color-system, 0, 1px) !default;
134
+ $kendo-color-gradient-slider-border-width: 0 !default;
144
135
  /// The color of the border around the ColorGradient slider.
145
136
  /// @group color-gradient
146
- $kendo-color-gradient-slider-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) !default;
137
+ $kendo-color-gradient-slider-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
147
138
 
148
139
  /// The height of the ColorGradient vertical slider.
149
140
  /// @group color-gradient
150
- $kendo-color-gradient-slider-vertical-size: 180px !default;
141
+ $kendo-color-gradient-slider-vertical-size: 100% !default;
151
142
  /// The width of the ColorGradient horizontal slider.
152
143
  /// @group color-gradient
153
144
  $kendo-color-gradient-slider-horizontal-size: 100% !default;
154
145
  /// The background image of the ColorGradient alpha slider.
155
146
  /// @group color-gradient
156
147
  $kendo-color-gradient-slider-alpha-bgr: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC" !default;
157
- /// The height of the small ColorGradient vertical slider.
158
- /// @group color-gradient
159
- $kendo-color-gradient-sm-slider-vertical-size: 164px !default;
160
- /// The height of the medium ColorGradient vertical slider.
161
- /// @group color-gradient
162
- $kendo-color-gradient-md-slider-vertical-size: $kendo-color-gradient-slider-vertical-size !default;
163
- /// The height of the large ColorGradient vertical slider.
164
- /// @group color-gradient
165
- $kendo-color-gradient-lg-slider-vertical-size: 256px !default;
166
148
 
167
149
  /// The width of the ColorGradient canvas drag handle.
168
150
  /// @group color-gradient
@@ -178,19 +160,19 @@ $kendo-color-gradient-draghandle-border-width: 2px !default;
178
160
  $kendo-color-gradient-draghandle-outline-width: 1px !default;
179
161
  /// The color of the border around the ColorGradient canvas drag handle.
180
162
  /// @group color-gradient
181
- $kendo-color-gradient-draghandle-border: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
163
+ $kendo-color-gradient-draghandle-border: k-color(app-surface) !default;
182
164
  /// The box shadow of the ColorGradient canvas drag handle.
183
165
  /// @group color-gradient
184
166
  $kendo-color-gradient-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
185
167
  /// The color of the border around the focused ColorGradient canvas drag handle.
186
168
  /// @group color-gradient
187
- $kendo-color-gradient-draghandle-focus-border: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
169
+ $kendo-color-gradient-draghandle-focus-border: k-color(app-surface) !default;
188
170
  /// The focus color of the outline around the ColorGradient canvas drag handle.
189
171
  /// @group color-gradient
190
- $kendo-color-gradient-draghandle-focus-shadow: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
172
+ $kendo-color-gradient-draghandle-focus-shadow: k-color(base-emphasis) !default;
191
173
  /// The hover color of the outline around the ColorGradient canvas drag handle.
192
174
  /// @group color-gradient
193
- $kendo-color-gradient-draghandle-hover-shadow: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
175
+ $kendo-color-gradient-draghandle-hover-shadow: k-color(base-emphasis) !default;
194
176
 
195
177
  /// The vertical offset of the ColorGradient canvas drag handle.
196
178
  /// @group color-gradient
@@ -213,7 +195,7 @@ $kendo-color-gradient-input-label-font-size: var( --kendo-font-size-sm, inherit
213
195
  $kendo-color-gradient-input-label-spacing: calc( #{$kendo-color-gradient-spacer} / 4 ) !default;
214
196
  /// The text color of the ColorGradient input labels.
215
197
  /// @group color-gradient
216
- $kendo-color-gradient-input-label-text: var( --kendo-subtle-text, inherit ) !default;
198
+ $kendo-color-gradient-input-label-text: k-color(subtle) !default;
217
199
 
218
200
  /// The width of the small ColorGradient input.
219
201
  /// @group color-gradient
@@ -237,8 +219,6 @@ $kendo-color-gradient-contrast-spacing: calc( #{$kendo-color-gradient-spacer} /
237
219
  $kendo-color-gradient-sizes: (
238
220
  sm: (
239
221
  width: $kendo-color-gradient-sm-width,
240
- vertical-slider-height: $kendo-color-gradient-sm-slider-vertical-size,
241
- rectangle-height: $kendo-color-gradient-sm-canvas-rectangle-height,
242
222
  input-width: $kendo-color-gradient-sm-input-width,
243
223
  spacing: $kendo-color-gradient-sm-spacing,
244
224
  canvas-spacing: $kendo-color-gradient-sm-canvas-spacing,
@@ -247,8 +227,6 @@ $kendo-color-gradient-sizes: (
247
227
  ),
248
228
  md: (
249
229
  width: $kendo-color-gradient-md-width,
250
- vertical-slider-height: $kendo-color-gradient-md-slider-vertical-size,
251
- rectangle-height: $kendo-color-gradient-md-canvas-rectangle-height,
252
230
  input-width: $kendo-color-gradient-md-input-width,
253
231
  spacing: $kendo-color-gradient-md-spacing,
254
232
  canvas-spacing: $kendo-color-gradient-md-canvas-spacing,
@@ -257,8 +235,6 @@ $kendo-color-gradient-sizes: (
257
235
  ),
258
236
  lg: (
259
237
  width: $kendo-color-gradient-lg-width,
260
- vertical-slider-height: $kendo-color-gradient-lg-slider-vertical-size,
261
- rectangle-height: $kendo-color-gradient-lg-canvas-rectangle-height,
262
238
  input-width: $kendo-color-gradient-lg-input-width,
263
239
  spacing: $kendo-color-gradient-lg-spacing,
264
240
  canvas-spacing: $kendo-color-gradient-lg-canvas-spacing,
@@ -47,16 +47,16 @@ $kendo-color-palette-lg-tile-height: $kendo-color-palette-lg-tile-width !default
47
47
 
48
48
  /// The outline color of the ColorPalette focused tile.
49
49
  /// @group color-palette
50
- $kendo-color-palette-tile-focus-outline: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
50
+ $kendo-color-palette-tile-focus-outline: k-color(base-emphasis) !default;
51
51
  /// The shadow of the ColorPalette focused tile.
52
52
  /// @group color-palette
53
- $kendo-color-palette-tile-focus-shadow: inset 0 0 0 2px if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
53
+ $kendo-color-palette-tile-focus-shadow: inset 0 0 0 2px k-color(app-surface) !default;
54
54
  /// The outline color of the ColorPalette hovered tile.
55
55
  /// @group color-palette
56
- $kendo-color-palette-tile-hover-outline: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 )) !default;
56
+ $kendo-color-palette-tile-hover-outline: color-mix(in srgb, k-color(border) 10%, transparent) !default;
57
57
  /// The shadow of the ColorPalette hovered tile.
58
58
  /// @group color-palette
59
- $kendo-color-palette-tile-hover-shadow: inset 0 0 0 2px $kendo-color-palette-tile-hover-outline, inset 0 0 0 4px if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
59
+ $kendo-color-palette-tile-hover-shadow: inset 0 0 0 2px $kendo-color-palette-tile-hover-outline, inset 0 0 0 4px k-color(app-surface) !default;
60
60
  /// The outline color of the ColorPalette selected tile.
61
61
  /// @group color-palette
62
62
  $kendo-color-palette-tile-selected-outline: $kendo-color-palette-tile-hover-outline !default;
@@ -44,4 +44,4 @@ $kendo-column-menu-sizes: (
44
44
  $kendo-group-menu-item-action-hover-bg: color-mix(in srgb, currentColor 5%, transparent) !default;
45
45
  $kendo-group-menu-item-action-selected-bg: color-mix(in srgb, currentColor 8%, transparent) !default;
46
46
  $kendo-group-menu-item-add-action-text: k-color(primary) !default;
47
- $kendo-group-menu-item-border: color-mix(in srgb, k-color( border ) 16%, transparent) !default;
47
+ $kendo-group-menu-item-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
@@ -19,13 +19,9 @@
19
19
  @use "./motion/_index.scss" as *;
20
20
 
21
21
  @forward "@progress/kendo-theme-core/scss/index.scss" with (
22
- $kendo-enable-color-system: $kendo-enable-color-system !default,
23
- $kendo-nested-disabled: false !default,
24
22
  // Color System
25
23
  $_default-colors: $kendo-colors,
26
24
  $kendo-colors: $kendo-colors !default,
27
- // Legacy Color System
28
- $kendo-palettes: $kendo-palettes !default,
29
25
  // Elevation
30
26
  $_default-elevation: $kendo-elevation,
31
27
  $kendo-elevation: $kendo-elevation !default,
@@ -50,4 +46,11 @@
50
46
  $kendo-transition: $kendo-transition !default,
51
47
  );
52
48
 
53
- @forward "./color-system/_swatch-legacy.scss";
49
+ // Global disabled styles
50
+ :root {
51
+ --kendo-disabled-text: color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent);
52
+ --kendo-disabled-bg: var(--kendo-color-base-subtle, #edebe9);
53
+ --kendo-disabled-border: transparent;
54
+ --kendo-disabled-opacity: unset;
55
+ --kendo-disabled-filter: unset;
56
+ }
@@ -1,3 +1,2 @@
1
1
  @forward "./swatch.scss";
2
- @forward "./swatch-legacy.scss";
3
2
  @forward "./utils/index.scss";
@@ -1,9 +1,5 @@
1
1
  @use "sass:map";
2
2
  @use "./palettes.scss" as *;
3
- @forward "./palettes.scss";
4
-
5
- // Config
6
- $kendo-enable-color-system: true !default;
7
3
 
8
4
  // Colors
9
5
  $_default-colors: (
@@ -398,12 +398,12 @@
398
398
 
399
399
  // export variables to allow use in scripts
400
400
  $exported: (
401
- primary-contrast: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white),
402
- base: $kendo-component-bg,
403
- background: $kendo-component-bg,
401
+ primary-contrast: k-color(app-surface),
402
+ base: k-color(surface-alt),
403
+ background: k-color(surface-alt),
404
404
 
405
- normal-background: $kendo-component-bg,
406
- normal-text-color: $kendo-component-text,
405
+ normal-background: k-color(surface-alt),
406
+ normal-text-color: k-color(on-app-surface),
407
407
 
408
408
  series-a: $kendo-series-a,
409
409
  series-b: $kendo-series-b,
@@ -444,7 +444,7 @@
444
444
  series-30: $kendo-series-30,
445
445
 
446
446
  gauge-pointer: $kendo-series-f,
447
- gauge-track: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-30 )),
447
+ gauge-track: k-color(base-emphasis),
448
448
 
449
449
  chart-font-size: $kendo-chart-font-size,
450
450
  chart-title-font-size: $kendo-chart-title-font-size,
@@ -486,7 +486,7 @@
486
486
  }
487
487
 
488
488
  $_css-vars: (
489
- chart-primary-contrast: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white),
489
+ chart-primary-contrast: k-color(app-surface),
490
490
  chart-bg: $kendo-chart-bg,
491
491
  chart-text: $kendo-chart-text,
492
492
 
@@ -540,7 +540,7 @@
540
540
  chart-series-30: $kendo-series-30,
541
541
 
542
542
  chart-gauge-pointer: $kendo-series-f,
543
- chart-gauge-track: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-30 ))
543
+ chart-gauge-track: k-color(base-emphasis)
544
544
 
545
545
  );
546
546
 
@@ -68,7 +68,7 @@
68
68
  }
69
69
 
70
70
  .k-mask {
71
- background-color: var( --kendo-component-bg, initial );
71
+ background-color: k-color(surface-alt);
72
72
  opacity: .8;
73
73
  }
74
74
 
@@ -99,10 +99,10 @@
99
99
 
100
100
  // Leaf
101
101
  .k-leaf {
102
- @include fill( $color: var( --kendo-component-bg, initial ) );
102
+ @include fill( $color: k-color(surface-alt) );
103
103
  }
104
104
  .k-leaf.k-inverse {
105
- @include fill( $color: var( --kendo-component-text, initial ) );
105
+ @include fill( $color: k-color(on-app-surface) );
106
106
  }
107
107
  .k-leaf:hover,
108
108
  .k-leaf.k-hover {