@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
@@ -41,13 +41,13 @@ $kendo-timeline-track-arrow-height: k-spacing(7.5) !default;
41
41
 
42
42
  /// The background color of the disabled Timeline track arrow.
43
43
  /// @group timeline
44
- $kendo-timeline-track-arrow-disabled-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( base-subtle ) 60%, transparent), k-true-mix($kendo-button-bg, $kendo-body-bg, 65%)) !default;
44
+ $kendo-timeline-track-arrow-disabled-bg: color-mix(in srgb, k-color(base-subtle) 60%, transparent) !default;
45
45
  /// The text color of the disabled Timeline track arrow.
46
46
  /// @group timeline
47
- $kendo-timeline-track-arrow-disabled-text: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 60%, transparent), k-true-mix($kendo-button-text, $kendo-body-bg, 65%)) !default;
47
+ $kendo-timeline-track-arrow-disabled-text: color-mix(in srgb, k-color(on-base) 60%, transparent) !default;
48
48
  /// The border color of the disabled Timeline track arrow.
49
49
  /// @group timeline
50
- $kendo-timeline-track-arrow-disabled-border: if($kendo-enable-color-system, k-color( border ), k-true-mix(#000000, $kendo-body-bg, 4.8%)) !default;
50
+ $kendo-timeline-track-arrow-disabled-border: k-color(border) !default;
51
51
 
52
52
  /// The size of the Timeline track.
53
53
  /// @group timeline
@@ -108,10 +108,10 @@ $kendo-timeline-mobile-flag-max-width: calc(#{$kendo-timeline-flag-min-width} +
108
108
  $kendo-timeline-horizontal-flag-min-width: 60px !default;
109
109
  /// The background color of the Timeline flag.
110
110
  /// @group timeline
111
- $kendo-timeline-flag-bg: $kendo-color-primary !default;
111
+ $kendo-timeline-flag-bg: k-color(primary) !default;
112
112
  /// The text color of the Timeline flag.
113
113
  /// @group timeline
114
- $kendo-timeline-flag-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-timeline-flag-bg )) !default;
114
+ $kendo-timeline-flag-text: k-color(on-primary) !default;
115
115
 
116
116
  /// The width of the Timeline's flag callout.
117
117
  /// @group timeline
@@ -155,7 +155,7 @@ $kendo-timeline-circle-width: 16px !default;
155
155
  $kendo-timeline-circle-height: 16px !default;
156
156
  /// The background color of the Timeline circle.
157
157
  /// @group timeline
158
- $kendo-timeline-circle-bg: $kendo-color-primary !default;
158
+ $kendo-timeline-circle-bg: k-color(primary) !default;
159
159
 
160
160
  /// The horizontal padding of the Timeline collapse arrow.
161
161
  /// @group timeline
@@ -9,9 +9,9 @@ $kendo-time-selector-font-family: var( --kendo-font-family, inherit ) !default;
9
9
  $kendo-time-selector-font-size: var( --kendo-font-size, inherit ) !default;
10
10
  $kendo-time-selector-line-height: var( --kendo-line-height, normal ) !default;
11
11
 
12
- $kendo-time-selector-bg: $kendo-component-bg !default;
13
- $kendo-time-selector-text: $kendo-component-text !default;
14
- $kendo-time-selector-border: $kendo-component-border !default;
12
+ $kendo-time-selector-bg: k-color(surface-alt) !default;
13
+ $kendo-time-selector-text: k-color(on-app-surface) !default;
14
+ $kendo-time-selector-border: k-color(border) !default;
15
15
 
16
16
  $kendo-time-selector-header-padding-x: $kendo-actions-padding-x !default;
17
17
  $kendo-time-selector-header-padding-y: $kendo-actions-padding-y !default;
@@ -25,16 +25,16 @@ $kendo-time-list-height: 240px !default;
25
25
  $kendo-time-list-title-font-size: var( --kendo-font-size-sm, inherit ) !default;
26
26
  $kendo-time-list-title-line-height: var( --kendo-line-height-lg, normal ) !default;
27
27
  $kendo-time-list-title-height: calc( ( #{$kendo-time-list-title-font-size} ) * ( #{$kendo-time-list-title-line-height} ) ) !default;
28
- $kendo-time-list-title-text: $kendo-subtle-text !default;
29
- $kendo-time-list-title-focus-text: $kendo-component-text !default;
28
+ $kendo-time-list-title-text: k-color(subtle) !default;
29
+ $kendo-time-list-title-focus-text: k-color(on-app-surface) !default;
30
30
 
31
31
  $kendo-time-list-item-padding-x: $kendo-list-md-item-padding-x !default;
32
32
  $kendo-time-list-item-padding-y: $kendo-list-md-item-padding-y !default;
33
33
 
34
34
  $kendo-time-list-highlight-border-width: 1px 0px !default;
35
35
  $kendo-time-list-highlight-height: calc( calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} ) + calc( #{$kendo-time-list-item-padding-y} * 2 ) ) !default;
36
- $kendo-time-list-highlight-bg: $kendo-component-bg !default;
37
- $kendo-time-list-highlight-border: $kendo-component-border !default;
36
+ $kendo-time-list-highlight-bg: k-color(surface-alt) !default;
37
+ $kendo-time-list-highlight-border: k-color(border) !default;
38
38
 
39
39
  $kendo-time-list-focus-bg: rgba(0, 0, 0, .04) !default;
40
40
 
@@ -76,6 +76,9 @@ $kendo-time-selector-sizes: (
76
76
  )
77
77
  ) !default;
78
78
 
79
+ $kendo-time-selector-now-button-text: k-color(primary) !default;
80
+ $kendo-time-selector-now-button-hover-text: k-color(primary-hover) !default;
81
+
79
82
  @forward "@progress/kendo-theme-core/scss/components/timeselector/_variables.scss" with (
80
83
  $kendo-time-selector-border-width: $kendo-time-selector-border-width,
81
84
  $kendo-time-selector-font-family: $kendo-time-selector-font-family,
@@ -114,5 +117,7 @@ $kendo-time-selector-sizes: (
114
117
  $kendo-time-selector-lg-line-height: $kendo-time-selector-lg-line-height,
115
118
  $kendo-time-selector-lg-list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x,
116
119
  $kendo-time-selector-lg-list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y,
117
- $kendo-time-selector-sizes: $kendo-time-selector-sizes
120
+ $kendo-time-selector-sizes: $kendo-time-selector-sizes,
121
+ $kendo-time-selector-now-button-text: $kendo-time-selector-now-button-text,
122
+ $kendo-time-selector-now-button-hover-text: $kendo-time-selector-now-button-hover-text
118
123
  );
@@ -75,13 +75,13 @@ $kendo-toolbar-line-height: var( --kendo-line-height, normal ) !default;
75
75
 
76
76
  /// The background color of the Toolbar.
77
77
  /// @group toolbar
78
- $kendo-toolbar-bg: $kendo-base-bg !default;
78
+ $kendo-toolbar-bg: k-color(surface) !default;
79
79
  /// The text color of the Toolbar.
80
80
  /// @group toolbar
81
- $kendo-toolbar-text: $kendo-base-text !default;
81
+ $kendo-toolbar-text: k-color(on-app-surface) !default;
82
82
  /// The color of the border around the Toolbar.
83
83
  /// @group toolbar
84
- $kendo-toolbar-border: $kendo-base-border !default;
84
+ $kendo-toolbar-border: k-color(border) !default;
85
85
  /// The gradient of the Toolbar.
86
86
  /// @group toolbar
87
87
  $kendo-toolbar-gradient: null !default;
@@ -90,14 +90,14 @@ $kendo-toolbar-gradient: null !default;
90
90
  $kendo-toolbar-shadow: null !default;
91
91
  /// The left and right scroll overlay of the Toolbar.
92
92
  /// @group toolbar
93
- $kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
93
+ $kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
94
94
 
95
95
  /// The text color of the outline Toolbar.
96
96
  /// @group toolbar
97
97
  $kendo-toolbar-outline-text: $kendo-button-text !default;
98
98
  /// The color of the border around the outline Toolbar.
99
99
  /// @group toolbar
100
- $kendo-toolbar-outline-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 50%, transparent), rgba( $kendo-toolbar-outline-text, .5)) !default;
100
+ $kendo-toolbar-outline-border: color-mix(in srgb, k-color(on-base) 50%, transparent) !default;
101
101
  /// The gradient of the outline Toolbar.
102
102
  /// @group toolbar
103
103
  $kendo-toolbar-outline-gradient: null !default;
@@ -109,7 +109,7 @@ $kendo-toolbar-outline-shadow: null !default;
109
109
  $kendo-toolbar-outline-border-width: $kendo-toolbar-border-width !default;
110
110
  /// The left and right scroll overlay of the outline Toolbar.
111
111
  /// @group toolbar
112
- $kendo-toolbar-outline-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
112
+ $kendo-toolbar-outline-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
113
113
 
114
114
  /// The text color of the flat Toolbar.
115
115
  /// @group toolbar
@@ -128,7 +128,7 @@ $kendo-toolbar-flat-shadow: null !default;
128
128
  $kendo-toolbar-flat-border-width: 1px !default;
129
129
  /// The left and right scroll overlay of the flat Toolbar.
130
130
  /// @group toolbar
131
- $kendo-toolbar-flat-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
131
+ $kendo-toolbar-flat-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
132
132
 
133
133
  /// The color of the separator border of the Toolbar.
134
134
  /// @group toolbar
@@ -7,7 +7,7 @@
7
7
 
8
8
  @each $name, $color in $colors {
9
9
  $_theme: map.merge(( $name: (
10
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
10
+ color: k-color(on-#{$name}),
11
11
  background-color: $color,
12
12
  border: $color,
13
13
  )), $_theme );
@@ -41,10 +41,10 @@ $kendo-tooltip-callout-size: 6px !default;
41
41
 
42
42
  /// The default background of the Tooltip.
43
43
  /// @group tooltip
44
- $kendo-tooltip-bg: if($kendo-enable-color-system, k-color( on-app-surface ), rgba( k-contrast-legacy( $kendo-body-bg ), .75 )) !default;
44
+ $kendo-tooltip-bg: k-color(on-app-surface) !default;
45
45
  /// The default text color of the Tooltip.
46
46
  /// @group tooltip
47
- $kendo-tooltip-text: if($kendo-enable-color-system, k-color( app-surface ), k-contrast-legacy( $kendo-tooltip-bg )) !default;
47
+ $kendo-tooltip-text: k-color(app-surface) !default;
48
48
  /// The default border color of the Tooltip.
49
49
  /// @group tooltip
50
50
  $kendo-tooltip-border: $kendo-tooltip-bg !default;
@@ -55,7 +55,18 @@ $kendo-tooltip-shadow: k-elevation(2) !default;
55
55
 
56
56
  /// The theme colors map for the Tooltip.
57
57
  /// @group tooltip
58
- $kendo-tooltip-theme-colors: $kendo-theme-colors !default;
58
+ $kendo-tooltip-theme-colors: (
59
+ "primary": k-color(primary),
60
+ "secondary": k-color(secondary),
61
+ "tertiary": k-color(tertiary),
62
+ "info": k-color(info),
63
+ "success": k-color(success),
64
+ "warning": k-color(warning),
65
+ "error": k-color(error),
66
+ "dark": k-color(dark),
67
+ "light": k-color(light),
68
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
69
+ ) !default;
59
70
  /// The generated theme colors map for the Tooltip.
60
71
  /// @group tooltip
61
72
  $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
@@ -119,17 +119,17 @@ $kendo-treeview-sizes: (
119
119
  $kendo-treeview-bg: null !default;
120
120
  /// The text color of the TreeView.
121
121
  /// @group treeview
122
- $kendo-treeview-text: $kendo-component-text !default;
122
+ $kendo-treeview-text: k-color(on-app-surface) !default;
123
123
  /// The border color of the TreeView.
124
124
  /// @group treeview
125
125
  $kendo-treeview-border: null !default;
126
126
 
127
127
  /// The background color of hovered TreeView items.
128
128
  /// @group treeview
129
- $kendo-treeview-item-hover-bg: $kendo-hover-bg !default;
129
+ $kendo-treeview-item-hover-bg: k-color(base-hover) !default;
130
130
  /// The text color of hovered TreeView items.
131
131
  /// @group treeview
132
- $kendo-treeview-item-hover-text: $kendo-hover-text !default;
132
+ $kendo-treeview-item-hover-text: k-color(on-app-surface) !default;
133
133
  /// The border color of hovered TreeView items.
134
134
  /// @group treeview
135
135
  $kendo-treeview-item-hover-border: null !default;
@@ -139,10 +139,10 @@ $kendo-treeview-item-hover-gradient: null !default;
139
139
 
140
140
  /// The background color of selected TreeView items.
141
141
  /// @group treeview
142
- $kendo-treeview-item-selected-bg: $kendo-selected-bg !default;
142
+ $kendo-treeview-item-selected-bg: k-color(primary) !default;
143
143
  /// The text color of selected TreeView items.
144
144
  /// @group treeview
145
- $kendo-treeview-item-selected-text: $kendo-selected-text !default;
145
+ $kendo-treeview-item-selected-text: k-color(on-primary) !default;
146
146
  /// The border color of selected TreeView items.
147
147
  /// @group treeview
148
148
  $kendo-treeview-item-selected-border: null !default;
@@ -159,7 +159,7 @@ $kendo-treeview-item-focus-shadow: $kendo-focus-shadow !default;
159
159
  $kendo-treeview-loadmore-bg: transparent !default;
160
160
  /// The text color of the Load More button in the TreeView
161
161
  /// @group treeview
162
- $kendo-treeview-loadmore-text: $kendo-link-text !default;
162
+ $kendo-treeview-loadmore-text: k-color(primary) !default;
163
163
  /// The border color of the Load More button in the TreeView
164
164
  /// @group treeview
165
165
  $kendo-treeview-loadmore-border: null !default;
@@ -169,7 +169,7 @@ $kendo-treeview-loadmore-border: null !default;
169
169
  $kendo-treeview-loadmore-hover-bg: transparent !default;
170
170
  /// The text color of the hovered Load More button in the TreeView.
171
171
  /// @group treeview
172
- $kendo-treeview-loadmore-hover-text: $kendo-link-hover-text !default;
172
+ $kendo-treeview-loadmore-hover-text: k-color(primary-hover) !default;
173
173
  /// The border color of the hovered Load More button in the TreeView.
174
174
  /// @group treeview
175
175
  $kendo-treeview-loadmore-hover-border: null !default;
@@ -179,7 +179,7 @@ $kendo-treeview-loadmore-hover-border: null !default;
179
179
  $kendo-treeview-loadmore-focus-bg: transparent !default;
180
180
  /// The text color of the focused Load More button in the TreeView.
181
181
  /// @group treeview
182
- $kendo-treeview-loadmore-focus-text: $kendo-link-hover-text !default;
182
+ $kendo-treeview-loadmore-focus-text: k-color(primary-hover) !default;
183
183
  /// The border color of the focused Load More button in the TreeView.
184
184
  /// @group treeview
185
185
  $kendo-treeview-loadmore-focus-border: null !default;
@@ -230,13 +230,13 @@ $kendo-code-border-width: 1px !default;
230
230
 
231
231
  /// The background color of the code tag.
232
232
  /// @group typography
233
- $kendo-code-bg: $kendo-base-bg !default;
233
+ $kendo-code-bg: k-color(surface) !default;
234
234
  /// The color of the code tag.
235
235
  /// @group typography
236
- $kendo-code-text: $kendo-component-text !default;
236
+ $kendo-code-text: k-color(on-app-surface) !default;
237
237
  /// The border color of the code tag.
238
238
  /// @group typography
239
- $kendo-code-border: $kendo-component-border !default;
239
+ $kendo-code-border: k-color(border) !default;
240
240
 
241
241
  // Display
242
242
 
@@ -21,13 +21,13 @@ $kendo-upload-max-height: 300px !default;
21
21
 
22
22
  /// The text color of the Upload.
23
23
  /// @group upload
24
- $kendo-upload-text: $kendo-component-text !default;
24
+ $kendo-upload-text: k-color(on-app-surface) !default;
25
25
  /// The background color of the Upload.
26
26
  /// @group upload
27
- $kendo-upload-bg: $kendo-component-bg !default;
27
+ $kendo-upload-bg: k-color(surface-alt) !default;
28
28
  /// The border color of the Upload.
29
29
  /// @group upload
30
- $kendo-upload-border: $kendo-component-border !default;
30
+ $kendo-upload-border: k-color(border) !default;
31
31
 
32
32
  /// The horizontal padding of the Upload dropzone.
33
33
  /// @group upload
@@ -37,20 +37,20 @@ $kendo-upload-dropzone-padding-x: k-spacing(2) !default;
37
37
  $kendo-upload-dropzone-padding-y: k-spacing(2) !default;
38
38
  /// The text color of the Upload dropzone.
39
39
  /// @group upload
40
- $kendo-upload-dropzone-text: $kendo-component-header-text !default;
40
+ $kendo-upload-dropzone-text: k-color(on-app-surface) !default;
41
41
  /// The background color of the Upload dropzone.
42
42
  /// @group upload
43
- $kendo-upload-dropzone-bg: $kendo-component-header-bg !default;
43
+ $kendo-upload-dropzone-bg: k-color(surface)!default;
44
44
  /// The border color of the Upload dropzone.
45
45
  /// @group upload
46
46
  $kendo-upload-dropzone-border: $kendo-upload-border !default;
47
47
  /// The background color of the hovered Upload dropzone.
48
48
  /// @group upload
49
- $kendo-upload-dropzone-hover-bg: $kendo-hover-bg !default;
49
+ $kendo-upload-dropzone-hover-bg: k-color(base-hover) !default;
50
50
 
51
51
  /// The text color of the Upload status message.
52
52
  /// @group upload
53
- $kendo-upload-status-text: $kendo-subtle-text !default;
53
+ $kendo-upload-status-text: k-color(subtle) !default;
54
54
  /// The opacity of the Upload status message.
55
55
  /// @group upload
56
56
  $kendo-upload-status-text-opacity: null !default;
@@ -77,28 +77,28 @@ $kendo-upload-validation-line-height: var( --kendo-line-height-xs, normal ) !def
77
77
  $kendo-upload-icon-spacing: $kendo-icon-spacing !default;
78
78
  /// The color of the uploaded items icon.
79
79
  /// @group upload
80
- $kendo-upload-icon-color: $kendo-subtle-text !default;
80
+ $kendo-upload-icon-color: k-color(subtle) !default;
81
81
 
82
82
  /// The thickness of the Upload progress bar.
83
83
  /// @group upload
84
84
  $kendo-upload-progress-thickness: 2px !default;
85
85
  /// The background color of the Upload progress bar.
86
86
  /// @group upload
87
- $kendo-upload-progress-bg: $kendo-color-info !default;
87
+ $kendo-upload-progress-bg: k-color(info) !default;
88
88
 
89
89
  /// The success text color of the Upload.
90
90
  /// @group upload
91
- $kendo-upload-success-text: $kendo-color-success !default;
91
+ $kendo-upload-success-text: k-color(success) !default;
92
92
  /// The success background color of the Upload progress bar.
93
93
  /// @group upload
94
- $kendo-upload-success-bg: $kendo-color-success !default;
94
+ $kendo-upload-success-bg: k-color(success) !default;
95
95
 
96
96
  /// The error text color of the Upload.
97
97
  /// @group upload
98
- $kendo-upload-error-text: $kendo-color-error !default;
98
+ $kendo-upload-error-text: k-color(error) !default;
99
99
  /// The error background color of the Upload progress bar.
100
100
  /// @group upload
101
- $kendo-upload-error-bg: $kendo-color-error !default;
101
+ $kendo-upload-error-bg: k-color(error) !default;
102
102
 
103
103
  /// The shadow of the focused Upload button, actions and uploaded items.
104
104
  /// @group upload
@@ -69,13 +69,13 @@ $kendo-window-buttongroup-border-width: 1px !default;
69
69
 
70
70
  /// The background color of the Window.
71
71
  /// @group window
72
- $kendo-window-bg: $kendo-component-bg !default;
72
+ $kendo-window-bg: k-color(surface-alt) !default;
73
73
  /// The text color of the Window.
74
74
  /// @group window
75
- $kendo-window-text: $kendo-component-text !default;
75
+ $kendo-window-text: k-color(on-app-surface) !default;
76
76
  /// The border color of the Window.
77
77
  /// @group window
78
- $kendo-window-border: $kendo-component-border !default;
78
+ $kendo-window-border: k-color(border) !default;
79
79
  /// The box shadow of the Window.
80
80
  /// @group window
81
81
  $kendo-window-shadow: k-elevation(8) !default;
@@ -85,10 +85,10 @@ $kendo-window-focus-shadow: k-elevation(9) !default;
85
85
 
86
86
  /// The background color of the Window titlebar.
87
87
  /// @group window
88
- $kendo-window-titlebar-bg: $kendo-component-header-bg !default;
88
+ $kendo-window-titlebar-bg: k-color(surface)!default;
89
89
  /// The text color of the Window titlebar.
90
90
  /// @group window
91
- $kendo-window-titlebar-text: $kendo-component-header-text !default;
91
+ $kendo-window-titlebar-text: k-color(on-app-surface) !default;
92
92
  /// The border color of the Window titlebar.
93
93
  /// @group window
94
94
  $kendo-window-titlebar-border: inherit !default;
@@ -107,9 +107,9 @@ $kendo-window-sizes: (
107
107
  /// The theme colors map for the Window.
108
108
  /// @group window
109
109
  $kendo-window-theme-colors: (
110
- "primary": map.get($kendo-theme-colors, "primary"),
111
- "light": map.get($kendo-theme-colors, "light"),
112
- "dark": map.get($kendo-theme-colors, "dark")
110
+ "primary": k-color(primary),
111
+ "light": k-color(light),
112
+ "dark": k-color(dark)
113
113
  ) !default;
114
114
 
115
115
  @forward "@progress/kendo-theme-core/scss/components/window/_variables.scss" with (
@@ -1,222 +0,0 @@
1
- @use "@progress/kendo-theme-core/scss/index.scss" as *;
2
- @use "../functions/index.import.scss" as *;
3
-
4
- // Primary colors
5
- $kendo-color-primary: if($kendo-enable-color-system, k-color( primary ), #ff6358 ) !default;
6
- $kendo-color-primary-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-primary, 2)) !default;
7
- $kendo-color-primary-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-primary, 2)) !default;
8
- $kendo-color-primary-contrast: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy($kendo-color-primary) ) !default;
9
-
10
- // Secondary colors
11
- $kendo-color-secondary: if($kendo-enable-color-system, k-color( secondary ), #666666 ) !default;
12
- $kendo-color-secondary-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-secondary, 2)) !default;
13
- $kendo-color-secondary-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-secondary, 2)) !default;
14
- $kendo-color-secondary-contrast: if($kendo-enable-color-system, k-color( on-secondary ), k-contrast-legacy($kendo-color-secondary) ) !default;
15
-
16
- // Tertiary colors
17
- $kendo-color-tertiary: if($kendo-enable-color-system, k-color( tertiary ), #03a9f4 ) !default;
18
- $kendo-color-tertiary-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-tertiary, 2)) !default;
19
- $kendo-color-tertiary-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-tertiary, 2)) !default;
20
- $kendo-color-tertiary-contrast: if($kendo-enable-color-system, k-color( on-tertiary ), k-contrast-legacy($kendo-color-tertiary) ) !default;
21
-
22
- // Info colors
23
- $kendo-color-info: if($kendo-enable-color-system, k-color( info ), #0058e9 ) !default;
24
- $kendo-color-info-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-info, 2)) !default;
25
- $kendo-color-info-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-info, 2)) !default;
26
-
27
- // Success colors
28
- $kendo-color-success: if($kendo-enable-color-system, k-color( success ), #37b400 ) !default;
29
- $kendo-color-success-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-success, 2)) !default;
30
- $kendo-color-success-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-success, 2)) !default;
31
-
32
- // Warning colors
33
- $kendo-color-warning: if($kendo-enable-color-system, k-color( warning ), #ffc000 ) !default;
34
- $kendo-color-warning-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-warning, 2)) !default;
35
- $kendo-color-warning-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-warning, 2)) !default;
36
-
37
- // Error colors
38
- $kendo-color-error: if($kendo-enable-color-system, k-color( error ), #f31700 ) !default;
39
- $kendo-color-error-lighter: if($kendo-enable-color-system, null, k-color-tint($kendo-color-error, 2)) !default;
40
- $kendo-color-error-darker: if($kendo-enable-color-system, null, k-color-shade($kendo-color-error, 2)) !default;
41
-
42
-
43
- $kendo-color-dark: if($kendo-enable-color-system, k-color( dark ), #424242 ) !default;
44
-
45
- // Light colors
46
- $kendo-color-light: if($kendo-enable-color-system, k-color( light ), #ebebeb ) !default;
47
-
48
- // Inverse colors
49
- $kendo-color-inverse: if($kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark) !default;
50
-
51
- // Body styles
52
- $kendo-body-bg: if($kendo-enable-color-system, k-color( app-surface ), #ffffff ) !default;
53
- $kendo-body-text: if($kendo-enable-color-system, k-color( on-app-surface ), #424242 ) !default;
54
-
55
- // App styles
56
- $kendo-app-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade($kendo-body-bg, 0.25) ) !default;
57
- $kendo-app-text: $kendo-body-text !default;
58
- $kendo-app-border: if($kendo-enable-color-system, k-color( border ), rgba(#000000, 0.08) ) !default;
59
-
60
- // Component styles
61
- $kendo-component-bg: if($kendo-enable-color-system, k-color( surface-alt ), $kendo-body-bg ) !default;
62
- $kendo-component-text: $kendo-body-text !default;
63
- $kendo-component-border: if($kendo-enable-color-system, $kendo-app-border, rgba(if($kendo-is-dark-theme, $kendo-color-white, #000000), 0.08) ) !default;
64
-
65
- $kendo-base-bg: if($kendo-enable-color-system, k-color( surface ), #fafafa ) !default;
66
- $kendo-base-text: $kendo-body-text !default;
67
- $kendo-base-border: $kendo-app-border !default;
68
- $kendo-base-gradient: if($kendo-enable-color-system, null, (rgba(black, 0), rgba(black, 0.02)) ) !default;
69
-
70
- // States styles
71
- $kendo-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade($kendo-base-bg, 0.5) ) !default;
72
- $kendo-hover-text: $kendo-base-text !default;
73
- $kendo-hover-border: $kendo-base-border !default;
74
- $kendo-hover-gradient: $kendo-base-gradient !default;
75
-
76
- $kendo-selected-bg: $kendo-color-primary !default;
77
- $kendo-selected-text: $kendo-color-primary-contrast !default;
78
- $kendo-selected-border: $kendo-base-border !default;
79
- $kendo-selected-gradient: $kendo-base-gradient !default;
80
-
81
- $kendo-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade($kendo-selected-bg, 0.5) ) !default;
82
- $kendo-selected-hover-text: $kendo-selected-text !default;
83
- $kendo-selected-hover-border: $kendo-base-border !default;
84
- $kendo-selected-hover-gradient: $kendo-base-gradient !default;
85
-
86
- $kendo-component-header-bg: $kendo-base-bg !default;
87
- $kendo-component-header-text: $kendo-base-text !default;
88
- $kendo-component-header-border: $kendo-base-border !default;
89
- $kendo-component-header-gradient: null !default;
90
-
91
- $kendo-focus-outline: null !default;
92
-
93
- $kendo-subtle-text: if($kendo-enable-color-system, k-color( subtle ), #666666 ) !default;
94
-
95
- // Link
96
- $kendo-link-text: $kendo-color-primary !default;
97
- $kendo-link-hover-text: if($kendo-enable-color-system, k-color( primary-hover ), $kendo-color-primary-darker) !default;
98
-
99
- // Validator
100
- $kendo-invalid-bg: null !default;
101
- $kendo-invalid-text: $kendo-color-error !default;
102
- $kendo-invalid-border: $kendo-color-error !default;
103
- $kendo-invalid-shadow: null !default;
104
-
105
- $kendo-valid-bg: null !default;
106
- $kendo-valid-text: $kendo-color-success !default;
107
- $kendo-valid-border: $kendo-color-success !default;
108
- $kendo-valid-shadow: null !default;
109
-
110
- // Disabled Styling
111
-
112
- /// The background color of disabled items.
113
- $kendo-disabled-bg: null !default;
114
- /// The text color of disabled items.
115
- $kendo-disabled-text: null !default;
116
- /// The border color of disabled items.
117
- $kendo-disabled-border: null !default;
118
- /// The opacity of disabled items.
119
- $kendo-disabled-opacity: .6 !default;
120
- /// The filter of disabled items.
121
- $kendo-disabled-filter: grayscale(.1) !default;
122
-
123
- $kendo-disabled-styling: (
124
- bg: $kendo-disabled-bg,
125
- color: $kendo-disabled-text,
126
- border: $kendo-disabled-border,
127
- opacity: $kendo-disabled-opacity,
128
- filter: $kendo-disabled-filter
129
- ) !default;
130
-
131
-
132
- $kendo-palettes: () !default;
133
-
134
- $kendo-theme-colors: (
135
- "primary": $kendo-color-primary,
136
- "secondary": $kendo-color-secondary,
137
- "tertiary": $kendo-color-tertiary,
138
- "info": $kendo-color-info,
139
- "success": $kendo-color-success,
140
- "warning": $kendo-color-warning,
141
- "error": $kendo-color-error,
142
- "dark": $kendo-color-dark,
143
- "light": $kendo-color-light,
144
- "inverse": $kendo-color-inverse,
145
- ) !default;
146
-
147
- @forward "@progress/kendo-theme-core/scss/color-system/_swatch-legacy.scss" with (
148
- $kendo-color-primary: $kendo-color-primary,
149
- $kendo-color-primary-lighter: $kendo-color-primary-lighter,
150
- $kendo-color-primary-darker: $kendo-color-primary-darker,
151
- $kendo-color-primary-contrast: $kendo-color-primary-contrast,
152
- $kendo-color-secondary: $kendo-color-secondary,
153
- $kendo-color-secondary-lighter: $kendo-color-secondary-lighter,
154
- $kendo-color-secondary-darker: $kendo-color-secondary-darker,
155
- $kendo-color-secondary-contrast: $kendo-color-secondary-contrast,
156
- $kendo-color-tertiary: $kendo-color-tertiary,
157
- $kendo-color-tertiary-lighter: $kendo-color-tertiary-lighter,
158
- $kendo-color-tertiary-darker: $kendo-color-tertiary-darker,
159
- $kendo-color-tertiary-contrast: $kendo-color-tertiary-contrast,
160
- $kendo-color-info: $kendo-color-info,
161
- $kendo-color-info-lighter: $kendo-color-info-lighter,
162
- $kendo-color-info-darker: $kendo-color-info-darker,
163
- $kendo-color-success: $kendo-color-success,
164
- $kendo-color-success-lighter: $kendo-color-success-lighter,
165
- $kendo-color-success-darker: $kendo-color-success-darker,
166
- $kendo-color-warning: $kendo-color-warning,
167
- $kendo-color-warning-lighter: $kendo-color-warning-lighter,
168
- $kendo-color-warning-darker: $kendo-color-warning-darker,
169
- $kendo-color-error: $kendo-color-error,
170
- $kendo-color-error-lighter: $kendo-color-error-lighter,
171
- $kendo-color-error-darker: $kendo-color-error-darker,
172
- $kendo-color-dark: $kendo-color-dark,
173
- $kendo-color-light: $kendo-color-light,
174
- $kendo-color-inverse: $kendo-color-inverse,
175
- $kendo-body-bg: $kendo-body-bg,
176
- $kendo-body-text: $kendo-body-text,
177
- $kendo-app-bg: $kendo-app-bg,
178
- $kendo-app-text: $kendo-app-text,
179
- $kendo-app-border: $kendo-app-border,
180
- $kendo-component-bg: $kendo-component-bg,
181
- $kendo-component-text: $kendo-component-text,
182
- $kendo-component-border: $kendo-component-border,
183
- $kendo-base-bg: $kendo-base-bg,
184
- $kendo-base-text: $kendo-base-text,
185
- $kendo-base-border: $kendo-base-border,
186
- $kendo-base-gradient: $kendo-base-gradient,
187
- $kendo-hover-bg: $kendo-hover-bg,
188
- $kendo-hover-text: $kendo-hover-text,
189
- $kendo-hover-border: $kendo-hover-border,
190
- $kendo-hover-gradient: $kendo-hover-gradient,
191
- $kendo-selected-bg: $kendo-selected-bg,
192
- $kendo-selected-text: $kendo-selected-text,
193
- $kendo-selected-border: $kendo-selected-border,
194
- $kendo-selected-gradient: $kendo-selected-gradient,
195
- $kendo-selected-hover-bg: $kendo-selected-hover-bg,
196
- $kendo-selected-hover-text: $kendo-selected-hover-text,
197
- $kendo-selected-hover-border: $kendo-selected-hover-border,
198
- $kendo-selected-hover-gradient: $kendo-selected-hover-gradient,
199
- $kendo-component-header-bg: $kendo-component-header-bg,
200
- $kendo-component-header-text: $kendo-component-header-text,
201
- $kendo-component-header-border: $kendo-component-header-border,
202
- $kendo-component-header-gradient: $kendo-component-header-gradient,
203
- $kendo-focus-outline: $kendo-focus-outline,
204
- $kendo-subtle-text: $kendo-subtle-text,
205
- $kendo-link-text: $kendo-link-text,
206
- $kendo-link-hover-text: $kendo-link-hover-text,
207
- $kendo-invalid-bg: $kendo-invalid-bg,
208
- $kendo-invalid-text: $kendo-invalid-text,
209
- $kendo-invalid-border: $kendo-invalid-border,
210
- $kendo-invalid-shadow: $kendo-invalid-shadow,
211
- $kendo-valid-bg: $kendo-valid-bg,
212
- $kendo-valid-text: $kendo-valid-text,
213
- $kendo-valid-border: $kendo-valid-border,
214
- $kendo-valid-shadow: $kendo-valid-shadow,
215
- $kendo-disabled-bg: $kendo-disabled-bg,
216
- $kendo-disabled-text: $kendo-disabled-text,
217
- $kendo-disabled-border: $kendo-disabled-border,
218
- $kendo-disabled-opacity: $kendo-disabled-opacity,
219
- $kendo-disabled-filter: $kendo-disabled-filter,
220
- $kendo-disabled-styling: $kendo-disabled-styling,
221
- $kendo-theme-colors: $kendo-theme-colors
222
- );