@progress/kendo-theme-default 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 (128) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/default-blue.css +1 -1
  3. package/dist/default-blue.scss +1 -1
  4. package/dist/default-dataviz-v4.css +1 -1
  5. package/dist/default-dataviz-v4.scss +1 -1
  6. package/dist/default-green.css +1 -1
  7. package/dist/default-green.scss +1 -1
  8. package/dist/default-main-dark.css +1 -1
  9. package/dist/default-main-dark.scss +1 -1
  10. package/dist/default-main.css +1 -1
  11. package/dist/default-main.scss +1 -5
  12. package/dist/default-nordic.css +1 -1
  13. package/dist/default-nordic.scss +1 -1
  14. package/dist/default-ocean-blue-a11y.css +1 -1
  15. package/dist/default-ocean-blue-a11y.scss +3 -1
  16. package/dist/default-ocean-blue.css +1 -1
  17. package/dist/default-ocean-blue.scss +1 -1
  18. package/dist/default-orange.css +1 -1
  19. package/dist/default-orange.scss +1 -1
  20. package/dist/default-purple.css +1 -1
  21. package/dist/default-purple.scss +1 -1
  22. package/dist/default-turquoise.css +1 -1
  23. package/dist/default-turquoise.scss +3 -2
  24. package/dist/default-urban.css +1 -1
  25. package/dist/default-urban.scss +1 -1
  26. package/dist/meta/sassdoc-data.json +1476 -1746
  27. package/dist/meta/sassdoc-raw-data.json +732 -857
  28. package/dist/meta/variables.json +166 -329
  29. package/lib/swatches/default-blue.json +1 -182
  30. package/lib/swatches/default-dataviz-v4.json +1 -47
  31. package/lib/swatches/default-green.json +1 -182
  32. package/lib/swatches/default-main-dark.json +1 -207
  33. package/lib/swatches/default-main.json +2 -184
  34. package/lib/swatches/default-nordic.json +1 -182
  35. package/lib/swatches/default-ocean-blue-a11y.json +2 -192
  36. package/lib/swatches/default-ocean-blue.json +2 -205
  37. package/lib/swatches/default-orange.json +1 -182
  38. package/lib/swatches/default-purple.json +1 -182
  39. package/lib/swatches/default-turquoise.json +1 -167
  40. package/lib/swatches/default-urban.json +1 -182
  41. package/package.json +4 -4
  42. package/scss/action-sheet/_variables.scss +9 -8
  43. package/scss/adaptive/_variables.scss +13 -13
  44. package/scss/appbar/_variables.scss +19 -5
  45. package/scss/avatar/_variables.scss +12 -1
  46. package/scss/badge/_variables.scss +15 -1
  47. package/scss/bottom-navigation/_variables.scss +18 -4
  48. package/scss/breadcrumb/_variables.scss +8 -8
  49. package/scss/button/_variables.scss +22 -13
  50. package/scss/calendar/_variables.scss +18 -18
  51. package/scss/captcha/_variables.scss +3 -3
  52. package/scss/card/_variables.scss +23 -9
  53. package/scss/chart-wizard/_variables.scss +4 -4
  54. package/scss/chat/_variables.scss +13 -13
  55. package/scss/checkbox/_variables.scss +7 -7
  56. package/scss/chip/_variables.scss +11 -11
  57. package/scss/color-preview/_variables.scss +3 -3
  58. package/scss/coloreditor/_variables.scss +3 -3
  59. package/scss/colorgradient/_variables.scss +4 -4
  60. package/scss/core/_index.scss +8 -3
  61. package/scss/dataviz/_variables.scss +61 -47
  62. package/scss/dialog/_variables.scss +5 -5
  63. package/scss/dock-manager/_variables.scss +6 -6
  64. package/scss/draggable/_variables.scss +4 -4
  65. package/scss/drawer/_variables.scss +9 -9
  66. package/scss/dropzone/_variables.scss +6 -6
  67. package/scss/editor/_variables.scss +11 -4
  68. package/scss/expansion-panel/_variables.scss +5 -5
  69. package/scss/fab/_variables.scss +15 -4
  70. package/scss/filemanager/_variables.scss +5 -5
  71. package/scss/filter/_variables.scss +2 -2
  72. package/scss/forms/_variables.scss +3 -3
  73. package/scss/gantt/_variables.scss +24 -24
  74. package/scss/grid/_variables.scss +12 -12
  75. package/scss/imageeditor/_variables.scss +4 -4
  76. package/scss/index.scss +3 -0
  77. package/scss/input/_variables.scss +16 -16
  78. package/scss/list/_variables.scss +8 -8
  79. package/scss/listbox/_variables.scss +3 -3
  80. package/scss/listgroup/_variables.scss +3 -3
  81. package/scss/listview/_variables.scss +4 -4
  82. package/scss/loader/_variables.scss +17 -3
  83. package/scss/map/_variables.scss +5 -5
  84. package/scss/marquee/_index.scss +16 -0
  85. package/scss/marquee/_layout.scss +6 -0
  86. package/scss/marquee/_theme.scss +6 -0
  87. package/scss/marquee/_variables.scss +11 -0
  88. package/scss/mediaplayer/_variables.scss +4 -4
  89. package/scss/menu/_variables.scss +8 -8
  90. package/scss/messagebox/_variables.scss +15 -1
  91. package/scss/no-data/_variables.scss +1 -1
  92. package/scss/notification/_functions.scss +1 -1
  93. package/scss/notification/_variables.scss +15 -4
  94. package/scss/orgchart/_variables.scss +8 -8
  95. package/scss/overlay/_variables.scss +12 -1
  96. package/scss/pager/_variables.scss +3 -3
  97. package/scss/panel/_variables.scss +3 -3
  98. package/scss/panelbar/_variables.scss +12 -12
  99. package/scss/pdf-viewer/_variables.scss +13 -13
  100. package/scss/pivotgrid/_variables.scss +22 -22
  101. package/scss/popover/_variables.scss +3 -3
  102. package/scss/popup/_variables.scss +3 -3
  103. package/scss/progressbar/_variables.scss +8 -8
  104. package/scss/prompt/_variables.scss +12 -12
  105. package/scss/rating/_variables.scss +4 -4
  106. package/scss/scheduler/_variables.scss +17 -14
  107. package/scss/scrollview/_variables.scss +5 -5
  108. package/scss/signature/_variables.scss +1 -1
  109. package/scss/skeleton/_variables.scss +1 -1
  110. package/scss/slider/_variables.scss +10 -10
  111. package/scss/splitter/_variables.scss +8 -8
  112. package/scss/spreadsheet/_variables.scss +25 -25
  113. package/scss/stepper/_variables.scss +15 -15
  114. package/scss/switch/_variables.scss +13 -13
  115. package/scss/table/_variables.scss +10 -10
  116. package/scss/tabstrip/_variables.scss +12 -12
  117. package/scss/taskboard/_variables.scss +14 -14
  118. package/scss/tilelayout/_variables.scss +2 -2
  119. package/scss/timeline/_variables.scss +6 -6
  120. package/scss/timeselector/_variables.scss +13 -8
  121. package/scss/toolbar/_variables.scss +7 -7
  122. package/scss/tooltip/_functions.scss +1 -1
  123. package/scss/tooltip/_variables.scss +14 -3
  124. package/scss/treeview/_variables.scss +8 -8
  125. package/scss/typography/_variables.scss +3 -3
  126. package/scss/upload/_variables.scss +13 -13
  127. package/scss/window/_variables.scss +8 -8
  128. package/scss/core/color-system/_swatch-legacy.scss +0 -222
