@progress/kendo-theme-default 7.1.0-dev.1 → 7.1.0-dev.10

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 (93) hide show
  1. package/dist/all.css +313 -29
  2. package/dist/all.scss +1934 -586
  3. package/dist/meta/sassdoc-data.json +3702 -2130
  4. package/dist/meta/sassdoc-raw-data.json +1601 -876
  5. package/dist/meta/variables.json +327 -159
  6. package/lib/swatches/default-blue.json +1 -1
  7. package/lib/swatches/default-dataviz-v4.json +1 -1
  8. package/lib/swatches/default-green.json +1 -1
  9. package/lib/swatches/default-main-dark.json +1 -1
  10. package/lib/swatches/default-main.json +1 -1
  11. package/lib/swatches/default-nordic.json +1 -1
  12. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  13. package/lib/swatches/default-ocean-blue.json +1 -1
  14. package/lib/swatches/default-orange.json +1 -1
  15. package/lib/swatches/default-purple.json +1 -1
  16. package/lib/swatches/default-turquoise.json +1 -1
  17. package/lib/swatches/default-urban.json +1 -1
  18. package/package.json +5 -5
  19. package/scss/_variables.scss +1 -209
  20. package/scss/adaptive/_variables.scss +1 -1
  21. package/scss/appbar/_theme.scss +1 -1
  22. package/scss/appbar/_variables.scss +2 -2
  23. package/scss/avatar/_theme.scss +1 -1
  24. package/scss/badge/_theme.scss +1 -1
  25. package/scss/bottom-navigation/_theme.scss +5 -5
  26. package/scss/button/_theme.scss +74 -30
  27. package/scss/button/_variables.scss +10 -10
  28. package/scss/calendar/_theme.scss +1 -1
  29. package/scss/card/_layout.scss +4 -0
  30. package/scss/card/_theme.scss +3 -3
  31. package/scss/chat/_variables.scss +1 -1
  32. package/scss/checkbox/_variables.scss +2 -2
  33. package/scss/chip/_theme.scss +24 -22
  34. package/scss/chip/_variables.scss +5 -5
  35. package/scss/common/_indicators.scss +0 -2
  36. package/scss/core/_index.scss +6 -0
  37. package/scss/core/color-system/_palettes.scss +256 -0
  38. package/scss/core/color-system/_swatch-legacy.scss +62 -0
  39. package/scss/core/color-system/_swatch.scss +397 -0
  40. package/scss/dataviz/_layout.scss +2 -2
  41. package/scss/dataviz/_variables.scss +42 -42
  42. package/scss/dialog/_theme.scss +1 -1
  43. package/scss/dock-manager/_variables.scss +1 -1
  44. package/scss/drawer/_layout.scss +1 -0
  45. package/scss/dropdowntree/_layout.scss +16 -0
  46. package/scss/dropzone/_variables.scss +1 -1
  47. package/scss/editor/_variables.scss +1 -1
  48. package/scss/fab/_theme.scss +15 -15
  49. package/scss/filemanager/_layout.scss +5 -0
  50. package/scss/filemanager/_variables.scss +2 -2
  51. package/scss/forms/_variables.scss +1 -1
  52. package/scss/gantt/_layout.scss +13 -5
  53. package/scss/gantt/_variables.scss +10 -10
  54. package/scss/grid/_layout.scss +10 -0
  55. package/scss/grid/_theme.scss +54 -6
  56. package/scss/grid/_variables.scss +10 -7
  57. package/scss/index.scss +2 -0
  58. package/scss/input/_layout.scss +39 -8
  59. package/scss/input/_theme.scss +139 -0
  60. package/scss/input/_variables.scss +30 -9
  61. package/scss/list/_theme.scss +1 -1
  62. package/scss/listview/_variables.scss +1 -1
  63. package/scss/map/_variables.scss +1 -1
  64. package/scss/mediaplayer/_theme.scss +1 -1
  65. package/scss/mediaplayer/_variables.scss +1 -1
  66. package/scss/messagebox/_theme.scss +13 -5
  67. package/scss/notification/_variables.scss +1 -1
  68. package/scss/panelbar/_variables.scss +4 -4
  69. package/scss/pivotgrid/_variables.scss +5 -5
  70. package/scss/progressbar/_theme.scss +1 -1
  71. package/scss/progressbar/_variables.scss +3 -3
  72. package/scss/prompt/_index.scss +37 -0
  73. package/scss/prompt/_layout.scss +70 -0
  74. package/scss/prompt/_theme.scss +41 -0
  75. package/scss/prompt/_variables.scss +66 -0
  76. package/scss/scheduler/_theme.scss +3 -3
  77. package/scss/scheduler/_variables.scss +4 -4
  78. package/scss/signature/_variables.scss +1 -1
  79. package/scss/skeleton/_variables.scss +2 -5
  80. package/scss/slider/_variables.scss +6 -6
  81. package/scss/splitter/_variables.scss +1 -1
  82. package/scss/spreadsheet/_variables.scss +4 -4
  83. package/scss/stepper/_layout.scss +11 -0
  84. package/scss/stepper/_theme.scss +51 -15
  85. package/scss/stepper/_variables.scss +8 -8
  86. package/scss/switch/_theme.scss +2 -2
  87. package/scss/switch/_variables.scss +4 -4
  88. package/scss/table/_variables.scss +3 -4
  89. package/scss/taskboard/_variables.scss +7 -7
  90. package/scss/timeline/_variables.scss +4 -4
  91. package/scss/tooltip/_variables.scss +4 -4
  92. package/scss/window/_theme.scss +1 -1
  93. package/scss/core/color-system/index.import.scss +0 -1
