@progress/kendo-theme-classic 10.6.0-dev.6 → 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/classic-green-dark.css +1 -1
  3. package/dist/classic-green-dark.scss +1 -1
  4. package/dist/classic-green.css +1 -1
  5. package/dist/classic-green.scss +1 -1
  6. package/dist/classic-lavender-dark.css +1 -1
  7. package/dist/classic-lavender-dark.scss +1 -1
  8. package/dist/classic-lavender.css +1 -1
  9. package/dist/classic-lavender.scss +1 -1
  10. package/dist/classic-main-dark.css +1 -1
  11. package/dist/classic-main-dark.scss +1 -1
  12. package/dist/classic-main.css +1 -1
  13. package/dist/classic-main.scss +1 -5
  14. package/dist/classic-metro-dark.css +1 -1
  15. package/dist/classic-metro-dark.scss +1 -1
  16. package/dist/classic-metro.css +1 -1
  17. package/dist/classic-metro.scss +1 -1
  18. package/dist/classic-moonlight.css +1 -1
  19. package/dist/classic-moonlight.scss +1 -1
  20. package/dist/classic-opal-dark.css +1 -1
  21. package/dist/classic-opal-dark.scss +1 -1
  22. package/dist/classic-opal.css +1 -1
  23. package/dist/classic-opal.scss +1 -1
  24. package/dist/classic-silver-dark.css +1 -1
  25. package/dist/classic-silver-dark.scss +1 -1
  26. package/dist/classic-silver.css +1 -1
  27. package/dist/classic-silver.scss +1 -1
  28. package/dist/classic-uniform.css +1 -1
  29. package/dist/classic-uniform.scss +5 -2
  30. package/dist/meta/sassdoc-data.json +1508 -4460
  31. package/dist/meta/sassdoc-raw-data.json +748 -2110
  32. package/dist/meta/variables.json +162 -329
  33. package/lib/swatches/classic-green-dark.json +1 -182
  34. package/lib/swatches/classic-green.json +1 -182
  35. package/lib/swatches/classic-lavender-dark.json +2 -203
  36. package/lib/swatches/classic-lavender.json +2 -183
  37. package/lib/swatches/classic-main-dark.json +1 -182
  38. package/lib/swatches/classic-main.json +2 -184
  39. package/lib/swatches/classic-metro-dark.json +1 -209
  40. package/lib/swatches/classic-metro.json +2 -203
  41. package/lib/swatches/classic-moonlight.json +1 -209
  42. package/lib/swatches/classic-opal-dark.json +1 -207
  43. package/lib/swatches/classic-opal.json +1 -182
  44. package/lib/swatches/classic-silver-dark.json +1 -182
  45. package/lib/swatches/classic-silver.json +1 -182
  46. package/lib/swatches/classic-uniform.json +1 -167
  47. package/package.json +4 -4
  48. package/scss/action-sheet/_variables.scss +8 -8
  49. package/scss/adaptive/_variables.scss +13 -13
  50. package/scss/appbar/_variables.scss +18 -5
  51. package/scss/avatar/_variables.scss +12 -1
  52. package/scss/badge/_variables.scss +15 -1
  53. package/scss/bottom-navigation/_variables.scss +17 -4
  54. package/scss/breadcrumb/_variables.scss +8 -8
  55. package/scss/button/_variables.scss +24 -15
  56. package/scss/calendar/_variables.scss +18 -18
  57. package/scss/captcha/_variables.scss +3 -3
  58. package/scss/card/_variables.scss +24 -9
  59. package/scss/chart-wizard/_variables.scss +4 -4
  60. package/scss/chat/_variables.scss +13 -13
  61. package/scss/checkbox/_variables.scss +7 -7
  62. package/scss/chip/_variables.scss +9 -9
  63. package/scss/color-preview/_variables.scss +3 -3
  64. package/scss/coloreditor/_variables.scss +3 -3
  65. package/scss/colorgradient/_variables.scss +4 -4
  66. package/scss/core/_index.scss +8 -5
  67. package/scss/core/color-system/_swatch.scss +0 -3
  68. package/scss/dataviz/_variables.scss +61 -47
  69. package/scss/dialog/_variables.scss +5 -5
  70. package/scss/dock-manager/_variables.scss +6 -6
  71. package/scss/draggable/_variables.scss +4 -4
  72. package/scss/drawer/_variables.scss +9 -9
  73. package/scss/dropzone/_variables.scss +6 -6
  74. package/scss/editor/_variables.scss +12 -4
  75. package/scss/expansion-panel/_variables.scss +6 -6
  76. package/scss/fab/_variables.scss +15 -4
  77. package/scss/filemanager/_variables.scss +5 -5
  78. package/scss/filter/_variables.scss +2 -2
  79. package/scss/forms/_variables.scss +3 -3
  80. package/scss/gantt/_variables.scss +24 -24
  81. package/scss/grid/_variables.scss +11 -11
  82. package/scss/imageeditor/_variables.scss +4 -4
  83. package/scss/index.scss +3 -0
  84. package/scss/input/_variables.scss +15 -15
  85. package/scss/list/_variables.scss +8 -8
  86. package/scss/listbox/_variables.scss +3 -3
  87. package/scss/listgroup/_variables.scss +3 -3
  88. package/scss/listview/_variables.scss +4 -4
  89. package/scss/loader/_variables.scss +17 -3
  90. package/scss/map/_variables.scss +5 -5
  91. package/scss/marquee/_index.scss +16 -0
  92. package/scss/marquee/_layout.scss +6 -0
  93. package/scss/marquee/_theme.scss +6 -0
  94. package/scss/marquee/_variables.scss +11 -0
  95. package/scss/mediaplayer/_variables.scss +4 -4
  96. package/scss/menu/_variables.scss +13 -13
  97. package/scss/messagebox/_variables.scss +15 -1
  98. package/scss/no-data/_variables.scss +1 -1
  99. package/scss/notification/_functions.scss +1 -1
  100. package/scss/notification/_variables.scss +15 -4
  101. package/scss/orgchart/_variables.scss +8 -8
  102. package/scss/overlay/_variables.scss +12 -1
  103. package/scss/pager/_variables.scss +3 -3
  104. package/scss/panel/_variables.scss +3 -3
  105. package/scss/panelbar/_variables.scss +18 -18
  106. package/scss/pdf-viewer/_variables.scss +13 -13
  107. package/scss/pivotgrid/_variables.scss +22 -22
  108. package/scss/popover/_variables.scss +3 -3
  109. package/scss/popup/_variables.scss +3 -3
  110. package/scss/progressbar/_variables.scss +8 -8
  111. package/scss/prompt/_variables.scss +12 -12
  112. package/scss/rating/_variables.scss +4 -4
  113. package/scss/scheduler/_variables.scss +17 -14
  114. package/scss/scrollview/_variables.scss +5 -5
  115. package/scss/signature/_variables.scss +1 -1
  116. package/scss/skeleton/_variables.scss +1 -1
  117. package/scss/slider/_variables.scss +10 -10
  118. package/scss/splitter/_variables.scss +8 -8
  119. package/scss/spreadsheet/_variables.scss +25 -25
  120. package/scss/stepper/_variables.scss +15 -15
  121. package/scss/switch/_variables.scss +16 -16
  122. package/scss/table/_variables.scss +10 -10
  123. package/scss/tabstrip/_variables.scss +17 -17
  124. package/scss/taskboard/_variables.scss +14 -14
  125. package/scss/tilelayout/_variables.scss +2 -2
  126. package/scss/timeline/_variables.scss +6 -6
  127. package/scss/timeselector/_variables.scss +12 -8
  128. package/scss/toolbar/_variables.scss +5 -5
  129. package/scss/tooltip/_functions.scss +1 -1
  130. package/scss/tooltip/_variables.scss +14 -3
  131. package/scss/treeview/_variables.scss +12 -12
  132. package/scss/typography/_variables.scss +3 -3
  133. package/scss/upload/_variables.scss +13 -13
  134. package/scss/window/_variables.scss +10 -10
  135. package/scss/core/color-system/_swatch-legacy.scss +0 -345
