@progress/kendo-theme-fluent 7.1.0-dev.7 → 7.1.0-dev.9

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 (95) hide show
  1. package/dist/all.css +119 -115
  2. package/dist/meta/sassdoc-data.json +1252 -1196
  3. package/dist/meta/sassdoc-raw-data.json +623 -598
  4. package/lib/swatches/all.json +1 -1
  5. package/lib/swatches/fluent-main.json +1 -1
  6. package/package.json +4 -4
  7. package/scss/action-sheet/_variables.scss +1 -1
  8. package/scss/adaptive/_variables.scss +5 -5
  9. package/scss/appbar/_variables.scss +8 -8
  10. package/scss/avatar/_variables.scss +11 -11
  11. package/scss/badge/_variables.scss +11 -11
  12. package/scss/bottom-navigation/_variables.scss +35 -35
  13. package/scss/breadcrumb/_variables.scss +5 -5
  14. package/scss/button/_variables.scss +172 -172
  15. package/scss/calendar/_variables.scss +12 -12
  16. package/scss/card/_layout.scss +4 -0
  17. package/scss/card/_variables.scss +2 -2
  18. package/scss/chat/_variables.scss +8 -8
  19. package/scss/checkbox/_variables.scss +19 -19
  20. package/scss/chip/_variables.scss +44 -44
  21. package/scss/color-preview/_variables.scss +4 -4
  22. package/scss/coloreditor/_variables.scss +1 -1
  23. package/scss/colorgradient/_variables.scss +9 -9
  24. package/scss/colorpalette/_variables.scss +4 -4
  25. package/scss/core/_index.scss +40 -6
  26. package/scss/core/color-system/_index.scss +2 -0
  27. package/scss/core/color-system/_palettes.scss +293 -15
  28. package/scss/core/color-system/_swatch-legacy.scss +100 -0
  29. package/scss/core/color-system/_swatch.scss +261 -0
  30. package/scss/dataviz/_layout.scss +6 -6
  31. package/scss/dataviz/_variables.scss +41 -41
  32. package/scss/dialog/_variables.scss +5 -5
  33. package/scss/dock-manager/_variables.scss +7 -7
  34. package/scss/draggable/_variables.scss +1 -1
  35. package/scss/drawer/_variables.scss +10 -10
  36. package/scss/dropzone/_variables.scss +5 -5
  37. package/scss/editor/_variables.scss +6 -6
  38. package/scss/expansion-panel/_variables.scss +7 -7
  39. package/scss/fab/_variables.scss +6 -6
  40. package/scss/filemanager/_layout.scss +5 -0
  41. package/scss/filter/_variables.scss +3 -3
  42. package/scss/forms/_variables.scss +2 -2
  43. package/scss/gantt/_layout.scss +3 -3
  44. package/scss/gantt/_variables.scss +32 -32
  45. package/scss/grid/_layout.scss +10 -0
  46. package/scss/grid/_theme.scss +82 -32
  47. package/scss/grid/_variables.scss +11 -11
  48. package/scss/imageeditor/_variables.scss +3 -4
  49. package/scss/index.scss +0 -1
  50. package/scss/input/_layout.scss +0 -2
  51. package/scss/input/_theme.scss +11 -6
  52. package/scss/input/_variables.scss +62 -56
  53. package/scss/list/_variables.scss +19 -19
  54. package/scss/listbox/_variables.scss +1 -1
  55. package/scss/listview/_variables.scss +1 -1
  56. package/scss/loader/_variables.scss +7 -7
  57. package/scss/map/_variables.scss +6 -6
  58. package/scss/mediaplayer/_variables.scss +3 -3
  59. package/scss/menu/_variables.scss +2 -2
  60. package/scss/notification/_variables.scss +6 -6
  61. package/scss/orgchart/_variables.scss +4 -4
  62. package/scss/pager/_variables.scss +4 -4
  63. package/scss/panelbar/_variables.scss +5 -5
  64. package/scss/pdf-viewer/_variables.scss +2 -2
  65. package/scss/pivotgrid/_variables.scss +3 -3
  66. package/scss/progressbar/_variables.scss +10 -10
  67. package/scss/radio/_variables.scss +10 -10
  68. package/scss/rating/_variables.scss +4 -4
  69. package/scss/scheduler/_theme.scss +1 -1
  70. package/scss/scheduler/_variables.scss +11 -11
  71. package/scss/scrollview/_variables.scss +8 -8
  72. package/scss/searchbox/_variables.scss +1 -1
  73. package/scss/signature/_variables.scss +2 -2
  74. package/scss/skeleton/_variables.scss +2 -2
  75. package/scss/slider/_variables.scss +11 -11
  76. package/scss/split-button/_variables.scss +1 -1
  77. package/scss/splitter/_variables.scss +3 -3
  78. package/scss/spreadsheet/_variables.scss +23 -23
  79. package/scss/stepper/_layout.scss +17 -2
  80. package/scss/stepper/_theme.scss +51 -15
  81. package/scss/stepper/_variables.scss +9 -9
  82. package/scss/switch/_variables.scss +24 -24
  83. package/scss/table/_theme.scss +18 -7
  84. package/scss/table/_variables.scss +3 -3
  85. package/scss/tabstrip/_variables.scss +4 -4
  86. package/scss/taskboard/_variables.scss +4 -4
  87. package/scss/tilelayout/_variables.scss +1 -1
  88. package/scss/timeline/_variables.scss +6 -6
  89. package/scss/timeselector/_theme.scss +1 -1
  90. package/scss/toolbar/_variables.scss +3 -3
  91. package/scss/tooltip/_variables.scss +9 -9
  92. package/scss/treeview/_variables.scss +1 -1
  93. package/scss/upload/_variables.scss +8 -8
  94. package/scss/window/_variables.scss +8 -8
  95. package/scss/wizard/_variables.scss +1 -1