@@ -105,28 +105,28 @@ $kendo-button-sizes: (
105
105
  /// @group button
106
106
  $kendo-button-theme-colors: k-map-merge(
107
107
  $kendo-theme-colors,
108
- ( "base": #f5f5f5 )
108
+ ( "base": if($kendo-enable-color-system, k-color( base ), #f5f5f5) )
109
109
  ) !default;
110
110
 
111
111
  /// The base background of the Button.
112
112
  /// @group button
113
- $kendo-button-bg: #f5f5f5 !default;
113
+ $kendo-button-bg: if($kendo-enable-color-system, k-color( base ), #f5f5f5) !default;
114
114
  /// The base text color of the Button.
115
115
  /// @group button
116
- $kendo-button-text: #424242 !default;
116
+ $kendo-button-text: if($kendo-enable-color-system, k-color( on-base ), #424242) !default;
117
117
  /// The base border color of the Button.
118
118
  /// @group button
119
- $kendo-button-border: rgba( black, .08 ) !default;
119
+ $kendo-button-border: if($kendo-enable-color-system, k-color( border ), rgba( black, .08 )) !default;
120
120
  /// The base background gradient of the Button.
121
121
  /// @group button
122
- $kendo-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
122
+ $kendo-button-gradient: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 ))) !default;
123
123
  /// The base shadow of the Button.
124
124
  /// @group button
125
125
  $kendo-button-shadow: null !default;
126
126
 
127
127
  /// The base background of the hovered Button.
128
128
  /// @group button
129
- $kendo-button-hover-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
129
+ $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-button-bg, .5 )) !default;
130
130
  /// The base text color of the hovered Button.
131
131
  /// @group button
132
132
  $kendo-button-hover-text: null !default;
@@ -142,7 +142,7 @@ $kendo-button-hover-shadow: null !default;
142
142
 
143
143
  /// The base background color of the active Button.
144
144
  /// @group button
145
- $kendo-button-active-bg: k-try-shade( $kendo-button-bg, 1.5 ) !default;
145
+ $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-button-bg, 1.5 )) !default;
146
146
  /// The base text color of the active Button.
147
147
  /// @group button
148
148
  $kendo-button-active-text: null !default;
@@ -161,7 +161,7 @@ $kendo-button-active-shadow: null !default;
161
161
  $kendo-button-selected-bg: $kendo-color-primary !default;
162
162
  /// The text color of the selected Button.
163
163
  /// @group button
164
- $kendo-button-selected-text: k-contrast-legacy( $kendo-button-selected-bg ) !default;
164
+ $kendo-button-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-button-selected-bg )) !default;
165
165
  /// The border color of the selected Button.
166
166
  /// @group button
167
167
  $kendo-button-selected-border: $kendo-button-selected-bg !default;
@@ -186,7 +186,7 @@ $kendo-button-focus-border: null !default;
186
186
  $kendo-button-focus-gradient: null !default;
187
187
  /// The base shadow of the focused Button.
188
188
  /// @group button