@@ -53,13 +53,13 @@ $kendo-breadcrumb-lg-line-height: var( --kendo-line-height-lg, normal ) !default
53
53
 
54
54
  /// The base background of the Breadcrumb.
55
55
  /// @group breadcrumb
56
- $kendo-breadcrumb-bg: $kendo-component-bg !default;
56
+ $kendo-breadcrumb-bg: k-color(surface-alt) !default;
57
57
  /// The base text color of the Breadcrumb.
58
58
  /// @group breadcrumb
59
- $kendo-breadcrumb-text: $kendo-component-text !default;
59
+ $kendo-breadcrumb-text: k-color(on-app-surface) !default;
60
60
  /// The base border color of the Breadcrumb.
61
61
  /// @group breadcrumb
62
- $kendo-breadcrumb-border: $kendo-component-border !default;
62
+ $kendo-breadcrumb-border: k-color(border) !default;
63
63
 
64
64
  /// The box shadow of the focused Breadcrumb.
65
65
  /// @group breadcrumb
@@ -133,16 +133,16 @@ $kendo-breadcrumb-link-icon-spacing: $kendo-icon-spacing !default;
133
133
  $kendo-breadcrumb-link-bg: null !default;
134
134
  /// The text color of the Breadcrumb link.
135
135
  /// @group breadcrumb
136
- $kendo-breadcrumb-link-text: $kendo-link-text !default;
136
+ $kendo-breadcrumb-link-text: k-color(primary) !default;
137
137
  /// The border color of the Breadcrumb link.
138
138
  /// @group breadcrumb
139
139
  $kendo-breadcrumb-link-border: null !default;
140
140
 
141
141
  /// @group breadcrumb
142
- $kendo-breadcrumb-link-hover-bg: $kendo-base-bg !default;
142
+ $kendo-breadcrumb-link-hover-bg: k-color(surface) !default;
143
143
  /// The text color of the hovered Breadcrumb link.
144
144
  /// @group breadcrumb
145
- $kendo-breadcrumb-link-hover-text: $kendo-link-hover-text !default;
145
+ $kendo-breadcrumb-link-hover-text: k-color(primary-hover) !default;
146
146
  /// The border color of the hovered Breadcrumb link.
147
147
  /// @group breadcrumb
148
148
  $kendo-breadcrumb-link-hover-border: null !default;
@@ -152,7 +152,7 @@ $kendo-breadcrumb-link-hover-border: null !default;
152
152
  $kendo-breadcrumb-link-focus-bg: null !default;
153
153
  /// The text color of the focused Breadcrumb link.
154
154
  /// @group breadcrumb
155
- $kendo-breadcrumb-link-focus-text: $kendo-link-text !default;
155
+ $kendo-breadcrumb-link-focus-text: k-color(primary) !default;
156
156
  /// The border color of the focused Breadcrumb link.