@@ -2,20 +2,20 @@
2
2
  @use "../core/functions/index.import.scss" as *;
3
3
 
4
4
  // Adaptive
5
- $kendo-adaptive-bg: $kendo-component-bg !default;
6
- $kendo-adaptive-text: $kendo-component-text !default;
7
- $kendo-adaptive-border: $kendo-component-border !default;
5
+ $kendo-adaptive-bg: k-color(surface-alt) !default;
6
+ $kendo-adaptive-text: k-color(on-app-surface) !default;
7
+ $kendo-adaptive-border: k-color(border) !default;
8
8
 
9
- $kendo-adaptive-content-bg: $kendo-app-bg !default;
10
- $kendo-adaptive-content-text: $kendo-app-text !default;
9
+ $kendo-adaptive-content-bg: k-color(surface) !default;
10
+ $kendo-adaptive-content-text: k-color(on-app-surface) !default;
11
11
 
12
- $kendo-adaptive-menu-bg: $kendo-color-primary !default;
13
- $kendo-adaptive-menu-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-adaptive-menu-bg )) !default;
12
+ $kendo-adaptive-menu-bg: k-color(primary) !default;
13
+ $kendo-adaptive-menu-text: k-color(on-primary) !default;
14
14
 
15
- $kendo-adaptive-menu-clear-text: $kendo-color-primary !default;
15
+ $kendo-adaptive-menu-clear-text: k-color(primary) !default;
16
16
 