@@ -45,34 +45,34 @@ $kendo-checkbox-bg: $kendo-component-bg !default;
45
45
  $kendo-checkbox-text: transparent !default;
46
46
  /// The border color of the CheckBox.
47
47
  /// @group checkbox
48
- $kendo-checkbox-border: k-get-theme-color-var( neutral-160 ) !default;
48
+ $kendo-checkbox-border: if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) !default;
49
49
 
50
50
  /// The background color of the hovered CheckBox.
51
51
  /// @group checkbox
52
52
  $kendo-checkbox-hover-bg: $kendo-checkbox-bg !default;
53
53
  /// The text color of the hovered CheckBox.
54
54
  /// @group checkbox
55
- $kendo-checkbox-hover-text: k-get-theme-color( neutral, 130 ) !default;
55
+ $kendo-checkbox-hover-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color( neutral, 130 )) !default;
56
56
  /// The border color of the hovered CheckBox.
57
57
  /// @group checkbox
58
58
  $kendo-checkbox-hover-border: $kendo-checkbox-border !default;
59
59
 
60
60
  /// The background color of the checked CheckBox.
61
61
  /// @group checkbox
62
- $kendo-checkbox-checked-bg: k-get-theme-color-var( primary-100 ) !default;
62
+ $kendo-checkbox-checked-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
63
63
  /// The text color of the checked CheckBox.
64
64
  /// @group checkbox
65
- $kendo-checkbox-checked-text: $kendo-color-white !default;
65
+ $kendo-checkbox-checked-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
66
66
  /// The border color of the checked CheckBox.
67
67
  /// @group checkbox
68
68
  $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
69
69
 
70
70
  /// The background of the hovered and checked CheckBox.
71
71
  /// @group checkbox
72
- $kendo-checkbox-hover-checked-bg: k-get-theme-color-var( primary-110 ) !default;
72
+ $kendo-checkbox-hover-checked-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
73
73
  /// The text color of the hovered and checked CheckBox.
74
74
  /// @group checkbox
75
- $kendo-checkbox-hover-checked-text: $kendo-color-white !default;
75
+ $kendo-checkbox-hover-checked-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
76
76
  /// The border color of the hovered and checked CheckBox.
77
77
  /// @group checkbox
78
78
  $kendo-checkbox-hover-checked-border: $kendo-checkbox-hover-checked-bg !default;
@@ -85,7 +85,7 @@ $kendo-checkbox-focus-border: null !default;
85
85
  $kendo-checkbox-focus-shadow: null !default;
86
86
  /// The outline of the focused CheckBox.
87
87
  /// @group checkbox
