@progress/kendo-theme-classic 10.6.0 → 11.0.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/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
@@ -40,10 +40,10 @@ $kendo-tooltip-callout-size: 6px !default;
40
40
 
41
41
  /// The default background of the Tooltip.
42
42
  /// @group tooltip
43
- $kendo-tooltip-bg: if($kendo-enable-color-system, k-color( on-app-surface ), rgba( k-contrast-color( $kendo-body-bg ), .75 )) !default;
43
+ $kendo-tooltip-bg: k-color(on-app-surface) !default;
44
44
  /// The default text color of the Tooltip.
45
45
  /// @group tooltip
46
- $kendo-tooltip-text: if($kendo-enable-color-system, k-color( app-surface ), k-contrast-color( $kendo-tooltip-bg )) !default;
46
+ $kendo-tooltip-text: k-color(app-surface) !default;
47
47
  /// The default border color of the Tooltip.
48
48
  /// @group tooltip
49
49
  $kendo-tooltip-border: $kendo-tooltip-bg !default;
@@ -54,7 +54,18 @@ $kendo-tooltip-shadow: k-elevation(2) !default;
54
54
 
55
55
  /// The theme colors map for the Tooltip.
56
56
  /// @group tooltip
57
- $kendo-tooltip-theme-colors: $kendo-theme-colors !default;
57
+ $kendo-tooltip-theme-colors: (
58
+ "primary": k-color(primary),
59
+ "secondary": k-color(secondary),
60
+ "tertiary": k-color(tertiary),
61
+ "info": k-color(info),
62
+ "success": k-color(success),
63
+ "warning": k-color(warning),
64
+ "error": k-color(error),
65
+ "dark": k-color(dark),
66
+ "light": k-color(light),
67
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
68
+ ) !default;
58
69
  /// The generated theme colors map for the Tooltip.
59
70
  /// @group tooltip
60
71
  $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
@@ -119,36 +119,36 @@ $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
- $kendo-treeview-item-hover-border: $kendo-hover-border !default;
135
+ $kendo-treeview-item-hover-border: k-color(border) !default;
136
136
  /// The background gradient of hovered TreeView items.
137
137
  /// @group treeview
138
- $kendo-treeview-item-hover-gradient: $kendo-hover-gradient !default;
138
+ $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
- $kendo-treeview-item-selected-border: $kendo-selected-border !default;
148
+ $kendo-treeview-item-selected-border: k-color(primary) !default;
149
149
  /// The background gradient of selected TreeView items.
150
150
  /// @group treeview
151
- $kendo-treeview-item-selected-gradient: $kendo-selected-gradient !default;
151
+ $kendo-treeview-item-selected-gradient: null !default;
152
152
 
153
153
  /// The box shadow of focused TreeView items.
154
154
  /// @group treeview
@@ -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;
@@ -228,13 +228,13 @@ $kendo-code-border-width: 1px !default;
228
228
 
229
229
  /// The background color of the code tag.
230
230
  /// @group typography
231
- $kendo-code-bg: $kendo-base-bg !default;
231
+ $kendo-code-bg: k-color(surface) !default;
232
232
  /// The text color of the code tag.
233
233
  /// @group typography
234
- $kendo-code-text: $kendo-component-text !default;
234
+ $kendo-code-text: k-color(on-app-surface) !default;
235
235
  /// The border color of the code tag.
236
236
  /// @group typography
237
- $kendo-code-border: $kendo-component-border !default;
237
+ $kendo-code-border: k-color(border) !default;
238
238
 
239
239
  // Display
240
240
  /// The font size of the largest display text.
@@ -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,16 +85,16 @@ $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
- $kendo-window-titlebar-border: $kendo-component-header-border !default;
94
+ $kendo-window-titlebar-border: k-color(border) !default;
95
95
  /// The background gradient of the Window titlebar.
96
96
  /// @group window
97
- $kendo-window-titlebar-gradient: $kendo-component-header-gradient !default;
97
+ $kendo-window-titlebar-gradient: null !default;
98
98
 
99
99
  /// The map of the width for the different Window sizes.
100
100
  /// @group window
@@ -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
 
