@progress/kendo-theme-fluent 10.6.0 → 11.0.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 (135) 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 +2688 -2688
  7. package/dist/meta/sassdoc-raw-data.json +860 -860
  8. package/dist/meta/variables.json +540 -985
  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 +12 -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/_theme.scss +3 -3
  25. package/scss/calendar/_variables.scss +27 -27
  26. package/scss/captcha/_variables.scss +3 -3
  27. package/scss/card/_layout.scss +0 -1
  28. package/scss/card/_theme.scss +4 -0
  29. package/scss/card/_variables.scss +7 -7
  30. package/scss/chart-wizard/_variables.scss +4 -4
  31. package/scss/chat/_variables.scss +15 -15
  32. package/scss/checkbox/_variables.scss +22 -22
  33. package/scss/chip/_variables.scss +48 -48
  34. package/scss/color-preview/_theme.scss +1 -1
  35. package/scss/color-preview/_variables.scss +4 -4
  36. package/scss/coloreditor/_variables.scss +4 -4
  37. package/scss/colorgradient/_variables.scss +12 -12
  38. package/scss/colorpalette/_variables.scss +4 -4
  39. package/scss/core/_index.scss +8 -5
  40. package/scss/core/color-system/_index.scss +0 -1
  41. package/scss/core/color-system/_swatch.scss +0 -4
  42. package/scss/dataviz/_layout.scss +8 -8
  43. package/scss/dataviz/_theme.scss +3 -3
  44. package/scss/dataviz/_variables.scss +56 -56
  45. package/scss/daterangepicker/_theme.scss +1 -1
  46. package/scss/dialog/_variables.scss +8 -8
  47. package/scss/dock-manager/_variables.scss +10 -10
  48. package/scss/draggable/_variables.scss +4 -4
  49. package/scss/drawer/_variables.scss +16 -16
  50. package/scss/dropzone/_variables.scss +6 -6
  51. package/scss/editor/_theme.scss +2 -2
  52. package/scss/editor/_variables.scss +15 -15
  53. package/scss/expansion-panel/_variables.scss +14 -14
  54. package/scss/fab/_theme.scss +3 -3
  55. package/scss/fab/_variables.scss +12 -12
  56. package/scss/filemanager/_variables.scss +5 -5
  57. package/scss/filter/_variables.scss +5 -5
  58. package/scss/floating-label/_variables.scss +1 -1
  59. package/scss/forms/_theme.scss +2 -2
  60. package/scss/forms/_variables.scss +4 -4
  61. package/scss/gantt/_theme.scss +3 -3
  62. package/scss/gantt/_variables.scss +36 -36
  63. package/scss/grid/_layout.scss +1 -1
  64. package/scss/grid/_theme.scss +13 -43
  65. package/scss/grid/_variables.scss +20 -20
  66. package/scss/imageeditor/_variables.scss +6 -6
  67. package/scss/index.scss +3 -3
  68. package/scss/input/_theme.scss +3 -5
  69. package/scss/input/_variables.scss +74 -80
  70. package/scss/list/_variables.scss +23 -23
  71. package/scss/listbox/_variables.scss +4 -4
  72. package/scss/listgroup/_variables.scss +3 -3
  73. package/scss/listview/_variables.scss +4 -4
  74. package/scss/loader/_variables.scss +9 -9
  75. package/scss/map/_variables.scss +8 -8
  76. package/scss/marquee/_index.scss +16 -0
  77. package/scss/marquee/_layout.scss +6 -0
  78. package/scss/marquee/_theme.scss +6 -0
  79. package/scss/marquee/_variables.scss +11 -0
  80. package/scss/mediaplayer/_variables.scss +6 -6
  81. package/scss/menu/_theme.scss +1 -1
  82. package/scss/menu/_variables.scss +11 -11
  83. package/scss/messagebox/_theme.scss +1 -1
  84. package/scss/messagebox/_variables.scss +30 -2
  85. package/scss/no-data/_variables.scss +1 -1
  86. package/scss/notification/_variables.scss +10 -10
  87. package/scss/orgchart/_variables.scss +8 -8
  88. package/scss/pager/_variables.scss +6 -6
  89. package/scss/panel/_layout.scss +3 -3
  90. package/scss/panel/_variables.scss +3 -3
  91. package/scss/panelbar/_variables.scss +12 -12
  92. package/scss/pdf-viewer/_variables.scss +16 -16
  93. package/scss/pivotgrid/_theme.scss +4 -4
  94. package/scss/pivotgrid/_variables.scss +22 -22
  95. package/scss/popover/_variables.scss +3 -3
  96. package/scss/popup/_variables.scss +3 -3
  97. package/scss/progressbar/_variables.scss +13 -13
  98. package/scss/prompt/_variables.scss +12 -12
  99. package/scss/radio/_variables.scss +13 -13
  100. package/scss/rating/_theme.scss +2 -2
  101. package/scss/rating/_variables.scss +4 -4
  102. package/scss/scheduler/_theme.scss +5 -5
  103. package/scss/scheduler/_variables.scss +17 -17
  104. package/scss/scrollview/_variables.scss +11 -11
  105. package/scss/searchbox/_variables.scss +1 -1
  106. package/scss/signature/_variables.scss +2 -2
  107. package/scss/skeleton/_variables.scss +2 -2
  108. package/scss/slider/_variables.scss +12 -12
  109. package/scss/split-button/_variables.scss +1 -1
  110. package/scss/splitter/_variables.scss +8 -8
  111. package/scss/spreadsheet/_variables.scss +29 -29
  112. package/scss/stepper/_theme.scss +29 -53
  113. package/scss/stepper/_variables.scss +20 -20
  114. package/scss/switch/_variables.scss +32 -32
  115. package/scss/table/_theme.scss +7 -18
  116. package/scss/table/_variables.scss +8 -8
  117. package/scss/tabstrip/_variables.scss +16 -16
  118. package/scss/taskboard/_theme.scss +4 -4
  119. package/scss/taskboard/_variables.scss +13 -13
  120. package/scss/tilelayout/_variables.scss +2 -2
  121. package/scss/timeline/_variables.scss +14 -14
  122. package/scss/timeselector/_theme.scss +3 -3
  123. package/scss/timeselector/_variables.scss +4 -4
  124. package/scss/toolbar/_layout.scss +6 -0
  125. package/scss/toolbar/_variables.scss +7 -7
  126. package/scss/tooltip/_variables.scss +10 -10
  127. package/scss/treeview/_variables.scss +11 -11
  128. package/scss/typography/_layout.scss +2 -2
  129. package/scss/typography/_theme.scss +2 -2
  130. package/scss/typography/_variables.scss +3 -3
  131. package/scss/upload/_theme.scss +2 -2
  132. package/scss/upload/_variables.scss +14 -14
  133. package/scss/window/_variables.scss +11 -11
  134. package/scss/wizard/_variables.scss +3 -3
  135. 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