88
- $kendo-checkbox-focus-outline: 1px solid k-get-theme-color-var( neutral-130 ) !default;
88
+ $kendo-checkbox-focus-outline: 1px solid if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
89
89
  $kendo-checkbox-focus-outline-offset: 2px !default;
90
90
 
91
91
  /// The background color of the indeterminate CheckBox.
@@ -93,50 +93,50 @@ $kendo-checkbox-focus-outline-offset: 2px !default;
93
93
  $kendo-checkbox-indeterminate-bg: $kendo-checkbox-bg !default;
94
94
  /// The text color of the indeterminate CheckBox.
95
95
  /// @group checkbox
96
- $kendo-checkbox-indeterminate-text: k-get-theme-color( primary, 100 ) !default;
96
+ $kendo-checkbox-indeterminate-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color( primary, 100 )) !default;
97
97
  /// The border color of the indeterminate CheckBox.
98
98
  /// @group checkbox
99
- $kendo-checkbox-indeterminate-border: k-get-theme-color-var( primary-100 ) !default;
99
+ $kendo-checkbox-indeterminate-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
100
100
 
101
101
  /// The background color of the hovered and indeterminate CheckBox.
102
102
  /// @group checkbox
103
103
  $kendo-checkbox-hover-indeterminate-bg: $kendo-checkbox-bg !default;
104
104
  /// The text color of the hovered and indeterminate CheckBox.
105
105
  /// @group checkbox
106
- $kendo-checkbox-hover-indeterminate-text: k-get-theme-color( primary, 110 ) !default;
106
+ $kendo-checkbox-hover-indeterminate-text: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color( primary, 110 )) !default;
107
107
  /// The border color of the hovered and indeterminate CheckBox.
108
108
  /// @group checkbox
109
- $kendo-checkbox-hover-indeterminate-border: k-get-theme-color-var( primary-110 ) !default;
109
+ $kendo-checkbox-hover-indeterminate-border: if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) !default;
110
110
 
111
111
  /// The background color of the disabled CheckBox.
112
112
  /// @group checkbox
113
113
  $kendo-checkbox-disabled-bg: $kendo-checkbox-bg !default;
114
114
  /// The text color of the disabled CheckBox.
115
115
  /// @group checkbox
116
- $kendo-checkbox-disabled-text: k-get-theme-color-var( neutral-60 ) !default;
116
+ $kendo-checkbox-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
117
117
  /// The border color of the disabled CheckBox.
118
118
  /// @group checkbox
119
- $kendo-checkbox-disabled-border: k-get-theme-color-var( neutral-60 ) !default;
119
+ $kendo-checkbox-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
120
120
 
121
121
  /// The background color of the disabled and checked CheckBox.
122
122
  /// @group checkbox
123
- $kendo-checkbox-disabled-checked-bg: k-get-theme-color-var( neutral-60 ) !default;
123
+ $kendo-checkbox-disabled-checked-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
124
124
  /// The text color of the disabled and checked CheckBox.
125
125
  /// @group checkbox
126
- $kendo-checkbox-disabled-checked-text: $kendo-color-white !default;
126
+ $kendo-checkbox-disabled-checked-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
127
127
  /// The border color of the disabled and checked CheckBox.
128
128
  /// @group checkbox
129
- $kendo-checkbox-disabled-checked-border: k-get-theme-color-var( neutral-60 ) !default;
129
+ $kendo-checkbox-disabled-checked-border: if($kendo-enable-color-system, transparent, k-get-theme-color-var( neutral-60 )) !default;
130
130
 
131
131
  /// The background color of the disabled and indeterminate CheckBox.
132
132
  /// @group checkbox
133
133
  $kendo-checkbox-disabled-indeterminate-bg: $kendo-checkbox-bg !default;
134
134
  /// The border color of the disabled and indeterminate CheckBox.
135
135
  /// @group checkbox
136
- $kendo-checkbox-disabled-indeterminate-text: k-get-theme-color( neutral, 60 ) !default;
136
+ $kendo-checkbox-disabled-indeterminate-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color( neutral, 60 )) !default;
137
137
  /// The border color of the disabled and indeterminate CheckBox.
138
138
  /// @group checkbox