189
- $kendo-button-focus-shadow: 0 0 0 2px rgba( $kendo-button-border, .08 ) !default;
189
+ $kendo-button-focus-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08), rgba( $kendo-button-border, .08 )) !default;
190
190
 
191
191
  /// The base background of the disabled Button.
192
192
  /// @group button
@@ -205,7 +205,7 @@ $kendo-button-disabled-gradient: null !default;
205
205
  $kendo-button-disabled-shadow: null !default;
206
206
 
207
207
  // Solid Button
208
- $kendo-solid-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
208
+ $kendo-solid-button-gradient: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 ))) !default;
209
209
  $kendo-solid-button-shade-function: "k-try-shade" !default;
210
210
  $kendo-solid-button-shade-text-amount: 0 !default;
211
211
  $kendo-solid-button-shade-bg-amount: 0 !default;
@@ -159,7 +159,7 @@
159
159
  .k-calendar { // stylelint-disable-line
160
160
 
161
161
  $kendo-calendar-range-gap: 1px !default;
162
- $kendo-calendar-range-bg: rgba( $kendo-calendar-cell-selected-bg, .25 );
162
+ $kendo-calendar-range-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-calendar-cell-selected-bg, .25 ));
163
163
  $kendo-calendar-range-split-size: 5px !default;
164
164
 
165
165
  .k-range-start,
@@ -191,6 +191,10 @@
191
191
  gap: $kendo-card-actions-gap;
192
192
  }
193
193
 
194
+ .k-card-horizontal .k-actions-horizontal {
195
+ width: auto;
196
+ }
197
+
194
198
  // List
195
199
  .k-card-list {
196
200
  display: flex;
@@ -64,9 +64,9 @@
64
64
  // Card theme colors
65
65
  @each $name, $color in $kendo-theme-colors {
66
66
  .k-card-#{$name} {
67
- background-color: k-color-tint($color, 10);
68
- color: k-color-shade($color, 6);
69
- border-color: k-color-tint($color, 9);
67
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-subtle ), k-color-tint($color, 10));
68
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-subtle ), k-color-shade($color, 6));
69
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-emphasis ), k-color-tint($color, 9));
70
70
 
71
71
  .k-card-subtitle {
72
72
  color: inherit;
@@ -57,7 +57,7 @@ $kendo-chat-bubble-hover-shadow: k-elevation(2) !default;
57
57
  $kendo-chat-bubble-selected-shadow: k-elevation(3) !default;
58
58
 
59
59
  $kendo-chat-alt-bubble-bg: $kendo-color-primary !default;
60
- $kendo-chat-alt-bubble-text: k-contrast-legacy( $kendo-chat-alt-bubble-bg ) !default;
60
+ $kendo-chat-alt-bubble-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) !default;
61
61
  $kendo-chat-alt-bubble-border: $kendo-chat-alt-bubble-bg !default;
62
62
  $kendo-chat-alt-bubble-shadow: k-elevation(1) !default;
63
63
  $kendo-chat-alt-bubble-hover-shadow: k-elevation(2) !default;
@@ -81,7 +81,7 @@ $kendo-checkbox-hover-border: null !default;
81
81
  $kendo-checkbox-checked-bg: $kendo-color-primary !default;
82
82
  /// The text color of the checked CheckBox.
83
83
  /// @group checkbox
84
- $kendo-checkbox-checked-text: k-contrast-legacy( $kendo-checkbox-checked-bg ) !default;
84
+ $kendo-checkbox-checked-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-checkbox-checked-bg )) !default;
85
85
  /// The border color of the checked CheckBox.
86
86
  /// @group checkbox
87
87
  $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
@@ -107,7 +107,7 @@ $kendo-checkbox-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .06) !default;
107
107
  $kendo-checkbox-focus-checked-border: null !default;
108
108
  /// The box shadow of the focused and checked CheckBox.
109
109
  /// @group checkbox
110
- $kendo-checkbox-focus-checked-shadow: 0 0 0 2px rgba( $kendo-color-primary, .3 ) !default;
110
+ $kendo-checkbox-focus-checked-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary, .3 )) !default;
111
111
 
112
112
  /// The background color of the disabled CheckBox.
113
113
  /// @group checkbox
@@ -28,24 +28,24 @@
28
28
  }