@@ -1,345 +0,0 @@
1
- @use "../functions/index.import.scss" as *;
2
- @use "@progress/kendo-theme-core/scss/index.scss" as *;
3
-
4
- // Color settings
5
- $kendo-is-dark-theme: false !default;
6
-
7
- // Theme colors
8
- /// The color that focuses the user attention.
9
- /// Used for primary buttons and for elements of primary importance across the theme.
10
- /// @group color-system
11
- /// @type Color
12
- $kendo-color-primary: if($kendo-enable-color-system, k-color( primary ), #f35800) !default;
13
- $kendo-color-primary-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-primary, 2 )) !default;
14
- $kendo-color-primary-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-primary, 2 )) !default;
15
-
16
- /// The color used along with the primary color denoted by $kendo-color-primary.
17
- /// Used to provide contrast between the background and foreground colors.
18
- /// @group color-system
19
- /// @type Color
20
- $kendo-color-primary-contrast: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-color-primary )) !default;
21
-
22
- /// The secondary color of the theme.
23
- /// @group color-system
24
- /// @type Color
25
- $kendo-color-secondary: if($kendo-enable-color-system, k-color( secondary ), #e9e9e9) !default;
26
- $kendo-color-secondary-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-secondary, 2 )) !default;
27
- $kendo-color-secondary-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-secondary, 2 )) !default;
28
-
29
- /// The color used along with the secondary color denoted by $kendo-color-secondary.
30
- /// Used to provide contrast between the background and foreground colors.
31
- /// @group color-system
32
- /// @type Color
33
- $kendo-color-secondary-contrast: if($kendo-enable-color-system, k-color( on-secondary ), k-contrast-color( $kendo-color-secondary )) !default;
34
-
35
- /// The tertiary color of the theme.
36
- /// @group color-system
37
- /// @type Color
38
- $kendo-color-tertiary: if($kendo-enable-color-system, k-color( tertiary ), #03a9f4) !default;
39
- $kendo-color-tertiary-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-tertiary, 2 )) !default;
40
- $kendo-color-tertiary-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-tertiary, 2 )) !default;
41
-
42
- /// The color used along with the tertiary color denoted by $kendo-color-tertiary.
43
- /// Used to provide contrast between the background and foreground colors.
44
- /// @group color-system
45
- /// @type Color
46
- $kendo-color-tertiary-contrast: if($kendo-enable-color-system, k-color( on-tertiary ), k-contrast-color( $kendo-color-tertiary )) !default;
47
-
48
- /// The color for informational messages and states.
49
- /// @group color-system
50
- /// @type Color
51
- $kendo-color-info: if($kendo-enable-color-system, k-color( info ), #2498bc) !default;
52
- $kendo-color-info-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-info, 2 )) !default;
53
- $kendo-color-info-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-info, 2 )) !default;
54
-
55
- /// The color for success messages and states.
56
- /// @group color-system
57
- /// @type Color
58
- $kendo-color-success: if($kendo-enable-color-system, k-color( success ), #3ea44e) !default;
59
- $kendo-color-success-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-success, 2 )) !default;
60
- $kendo-color-success-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-success, 2 )) !default;
61
-
62
- /// The color for warning messages and states.
63
- /// @group color-system
64
- /// @type Color
65
- $kendo-color-warning: if($kendo-enable-color-system, k-color( warning ), #ff9800) !default;
66
- $kendo-color-warning-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-warning, 2 )) !default;
67
- $kendo-color-warning-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-warning, 2 )) !default;
68
-
69
- /// The color for error messages and states.
70
- /// @group color-system
71
- /// @type Color
72
- $kendo-color-error: if($kendo-enable-color-system, k-color( error ), #d92800) !default;
73
- $kendo-color-error-lighter: if($kendo-enable-color-system, null, k-color-tint( $kendo-color-error, 2 )) !default;
74
- $kendo-color-error-darker: if($kendo-enable-color-system, null, k-color-shade( $kendo-color-error, 2 )) !default;
75
-
76
- /// The dark color of the theme.
77
- /// @group color-system
78
- /// @type Color
79
- $kendo-color-dark: if($kendo-enable-color-system, k-color( dark ), #404040) !default;
80
-
81
- /// The light color of the theme.
82
- /// @group color-system
83
- /// @type Color
84
- $kendo-color-light: if($kendo-enable-color-system, k-color( light ), #ebebeb) !default;
85
-
86
- /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
87
- /// @group color-system
88
- $kendo-color-inverse: if( $kendo-is-dark-theme, $kendo-color-light, $kendo-color-dark ) !default;
89
-
90
- // Generic styles
91
-
92
- /// Background color of the body.
93
- /// @group common
94
- $kendo-body-bg: if($kendo-enable-color-system, k-color( app-surface ) , #ffffff) !default;
95
- /// Text color of the body.
96
- /// @group common
97
- $kendo-body-text: if($kendo-enable-color-system, k-color( on-app-surface ), #272727) !default;
98
-
99
- /// Subtle text color.
100
- /// @group common
101
- $kendo-subtle-text: if($kendo-enable-color-system, k-color( subtle ), #646464) !default;
102
-
103
- $kendo-app-bg: $kendo-body-bg !default;
104
- $kendo-app-text: $kendo-body-text !default;
105
- $kendo-app-border: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-app-bg, 2 )) !default;
106
-
107
- /// The background of the components' chrome area.
108
- $kendo-base-bg: if($kendo-enable-color-system, k-color( surface ), #f0f0f0) !default;
109
- /// The text color of the components' chrome area.
110
- $kendo-base-text: $kendo-body-text !default;
111
- /// The border color of the components' chrome area.
112
- $kendo-base-border: if($kendo-enable-color-system, $kendo-app-border, k-try-shade( $kendo-base-bg, 2 )) !default;
113
- /// The gradient background of the components' chrome area.
114
- $kendo-base-gradient: if($kendo-enable-color-system, null, (rgba( white, .1 ), rgba( white, 0 ))) !default;
115
-
116
- // Components
117
-
118
- /// Background color of a component.
119
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$kendo-grid-bg: $kendo-component-bg !default;`.
120
- /// @group component
121
- $kendo-component-bg: if($kendo-enable-color-system, k-color( surface-alt ), $kendo-body-bg) !default;
122
- /// Text color of a component.
123
- /// Note: do not use this variable directly. Instead derive it as `$component-name-text` e.g. `$kendo-grid-text: $kendo-component-text !default;`.
124
- /// @group component
125
- $kendo-component-text: $kendo-body-text !default;
126
- /// Border color of a component.
127
- /// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$kendo-grid-border: $kendo-component-border !default;`.
128
- /// @group component
129
- $kendo-component-border: if($kendo-enable-color-system, $kendo-app-border, $kendo-base-border) !default;
130
-
131
- /// Background color of the component header.
132
- /// @group component
133
- $kendo-component-header-bg: $kendo-base-bg !default;
134
- /// Text color of the component header.
135
- /// @group component
136
- $kendo-component-header-text: $kendo-base-text !default;
137
- /// Border color of the component header.
138
- /// @group component
139
- $kendo-component-header-border: $kendo-base-border !default;
140
- /// Gradient of the component header.
141
- /// @group component
142
- $kendo-component-header-gradient: $kendo-base-gradient !default;
143
-
144
- /// The background of hovered items.
145
- $kendo-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-base-bg, 1 )) !default;
146
- /// The text color of hovered items.
147
- $kendo-hover-text: $kendo-base-text !default;
148
- /// The border color of hovered items.
149
- $kendo-hover-border: if($kendo-enable-color-system, $kendo-base-border, k-try-shade( $kendo-hover-bg, 2 )) !default;
150
- /// The gradient background of hovered items.
151
- $kendo-hover-gradient: if($kendo-enable-color-system, null, $kendo-base-gradient) !default;
152
-
153
- /// The background of selected items.
154
- $kendo-selected-bg: $kendo-color-primary !default;
155
- /// The text color of selected items.
156
- $kendo-selected-text: if($kendo-enable-color-system, $kendo-color-primary-contrast, k-contrast-legacy( $kendo-selected-bg )) !default;
157
- /// The border color of selected items.
158
- $kendo-selected-border: if($kendo-enable-color-system, k-color( primary ), k-try-shade( $kendo-selected-bg, 2 )) !default;
159
- /// The gradient background of selected items.
160
- $kendo-selected-gradient: $kendo-base-gradient !default;
161
-
162
- /// The background of selected and hovered items.
163
- $kendo-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-selected-bg, 1 )) !default;
164
- /// The text color of selected and hovered items.
165
- $kendo-selected-hover-text: if($kendo-enable-color-system, $kendo-selected-text, k-contrast-legacy( $kendo-selected-hover-bg )) !default;
166
- /// The border of selected and hovered items.
167
- $kendo-selected-hover-border: if($kendo-enable-color-system, k-color( primary-hover ), $kendo-selected-border) !default;
168
- /// The gradient of selected and hovered items.
169
- $kendo-selected-hover-gradient: if($kendo-enable-color-system, $kendo-base-gradient, $kendo-selected-gradient) !default;
170
-
171
-
172
- // Link
173
- /// Text color of the links.
174
- /// @group common
175
- $kendo-link-text: $kendo-color-primary !default;
176
- /// Text color of the links on hover.
177
- /// @group common
178
- $kendo-link-hover-text: if($kendo-enable-color-system, k-color( primary-hover ), $kendo-color-primary-darker) !default;
179
-
180
-
181
- /// Background color of the invalid items.
182
- /// @group component
183
- $kendo-invalid-bg: null !default;
184
- /// Text color of the invalid items.
185
- /// @group component
186
- $kendo-invalid-text: $kendo-color-error !default;
187
- /// Border color of the invalid items.
188
- /// @group component
189
- $kendo-invalid-border: $kendo-color-error !default;
190
- /// Shadow of the invalid items.
191
- /// @group component
192
- $kendo-invalid-shadow: null !default;
193
-
194
- /// Background color of the valid items.
195
- /// @group component
196
- $kendo-valid-bg: null !default;
197
- /// Text color of the valid items.
198
- /// @group component
199
- $kendo-valid-text: $kendo-color-success !default;
200
- /// Border color of the valid items.
201
- /// @group component
202
- $kendo-valid-border: $kendo-color-success !default;
203
- /// Shadow of the valid items.
204
- /// @group component
205
- $kendo-valid-shadow: null !default;
206
-
207
- // Disabled Styling
208
-
209
- /// Background color of the disabled items.
210
- /// @group component
211
- $kendo-disabled-bg: null !default;
212
- /// Text color of the disabled items.
213
- /// @group component
214
- $kendo-disabled-text: null !default;
215
- /// Border color of the disabled items.
216
- /// @group component
217
- $kendo-disabled-border: null !default;
218
- /// Opacity of the disabled items.
219
- /// @group component
220
- $kendo-disabled-opacity: .6 !default;
221
- /// Filter color of the disabled items.
222
- /// @group component
223
- $kendo-disabled-filter: grayscale(.1) !default;
224
-
225
- $kendo-disabled-styling: (
226
- bg: $kendo-disabled-bg,
227
- color: $kendo-disabled-text,
228
- border: $kendo-disabled-border,
229
- opacity: $kendo-disabled-opacity,
230
- filter: $kendo-disabled-filter,
231
- ) !default;
232
-
233
- $kendo-palettes: () !default;
234
-
235
- $kendo-theme-colors: (
236
- "primary": $kendo-color-primary,
237
- "secondary": $kendo-color-secondary,
238
- "tertiary": $kendo-color-tertiary,
239
- "info": $kendo-color-info,
240
- "success": $kendo-color-success,
241
- "warning": $kendo-color-warning,
242
- "error": $kendo-color-error,
243
- "dark": $kendo-color-dark,
244
- "light": $kendo-color-light,
245
- "inverse": $kendo-color-inverse
246
- ) !default;
247
-
248
- @forward "@progress/kendo-theme-core/scss/color-system/_swatch-legacy.scss" with (
249
- $kendo-color-primary: $kendo-color-primary,
250
- $kendo-color-primary-lighter: $kendo-color-primary-lighter,
251
- $kendo-color-primary-darker: $kendo-color-primary-darker,
252
- $kendo-color-primary-contrast: $kendo-color-primary-contrast,
253
-
254
- $kendo-color-secondary: $kendo-color-secondary,
255
- $kendo-color-secondary-lighter: $kendo-color-secondary-lighter,
256
- $kendo-color-secondary-darker: $kendo-color-secondary-darker,
257
- $kendo-color-secondary-contrast: $kendo-color-secondary-contrast,
258
-
259
- $kendo-color-tertiary: $kendo-color-tertiary,
260
- $kendo-color-tertiary-lighter: $kendo-color-tertiary-lighter,
261
- $kendo-color-tertiary-darker: $kendo-color-tertiary-darker,
262
- $kendo-color-tertiary-contrast: $kendo-color-tertiary-contrast,
263
-
264
- $kendo-color-info: $kendo-color-info,
265
- $kendo-color-info-lighter: $kendo-color-info-lighter,
266
- $kendo-color-info-darker: $kendo-color-info-darker,
267
-
268
- $kendo-color-success: $kendo-color-success,
269
- $kendo-color-success-lighter: $kendo-color-success-lighter,
270
- $kendo-color-success-darker: $kendo-color-success-darker,
271
-
272
- $kendo-color-warning: $kendo-color-warning,
273
- $kendo-color-warning-lighter: $kendo-color-warning-lighter,
274
- $kendo-color-warning-darker: $kendo-color-warning-darker,
275
-
276
- $kendo-color-error: $kendo-color-error,
277
- $kendo-color-error-lighter: $kendo-color-error-lighter,
278
- $kendo-color-error-darker: $kendo-color-error-darker,
279
-
280
- $kendo-color-dark: $kendo-color-dark,
281
-
282
- $kendo-color-light: $kendo-color-light,
283
-
284
- $kendo-color-inverse: $kendo-color-inverse,
285
-
286
- $kendo-body-bg: $kendo-body-bg,
287
- $kendo-body-text: $kendo-body-text,
288
-
289
- $kendo-subtle-text: $kendo-subtle-text,
290
-
291
- $kendo-app-bg: $kendo-app-bg,
292
- $kendo-app-text: $kendo-app-text,
293
- $kendo-app-border: $kendo-app-border,
294
-
295
- $kendo-component-bg: $kendo-component-bg,
296
- $kendo-component-text: $kendo-component-text,
297
- $kendo-component-border: $kendo-component-border,
298
-
299
- $kendo-base-bg: $kendo-base-bg,
300
- $kendo-base-text: $kendo-base-text,
301
- $kendo-base-border: $kendo-base-border,
302
- $kendo-base-gradient: $kendo-base-gradient,
303
-
304
- $kendo-component-header-bg: $kendo-component-header-bg,
305
- $kendo-component-header-text: $kendo-component-header-text,
306
- $kendo-component-header-border: $kendo-component-header-border,
307
- $kendo-component-header-gradient: $kendo-component-header-gradient,
308
-
309
- $kendo-hover-bg: $kendo-hover-bg,
310
- $kendo-hover-text: $kendo-hover-text,
311
- $kendo-hover-border: $kendo-hover-border,
312
- $kendo-hover-gradient: $kendo-hover-gradient,
313
-
314
- $kendo-selected-bg: $kendo-selected-bg,
315
- $kendo-selected-text: $kendo-selected-text,
316
- $kendo-selected-border: $kendo-selected-border,
317
- $kendo-selected-gradient: $kendo-selected-gradient,
318
-
319
- $kendo-selected-hover-bg: $kendo-selected-hover-bg,
320
- $kendo-selected-hover-text: $kendo-selected-hover-text,
321
- $kendo-selected-hover-border: $kendo-selected-hover-border,
322
- $kendo-selected-hover-gradient: $kendo-selected-hover-gradient,
323
-
324
- $kendo-link-text: $kendo-link-text,
325
- $kendo-link-hover-text: $kendo-link-hover-text,
326
-
327
- $kendo-invalid-bg: $kendo-invalid-bg,
328
- $kendo-invalid-text: $kendo-invalid-text,
329
- $kendo-invalid-border: $kendo-invalid-border,
330
- $kendo-invalid-shadow: $kendo-invalid-shadow,
331
-
332
- $kendo-valid-bg: $kendo-valid-bg,
333
- $kendo-valid-text: $kendo-valid-text,
334
- $kendo-valid-border: $kendo-valid-border,
335
- $kendo-valid-shadow: $kendo-valid-shadow,
336
-
337
- $kendo-disabled-bg: $kendo-disabled-bg,
338
- $kendo-disabled-text: $kendo-disabled-text,
339
- $kendo-disabled-border: $kendo-disabled-border,
340
- $kendo-disabled-opacity: $kendo-disabled-opacity,
341
- $kendo-disabled-filter: $kendo-disabled-filter,
342
-
343
- $kendo-disabled-styling: $kendo-disabled-styling,
344
- $kendo-theme-colors: $kendo-theme-colors
345
- );