139
- $kendo-checkbox-disabled-indeterminate-border: k-get-theme-color-var( neutral-60 ) !default;
139
+ $kendo-checkbox-disabled-indeterminate-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
140
140
 
141
141
  /// The background color of an invalid CheckBox.
142
142
  /// @group checkbox
@@ -212,7 +212,7 @@ $kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
212
212
 
213
213
  /// The background color of the CheckBox' ripple.
214
214
  /// @group checkbox
215
- $kendo-checkbox-ripple-bg: k-get-theme-color-var( primary-100 ) !default;
215
+ $kendo-checkbox-ripple-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
216
216
  /// The opacity of the CheckBox' ripple.
217
217
  /// @group checkbox
218
218
  $kendo-checkbox-ripple-opacity: .25 !default;
@@ -37,7 +37,7 @@ $kendo-chip-solid-disabled-border: var( --kendo-disabled-border, inherit ) !defa
37
37
  $kendo-chip-outline-disabled-bg: var( $kendo-component-bg, transparent ) !default;
38
38
  /// The border color of the outline disabled Chip.
39
39
  /// @group chip
40
- $kendo-chip-outline-disabled-border: k-get-theme-color-var( neutral-90 ) !default;
40
+ $kendo-chip-outline-disabled-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .46 ), k-get-theme-color-var( neutral-90 )) !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: (20, 160, 20),
129
- hover: (30, 190, 30),
130
- focus: (20, 160, 130),
131
- focus-hover: (20, 190, 130),
132
- selected: (k-get-theme-color-var( primary-100 ), $kendo-color-white, k-get-theme-color-var( primary-100 )),
133
- selected-hover: (k-get-theme-color-var( primary-100 ), $kendo-color-white, k-get-theme-color-var( primary-100 )),
134
- disabled: (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit ))
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, (rgba( k-color( on-app-surface, true ), .06 ), rgba( k-color( on-app-surface, true ), .46 ), transparent), (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit )))
135
135
  ),
136
136
  outline: (
137
- normal: (transparent, 160, currentColor),
138
- hover: (190, $kendo-color-white, 190),
139
- focus: (transparent, 160, currentColor, inherit),
140
- focus-hover: (190, $kendo-color-white, 190, inherit),
141
- selected: (190, $kendo-color-white, 190),
142
- selected-hover: (20, 190, 110),
143
- disabled: (initial, var( --kendo-disabled-text, inherit ), 90)
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, rgba( k-color( on-app-surface, true ), .46 ), rgba( k-color( on-app-surface, true ), .46 )), (initial, var( --kendo-disabled-text, inherit ), 90))
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: (20, 160, 20),
151
- hover: (30, 190, 30),
152
- focus: (20, 160, 160),
153
- focus-hover: (20, 190, 160),
154
- selected: (40, 190, 40),
155
- selected-hover: (30, 190, 30),
156
- disabled: (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit ))
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, (rgba( k-color( on-app-surface, true ), .06 ), rgba( k-color( on-app-surface, true ), .46 ), transparent), (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit )))
157
157
  ),
158
158
  outline: (
159
- normal: (transparent, 160, currentColor),
160
- hover: (190, $kendo-color-white, 190),
161
- focus: (transparent, 160, 160, inherit),
162
- focus-hover: (190, $kendo-color-white, 190, inherit),
163
- selected: (190, $kendo-color-white, 190),
164
- selected-hover: (190, $kendo-color-white, 190),
165
- disabled: (initial, var( --kendo-disabled-text, inherit ), var( --kendo-disabled-text, inherit ))
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, rgba( k-color( on-app-surface, true ), .46 ), rgba( k-color( on-app-surface, true ), .46 )), (initial, var( --kendo-disabled-text, inherit ), var( --kendo-disabled-text, inherit )))
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: (20, k-get-theme-color-var( grey-160 ), 20),
173
- hover: (30, k-get-theme-color-var( grey-190 ), 30),
174
- focus: (20, k-get-theme-color-var( grey-160 ), 160),
175
- focus-hover: (20, k-get-theme-color-var( grey-190 ), 160),
176
- selected: (40, k-get-theme-color-var( grey-190 ), 40),
177
- selected-hover: (30, k-get-theme-color-var( grey-190 ), 30),
178
- disabled: (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit ))
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, (rgba( k-color( on-app-surface, true ), .06 ), rgba( k-color( on-app-surface, true ), .46 ), transparent), (var( --kendo-disabled-bg, inherit ), var( --kendo-disabled-text, inherit ), var( --kendo-disabled-border, inherit )))
179
179
  ),