17
- $kendo-adaptive-menu-item-border: $kendo-component-border !default;
18
- $kendo-adaptive-menu-title-text: $kendo-component-text !default;
17
+ $kendo-adaptive-menu-item-border: k-color(border) !default;
18
+ $kendo-adaptive-menu-title-text: k-color(on-app-surface) !default;
19
19
 
20
20
  $kendo-adaptive-border-width: 1px !default;
21
21
  $kendo-adaptive-font-family: var( --kendo-font-family, inherit ) !default;
@@ -24,13 +24,13 @@ $kendo-adaptive-line-height: var( --kendo-line-height, normal ) !default;
24
24
 
25
25
 
26
26
  // Adaptive Grid
27
- $kendo-adaptive-grid-sort-text: $kendo-color-primary !default;
27
+ $kendo-adaptive-grid-sort-text: k-color(primary) !default;
28
28
 
29
29
 
30
30
  // Adaptive Scheduler
31
- $kendo-adaptive-scheduler-current-text: $kendo-color-primary !default;
31
+ $kendo-adaptive-scheduler-current-text: k-color(primary) !default;
32
32
  $kendo-adaptive-scheduler-base-text: inherit !default;
33
- $kendo-adaptive-scheduler-subtle-text: $kendo-subtle-text !default;
33
+ $kendo-adaptive-scheduler-subtle-text: k-color(subtle) !default;
34
34
 
35
35
  @forward "@progress/kendo-theme-core/scss/components/adaptive/_variables.scss" with (
36
36
  $kendo-adaptive-bg: $kendo-adaptive-bg,
@@ -37,17 +37,17 @@ $kendo-appbar-gap: k-spacing(2) !default;
37
37
 
38
38
  /// The background color of the AppBar based on light theme color.
39
39
  /// @group appbar
40
- $kendo-appbar-light-bg: $kendo-color-light !default;
40
+ $kendo-appbar-light-bg: k-color(light) !default;
41
41
  /// The text color of the AppBar based on light theme color.
42
42
  /// @group appbar
43
- $kendo-appbar-light-text: if($kendo-enable-color-system, k-color( on-light ), k-contrast-legacy( $kendo-color-light )) !default;
43
+ $kendo-appbar-light-text: k-color(on-light) !default;
44
44
 
45
45
  /// The background color of the AppBar based on dark theme color.
46
46
  /// @group appbar
47
- $kendo-appbar-dark-bg: $kendo-color-dark !default;
47
+ $kendo-appbar-dark-bg: k-color(dark) !default;
48
48
  /// The text color of the AppBar based on dark theme color.
49
49
  /// @group appbar
50
- $kendo-appbar-dark-text: if($kendo-enable-color-system, k-color( on-dark ), k-contrast-legacy( $kendo-color-dark )) !default;
50
+ $kendo-appbar-dark-text: k-color(on-dark) !default;
51
51
 
52
52
  /// The box shadow of the AppBar.
53
53
  /// @group appbar
@@ -56,6 +56,19 @@ $kendo-appbar-box-shadow: k-elevation(4) !default;
56
56
  /// @group appbar
57
57
  $kendo-appbar-bottom-box-shadow: $kendo-appbar-box-shadow !default;
58
58
 
59
+ $kendo-appbar-theme-colors: (
60
+ "primary": k-color(primary),
61
+ "secondary": k-color(secondary),
62
+ "tertiary": k-color(tertiary),
63
+ "info": k-color(info),
64
+ "success": k-color(success),
65
+ "warning": k-color(warning),
66
+ "error": k-color(error),
67
+ "dark": k-color(dark),
68
+ "light": k-color(light),
69
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark)),
70
+ ) !default;
71
+
59
72
  @forward "@progress/kendo-theme-core/scss/components/appbar/_variables.scss" with (
60
73
  $kendo-appbar-margin-x: $kendo-appbar-margin-x,
61
74
  $kendo-appbar-margin-y: $kendo-appbar-margin-y,
@@ -72,5 +85,6 @@ $kendo-appbar-bottom-box-shadow: $kendo-appbar-box-shadow !default;
72
85
  $kendo-appbar-dark-bg: $kendo-appbar-dark-bg,
73
86
  $kendo-appbar-dark-text: $kendo-appbar-dark-text,
74
87
  $kendo-appbar-box-shadow: $kendo-appbar-box-shadow,
75
- $kendo-appbar-bottom-box-shadow: $kendo-appbar-bottom-box-shadow
88
+ $kendo-appbar-bottom-box-shadow: $kendo-appbar-bottom-box-shadow,
89
+ $kendo-appbar-theme-colors: $kendo-appbar-theme-colors
76
90
  );