@@ -125,66 +125,66 @@ $kendo-chip-brand-colors: ( error, success, info ) !default;
125
125
  // The color matrix for the base Chip
126
126
  $_tc-base-matrix: (
127
127
  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 )))
128
+ normal: (color-subtle, color-on-subtle, color-subtle),
129
+ hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
130
+ focus: (color-subtle, color-on-subtle, color-on-subtle),
131
+ focus-hover: (color-subtle, color-on-subtle, color-on-subtle),
132
+ selected: (k-color(primary), k-color(on-primary), k-color(primary)),
133
+ selected-hover: (k-color(primary), k-color(on-primary), k-color(primary)),
134
+ 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
135
  ),
136
136
  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))
137
+ normal: (transparent, color-on-surface, currentColor),
138
+ hover: (color-on-surface, app-surface, color-on-surface),
139
+ focus: (transparent, color-on-surface, currentColor, inherit),
140
+ focus-hover: (color-on-surface, app-surface, color-on-surface, inherit),
141
+ selected: (color-on-surface, app-surface, color-on-surface),
142
+ selected-hover: (color-subtle, color-on-surface, color-on-subtle),
143
+ 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
144
  ),
145
145
  ) !default;
146
146
 
147
147
  // The color matrix for the error, success and info Chips
148
148
  $_tc-brand-matrix: (
149
149
  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 )))
150
+ normal: (color-subtle, color-on-subtle, color-subtle),
151
+ hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
152
+ focus: (color-subtle, color-on-subtle, color-on-subtle),
153
+ focus-hover: (color-subtle, color-on-subtle, color-on-subtle),
154
+ selected: (color-subtle-active, color-on-subtle, color-subtle-active),
155
+ selected-hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
156
+ 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
157
  ),
158
158
  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 )))
159
+ normal: (transparent, color-on-surface, currentColor),
160
+ hover: (color-on-surface, app-surface, color-on-surface),
161
+ focus: (transparent, color-on-surface, color-on-surface, inherit),
162
+ focus-hover: (color-on-surface, app-surface, color-on-surface, inherit),
163
+ selected: (color-on-surface, app-surface, color-on-surface),
164
+ selected-hover: (color-on-surface, app-surface, color-on-surface),
165
+ 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
166
  )
167
167
  ) !default;
168
168
 
169
169
  // The color matrix for the warning Chips
170
170
  $_tc-warning-matrix: (
171
171
  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 )))