180
180
  outline: (
181
- normal: (transparent, 160, currentColor),
182
- hover: (190, $kendo-color-white, 190),
183
- focus: (transparent, 160, 160, inherit),
184
- focus-hover: (190, $kendo-color-white, 190, inherit),
185
- selected: (190, $kendo-color-white, 190),
186
- selected-hover: (190, $kendo-color-white, 190),
187
- disabled: (initial, var( --kendo-disabled-text, inherit ), var( --kendo-disabled-text, inherit ))
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, rgba( k-color( on-app-surface, true ), .46 ), rgba( k-color( on-app-surface, true ), .46 )), (initial, var( --kendo-disabled-text, inherit ), var( --kendo-disabled-text, inherit )))
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, neutral, $ui-states )
198
+ k-generate-fill-mode-theme-variation( $fill-mode, base, if($kendo-enable-color-system, base, neutral), $ui-states )
199
199
  );
200
200
  }
201
201
 
@@ -14,17 +14,17 @@ $kendo-color-preview-bg: transparent !default;
14
14
  $kendo-color-preview-text: inherit !default;
15
15
  /// Border color of the color preview.
16
16
  /// @group color-preview
17
- $kendo-color-preview-border: k-get-theme-color-var( neutral-60 ) !default;
17
+ $kendo-color-preview-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
18
18
  /// Hover Border color of the color preview.
19
19
  /// @group color-preview
20
- $kendo-color-preview-hover-border: k-get-theme-color-var( neutral-60 ) !default;
20
+ $kendo-color-preview-hover-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .28 ), k-get-theme-color-var( neutral-60 )) !default;
21
21
 
22
22
  /// Background color of the color preview when no color is selected.
23
23
  /// @group color-preview
24
- $kendo-color-preview-no-color-bg: $kendo-color-white !default;
24
+ $kendo-color-preview-no-color-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
25
25
  /// Text color of the color preview when no color is selected.
26
26
  /// @group color-preview
27
- $kendo-color-preview-no-color-text: k-get-theme-color( error, 190 ) !default;
27
+ $kendo-color-preview-no-color-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color( error, 190 )) !default;
28
28
  /// Border color of the color preview when no color is selected.
29
29
  /// @group color-preview
30
30
  $kendo-color-preview-no-color-border: currentColor !default;
@@ -39,7 +39,7 @@ $kendo-color-editor-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
39
39
 
40
40
  /// The border color of the focused ColorEditor.
41
41
  /// @group coloreditor
42
- $kendo-color-editor-focus-border: k-get-theme-color-var( neutral-20 ) !default;
42
+ $kendo-color-editor-focus-border: if($kendo-enable-color-system, rgba( k-color( border, true ), .1 ), k-get-theme-color-var( neutral-20 )) !default;
43
43
  /// The box shadow of the focused ColorEditor.
44
44
  /// @group coloreditor
45
45
  $kendo-color-editor-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
@@ -49,7 +49,7 @@ $kendo-color-gradient-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
49
49
 
50
50
  /// The border color of the focused ColorGradient.
51
51
  /// @group cologradient
52
- $kendo-color-gradient-focus-border: k-get-theme-color-var( neutral-20 ) !default;
52
+ $kendo-color-gradient-focus-border: if($kendo-enable-color-system, rgba( k-color( border, true ), .1 ), k-get-theme-color-var( neutral-20 )) !default;
53
53
  /// The box shadow of the focused ColorGradient.
54
54
  /// @group cologradient
55
55
  $kendo-color-gradient-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