157
157
  /// @group breadcrumb
158
158
  $kendo-breadcrumb-link-focus-border: null !default;
@@ -172,7 +172,7 @@ $kendo-breadcrumb-root-link-border: null !default;
172
172
 
173
173
  /// The background color of the hovered Breadcrumb root link.
174
174
  /// @group breadcrumb
175
- $kendo-breadcrumb-root-link-hover-bg: $kendo-base-bg !default;
175
+ $kendo-breadcrumb-root-link-hover-bg: k-color(surface) !default;
176
176
  /// The text color of the hovered Breadcrumb root link.
177
177
  /// @group breadcrumb
178
178
  $kendo-breadcrumb-root-link-hover-text: null !default;
@@ -107,36 +107,45 @@ $kendo-button-sizes: (
107
107
 
108
108
  /// The theme colors map for the Button.
109
109
  /// @group button
110
- $kendo-button-theme-colors: map.merge(
111
- $kendo-theme-colors,
112
- ( "base": $kendo-base-bg )
110
+ $kendo-button-theme-colors: (
111
+ "base": k-color(base),
112
+ "primary": k-color(primary),
113
+ "secondary": k-color(secondary),
114
+ "tertiary": k-color(tertiary),
115
+ "info": k-color(info),
116
+ "success": k-color(success),
117
+ "warning": k-color(warning),
118
+ "error": k-color(error),
119
+ "dark": k-color(dark),
120
+ "light": k-color(light),
121
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
113
122
  ) !default;
114
123
 
115
124
  /// The base background of the Button.
116
125
  /// @group button
117
- $kendo-button-bg: if($kendo-enable-color-system, k-color( base ), $kendo-base-bg) !default;
126
+ $kendo-button-bg: k-color(base) !default;
118
127
  /// The base text color of the Button.
119
128
  /// @group button
120
- $kendo-button-text: if($kendo-enable-color-system, k-color( on-base ), $kendo-base-text) !default;
129
+ $kendo-button-text: k-color(on-base) !default;
121
130
  /// The base border color of the Button.
122
131
  /// @group button
123
- $kendo-button-border: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-button-bg, 2 )) !default;
132
+ $kendo-button-border: k-color(border) !default;
124
133
  /// The base background gradient of the Button.
125
134
  /// @group button
126
- $kendo-button-gradient: $kendo-base-gradient !default;
135
+ $kendo-button-gradient: null !default;
127
136
  /// The base shadow of the Button.
128
137
  /// @group button
129
138
  $kendo-button-shadow: null !default;
130
139
 
131
140
  /// The base background of the hovered Button.
132
141
  /// @group button
133
- $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-button-bg, 1 )) !default;
142
+ $kendo-button-hover-bg: k-color(base-hover) !default;
134
143
  /// The base text color of the hovered Button.
135
144
  /// @group button
136
145
  $kendo-button-hover-text: null !default;
137
146
  /// The base border color of the hovered Button.
138
147
  /// @group button
139
- $kendo-button-hover-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-button-bg, 3 )) !default;
148
+ $kendo-button-hover-border: k-color(border-alt) !default;
140
149
  /// The base background gradient of the hovered Button.
141
150
  /// @group button
142
151
  $kendo-button-hover-gradient: null !default;
@@ -146,13 +155,13 @@ $kendo-button-hover-shadow: null !default;
146
155
 
147
156
  /// The base background color of the active Button.
148
157
  /// @group button
149
- $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-button-bg, 2 )) !default;
158
+ $kendo-button-active-bg: k-color(base-active) !default;
150
159
  /// The base text color of the active Button.
151
160
  /// @group button
152
161
  $kendo-button-active-text: null !default;
153
162
  /// The base border color of the active Button.
154
163
  /// @group button
155
- $kendo-button-active-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-button-bg, 4 )) !default;
164
+ $kendo-button-active-border: k-color(border-alt) !default;
156
165
  /// The base background gradient of the active Button.
157
166
  /// @group button
158
167
  $kendo-button-active-gradient: null !default;
@@ -162,10 +171,10 @@ $kendo-button-active-shadow: null !default;
162
171
 
163
172
  /// The base background color of the selected Button.
164
173
  /// @group button
165
- $kendo-button-selected-bg: $kendo-color-primary !default;
174
+ $kendo-button-selected-bg: k-color(primary) !default;
166
175
  /// The text color of the selected Button.
167
176
  /// @group button
168
- $kendo-button-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-button-selected-bg )) !default;
177
+ $kendo-button-selected-text: k-color(on-primary) !default;
169
178
  /// The border color of the selected Button.
170
179
  /// @group button
171
180
  $kendo-button-selected-border: $kendo-button-selected-bg !default;
@@ -190,7 +199,7 @@ $kendo-button-focus-border: null !default;
190
199
  $kendo-button-focus-gradient: null !default;
191
200
  /// The base shadow of the focused Button.
192
201
  /// @group button
193
- $kendo-button-focus-shadow: 0 0 4px 0 if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 75%, transparent), rgba( $kendo-button-border, .75 )) !default;
202
+ $kendo-button-focus-shadow: 0 0 4px 0 color-mix(in srgb, k-color(border) 75%, transparent) !default;
194
203
 
195
204
  /// The base background of the disabled Button.
196
205
  /// @group button
@@ -209,7 +218,7 @@ $kendo-button-disabled-gradient: null !default;
209
218
  $kendo-button-disabled-shadow: null !default;