@@ -25,7 +25,18 @@ $kendo-avatar-sizes: (
25
25
 
26
26
  /// The theme colors map of the Avatar.
27
27
  /// @group avatar
28
- $kendo-avatar-theme-colors: $kendo-theme-colors !default;
28
+ $kendo-avatar-theme-colors: (
29
+ "primary": k-color(primary),
30
+ "secondary": k-color(secondary),
31
+ "tertiary": k-color(tertiary),
32
+ "info": k-color(info),
33
+ "success": k-color(success),
34
+ "warning": k-color(warning),
35
+ "error": k-color(error),
36
+ "dark": k-color(dark),
37
+ "light": k-color(light),
38
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
39
+ ) !default;
29
40
 
30
41
  @forward "@progress/kendo-theme-core/scss/components/avatar/_variables.scss" with (
31
42
  $kendo-avatar-border-width: $kendo-avatar-border-width,
@@ -102,6 +102,19 @@ $kendo-badge-sizes: (
102
102
  )
103
103
  ) !default;
104
104
 
105
+ $kendo-badge-theme-colors: (
106
+ "primary": k-color(primary),
107
+ "secondary": k-color(secondary),
108
+ "tertiary": k-color(tertiary),
109
+ "info": k-color(info),
110
+ "success": k-color(success),
111
+ "warning": k-color(warning),
112
+ "error": k-color(error),
113
+ "dark": k-color(dark),
114
+ "light": k-color(light),
115
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark)),
116
+ ) !default;
117
+
105
118
  @forward "@progress/kendo-theme-core/scss/components/badge/_variables.scss" with (
106
119
  $kendo-badge-border-width: $kendo-badge-border-width,
107
120
  $kendo-badge-border-radius: $kendo-badge-border-radius,
@@ -125,5 +138,6 @@ $kendo-badge-sizes: (
125
138
  $kendo-badge-sm-min-width: $kendo-badge-sm-min-width,
126
139
  $kendo-badge-md-min-width: $kendo-badge-md-min-width,
127
140
  $kendo-badge-lg-min-width: $kendo-badge-lg-min-width,
128
- $kendo-badge-sizes: $kendo-badge-sizes
141
+ $kendo-badge-sizes: $kendo-badge-sizes,
142
+ $kendo-badge-theme-colors: $kendo-badge-theme-colors
129
143
  );
@@ -56,13 +56,26 @@ $kendo-bottom-nav-shadow: k-elevation(4) !default;
56
56
 
57
57
  /// The text color of the flat BottomNavigation.
58
58
  /// @group bottom-navigation
59
- $kendo-bottom-nav-flat-text: $kendo-component-text !default;
59
+ $kendo-bottom-nav-flat-text: k-color(on-app-surface) !default;
60
60
  /// The background color of the flat BottomNavigation.
61
61
  /// @group bottom-navigation
62
- $kendo-bottom-nav-flat-bg: $kendo-component-bg !default;
62
+ $kendo-bottom-nav-flat-bg: k-color(surface-alt) !default;
63
63
  /// The border color of the flat BottomNavigation.
64
64
  /// @group bottom-navigation
65
- $kendo-bottom-nav-flat-border: $kendo-component-border !default;
65
+ $kendo-bottom-nav-flat-border: k-color(border) !default;
66
+
67
+ $kendo-bottom-navigation-theme-colors: (
68
+ "primary": k-color(primary),
69
+ "secondary": k-color(secondary),
70
+ "tertiary": k-color(tertiary),
71
+ "info": k-color(info),
72
+ "success": k-color(success),
73
+ "warning": k-color(warning),
74
+ "error": k-color(error),
75
+ "dark": k-color(dark),
76
+ "light": k-color(light),
77
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark)),
78
+ ) !default;
66
79
 
67
80
  @forward "@progress/kendo-theme-core/scss/components/bottom-navigation/_variables.scss" with (
68
81
  $kendo-bottom-nav-padding-x: $kendo-bottom-nav-padding-x,
@@ -83,5 +96,6 @@ $kendo-bottom-nav-flat-border: $kendo-component-border !default;
83
96
  $kendo-bottom-nav-shadow: $kendo-bottom-nav-shadow,
84
97
  $kendo-bottom-nav-flat-text: $kendo-bottom-nav-flat-text,
85
98
  $kendo-bottom-nav-flat-bg: $kendo-bottom-nav-flat-bg,
86
- $kendo-bottom-nav-flat-border: $kendo-bottom-nav-flat-border
99
+ $kendo-bottom-nav-flat-border: $kendo-bottom-nav-flat-border,
100
+ $kendo-bottom-navigation-theme-colors: $kendo-bottom-navigation-theme-colors
87
101
  );