@@ -68,7 +68,7 @@ $kendo-color-gradient-canvas-spacing: math.div( $kendo-color-gradient-spacer, 2
68
68
  $kendo-color-gradient-canvas-rectangle-height: 180px !default;
69
69
  /// The border color of the ColorGradient canvas hsv rectangle.
70
70
  /// @group cologradient
71
- $kendo-color-gradient-canvas-rectangle-border: k-get-theme-color-var( neutral-30 ) !default;
71
+ $kendo-color-gradient-canvas-rectangle-border: if($kendo-enable-color-system, rgba( k-color( border, true ), .16 ), k-get-theme-color-var( neutral-30 )) !default;
72
72
  /// The box shadow of the ColorGradient canvas drag handle.
73
73
  /// @group cologradient
74
74
  $kendo-color-gradient-canvas-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
@@ -81,10 +81,10 @@ $kendo-color-gradient-slider-track-size: 20px !default;
81
81
  $kendo-color-gradient-slider-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
82
82
  /// The width of the border around the ColorGradient slider.
83
83
  /// @group cologradient
84
- $kendo-color-gradient-slider-border-width: 1px !default;
84
+ $kendo-color-gradient-slider-border-width: if($kendo-enable-color-system, 0, 1px) !default;
85
85
  /// The color of the border around the ColorGradient slider.
86
86
  /// @group cologradient
87
- $kendo-color-gradient-slider-border: k-get-theme-color-var( neutral-30 ) !default;
87
+ $kendo-color-gradient-slider-border: if($kendo-enable-color-system, rgba( k-color( border, true ), .16 ), k-get-theme-color-var( neutral-30 )) !default;
88
88
 
89
89
  /// The height of the ColorGradient vertical slider.
90
90
  /// @group cologradient
@@ -110,22 +110,22 @@ $kendo-color-gradient-draghandle-border-width: 2px !default;
110
110
  $kendo-color-gradient-draghandle-outline-width: 1px !default;
111
111
  /// The color of the border around the ColorGradient canvas drag handle.
112
112
  /// @group cologradient
113
- $kendo-color-gradient-draghandle-border: $kendo-color-white !default;
113
+ $kendo-color-gradient-draghandle-border: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
114
114
  /// The color of the outline around the ColorGradient canvas drag handle.
115
115
  /// @group cologradient
116
- $kendo-color-gradient-draghandle-shadow: k-get-theme-color-var( neutral-110 ) !default;
116
+ $kendo-color-gradient-draghandle-shadow: if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-110 )) !default;
117
117
  /// The box shadow of the ColorGradient canvas drag handle.
118
118
  /// @group cologradient
119
119
  $kendo-color-gradient-draghandle-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
120
120
  /// The color of the border around the focused ColorGradient canvas drag handle.
121
121
  /// @group cologradient
122
- $kendo-color-gradient-draghandle-focus-border: $kendo-color-white !default;
122
+ $kendo-color-gradient-draghandle-focus-border: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
123
123
  /// The focus color of the outline around the ColorGradient canvas drag handle.
124
124
  /// @group cologradient
125
- $kendo-color-gradient-draghandle-focus-shadow: k-get-theme-color-var( neutral-130 ) !default;
125
+ $kendo-color-gradient-draghandle-focus-shadow: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
126
126
  /// The hover color of the outline around the ColorGradient canvas drag handle.
127
127
  /// @group cologradient
128
- $kendo-color-gradient-draghandle-hover-shadow: k-get-theme-color-var( neutral-130 ) !default;
128
+ $kendo-color-gradient-draghandle-hover-shadow: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
129
129
 
130
130
  /// The vertical offset of the ColorGradient canvas drag handle.
131
131
  /// @group cologradient
@@ -28,16 +28,16 @@ $kendo-color-palette-tile-width: map.get( $kendo-spacing, 6 ) !default;
28
28
  $kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
29
29
  /// The outline color of the ColorPalette focused tile.
30
30
  /// @group colorpalette
31
- $kendo-color-palette-tile-focus-outline: k-get-theme-color-var( neutral-130 ) !default;
31
+ $kendo-color-palette-tile-focus-outline: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
32
32
  /// The shadow of the ColorPalette focused tile.
33
33
  /// @group colorpalette
34
- $kendo-color-palette-tile-focus-shadow: inset 0 0 0 2px $kendo-color-white !default;
34
+ $kendo-color-palette-tile-focus-shadow: inset 0 0 0 2px if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
35
35
  /// The outline color of the ColorPalette hovered tile.
36
36
  /// @group colorpalette