210
219
 
211
220
  // Solid Button
212
- $kendo-solid-button-gradient: $kendo-base-gradient !default;
221
+ $kendo-solid-button-gradient: null !default;
213
222
  $kendo-solid-button-shade-function: "k-try-shade" !default;
214
223
  $kendo-solid-button-shade-text-amount: 0 !default;
215
224
  $kendo-solid-button-shade-bg-amount: 0 !default;
@@ -22,13 +22,13 @@ $kendo-calendar-cell-size: 32px !default;
22
22
 
23
23
  /// The background color of the Calendar.
24
24
  /// @group calendar
25
- $kendo-calendar-bg: $kendo-component-bg !default;
25
+ $kendo-calendar-bg: k-color(surface-alt) !default;
26
26
  /// The text color of the Calendar.
27
27
  /// @group calendar
28
- $kendo-calendar-text: $kendo-component-text !default;
28
+ $kendo-calendar-text: k-color(on-app-surface) !default;
29
29
  /// The border color of the Calendar.
30
30
  /// @group calendar
31
- $kendo-calendar-border: $kendo-component-border !default;
31
+ $kendo-calendar-border: k-color(border) !default;
32
32
 
33
33
  /// The horizontal padding of the header in the Calendar.
34
34
  /// @group calendar
@@ -43,16 +43,16 @@ $kendo-calendar-header-border-width: 1px !default;
43
43
 
44
44
  /// The background color of the header in the Calendar.
45
45
  /// @group calendar
46
- $kendo-calendar-header-bg: $kendo-component-header-bg !default;
46
+ $kendo-calendar-header-bg: k-color(surface) !default;
47
47
  /// The text color of the header in the Calendar.
48
48
  /// @group calendar
49
- $kendo-calendar-header-text: $kendo-component-header-text !default;
49
+ $kendo-calendar-header-text: k-color(on-app-surface) !default;
50
50
  /// The border color of the header in the Calendar.
51
51
  /// @group calendar
52
- $kendo-calendar-header-border: $kendo-component-header-border !default;
52
+ $kendo-calendar-header-border: k-color(border) !default;
53
53
  /// The gradient of the header in the Calendar.
54
54
  /// @group calendar
55
- $kendo-calendar-header-gradient: $kendo-component-header-gradient !default;
55
+ $kendo-calendar-header-gradient: null !default;
56
56
  /// The shadow of the header in the Calendar.
57
57
  /// @group calendar
58
58
  $kendo-calendar-header-shadow: unset !default;
@@ -107,7 +107,7 @@ $kendo-calendar-header-cell-line-height: 2 !default;
107
107
  $kendo-calendar-header-cell-bg: null !default;
108
108
  /// The text color of the header cells in the Calendar.
109
109
  /// @group calendar
110
- $kendo-calendar-header-cell-text: $kendo-subtle-text !default;
110
+ $kendo-calendar-header-cell-text: k-color(subtle) !default;
111
111
  /// The opacity of the header cells in the Calendar.
112
112
  /// @group calendar
113
113
  $kendo-calendar-header-cell-opacity: null !default;
@@ -190,39 +190,39 @@ $kendo-calendar-cell-gradient: null !default;
190
190
 
191
191
  /// The background color of the hovered cells in the Calendar.
192
192
  /// @group calendar
193
- $kendo-calendar-cell-hover-bg: $kendo-hover-bg !default;
193
+ $kendo-calendar-cell-hover-bg: k-color(base-hover) !default;
194
194
  /// The text color of the hovered cells in the Calendar.
195
195
  /// @group calendar
196
- $kendo-calendar-cell-hover-text: $kendo-hover-text !default;
196
+ $kendo-calendar-cell-hover-text: k-color(on-app-surface) !default;
197
197
  /// The border color of the hovered cells in the Calendar.
198
198
  /// @group calendar
199
- $kendo-calendar-cell-hover-border: $kendo-hover-border !default;
199
+ $kendo-calendar-cell-hover-border: k-color(border) !default;
200
200
  /// The gradient of the hovered cells in the Calendar.
201
201
  /// @group calendar
202
202
  $kendo-calendar-cell-hover-gradient: null !default;
203
203
 
204
204
  /// The background color of the selected cells in the Calendar.
205
205
  /// @group calendar
206
- $kendo-calendar-cell-selected-bg: $kendo-selected-bg !default;
206
+ $kendo-calendar-cell-selected-bg: k-color(primary) !default;
207
207
  /// The text color of the selected cells in the Calendar.
208
208
  /// @group calendar
209
- $kendo-calendar-cell-selected-text: $kendo-selected-text !default;
209
+ $kendo-calendar-cell-selected-text: k-color(on-primary) !default;
210
210
  /// The border color of the selected cells in the Calendar.
211
211
  /// @group calendar
212
- $kendo-calendar-cell-selected-border: $kendo-selected-border !default;
212
+ $kendo-calendar-cell-selected-border: k-color(primary) !default;
213
213
  /// The gradient of the selected cells in the Calendar.
214
214
  /// @group calendar
215
215
  $kendo-calendar-cell-selected-gradient: null !default;
216
216
 
217
217
  /// The background color of the selected and hovered cells in the Calendar.
218
218
  /// @group calendar
219
- $kendo-calendar-cell-selected-hover-bg: $kendo-selected-hover-bg !default;
219
+ $kendo-calendar-cell-selected-hover-bg: k-color(primary-hover) !default;
220
220
  /// The text color of the selected and hovered cells in the Calendar.