@@ -52,13 +52,13 @@ $kendo-breadcrumb-lg-line-height: var( --kendo-line-height-lg, normal ) !default
52
52
 
53
53
  /// The base background of the Breadcrumb.
54
54
  /// @group breadcrumb
55
- $kendo-breadcrumb-bg: $kendo-component-bg !default;
55
+ $kendo-breadcrumb-bg: k-color(surface-alt) !default;
56
56
  /// The base text color of the Breadcrumb.
57
57
  /// @group breadcrumb
58
- $kendo-breadcrumb-text: $kendo-component-text !default;
58
+ $kendo-breadcrumb-text: k-color(on-app-surface) !default;
59
59
  /// The base border color of the Breadcrumb.
60
60
  /// @group breadcrumb
61
- $kendo-breadcrumb-border: $kendo-component-border !default;
61
+ $kendo-breadcrumb-border: k-color(border) !default;
62
62
 
63
63
  /// The box shadow of the focused Breadcrumb.
64
64
  /// @group breadcrumb
@@ -132,17 +132,17 @@ $kendo-breadcrumb-link-icon-spacing: $kendo-icon-spacing !default;
132
132
  $kendo-breadcrumb-link-bg: null !default;
133
133
  /// The text color of the Breadcrumb link.
134
134
  /// @group breadcrumb
135
- $kendo-breadcrumb-link-text: $kendo-link-text !default;
135
+ $kendo-breadcrumb-link-text: k-color(primary) !default;
136
136
  /// The border color of the Breadcrumb link.
137
137
  /// @group breadcrumb
138
138
  $kendo-breadcrumb-link-border: null !default;
139
139
 
140
140
  /// The background color of the hovered Breadcrumb link.
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,30 +107,39 @@ $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": if($kendo-enable-color-system, k-color( base ), #f5f5f5) )
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 ), #f5f5f5) !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 ), #424242) !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 ), rgba( black, .08 )) !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: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 ))) !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, .5 )) !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;
@@ -146,7 +155,7 @@ $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, 1.5 )) !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;
@@ -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 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 8%, transparent), rgba( $kendo-button-border, .08 )) !default;
202
+ $kendo-button-focus-shadow: 0 0 0 2px color-mix(in srgb, k-color(on-app-surface) 8%, 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: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 ))) !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
  // TODO: variable is used, but the selector using it is not! Potentially remove;
57
57
  /// The shadow of the header in the Calendar.
58
58
  /// @group calendar
@@ -108,7 +108,7 @@ $kendo-calendar-header-cell-line-height: 2 !default;
108
108
  $kendo-calendar-header-cell-bg: null !default;
109
109
  /// The text color of the header cells in the Calendar.
110
110
  /// @group calendar
111
- $kendo-calendar-header-cell-text: $kendo-subtle-text !default;
111
+ $kendo-calendar-header-cell-text: k-color(subtle) !default;
112
112
  /// The opacity of the header cells in the Calendar.
113
113
  /// @group calendar
114
114
  $kendo-calendar-header-cell-opacity: null !default;
@@ -159,7 +159,7 @@ $kendo-calendar-weekend-text: null !default;
159
159
  $kendo-calendar-today-style: color !default;
160
160
  /// The color of the current day in the Calendar.
161
161
  /// @group calendar
162
- $kendo-calendar-today-color: $kendo-color-primary !default;
162
+ $kendo-calendar-today-color: k-color(primary) !default;
163
163
 
164
164
  /// The background color of the week number cells in the Calendar.
165
165
  /// @group calendar
@@ -190,36 +190,36 @@ $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(border) !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
225
  $kendo-calendar-cell-selected-hover-border: 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: null !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,19 @@ $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
+
187
200
  @forward "@progress/kendo-theme-core/scss/components/card/_variables.scss" with (
188
201
  $kendo-card-padding-x: $kendo-card-padding-x,
189
202
  $kendo-card-padding-y: $kendo-card-padding-y,
@@ -239,5 +252,6 @@ $kendo-card-callout-height: 20px !default;
239
252
  $kendo-card-deck-scroll-button-radius: $kendo-card-deck-scroll-button-radius,
240
253
  $kendo-card-deck-scroll-button-offset: $kendo-card-deck-scroll-button-offset,
241
254
  $kendo-card-callout-width: $kendo-card-callout-width,
242
- $kendo-card-callout-height: $kendo-card-callout-height
255
+ $kendo-card-callout-height: $kendo-card-callout-height,
256
+ $kendo-card-theme-colors: $kendo-card-theme-colors
243
257
  );
@@ -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(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