29
29
  } @else {
30
30
  @include fill(
31
- k-try-shade( $color, 65% ),
32
- k-try-tint( $color, 80% ),
33
- k-try-tint( $color, 25% ),
31
+ if($kendo-enable-color-system, k-color( #{$name}-on-subtle ), k-try-shade( $color, 65% )),
32
+ if($kendo-enable-color-system, k-color( #{$name}-subtle ), k-try-tint( $color, 80% )),
33
+ if($kendo-enable-color-system, k-color( #{$name}-emphasis ), k-try-tint( $color, 25% )),
34
34
  $kendo-chip-solid-gradient
35
35
  );
36
36
 
37
37
  &:focus,
38
38
  &.k-focus {
39
- @include focus-indicator( 0 0 0 2px rgba( $color, .16 ) );
39
+ @include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( $name, true ), .16 ), rgba( $color, .16 )) );
40
40
  }
41
41
 
42
42
  &:hover,
43
43
  &.k-hover {
44
- @include fill( $bg: k-try-tint($color, 65% ) );
44
+ @include fill( $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-hover ), k-try-tint($color, 65% )) );
45
45
  }
46
46
 
47
47
  &.k-selected {
48
- @include fill( $bg: k-try-tint( $color, 50% ) );
48
+ @include fill( $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-active ), k-try-tint( $color, 50% )) );
49
49
  }
50
50
  }
51
51
  }
@@ -83,54 +83,56 @@
83
83
  }
84
84
  } @else if ($name == "warning") {
85
85
  @include fill(
86
- if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text),
87
- if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white ),
88
- if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
86
+ if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $kendo-chip-outline-text)),
87
+ if($kendo-enable-color-system, k-color( app-surface ), if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
88
+ if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
89
89
  );
90
90
 
91
91
  &:focus,
92
92
  &.k-focus {
93
- @include focus-indicator( 0 0 0 2px if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 )) );
93
+ @include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( $name, true ), .16 ), if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 ))) );
94
94
  }
95
95
 
96
96
  &:hover,
97
97
  &.k-hover {
98
98
  @include fill(
99
- $color: if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) ) ,
100
- $bg: if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
99
+ $color: if($kendo-enable-color-system, k-color( on-#{$name} ), if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )),
100
+ $bg: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
101
101
  );
102
102
  }
103
103
 
104
104
  &.k-selected {
105
105
  @include fill(
106
- $color: if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) ) ,
107
- $bg: if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color)
106
+ $color: if($kendo-enable-color-system, k-color( on-#{$name} ), if( $kendo-is-dark-theme, k-contrast-legacy( $color ), k-try-shade( $color, 80% ) )),
107
+ $bg: if($kendo-enable-color-system, $color, if( $kendo-is-dark-theme, k-color-tint($color, 25%), $color))
108
108
  );
109
109
  }
110
110
  } @else {
111
111
  @include fill(
112
- k-try-shade( $color, 25% ),
113
- if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white ),
114
- k-try-shade( $color, 25% )
112
+ if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% )),
113
+ if($kendo-enable-color-system, k-color( app-surface ), if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )),
114
+ if($kendo-enable-color-system, k-color( #{$name}-on-surface ), k-try-shade( $color, 25% ))
115
115
  );
116
116
 
117
117
  &:focus,
118
118
  &.k-focus {
119
- @include focus-indicator( 0 0 0 2px if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 )) );
119
+ @include focus-indicator( 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( $name, true ), .16 ), if( $kendo-is-dark-theme, rgba( k-color-tint( $color, 50% ), .32 ), rgba( $color, .16 ))) );
120
120
  }
121
121
 
122
122
  &:hover,
123
123
  &.k-hover {
124
124
  @include fill(
125
- $color: k-contrast-legacy( k-try-shade( $color, 25% ) ),
126
- $bg: k-try-shade( $color, 25% )
125
+ if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-try-shade( $color, 25% ) )),
126
+ if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 25% )),
127
+ if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, 25% ))
127
128
  );
128
129
  }
129
130
 
130
131
  &.k-selected {
131
132
  @include fill(
132
- $color: k-contrast-legacy( k-try-shade( $color, 25% ) ),
133
- $bg: k-try-shade( $color, 25% )
133
+ if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-try-shade( $color, 25% ) )),
134
+ if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 25% )),
135
+ if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 25% ))
134
136
  );
135
137
  }
136
138
  }