221
221
  /// @group calendar
222
- $kendo-calendar-cell-selected-hover-text: $kendo-selected-hover-text !default;
222
+ $kendo-calendar-cell-selected-hover-text: k-color(on-primary) !default;
223
223
  /// The border color of the selected and hovered cells in the Calendar.
224
224
  /// @group calendar
225
- $kendo-calendar-cell-selected-hover-border: $kendo-selected-hover-border !default;
225
+ $kendo-calendar-cell-selected-hover-border: k-color(primary-hover) !default;
226
226
  /// The gradient of the selected and hovered cells in the Calendar.
227
227
  /// @group calendar
228
228
  $kendo-calendar-cell-selected-hover-gradient: null !default;
@@ -254,7 +254,7 @@ $kendo-calendar-navigation-border: $kendo-calendar-header-border !default;
254
254
 
255
255
  /// The text color of the hovered items in the Calendar navigation.
256
256
  /// @group calendar
257
- $kendo-calendar-navigation-hover-text: $kendo-link-hover-text !default;
257
+ $kendo-calendar-navigation-hover-text: k-color(primary-hover) !default;
258
258
 
259
259
  /// The horizontal padding of the header in the Infinite Calendar.
260
260
  /// @group calendar
@@ -23,13 +23,13 @@ $kendo-captcha-line-height: var( --kendo-line-height, normal ) !default;
23
23
  $kendo-captcha-gap: $kendo-captcha-spacer !default;
24
24
  /// The background color of the Captcha.
25
25
  /// @group captcha
26
- $kendo-captcha-bg: $kendo-component-bg !default;
26
+ $kendo-captcha-bg: k-color(surface-alt) !default;
27
27
  /// The text color of the Captcha.
28
28
  /// @group captcha
29
- $kendo-captcha-text: $kendo-component-bg !default;
29
+ $kendo-captcha-text: k-color(surface-alt) !default;
30
30
  /// The border color of the Captcha.
31
31
  /// @group captcha
32
- $kendo-captcha-border: $kendo-component-bg !default;
32
+ $kendo-captcha-border: k-color(surface-alt) !default;
33
33
 
34
34
  /// The gap of the Captcha image wrapper.
35
35
  /// @group captcha
@@ -34,13 +34,13 @@ $kendo-card-deck-gap: k-spacing(4) !default;
34
34
 
35
35
  /// The background color of the Card.
36
36
  /// @group card
37
- $kendo-card-bg: $kendo-component-bg !default;
37
+ $kendo-card-bg: k-color(surface-alt) !default;
38
38
  /// The text color of the Card.
39
39
  /// @group card
40
- $kendo-card-text: $kendo-component-text !default;
40
+ $kendo-card-text: k-color(on-app-surface) !default;
41
41
  /// The border color of the Card.
42
42
  /// @group card
43
- $kendo-card-border: $kendo-component-border !default;
43
+ $kendo-card-border: k-color(border) !default;
44
44
  /// The shadow of the Card.
45
45
  /// @group card
46
46
  $kendo-card-shadow: k-elevation(1) !default;
@@ -75,10 +75,10 @@ $kendo-card-header-border-width: 1px !default;
75
75
  $kendo-card-header-bg: null !default;
76
76
  /// The text color of the Card header.
77
77
  /// @group card
78
- $kendo-card-header-text: $kendo-component-header-text !default;
78
+ $kendo-card-header-text: k-color(on-app-surface) !default;
79
79
  /// The border color of the Card header.
80
80
  /// @group card
81
- $kendo-card-header-border: $kendo-component-header-border !default;
81
+ $kendo-card-header-border: k-color(border) !default;
82
82
 
83
83
  /// The horizontal padding of the Card body.
84
84
  /// @group card
@@ -101,10 +101,10 @@ $kendo-card-footer-border-width: 1px !default;
101
101
  $kendo-card-footer-bg: null !default;
102
102
  /// The text color of the Card footer.
103
103
  /// @group card
104
- $kendo-card-footer-text: $kendo-component-header-text !default;
104
+ $kendo-card-footer-text: k-color(on-app-surface) !default;
105
105
  /// The border color of the Card footer.
106
106
  /// @group card
107
- $kendo-card-footer-border: $kendo-component-header-border !default;
107
+ $kendo-card-footer-border: k-color(border) !default;
108
108
 
109
109
  /// The bottom margin of the Card title.
110
110
  /// @group card
@@ -145,7 +145,7 @@ $kendo-card-subtitle-font-weight: var( --kendo-font-weight-normal, normal ) !def
145
145
  $kendo-card-subtitle-letter-spacing: null !default;
146
146
  /// The text color of the Card subtitle.
147
147
  /// @group card
148
- $kendo-card-subtitle-text: $kendo-subtle-text !default;
148
+ $kendo-card-subtitle-text: k-color(subtle) !default;
149
149
 
150
150
  /// The maximum width of the Card image.
151
151
  /// @group card
@@ -184,6 +184,20 @@ $kendo-card-callout-width: 20px !default;
184
184
  /// @group card
185
185
  $kendo-card-callout-height: 20px !default;
186
186
 
187
+ $kendo-card-theme-colors: (
188
+ "primary": k-color(primary),
189
+ "secondary": k-color(secondary),
190
+ "tertiary": k-color(tertiary),
191
+ "info": k-color(info),
192
+ "success": k-color(success),
193
+ "warning": k-color(warning),
194
+ "error": k-color(error),
195
+ "dark": k-color(dark),
196
+ "light": k-color(light),
197
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark)),
198
+ ) !default;
199
+
200
+
187
201
 