172
+ normal: (color-subtle, color-on-subtle, color-subtle),
173
+ hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
174
+ focus: (color-subtle, color-on-subtle, color-on-subtle),
175
+ focus-hover: (color-subtle, color-on-subtle, color-on-subtle),
176
+ selected: (color-subtle-active, color-on-subtle, color-subtle-active),
177
+ selected-hover: (color-subtle-hover, color-on-subtle, color-subtle-hover),
178
+ 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
179
  ),
180
180
  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 )))
181
+ normal: (transparent, color-on-surface, currentColor),
182
+ hover: (color-on-surface, app-surface, color-on-surface),
183
+ focus: (transparent, color-on-surface, color-on-surface, inherit),
184
+ focus-hover: (color-on-surface, app-surface, color-on-surface, inherit),
185
+ selected: (color-on-surface, app-surface, color-on-surface),
186
+ selected-hover: (color-on-surface, app-surface, color-on-surface),
187
+ 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
188
  )
189
189
  ) !default;
190
190
 
@@ -195,7 +195,7 @@ $kendo-chip-theme-colors: () !default;
195
195
  @each $fill-mode, $ui-states in $_tc-base-matrix {
196
196
  $kendo-chip-theme-colors: map.deep-merge(
197
197
  $kendo-chip-theme-colors,
198
- k-generate-fill-mode-theme-variation( $fill-mode, base, if($kendo-enable-color-system, base, neutral), $ui-states )
198
+ k-generate-fill-mode-theme-variation( $fill-mode, base, base, $ui-states )
199
199
  );
200
200
  }
201
201
 
@@ -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;
@@ -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;
@@ -127,7 +127,7 @@ $kendo-color-gradient-lg-canvas-spacing: k-spacing(4) !default;
127
127
 
128
128
  /// The border color of the ColorGradient canvas hsv rectangle.
129
129
  /// @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;
130
+ $kendo-color-gradient-canvas-rectangle-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
131
131
  /// The box shadow of the ColorGradient canvas drag handle.
132
132
  /// @group color-gradient
133
133
  $kendo-color-gradient-canvas-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
@@ -140,10 +140,10 @@ $kendo-color-gradient-slider-track-size: 20px !default;
140
140
  $kendo-color-gradient-slider-border-radius: k-border-radius(md) !default;
141
141
  /// The width of the border around the ColorGradient slider.
142
142
  /// @group color-gradient
143
- $kendo-color-gradient-slider-border-width: if($kendo-enable-color-system, 0, 1px) !default;
143
+ $kendo-color-gradient-slider-border-width: 0 !default;
144
144
  /// The color of the border around the ColorGradient slider.
145
145
  /// @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;
146
+ $kendo-color-gradient-slider-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
147
147
 
148
148
  /// The height of the ColorGradient vertical slider.
149
149
  /// @group color-gradient
@@ -178,19 +178,19 @@ $kendo-color-gradient-draghandle-border-width: 2px !default;
178
178
  $kendo-color-gradient-draghandle-outline-width: 1px !default;
179
179
  /// The color of the border around the ColorGradient canvas drag handle.
180
180
  /// @group color-gradient
181
- $kendo-color-gradient-draghandle-border: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
181
+ $kendo-color-gradient-draghandle-border: k-color(app-surface) !default;
182
182
  /// The box shadow of the ColorGradient canvas drag handle.
183
183
  /// @group color-gradient
184
184
  $kendo-color-gradient-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
185
185
  /// The color of the border around the focused ColorGradient canvas drag handle.
186
186
  /// @group color-gradient
187
- $kendo-color-gradient-draghandle-focus-border: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
187
+ $kendo-color-gradient-draghandle-focus-border: k-color(app-surface) !default;
188
188
  /// The focus color of the outline around the ColorGradient canvas drag handle.
189
189
  /// @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;
190
+ $kendo-color-gradient-draghandle-focus-shadow: k-color(base-emphasis) !default;
191
191
  /// The hover color of the outline around the ColorGradient canvas drag handle.
192
192
  /// @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;
193
+ $kendo-color-gradient-draghandle-hover-shadow: k-color(base-emphasis) !default;
194
194
 
195
195
  /// The vertical offset of the ColorGradient canvas drag handle.
196
196
  /// @group color-gradient
@@ -213,7 +213,7 @@ $kendo-color-gradient-input-label-font-size: var( --kendo-font-size-sm, inherit
213
213
  $kendo-color-gradient-input-label-spacing: calc( #{$kendo-color-gradient-spacer} / 4 ) !default;
214
214
  /// The text color of the ColorGradient input labels.
215
215
  /// @group color-gradient
216
- $kendo-color-gradient-input-label-text: var( --kendo-subtle-text, inherit ) !default;
216
+ $kendo-color-gradient-input-label-text: k-color(subtle) !default;
217
217
 
218
218
  /// The width of the small ColorGradient input.
219
219
  /// @group color-gradient
@@ -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;
@@ -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 {