@@ -92,7 +92,7 @@ $kendo-chip-sizes: (
92
92
 
93
93
  /// The base background of the Chip.
94
94
  /// @group chip
95
- $kendo-chip-base-bg: $kendo-button-bg !default;
95
+ $kendo-chip-base-bg: if($kendo-enable-color-system, k-color( base-subtle ), $kendo-button-bg) !default;
96
96
 
97
97
  /// The theme colors map for the Chip.
98
98
  /// @group chip
@@ -115,7 +115,7 @@ $kendo-chip-solid-text: $kendo-button-text !default;
115
115
  $kendo-chip-solid-border: $kendo-button-border !default;
116
116
  /// The base shadow of the solid Chip.
117
117
  /// @group chip
118
- $kendo-chip-solid-shadow: 0 0 0 2px if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) ) !default;
118
+ $kendo-chip-solid-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) )) !default;
119
119
  /// The base gradient of the solid Chip.
120
120
  /// @group chip
121
121
  $kendo-chip-solid-gradient: $kendo-button-gradient !default;
@@ -129,7 +129,7 @@ $kendo-chip-solid-focus-text: null !default;
129
129
 
130
130
  /// The base background color of the hovered solid Chip.
131
131
  /// @group chip
132
- $kendo-chip-solid-hover-bg: $kendo-button-hover-bg !default;
132
+ $kendo-chip-solid-hover-bg: if($kendo-enable-color-system, k-color( base-subtle-hover ), $kendo-button-hover-bg) !default;
133
133
  /// The base text color of the hovered solid Chip.
134
134
  /// @group chip
135
135
  $kendo-chip-solid-hover-text: null !default;
@@ -152,14 +152,14 @@ $kendo-chip-outline-text: $kendo-chip-solid-text !default;
152
152
  $kendo-chip-outline-border: $kendo-chip-outline-text !default;
153
153
  /// The base shadow of the outline Chip.
154
154
  /// @group chip
155
- $kendo-chip-outline-shadow: 0 0 0 2px if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) ) !default;
155
+ $kendo-chip-outline-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), if( $kendo-is-dark-theme, rgba( $kendo-color-white, .16 ), rgba( $kendo-color-black, .08 ) )) !default;
156
156
 
157
157
  /// The base background color of the hovered outline Chip.
158
158
  /// @group chip
159
159
  $kendo-chip-outline-hover-bg: $kendo-chip-outline-text !default;
160
160
  /// The base text color of the hovered outline Chip.
161
161
  /// @group chip
162
- $kendo-chip-outline-hover-text: k-contrast-legacy( $kendo-chip-outline-hover-bg ) !default;
162
+ $kendo-chip-outline-hover-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-chip-outline-hover-bg )) !default;
163
163
 
164
164
  /// The base background color of the selected outline Chip.
165
165
  /// @group chip