188
202
  @forward "@progress/kendo-theme-core/scss/components/card/_variables.scss" with (
189
203
  $kendo-card-padding-x: $kendo-card-padding-x,
@@ -240,5 +254,6 @@ $kendo-card-callout-height: 20px !default;
240
254
  $kendo-card-deck-scroll-button-radius: $kendo-card-deck-scroll-button-radius,
241
255
  $kendo-card-deck-scroll-button-offset: $kendo-card-deck-scroll-button-offset,
242
256
  $kendo-card-callout-width: $kendo-card-callout-width,
243
- $kendo-card-callout-height: $kendo-card-callout-height
257
+ $kendo-card-callout-height: $kendo-card-callout-height,
258
+ $kendo-card-theme-colors: $kendo-card-theme-colors
244
259
  );
@@ -5,10 +5,10 @@
5
5
 
6
6
  /// The color of the area around the chart type icon.
7
7
  /// @group chart-wizard
8
- $kendo-chart-wizard-icon-area-color: if($kendo-enable-color-system, k-color(primary), $kendo-color-primary) !default;
8
+ $kendo-chart-wizard-icon-area-color: k-color(primary) !default;
9
9
  /// The background color of the area around the chart type icon.
10
10
  /// @group chart-wizard
11
- $kendo-chart-wizard-icon-area-bg: if($kendo-enable-color-system, k-color(primary-subtle), k-try-tint( $kendo-color-primary, 80% )) !default;
11
+ $kendo-chart-wizard-icon-area-bg: k-color(primary-subtle) !default;
12
12
  /// The border radius of the area around the chart type icon.
13
13
  /// @group chart-wizard
14
14
  $kendo-chart-wizard-icon-area-border-radius: k-border-radius(md) !default;
@@ -17,14 +17,14 @@ $kendo-chart-wizard-icon-area-border-radius: k-border-radius(md) !default;
17
17
  $kendo-chart-wizard-icon-area-padding: k-spacing(4) !default;
18
18
  /// The box shadow of the focused area around the chart type icon.
19
19
  /// @group chart-wizard
20
- $kendo-chart-wizard-icon-area-focus-shadow: inset 0 0 0 1px if($kendo-enable-color-system, k-color(primary-emphasis), k-try-tint( $kendo-color-primary, 25% )) !default;
20
+ $kendo-chart-wizard-icon-area-focus-shadow: inset 0 0 0 1px k-color(primary-emphasis) !default;
21
21
  /// The box shadow of the selected area around the chart type icon.
22
22
  /// @group chart-wizard
23
23
  $kendo-chart-wizard-icon-area-selected-shadow: inset 0 0 0 1px $kendo-chart-wizard-icon-area-color !default;
24
24
 
25
25
  /// The color of the selected chart type items in the Property panel.
26
26
  /// @group chart-wizard
27
- $kendo-chart-wizard-chart-type-selected-color: if($kendo-enable-color-system, k-color(primary), $kendo-color-primary) !default;
27
+ $kendo-chart-wizard-chart-type-selected-color: k-color(primary) !default;
28
28
 
29
29
  /// The padding of the preview pane.
30
30
  /// @group chart-wizard
@@ -57,7 +57,7 @@ $kendo-chat-timestamp-line-height: var( --kendo-line-height-lg, normal ) !defaul
57
57
  $kendo-chat-timestamp-transform: uppercase !default;
58
58
  /// The text color of the Chat timestamp.
59
59
  /// @group chat
60
- $kendo-chat-timestamp-text: $kendo-subtle-text !default;
60
+ $kendo-chat-timestamp-text: k-color(subtle) !default;
61
61
  /// The background color of the Chat timestamp.
62
62
  /// @group chat
63
63
  $kendo-chat-timestamp-bg: null !default;
@@ -138,20 +138,20 @@ $kendo-chat-quick-reply-line-height: $kendo-chat-bubble-line-height !default;
138
138
 
139
139
  /// The background color of the Chat.
140
140
  /// @group chat
141
- $kendo-chat-bg: $kendo-app-bg !default;
141
+ $kendo-chat-bg: k-color(app-surface) !default;
142
142
  /// The text color of the Chat.
143
143
  /// @group chat
144
- $kendo-chat-text: $kendo-app-text !default;
144
+ $kendo-chat-text: k-color(on-app-surface) !default;
145
145
  /// The border color of the Chat.
146
146
  /// @group chat
147
- $kendo-chat-border: $kendo-app-border !default;
147
+ $kendo-chat-border: k-color(border) !default;
148
148
 
149
149
  /// The background color of the Chat bubble.
150
150
  /// @group chat
151
- $kendo-chat-bubble-bg: $kendo-component-bg !default;
151
+ $kendo-chat-bubble-bg: k-color(surface-alt) !default;
152
152
  /// The text color of the Chat bubble.
153
153
  /// @group chat
154
- $kendo-chat-bubble-text: $kendo-component-text !default;
154
+ $kendo-chat-bubble-text: k-color(on-app-surface) !default;
155
155
  /// The border color of the Chat bubble.
156
156
  /// @group chat
157
157
  $kendo-chat-bubble-border: $kendo-chat-bubble-bg !default;
@@ -167,10 +167,10 @@ $kendo-chat-bubble-selected-shadow: k-elevation(3) !default;
167
167
 