37
- $kendo-color-palette-tile-hover-outline: k-get-theme-color-var( neutral-20 ) !default;
37
+ $kendo-color-palette-tile-hover-outline: if($kendo-enable-color-system, rgba( k-color( border, true ), .1 ), k-get-theme-color-var( neutral-20 )) !default;
38
38
  /// The shadow of the ColorPalette hovered tile.
39
39
  /// @group colorpalette
40
- $kendo-color-palette-tile-hover-shadow: inset 0 0 0 2px $kendo-color-palette-tile-hover-outline, inset 0 0 0 4px $kendo-color-white !default;
40
+ $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;
41
41
  /// The outline color of the ColorPalette selected tile.
42
42
  /// @group colorpalette
43
43
  $kendo-color-palette-tile-selected-outline: $kendo-color-palette-tile-hover-outline !default;
@@ -1,8 +1,7 @@
1
1
  @use "sass:map";
2
2
 
3
- // Palettes
4
- @forward "./color-system/palettes";
5
- @use "./color-system/palettes" as *;
3
+ // Swatch
4
+ @use "./color-system/swatch" as *;
6
5
 
7
6
  // Elevation
8
7
  @use "./elevation" as *;
@@ -11,12 +10,47 @@
11
10
  // Variables
12
11
  @forward "./variables";
13
12
 
14
- @forward "@progress/kendo-theme-core/scss/index.import.scss" with (
15
- $kendo-palettes: $kendo-fluent-palettes,
13
+ @forward "@progress/kendo-theme-core/scss/index.import.scss" with (
14
+ $kendo-enable-color-system: $kendo-enable-color-system !default,
15
+ // Color System
16
+ $kendo-colors: $kendo-colors !default,
17
+ // Legacy
18
+ $kendo-theme-colors: $kendo-theme-colors !default,
19
+ $kendo-palettes: $kendo-palettes !default,
20
+ $kendo-body-bg: $kendo-body-bg !default,
21
+ $kendo-body-text: $kendo-body-text !default,
22
+ $kendo-component-bg: $kendo-component-bg !default,
23
+ $kendo-component-text: $kendo-component-text !default,
24
+ $kendo-component-border: $kendo-component-border !default,
25
+ $kendo-hover-bg: $kendo-hover-bg !default,
26
+ $kendo-hover-text: $kendo-hover-text !default,
27
+ $kendo-hover-border: $kendo-hover-border !default,
28
+ $kendo-selected-bg: $kendo-selected-bg !default,
29
+ $kendo-selected-text: $kendo-selected-text !default,
30
+ $kendo-selected-border: $kendo-selected-border !default,
31
+ $kendo-selected-hover-bg: $kendo-selected-hover-bg !default,
32
+ $kendo-selected-hover-text: $kendo-selected-hover-text !default,
33
+ $kendo-selected-hover-border: $kendo-selected-hover-border !default,
34
+ $kendo-focus-outline: $kendo-focus-outline !default,
35
+ $kendo-subtle-text: $kendo-subtle-text !default,
36
+ $kendo-link-text: $kendo-link-text !default,
37
+ $kendo-link-hover-text: $kendo-link-hover-text !default,
38
+ $kendo-invalid-bg: $kendo-invalid-bg !default,
39
+ $kendo-invalid-text: $kendo-invalid-text !default,
40
+ $kendo-invalid-border: $kendo-invalid-border !default,
41
+ $kendo-invalid-shadow: $kendo-invalid-shadow !default,
42
+ $kendo-disabled-bg: $kendo-disabled-bg !default,
43
+ $kendo-disabled-text: $kendo-disabled-text !default,
44
+ $kendo-disabled-border: $kendo-disabled-border !default,
45
+ $kendo-loading-bg: $kendo-loading-bg !default,
46
+ $kendo-loading-text: $kendo-loading-text !default,
47
+ // Elevation
16
48
  $_default-elevation: $kendo-elevation,
17
- $kendo-elevation: $kendo-elevation !default,
49
+ $kendo-elevation: $kendo-elevation !default
18
50
  );
19
51
 
52
+ @forward "./color-system/swatch-legacy";
53
+
20
54
  // Helpers
21
55
  @use "./helpers";
22
56
 
@@ -1 +1,3 @@
1
+ @forward "./swatch";
2
+ @forward "./swatch-legacy";
1
3
  @forward "./utils";