@@ -1,11 +1,9 @@
1
1
  @include exports( "common/indicators/current-time" ) {
2
2
 
3
- $kendo-current-time-width: 1px !default;
4
3
  $kendo-current-time-color: #ff0000 !default;
5
4
 
6
5
  // Layout
7
6
  .k-current-time {
8
- width: $kendo-current-time-width;
9
7
  position: absolute;
10
8
 
11
9
  &.k-current-time-arrow-left,
@@ -3,8 +3,14 @@ $wcag-min-contrast-ratio: 4.5 !default;
3
3
  // Variables
4
4
  @import "../_variables.scss";
5
5
 
6
+ // Color System
7
+ @import "./color-system/_swatch.scss";
8
+
6
9
  @import "@progress/kendo-theme-core/scss/index.import.scss";
7
10
 
11
+ // Backward compatibility
12
+ @import "./color-system/_swatch-legacy.scss";
13
+
8
14
  // Expose
9
15
  @include exports("kendo-core-styles") {
10
16
  @include kendo-core--styles();
@@ -0,0 +1,256 @@
1
+ $_default-palette-gray: (
2
+ white: #ffffff,
3
+ 1: #fafafa,
4
+ 2: #f5f5f5,
5
+ 3: #ebebeb,
6
+ 4: #e0e0e0,
7
+ 5: #d6d6d6,
8
+ 6: #c2c2c2,
9
+ 7: #adadad,
10
+ 8: #999999,
11
+ 9: #808080,
12
+ 10: #666666,
13
+ 11: #525252,
14
+ 12: #3d3d3d,
15
+ 13: #292929,
16
+ 14: #1f1f1f,
17
+ 15: #141414,
18
+ black: #000000,
19
+ );
20
+
21
+ $_default-palette-coral: (
22
+ 1: #fff6f5,
23
+ 2: #ffeceb,
24
+ 3: #ffdedb,
25
+ 4: #ffc8c4,
26
+ 5: #ffb1ac,
27
+ 6: #ff9d97,
28
+ 7: #ff8a82,
29
+ 8: #ff766d,
30
+ 9: #ff6358,
31
+ 10: #ea5a51,
32
+ 11: #d45349,
33
+ 12: #bf4a42,
34
+ 13: #a33f38,
35
+ 14: #80322c,
36
+ 15: #5c201c,
37
+ );
38
+
39
+ $_default-palette-sky-blue: (
40
+ 1: #ebf8fe,
41
+ 2: #d8f1fd,
42
+ 3: #c5eafc,
43
+ 4: #a3dffb,
44
+ 5: #81d4fA,
45
+ 6: #61c9f9,
46
+ 7: #42bff7,
47
+ 8: #22b3f5,
48
+ 9: #03a9f4,
49
+ 10: #039ae0,
50
+ 11: #028ccb,
51
+ 12: #027fb7,
52
+ 13: #026999,
53
+ 14: #02557a,
54
+ 15: #023f5c,
55
+ );
56
+
57
+ $_default-palette-green: (
58
+ 1: #edf8e9,
59
+ 2: #dcf0d3,
60
+ 3: #cbe9bf,
61
+ 4: #b7e1a5,
62
+ 5: #9bda80,
63
+ 6: #81d15f,
64
+ 7: #69c740,
65
+ 8: #4ebe1f,
66
+ 9: #37b400,
67
+ 10: #32a500,
68
+ 11: #2d9600,
69
+ 12: #298700,
70
+ 13: #227100,
71
+ 14: #1c5a00,
72
+ 15: #1c5a00,
73
+ );
74
+
75
+ $_default-palette-blue: (
76
+ 1: #e9f0fd,
77
+ 2: #d2e2fb,
78
+ 3: #bdd4f8,
79
+ 4: #9ec0f6,
80
+ 5: #80acf4,
81
+ 6: #6098f2,
82
+ 7: #4082ef,
83
+ 8: #206eec,
84
+ 9: #0058e9,
85
+ 10: #0052d6,
86
+ 11: #004ac2,
87
+ 12: #0042af,
88
+ 13: #003892,
89
+ 14: #002c75,
90
+ 15: #002259,
91
+ );
92
+
93
+ $_default-palette-yellow: (
94
+ 1: #fffae9,
95
+ 2: #fff4d3,
96
+ 3: #ffeebd,
97
+ 4: #ffe79e,
98
+ 5: #ffe080,
99
+ 6: #ffd760,
100
+ 7: #ffd040,
101
+ 8: #ffc720,
102
+ 9: #ffc000,
103
+ 10: #eaaf00,
104
+ 11: #d49f00,
105
+ 12: #bf9000,
106
+ 13: #a07800,
107
+ 14: #806000,
108
+ 15: #5e4700,
109
+ );
110
+
111
+ $_default-palette-red: (
112
+ 1: #feeeed,
113
+ 2: #fcddda,
114
+ 3: #fbc8c3,
115
+ 4: #faaaa2,
116
+ 5: #f98b80,
117
+ 6: #f76f60,
118
+ 7: #f65140,
119
+ 8: #f43520,
120
+ 9: #f31700,
121
+ 10: #df1600,
122
+ 11: #ca1400,
123
+ 12: #b61100,
124
+ 13: #980f00,
125
+ 14: #7a0c00,
126
+ 15: #7a0c00,
127
+ );
128
+
129
+ $_default-palette-lemon-yellow: (
130
+ 1: #fffcf1,
131
+ 2: #fffae2,
132
+ 3: #fff7d4,
133
+ 4: #fff4c2,
134
+ 5: #fff0b1,
135
+ 6: #ffed9d,
136
+ 7: #ffe989,
137
+ 8: #ffe676,
138
+ 9: #ffe162,
139
+ 10: #ead05a,
140
+ 11: #d4bc52,
141
+ 12: #bfa94a,
142
+ 13: #a3913f,
143
+ 14: #807131,
144
+ 15: #5c5223,
145
+ );
146
+
147
+ $_default-palette-spring-green: (
148
+ 1: #effaf3,
149
+ 2: #e0f6e8,
150
+ 3: #d1f1dd,
151
+ 4: #c0edd1,
152
+ 5: #a6e8c0,
153
+ 6: #8fe2af,
154
+ 7: #79dda0,
155
+ 8: #62d78f,
156
+ 9: #4cd180,
157
+ 10: #46c074,
158
+ 11: #3fae6a,
159
+ 12: #399d60,
160
+ 13: #2f834f,
161
+ 14: #266940,
162
+ 15: #1c4f30,
163
+ );
164
+
165
+ $_default-palette-royal-blue: (
166
+ 1: #f0f2ff,
167
+ 2: #e1e4fe,
168
+ 3: #d2d7fe,
169
+ 4: #bbc3fd,
170
+ 5: #a5affd,
171
+ 6: #8e9bfc,
172
+ 7: #7887fb,
173
+ 8: #6173fb,
174
+ 9: #4b5ffa,
175
+ 10: #4558e5,
176
+ 11: #3f50d1,
177
+ 12: #3847bc,
178
+ 13: #2f3c9d,
179
+ 14: #26307d,
180
+ 15: #1c245e,
181
+ );
182
+
183
+ $_default-palette-lavender-purple: (
184
+ 1: #f7f0ff,
185
+ 2: #f0e0ff,
186
+ 3: #e8d1ff,
187
+ 4: #dfbfff,
188
+ 5: #d6acff,
189
+ 6: #cc97ff,
190
+ 7: #c182ff,
191
+ 8: #b76dff,
192
+ 9: #ac58ff,
193
+ 10: #9e51ea,
194
+ 11: #8f49d4,
195
+ 12: #8142bf,
196
+ 13: #6b37a0,
197
+ 14: #562c80,
198
+ 15: #3f205e,
199
+ );
200
+
201
+ $_default-palette-flamingo-pink: (
202
+ 1: #fff0f5,
203
+ 2: #ffe1eb,
204
+ 3: #ffd1e1,
205
+ 4: #ffbfd6,
206
+ 5: #ffacc9,
207
+ 6: #ff97bb,
208
+ 7: #ff82ae,
209
+ 8: #ff6da0,
210
+ 9: #ff5892,
211
+ 10: #ea5186,
212
+ 11: #d4497a,
213
+ 12: #bf426e,
214
+ 13: #a0375c,
215
+ 14: #802c49,
216
+ 15: #5e2036,
217
+ );
218
+
219
+
220
+ // stylelint-disable scss/no-global-function-names
221
+ $kendo-palette-gray: $_default-palette-gray !default;
222
+ $kendo-palette-gray: map-merge($_default-palette-gray, $kendo-palette-gray);
223
+
224
+ $kendo-palette-coral: $_default-palette-coral !default;
225
+ $kendo-palette-coral: map-merge($_default-palette-coral, $kendo-palette-coral);
226
+
227
+ $kendo-palette-sky-blue: $_default-palette-sky-blue !default;
228
+ $kendo-palette-sky-blue: map-merge($_default-palette-sky-blue, $kendo-palette-sky-blue);
229
+
230
+ $kendo-palette-green: $_default-palette-green !default;
231
+ $kendo-palette-green: map-merge($_default-palette-green, $kendo-palette-green);
232
+
233
+ $kendo-palette-blue: $_default-palette-blue !default;
234
+ $kendo-palette-blue: map-merge($_default-palette-blue, $kendo-palette-blue);
235
+
236
+ $kendo-palette-yellow: $_default-palette-yellow !default;
237
+ $kendo-palette-yellow: map-merge($_default-palette-yellow, $kendo-palette-yellow);
238
+
239
+ $kendo-palette-red: $_default-palette-red !default;
240
+ $kendo-palette-red: map-merge($_default-palette-red, $kendo-palette-red);
241
+
242
+ $kendo-palette-lemon-yellow: $_default-palette-lemon-yellow !default;
243
+ $kendo-palette-lemon-yellow: map-merge($_default-palette-lemon-yellow, $kendo-palette-lemon-yellow);
244
+
245
+ $kendo-palette-spring-green: $_default-palette-spring-green !default;
246
+ $kendo-palette-spring-green: map-merge($_default-palette-spring-green, $kendo-palette-spring-green);
247
+
248
+ $kendo-palette-royal-blue: $_default-palette-royal-blue !default;
249
+ $kendo-palette-royal-blue: map-merge($_default-palette-royal-blue, $kendo-palette-royal-blue);
250
+
251
+ $kendo-palette-lavender-purple: $_default-palette-lavender-purple !default;
252
+ $kendo-palette-lavender-purple: map-merge($_default-palette-lavender-purple, $kendo-palette-lavender-purple);
253
+
254
+ $kendo-palette-flamingo-pink: $_default-palette-flamingo-pink !default;
255
+ $kendo-palette-flamingo-pink: map-merge($_default-palette-flamingo-pink, $kendo-palette-flamingo-pink);
256
+ // stylelint-enable scss/no-global-function-names
@@ -0,0 +1,62 @@
1
+ @if ($kendo-enable-color-system) {
2
+ $kendo-color-primary: k-color( primary );
3
+ $kendo-color-primary-contrast: k-color( on-primary );
4
+ $kendo-color-secondary: k-color( secondary );
5
+ $kendo-color-tertiary: k-color( tertiary );
6
+ $kendo-color-info: k-color( info );
7
+ $kendo-color-success: k-color( success );
8
+ $kendo-color-warning: k-color( warning );
9
+ $kendo-color-error: k-color( error );
10
+ $kendo-color-dark: k-color( dark );
11
+ $kendo-color-light: k-color( light );
12
+ $kendo-color-inverse: $kendo-color-dark;
13
+ $kendo-body-bg: k-color( app-surface );
14
+ $kendo-body-text: k-color( on-app-surface );
15
+ $kendo-subtle-text: k-color( subtle );
16
+ $kendo-app-bg: k-color( surface );
17
+ $kendo-app-text: $kendo-body-text;
18
+ $kendo-app-border: k-color( border );
19
+ $kendo-link-text: $kendo-color-primary;
20
+ $kendo-link-hover-text: k-color( primary-hover );
21
+ $kendo-component-bg: $kendo-body-bg;
22
+ $kendo-component-text: $kendo-body-text;
23
+ $kendo-component-border: $kendo-app-border;
24
+ $kendo-base-bg: k-color( surface );
25
+ $kendo-base-text: $kendo-body-text;
26
+ $kendo-base-border: $kendo-app-border;
27
+ $kendo-base-gradient: null;
28
+ $kendo-hover-bg: k-color( base-hover );
29
+ $kendo-hover-text: $kendo-base-text;
30
+ $kendo-hover-border: $kendo-base-border;
31
+ $kendo-hover-gradient: null;
32
+ $kendo-selected-bg: $kendo-color-primary;
33
+ $kendo-selected-text: $kendo-color-primary-contrast;
34
+ $kendo-selected-border: $kendo-base-border;
35
+ $kendo-selected-gradient: $kendo-base-gradient;
36
+ $kendo-selected-hover-bg: k-color( primary-hover );
37
+ $kendo-selected-hover-text: $kendo-selected-text;
38
+ $kendo-selected-hover-border: $kendo-base-border;
39
+ $kendo-selected-hover-gradient: $kendo-base-gradient;
40
+ $kendo-disabled-text: k-color( on-app-surface );
41
+ $kendo-component-header-bg: $kendo-base-bg;
42
+ $kendo-component-header-text: $kendo-base-text;
43
+ $kendo-component-header-border: $kendo-base-border;
44
+ $kendo-component-header-gradient: null;
45
+ $kendo-invalid-bg: null;
46
+ $kendo-invalid-text: $kendo-color-error;
47
+ $kendo-invalid-border: $kendo-color-error;
48
+ $kendo-invalid-shadow: null;
49
+
50
+ $kendo-theme-colors: (
51
+ "primary": $kendo-color-primary,
52
+ "secondary": $kendo-color-secondary,
53
+ "tertiary": $kendo-color-tertiary,
54
+ "info": $kendo-color-info,
55
+ "success": $kendo-color-success,
56
+ "warning": $kendo-color-warning,
57
+ "error": $kendo-color-error,
58
+ "dark": $kendo-color-dark,
59
+ "light": $kendo-color-light,
60
+ "inverse": $kendo-color-inverse,
61
+ );
62
+ }