168
168
  /// The background color of the Chat alt bubble.
169
169
  /// @group chat
170
- $kendo-chat-alt-bubble-bg: $kendo-color-primary !default;
170
+ $kendo-chat-alt-bubble-bg: k-color(primary) !default;
171
171
  /// The text color of the Chat alt bubble.
172
172
  /// @group chat
173
- $kendo-chat-alt-bubble-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) !default;
173
+ $kendo-chat-alt-bubble-text: k-color(on-primary) !default;
174
174
  /// The border color of the Chat alt bubble.
175
175
  /// @group chat
176
176
  $kendo-chat-alt-bubble-border: $kendo-chat-alt-bubble-bg !default;
@@ -189,20 +189,20 @@ $kendo-chat-alt-bubble-selected-shadow: k-elevation(3) !default;
189
189
  $kendo-chat-quick-reply-bg: transparent !default;
190
190
  /// The text color of the Chat quick reply.
191
191
  /// @group chat
192
- $kendo-chat-quick-reply-text: $kendo-color-primary !default;
192
+ $kendo-chat-quick-reply-text: k-color(primary) !default;
193
193
  /// The border color of the Chat quick reply.
194
194
  /// @group chat
195
- $kendo-chat-quick-reply-border: $kendo-color-primary !default;
195
+ $kendo-chat-quick-reply-border: k-color(primary) !default;
196
196
 
197
197
  /// The background color of the hovered Chat quick reply.
198
198
  /// @group chat
199
- $kendo-chat-quick-reply-hover-bg: $kendo-color-primary !default;
199
+ $kendo-chat-quick-reply-hover-bg: k-color(primary) !default;
200
200
  /// The text color of the hovered Chat quick reply.
201
201
  /// @group chat
202
- $kendo-chat-quick-reply-hover-text: $kendo-color-primary-contrast !default;
202
+ $kendo-chat-quick-reply-hover-text: k-color(on-primary) !default;
203
203
  /// The border color of the hovered Chat quick reply.
204
204
  /// @group chat
205
- $kendo-chat-quick-reply-hover-border: $kendo-color-primary !default;
205
+ $kendo-chat-quick-reply-hover-border: k-color(primary) !default;
206
206
 
207
207
  /// The shadow blur of the focused Chat quick reply.
208
208
  /// @group chat
@@ -59,13 +59,13 @@ $kendo-checkbox-sizes: (
59
59
 
60
60
  /// The background color of the CheckBox.
61
61
  /// @group checkbox
62
- $kendo-checkbox-bg: $kendo-component-bg !default;
62
+ $kendo-checkbox-bg: k-color(surface-alt) !default;
63
63
  /// The text color of the CheckBox.
64
64
  /// @group checkbox
65
65
  $kendo-checkbox-text: null !default;
66
66
  /// The border color of the CheckBox.
67
67
  /// @group checkbox
68
- $kendo-checkbox-border: $kendo-component-border !default;
68
+ $kendo-checkbox-border: k-color(border) !default;
69
69
 
70
70
  /// The background color of the hovered CheckBox.
71
71
  /// @group checkbox
@@ -79,10 +79,10 @@ $kendo-checkbox-hover-border: null !default;
79
79
 
80
80
  /// The background color of the checked CheckBox.
81
81
  /// @group checkbox
82
- $kendo-checkbox-checked-bg: $kendo-color-primary !default;
82
+ $kendo-checkbox-checked-bg: k-color(primary) !default;
83
83
  /// The text color of the checked CheckBox.
84
84
  /// @group checkbox
85
- $kendo-checkbox-checked-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-checkbox-checked-bg )) !default;
85
+ $kendo-checkbox-checked-text: k-color(on-primary) !default;
86
86
  /// The border color of the checked CheckBox.
87
87
  /// @group checkbox
88
88
  $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
@@ -108,7 +108,7 @@ $kendo-checkbox-focus-shadow: 0 0 0 2px rgba( black, .06 ) !default;
108
108
  $kendo-checkbox-focus-checked-border: null !default;
109
109
  /// The box shadow of the focused and checked CheckBox.
110
110
  /// @group checkbox
111
- $kendo-checkbox-focus-checked-shadow: 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 30%, transparent), rgba( $kendo-color-primary, .3 )) !default;
111
+ $kendo-checkbox-focus-checked-shadow: 0 0 0 2px color-mix(in srgb, k-color(primary) 30%, transparent) !default;
112
112
 
113
113
  /// The background color of the disabled CheckBox.
114
114
  /// @group checkbox
@@ -135,10 +135,10 @@ $kendo-checkbox-disabled-checked-border: null !default;
135
135
  $kendo-checkbox-invalid-bg: null !default;
136
136
  /// The text color of an invalid CheckBox.
137
137
  /// @group checkbox
138
- $kendo-checkbox-invalid-text: $kendo-invalid-text !default;
138
+ $kendo-checkbox-invalid-text: k-color(error) !default;
139
139
  /// The border color of an invalid CheckBox.
140
140
  /// @group checkbox
141
- $kendo-checkbox-invalid-border: $kendo-invalid-border !default;
141
+ $kendo-checkbox-invalid-border: k-color(error) !default;
142
142
 
143
143
 
144
144
  // CheckBox indicator
@@ -101,10 +101,10 @@ $kendo-chip-base-bg: $kendo-button-bg !default;
101
101
  /// @group chip
102
102
  $kendo-chip-theme-colors: (
103
103
  "base": $kendo-chip-base-bg,
104
- "error": map.get( $kendo-theme-colors, "error" ),
105
- "info": map.get( $kendo-theme-colors, "info" ),
106
- "warning": map.get( $kendo-theme-colors, "warning" ),
107
- "success": map.get( $kendo-theme-colors, "success" )
104
+ "error": k-color(error),
105
+ "info": k-color(info),
106
+ "warning": k-color(warning),
107
+ "success": k-color(success)
108
108
  ) !default;
109
109
 
110
110
  /// The base background color of the solid Chip.
@@ -118,7 +118,7 @@ $kendo-chip-solid-text: $kendo-button-text !default;
118
118
  $kendo-chip-solid-border: $kendo-button-border !default;
119
119
  /// The base shadow of the solid Chip.
120
120
  /// @group chip
121
- $kendo-chip-solid-shadow: 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 16%, transparent), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .16 ) )) !default;
121
+ $kendo-chip-solid-shadow: 0 0 0 2px color-mix(in srgb, k-color(on-app-surface) 16%, transparent) !default;
122
122
  /// The base gradient of the solid Chip.
123
123
  /// @group chip
124
124
  $kendo-chip-solid-gradient: $kendo-button-gradient !default;
@@ -146,23 +146,23 @@ $kendo-chip-solid-selected-text: null !default;
146
146
 
147
147
  /// The base background color of the outline Chip.
148
148
  /// @group chip
149
- $kendo-chip-outline-bg: $kendo-component-bg !default;
149
+ $kendo-chip-outline-bg: k-color(surface-alt) !default;
150
150
  /// The base text color of the outline Chip.
151
151
  /// @group chip
152
- $kendo-chip-outline-text: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-chip-solid-text) !default;
152
+ $kendo-chip-outline-text: k-color(base-on-surface) !default;
153
153
  /// The base border color of the outline Chip.
154
154
  /// @group chip
155
155
  $kendo-chip-outline-border: $kendo-chip-outline-text !default;
156
156
  /// The base shadow of the outline Chip.
157
157
  /// @group chip
158
- $kendo-chip-outline-shadow: 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 16%, transparent), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .16 ) )) !default;
158
+ $kendo-chip-outline-shadow: 0 0 0 2px color-mix(in srgb, k-color(on-app-surface) 16%, transparent) !default;
159
159
 
160
160
  /// The base background color of the hovered outline Chip.
161
161
  /// @group chip
162
162
  $kendo-chip-outline-hover-bg: $kendo-chip-outline-text !default;
163
163
  /// The base text color of the hovered outline Chip.
164
164
  /// @group chip
165
- $kendo-chip-outline-hover-text: if($kendo-enable-color-system, k-color( base-subtle ), k-contrast-legacy( $kendo-chip-outline-hover-bg )) !default;
165
+ $kendo-chip-outline-hover-text: k-color(base-subtle) !default;
166
166
 
167
167
  /// The base background color of the selected outline Chip.
168
168
  /// @group chip
@@ -6,11 +6,11 @@ $kendo-color-preview-border-radius: k-border-radius(md) !default;
6
6
  $kendo-color-preview-border-width: 1px !default;
7
7
  $kendo-color-preview-bg: null !default;
8
8
  $kendo-color-preview-text: null !default;
9
- $kendo-color-preview-border: $kendo-component-border !default;
10
- $kendo-color-preview-hover-border: $kendo-hover-border !default;
9
+ $kendo-color-preview-border: k-color(border) !default;
10
+ $kendo-color-preview-hover-border: k-color(border) !default;
11
11
 
12
12
  $kendo-color-preview-no-color-bg: $kendo-color-white !default;
13
- $kendo-color-preview-no-color-text: $kendo-color-error !default;
13
+ $kendo-color-preview-no-color-text: k-color(error) !default;
14
14
  $kendo-color-preview-no-color-border: null !default;
15
15
 
16
16
  $kendo-color-preview-no-color-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' version='1.1'><line x1='0' x2='20' y1='0' y2='20' stroke='#{$kendo-color-preview-no-color-text}' stroke-width='1'/></svg>") ) !default;
@@ -35,13 +35,13 @@ $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: $kendo-component-text !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: $kendo-component-bg !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: $kendo-component-border !default;
44
+ $kendo-color-editor-border: k-color(border) !default;
45
45
 
46
46
  /// The border color of the focused ColorEditor.
47
47
  /// @group color-editor
@@ -36,13 +36,13 @@ $kendo-color-gradient-font-size: var( --kendo-font-size, inherit ) !default;
36
36
  $kendo-color-gradient-line-height: var( --kendo-line-height, normal ) !default;
37
37
  /// The text color of the ColorGradient.
38
38
  /// @group color-gradient
39
- $kendo-color-gradient-text: $kendo-component-text !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: $kendo-component-bg !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: $kendo-component-border !default;
45
+ $kendo-color-gradient-border: k-color(border) !default;
46
46
 
47
47
  /// The vertical padding of the small ColorGradient.
48
48
  /// @group color-gradient
@@ -201,7 +201,7 @@ $kendo-color-gradient-input-gap: k-spacing(2) !default;
201
201
  $kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
202
202
  /// The text color of the ColorGradient input labels.
203
203
  /// @group color-gradient
204
- $kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
204
+ $kendo-color-gradient-input-label-text: k-color(subtle) !default;
205
205
 
206
206
  /// The width of the small ColorGradient input.
207
207
  /// @group color-gradient