@progress/kendo-theme-bootstrap 10.6.0 → 11.0.0-dev.1

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 (131) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/bootstrap-3-dark.css +1 -1
  3. package/dist/bootstrap-3-dark.scss +1 -1
  4. package/dist/bootstrap-3.css +1 -1
  5. package/dist/bootstrap-3.scss +1 -1
  6. package/dist/bootstrap-4-dark.css +1 -1
  7. package/dist/bootstrap-4-dark.scss +1 -1
  8. package/dist/bootstrap-4.css +1 -1
  9. package/dist/bootstrap-4.scss +1 -1
  10. package/dist/bootstrap-dataviz-v4.css +1 -1
  11. package/dist/bootstrap-dataviz-v4.scss +1 -1
  12. package/dist/bootstrap-main-dark.css +1 -1
  13. package/dist/bootstrap-main-dark.scss +1 -1
  14. package/dist/bootstrap-main.css +1 -1
  15. package/dist/bootstrap-main.scss +1 -5
  16. package/dist/bootstrap-nordic.css +1 -1
  17. package/dist/bootstrap-nordic.scss +1 -1
  18. package/dist/bootstrap-turquoise-dark.css +1 -1
  19. package/dist/bootstrap-turquoise-dark.scss +1 -1
  20. package/dist/bootstrap-turquoise.css +1 -1
  21. package/dist/bootstrap-turquoise.scss +1 -1
  22. package/dist/bootstrap-urban.css +1 -1
  23. package/dist/bootstrap-urban.scss +1 -1
  24. package/dist/bootstrap-vintage.css +1 -1
  25. package/dist/bootstrap-vintage.scss +1 -1
  26. package/dist/meta/sassdoc-data.json +5864 -5720
  27. package/dist/meta/sassdoc-raw-data.json +2823 -2763
  28. package/dist/meta/variables.json +414 -369
  29. package/lib/swatches/bootstrap-3-dark.json +1 -179
  30. package/lib/swatches/bootstrap-3.json +1 -179
  31. package/lib/swatches/bootstrap-4-dark.json +1 -182
  32. package/lib/swatches/bootstrap-4.json +1 -182
  33. package/lib/swatches/bootstrap-dataviz-v4.json +1 -47
  34. package/lib/swatches/bootstrap-main-dark.json +1 -182
  35. package/lib/swatches/bootstrap-main.json +2 -184
  36. package/lib/swatches/bootstrap-nordic.json +1 -182
  37. package/lib/swatches/bootstrap-turquoise-dark.json +1 -182
  38. package/lib/swatches/bootstrap-turquoise.json +1 -182
  39. package/lib/swatches/bootstrap-urban.json +1 -182
  40. package/lib/swatches/bootstrap-vintage.json +1 -182
  41. package/package.json +4 -4
  42. package/scss/action-sheet/_variables.scss +13 -8
  43. package/scss/adaptive/_variables.scss +13 -13
  44. package/scss/appbar/_variables.scss +18 -5
  45. package/scss/avatar/_variables.scss +12 -1
  46. package/scss/badge/_variables.scss +14 -1
  47. package/scss/bottom-navigation/_variables.scss +17 -4
  48. package/scss/breadcrumb/_variables.scss +9 -9
  49. package/scss/button/_variables.scss +28 -15
  50. package/scss/calendar/_variables.scss +40 -21
  51. package/scss/captcha/_variables.scss +3 -3
  52. package/scss/card/_variables.scss +20 -7
  53. package/scss/chart-wizard/_variables.scss +4 -4
  54. package/scss/chat/_variables.scss +11 -11
  55. package/scss/checkbox/_variables.scss +8 -8
  56. package/scss/chip/_theme.scss +3 -3
  57. package/scss/chip/_variables.scss +26 -7
  58. package/scss/color-preview/_variables.scss +3 -3
  59. package/scss/coloreditor/_variables.scss +4 -4
  60. package/scss/colorgradient/_variables.scss +7 -37
  61. package/scss/core/_index.scss +8 -4
  62. package/scss/core/color-system/_swatch.scss +0 -2
  63. package/scss/dataviz/_variables.scss +61 -47
  64. package/scss/dialog/_variables.scss +8 -3
  65. package/scss/dock-manager/_variables.scss +8 -8
  66. package/scss/draggable/_variables.scss +4 -4
  67. package/scss/drawer/_variables.scss +36 -11
  68. package/scss/dropzone/_variables.scss +6 -6
  69. package/scss/editor/_variables.scss +11 -4
  70. package/scss/expansion-panel/_variables.scss +5 -5
  71. package/scss/fab/_theme.scss +21 -21
  72. package/scss/fab/_variables.scss +15 -4
  73. package/scss/filemanager/_variables.scss +5 -5
  74. package/scss/filter/_variables.scss +3 -3
  75. package/scss/forms/_variables.scss +2 -2
  76. package/scss/gantt/_variables.scss +28 -28
  77. package/scss/grid/_theme.scss +10 -20
  78. package/scss/grid/_variables.scss +12 -12
  79. package/scss/imageeditor/_variables.scss +4 -4
  80. package/scss/index.scss +3 -0
  81. package/scss/input/_variables.scss +16 -16
  82. package/scss/list/_variables.scss +89 -12
  83. package/scss/listbox/_variables.scss +3 -3
  84. package/scss/listgroup/_variables.scss +3 -3
  85. package/scss/listview/_variables.scss +5 -5
  86. package/scss/loader/_variables.scss +17 -3
  87. package/scss/map/_variables.scss +5 -5
  88. package/scss/marquee/_index.scss +16 -0
  89. package/scss/marquee/_layout.scss +6 -0
  90. package/scss/marquee/_theme.scss +6 -0
  91. package/scss/marquee/_variables.scss +11 -0
  92. package/scss/mediaplayer/_variables.scss +4 -4
  93. package/scss/menu/_variables.scss +17 -9
  94. package/scss/messagebox/_variables.scss +14 -1
  95. package/scss/no-data/_variables.scss +1 -1
  96. package/scss/notification/_functions.scss +3 -3
  97. package/scss/notification/_variables.scss +23 -4
  98. package/scss/orgchart/_variables.scss +8 -8
  99. package/scss/overlay/_variables.scss +13 -3
  100. package/scss/pager/_variables.scss +12 -12
  101. package/scss/panel/_variables.scss +3 -3
  102. package/scss/panelbar/_variables.scss +12 -12
  103. package/scss/pdf-viewer/_variables.scss +13 -13
  104. package/scss/pivotgrid/_variables.scss +22 -22
  105. package/scss/popup/_variables.scss +3 -3
  106. package/scss/progressbar/_variables.scss +6 -6
  107. package/scss/prompt/_variables.scss +12 -12
  108. package/scss/rating/_variables.scss +4 -4
  109. package/scss/scheduler/_variables.scss +17 -14
  110. package/scss/scrollview/_variables.scss +5 -5
  111. package/scss/signature/_variables.scss +1 -1
  112. package/scss/skeleton/_variables.scss +1 -1
  113. package/scss/slider/_variables.scss +21 -13
  114. package/scss/splitter/_variables.scss +8 -8
  115. package/scss/spreadsheet/_variables.scss +25 -25
  116. package/scss/stepper/_variables.scss +15 -15
  117. package/scss/switch/_variables.scss +45 -11
  118. package/scss/table/_variables.scss +10 -10
  119. package/scss/tabstrip/_variables.scss +14 -14
  120. package/scss/taskboard/_variables.scss +15 -15
  121. package/scss/tilelayout/_variables.scss +2 -2
  122. package/scss/timeline/_variables.scss +7 -7
  123. package/scss/timeselector/_variables.scss +18 -8
  124. package/scss/toolbar/_variables.scss +8 -8
  125. package/scss/tooltip/_functions.scss +1 -1
  126. package/scss/tooltip/_variables.scss +14 -3
  127. package/scss/treeview/_variables.scss +9 -9
  128. package/scss/typography/_variables.scss +3 -3
  129. package/scss/upload/_variables.scss +13 -13
  130. package/scss/window/_variables.scss +8 -7
  131. package/scss/core/color-system/_swatch-legacy.scss +0 -274
@@ -6,13 +6,13 @@
6
6
 
7
7
  /// The background color of the Drawer.
8
8
  /// @group drawer
9
- $kendo-drawer-bg: $kendo-component-bg !default;
9
+ $kendo-drawer-bg: k-color(app-surface) !default;
10
10
  /// The text color of the Drawer.
11
11
  /// @group drawer
12
- $kendo-drawer-text: $kendo-component-text !default;
12
+ $kendo-drawer-text: k-color(on-app-surface) !default;
13
13
  /// The border color of the Drawer.
14
14
  /// @group drawer
15
- $kendo-drawer-border: $kendo-component-border !default;
15
+ $kendo-drawer-border: k-color(border) !default;
16
16
  /// The border width of the Drawer.
17
17
  /// @group drawer
18
18
  $kendo-drawer-border-width: 1px !default;
@@ -50,18 +50,30 @@ $kendo-drawer-scrollbar-radius: 20px !default;
50
50
  /// @group drawer
51
51
  $kendo-drawer-scrollbar-hover-color: rgba( 156, 156, 156, 1 ) !default;
52
52
 
53
+ /// The horizontal padding of the Drawer items.
54
+ /// @group drawer
55
+ $kendo-drawer-items-padding-x: 0 !default;
56
+ /// The vertical padding of the Drawer items.
57
+ /// @group drawer
58
+ $kendo-drawer-items-padding-y: 0 !default;
53
59
  /// The horizontal padding of the Drawer item.
54
60
  /// @group drawer
55
61
  $kendo-drawer-item-padding-x: k-spacing(4) !default;
56
62
  /// The vertical padding of the Drawer item.
57
63
  /// @group drawer
58
64
  $kendo-drawer-item-padding-y: k-spacing(2) !default;
65
+ /// The spacing between the items in the Drawer item.
66
+ /// @group drawer
67
+ $kendo-drawer-item-spacing: $kendo-drawer-item-padding-x !default;
59
68
  /// The font size of the Drawer item.
60
69
  /// @group drawer
61
70
  $kendo-drawer-item-font-size: var( --kendo-font-size, inherit ) !default;
62
71
  /// The line height of the Drawer item.
63
72
  /// @group drawer
64
73
  $kendo-drawer-item-line-height: var( --kendo-line-height-lg, normal ) !default;
74
+ /// The font weight of the Drawer item.
75
+ /// @group drawer
76
+ $kendo-drawer-item-font-weight: var( --kendo-font-weight, normal ) !default;
65
77
 
66
78
  /// The horizontal padding of the Drawer item in each level.
67
79
  /// @group drawer
@@ -69,6 +81,9 @@ $kendo-drawer-item-level-padding-x: $kendo-drawer-item-padding-x !default;
69
81
  /// The count of the Drawer item levels.
70
82
  /// @group drawer
71
83
  $kendo-drawer-item-level-count: 5 !default;
84
+ /// The border radius of the Drawer item.
85
+ /// @group drawer
86
+ $kendo-drawer-item-border-radius: null !default;
72
87
 
73
88
  /// The horizontal padding of the Drawer icon.
74
89
  /// @group drawer
@@ -83,31 +98,35 @@ $kendo-drawer-mini-initial-width: calc( 2 * #{$kendo-drawer-item-padding-x} + #{
83
98
 
84
99
  /// The background color of the hovered Drawer item.
85
100
  /// @group drawer
86
- $kendo-drawer-hover-bg: $kendo-hover-bg !default;
101
+ $kendo-drawer-hover-bg: k-color(base-subtle-hover) !default;
87
102
  /// The text color of the hovered Drawer item.
88
103
  /// @group drawer
89
- $kendo-drawer-hover-text: $kendo-hover-text !default;
104
+ $kendo-drawer-hover-text: k-color(on-app-surface) !default;
90
105
 
91
106
  /// The background color of the focused Drawer item.
92
107
  /// @group drawer
93
- $kendo-drawer-focus-bg: $kendo-hover-bg !default;
108
+ $kendo-drawer-focus-bg: k-color(base-subtle-hover) !default;
94
109
  /// The box shadow of the focused Drawer item.
95
110
  /// @group drawer
96
111
  $kendo-drawer-focus-shadow: inset 0 0 0 2px rgba( black, .15 ) !default;
97
112
 
98
113
  /// The background color of the selected Drawer item.
99
114
  /// @group drawer
100
- $kendo-drawer-selected-bg: $kendo-selected-bg !default;
115
+ $kendo-drawer-selected-bg: k-color(primary) !default;
101
116
  /// The text color of the selected Drawer item.
102
117
  /// @group drawer
103
- $kendo-drawer-selected-text: $kendo-selected-text !default;
118
+ $kendo-drawer-selected-text: k-color(on-primary) !default;
104
119
 
105
120
  /// The background color of the selected and hovered Drawer item.
106
121
  /// @group drawer
107
- $kendo-drawer-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-selected-bg, 1 )) !default;
122
+ $kendo-drawer-selected-hover-bg: k-color(primary-hover) !default;
108
123
  /// The text color of the selected and hovered Drawer item.
109
124
  /// @group drawer
110
- $kendo-drawer-selected-hover-text: $kendo-selected-text !default;
125
+ $kendo-drawer-selected-hover-text: k-color(on-primary) !default;
126
+
127
+ /// The background color of the selected and focused Drawer item.
128
+ /// @group drawer
129
+ $kendo-drawer-selected-focus-bg: null !default;
111
130
 
112
131
 
113
132
  @forward "@progress/kendo-theme-core/scss/components/drawer/_variables.scss" with (
@@ -125,12 +144,17 @@ $kendo-drawer-selected-hover-text: $kendo-selected-text !default;
125
144
  $kendo-drawer-scrollbar-bg: $kendo-drawer-scrollbar-bg,
126
145
  $kendo-drawer-scrollbar-radius: $kendo-drawer-scrollbar-radius,
127
146
  $kendo-drawer-scrollbar-hover-color: $kendo-drawer-scrollbar-hover-color,
147
+ $kendo-drawer-items-padding-x: $kendo-drawer-items-padding-x,
148
+ $kendo-drawer-items-padding-y: $kendo-drawer-items-padding-y,
128
149
  $kendo-drawer-item-padding-x: $kendo-drawer-item-padding-x,
129
150
  $kendo-drawer-item-padding-y: $kendo-drawer-item-padding-y,
151
+ $kendo-drawer-item-spacing: $kendo-drawer-item-spacing,
130
152
  $kendo-drawer-item-font-size: $kendo-drawer-item-font-size,
131
153
  $kendo-drawer-item-line-height: $kendo-drawer-item-line-height,
154
+ $kendo-drawer-item-font-weight: $kendo-drawer-item-font-weight,
132
155
  $kendo-drawer-item-level-padding-x: $kendo-drawer-item-level-padding-x,
133
156
  $kendo-drawer-item-level-count: $kendo-drawer-item-level-count,
157
+ $kendo-drawer-item-border-radius: $kendo-drawer-item-border-radius,
134
158
  $kendo-drawer-icon-padding-x: $kendo-drawer-icon-padding-x,
135
159
  $kendo-drawer-icon-padding-y: $kendo-drawer-icon-padding-y,
136
160
  $kendo-drawer-mini-initial-width: $kendo-drawer-mini-initial-width,
@@ -141,5 +165,6 @@ $kendo-drawer-selected-hover-text: $kendo-selected-text !default;
141
165
  $kendo-drawer-selected-bg: $kendo-drawer-selected-bg,
142
166
  $kendo-drawer-selected-text: $kendo-drawer-selected-text,
143
167
  $kendo-drawer-selected-hover-bg: $kendo-drawer-selected-hover-bg,
144
- $kendo-drawer-selected-hover-text: $kendo-drawer-selected-hover-text
168
+ $kendo-drawer-selected-hover-text: $kendo-drawer-selected-hover-text,
169
+ $kendo-drawer-selected-focus-bg: $kendo-drawer-selected-focus-bg
145
170
  );
@@ -29,23 +29,23 @@ $kendo-dropzone-line-height: var( --kendo-line-height, normal ) !default;
29
29
 
30
30
  /// The background color of the DropZone.
31
31
  /// @group dropzone
32
- $kendo-dropzone-bg: if($kendo-enable-color-system, k-color( surface ), if( k-is-light( $kendo-component-bg ), $kendo-color-light, $kendo-color-dark )) !default;
32
+ $kendo-dropzone-bg: k-color(surface) !default;
33
33
  /// The text color of the DropZone.
34
34
  /// @group dropzone
35
- $kendo-dropzone-text: $kendo-component-text !default;
35
+ $kendo-dropzone-text: k-color(on-app-surface) !default;
36
36
  /// The border color of the DropZone.
37
37
  /// @group dropzone
38
- $kendo-dropzone-border: $kendo-component-border !default;
38
+ $kendo-dropzone-border: k-color(border) !default;
39
39
 
40
40
  /// The spacing below the DropZone icon.
41
41
  /// @group dropzone
42
42
  $kendo-dropzone-icon-spacing: k-spacing(6) !default;
43
43
  /// The text color of the DropZone icon.
44
44
  /// @group dropzone
45
- $kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 8 )) !default;
45
+ $kendo-dropzone-icon-text: k-color(subtle) !default;
46
46
  /// The text color of the hovered DropZone icon.
47
47
  /// @group dropzone
48
- $kendo-dropzone-icon-hover-text: $kendo-color-primary !default;
48
+ $kendo-dropzone-icon-hover-text: k-color(primary) !default;
49
49
 
50
50
  /// The font size of the DropZone hint.
51
51
  /// @group dropzone
@@ -65,7 +65,7 @@ $kendo-dropzone-note-font-size: var( --kendo-font-size-xs, inherit ) !default;
65
65
  $kendo-dropzone-note-spacing: null !default;
66
66
  /// The text color of the DropZone note.
67
67
  /// @group dropzone
68
- $kendo-dropzone-note-text: if($kendo-enable-color-system, k-color( subtle ) , $kendo-subtle-text) !default;
68
+ $kendo-dropzone-note-text: k-color(subtle) !default;
69
69
 
70
70
 
71
71
  @forward "@progress/kendo-theme-core/scss/components/dropzone/_variables.scss" with (
@@ -27,14 +27,14 @@ $kendo-editor-placeholder-opacity: $kendo-input-placeholder-opacity !default;
27
27
 
28
28
  /// The selected text color of the Editor.
29
29
  /// @group editor
30
- $kendo-editor-selected-text: $kendo-color-primary-contrast !default;
30
+ $kendo-editor-selected-text: k-color(on-primary) !default;
31
31
  /// The selected background color of the Editor.
32
32
  /// @group editor
33
- $kendo-editor-selected-bg: $kendo-color-primary !default;
33
+ $kendo-editor-selected-bg: k-color(primary) !default;
34
34
 
35
35
  /// The highlighted background color of the Editor.
36
36
  /// @group editor
37
- $kendo-editor-highlighted-bg: if($kendo-enable-color-system, k-color( primary-subtle ), color.mix( $kendo-color-primary, #ffffff, 20% )) !default;
37
+ $kendo-editor-highlighted-bg: k-color(primary-subtle) !default;
38
38
 
39
39
  /// The horizontal margin of the Editor's export tool icon.
40
40
  /// @group editor
@@ -74,6 +74,10 @@ $kendo-editor-filebrowser-tiles-padding-x: k-spacing(4) !default;
74
74
  /// @group editor
75
75
  $kendo-editor-filebrowser-tiles-padding-y: k-spacing(2) !default;
76
76
 
77
+ $kendo-editor-ct-cell-text: k-color(on-primary) !default;
78
+ $kendo-editor-ct-cell-bg: k-color(primary) !default;
79
+ $kendo-editor-ct-cell-border: k-color(primary) !default;
80
+
77
81
  /// The padding of the Editor content.
78
82
  /// @group editor
79
83
  $kendo-editor-content-padding: k-spacing(4) !default;
@@ -99,5 +103,8 @@ $kendo-editor-content-padding: k-spacing(4) !default;
99
103
  $kendo-editor-inline-padding-y: $kendo-editor-inline-padding-y,
100
104
  $kendo-editor-filebrowser-tiles-padding-x: $kendo-editor-filebrowser-tiles-padding-x,
101
105
  $kendo-editor-filebrowser-tiles-padding-y: $kendo-editor-filebrowser-tiles-padding-y,
102
- $kendo-editor-content-padding: $kendo-editor-content-padding
106
+ $kendo-editor-content-padding: $kendo-editor-content-padding,
107
+ $kendo-editor-ct-cell-text: $kendo-editor-ct-cell-text,
108
+ $kendo-editor-ct-cell-bg: $kendo-editor-ct-cell-bg,
109
+ $kendo-editor-ct-cell-border: $kendo-editor-ct-cell-border
103
110
  );
@@ -21,13 +21,13 @@ $kendo-expander-line-height: var( --kendo-line-height, normal ) !default;
21
21
 
22
22
  /// The text color of the ExpansionPanel.
23
23
  /// @group expander
24
- $kendo-expander-text: $kendo-component-text !default;
24
+ $kendo-expander-text: k-color(on-app-surface) !default;
25
25
  /// The background color of the ExpansionPanel.
26
26
  /// @group expander
27
- $kendo-expander-bg: $kendo-component-bg !default;
27
+ $kendo-expander-bg: k-color(app-surface) !default;
28
28
  /// The border color of the ExpansionPanel.
29
29
  /// @group expander
30
- $kendo-expander-border: $kendo-component-border !default;
30
+ $kendo-expander-border: k-color(border) !default;
31
31
 
32
32
  /// The box shadow of the focused ExpansionPanel.
33
33
  /// @group expander
@@ -62,11 +62,11 @@ $kendo-expander-header-focus-shadow: $kendo-list-item-focus-shadow !default;
62
62
 
63
63
  /// The text color of the ExpansionPanel title.
64
64
  /// @group expander
65
- $kendo-expander-title-text: $kendo-color-primary !default;
65
+ $kendo-expander-title-text: k-color(primary) !default;
66
66
 
67
67
  /// The text color of the ExpansionPanel sub-title.
68
68
  /// @group expander
69
- $kendo-expander-header-sub-title-text: if($kendo-enable-color-system, k-color( subtle ) , $kendo-subtle-text) !default;
69
+ $kendo-expander-header-sub-title-text: k-color(subtle) !default;
70
70
 
71
71
  /// The horizontal margin of the ExpansionPanel indicator.
72
72
  /// @group expander
@@ -13,7 +13,7 @@
13
13
  outline: $kendo-fab-border-width $kendo-fab-outline-style $color;
14
14
  outline-offset: -$kendo-fab-border-width;
15
15
  border-color: $color;
16
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
16
+ color: k-color(on-#{$name});
17
17
  background-color: $color;
18
18
  }
19
19
  }
@@ -22,9 +22,9 @@
22
22
  @each $name, $color in $kendo-fab-theme-colors {
23
23
  .k-fab-solid-#{$name}:hover,
24
24
  .k-fab-solid-#{$name}.k-hover {
25
- border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-color-darken( $color, 10% ));
26
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-color-darken( $color, 7.5% ) ));
27
- background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-color-darken( $color, 7.5% ));
25
+ border-color: k-color(#{$name}-hover);
26
+ color: k-color(on-#{$name});
27
+ background-color: k-color(#{$name}-hover);
28
28
  }
29
29
  }
30
30
 
@@ -32,7 +32,7 @@
32
32
  @each $name, $color in $kendo-fab-theme-colors {
33
33
  .k-fab-solid-#{$name}:focus,
34
34
  .k-fab-solid-#{$name}.k-focus {
35
- outline: $kendo-fab-outline-width $kendo-fab-outline-style if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 50%, transparent), rgba( $color, .5 ));
35
+ outline: $kendo-fab-outline-width $kendo-fab-outline-style color-mix(in srgb, k-color($name) 50%, transparent);
36
36
  }
37
37
  }
38
38
 
@@ -42,9 +42,9 @@
42
42
  .k-fab-solid-#{$name}.k-active,
43
43
  .k-fab-solid-#{$name}.k-selected {
44
44
  @include box-shadow( $kendo-fab-active-shadow );
45
- border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-color-darken( $color, 12.5% ));
46
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( k-color-darken( $color, 10% ) ));
47
- background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-color-darken( $color, 10% ));
45
+ border-color: k-color(#{$name}-active);
46
+ color: k-color(on-#{$name});
47
+ background-color: k-color(#{$name}-active);
48
48
  }
49
49
  }
50
50
 
@@ -53,8 +53,8 @@
53
53
  .k-fab-solid-#{$name}:disabled,
54
54
  .k-fab-solid-#{$name}.k-disabled {
55
55
  @include box-shadow( $kendo-fab-disabled-shadow );
56
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 65%, transparent), k-try-tint( $color, 4.5 ));
57
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-#{$name} ) 65%, transparent), k-try-tint( k-contrast-legacy( $color ), 5 ));
56
+ background-color: color-mix(in srgb, k-color($name) 65%, transparent);
57
+ color: color-mix(in srgb, k-color(on-#{$name}) 65%, transparent);
58
58
  opacity: 1;
59
59
  }
60
60
  }
@@ -83,11 +83,11 @@
83
83
  .k-fab-item:hover .k-fab-item-icon,
84
84
  .k-fab-item.k-hover .k-fab-item-icon {
85
85
  @include box-shadow( $kendo-fab-item-shadow );
86
- outline: $kendo-fab-border-width $kendo-fab-item-outline-style if($kendo-enable-color-system, k-color( base-hover ), k-try-darken( $kendo-fab-item-icon-border, 10% ));
86
+ outline: $kendo-fab-border-width $kendo-fab-item-outline-style k-color(base-hover);
87
87
  outline-offset: -$kendo-fab-border-width;
88
- border-color: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-fab-item-icon-border, 10% ));
89
- color: if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( k-color-darken( $kendo-fab-item-icon-bg, 7.5% ) ));
90
- background-color: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-fab-item-icon-bg, 7.5% ));
88
+ border-color: k-color(base-hover);
89
+ color: k-color(on-base);
90
+ background-color: k-color(base-hover);
91
91
  }
92
92
 
93
93
  // Focus state
@@ -95,18 +95,18 @@
95
95
  .k-fab-item.k-focus .k-fab-item-text,
96
96
  .k-fab-item:focus .k-fab-item-icon,
97
97
  .k-fab-item.k-focus .k-fab-item-icon {
98
- outline: $kendo-fab-item-outline-width $kendo-fab-item-outline-style if($kendo-enable-color-system, color-mix(in srgb, k-color( base ) 50%, transparent), rgba( $kendo-fab-item-icon-border, .5 ));
98
+ outline: $kendo-fab-item-outline-width $kendo-fab-item-outline-style color-mix(in srgb, k-color(base) 50%, transparent);
99
99
  }
100
100
 
101
101
  // Active state
102
102
  .k-fab-item:active .k-fab-item-icon,
103
103
  .k-fab-item.k-active .k-fab-item-icon {
104
104
  @include box-shadow( $kendo-fab-item-active-shadow );
105
- outline: $kendo-fab-border-width solid if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-fab-item-icon-border, 12.5% ));
105
+ outline: $kendo-fab-border-width solid k-color(base-active);
106
106
  outline-offset: -$kendo-fab-border-width;
107
- border-color: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-fab-item-icon-border, 12.5% ));
108
- color: if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( k-color-darken( $kendo-fab-item-icon-bg, 10% ) ));
109
- background-color: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-fab-item-icon-bg, 10% ));
107
+ border-color: k-color(base-active);
108
+ color: k-color(on-base);
109
+ background-color: k-color(base-active);
110
110
  }
111
111
 
112
112
  // Disabled state
@@ -117,8 +117,8 @@
117
117
  .k-fab-item-text,
118
118
  .k-fab-item-icon {
119
119
  @include box-shadow( $kendo-fab-item-disabled-shadow );
120
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( base ) 65%, transparent), k-try-tint( $kendo-fab-item-bg, 8 ));
121
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 65%, transparent), k-try-tint( $kendo-fab-item-text, 8 ));
120
+ background-color: color-mix(in srgb, k-color(base) 65%, transparent);
121
+ color: color-mix(in srgb, k-color(on-base) 65%, transparent);
122
122
  }
123
123
  }
124
124
 
@@ -98,7 +98,18 @@ $kendo-fab-item-icon-border-radius: 50% !default;
98
98
 
99
99
  /// The theme colors map for the FAB.
100
100
  /// @group floating-action-button
101
- $kendo-fab-theme-colors: $kendo-theme-colors !default;
101
+ $kendo-fab-theme-colors: (
102
+ "primary": k-color(primary),
103
+ "secondary": k-color(secondary),
104
+ "tertiary": k-color(tertiary),
105
+ "info": k-color(info),
106
+ "success": k-color(success),
107
+ "warning": k-color(warning),
108
+ "error": k-color(error),
109
+ "dark": k-color(dark),
110
+ "light": k-color(light),
111
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
112
+ ) !default;
102
113
 
103
114
  /// The size map for the FAB.
104
115
  /// @group floating-action-button
@@ -135,13 +146,13 @@ $kendo-fab-outline-width: 3px !default;
135
146
 
136
147
  /// The base text color of the FAB item.
137
148
  /// @group floating-action-button
138
- $kendo-fab-item-text: $kendo-component-text !default;
149
+ $kendo-fab-item-text: k-color(on-app-surface) !default;
139
150
  /// The base background color of the FAB item.
140
151
  /// @group floating-action-button
141
- $kendo-fab-item-bg: $kendo-component-bg !default;
152
+ $kendo-fab-item-bg: k-color(app-surface) !default;
142
153
  /// The base border color of the FAB item.
143
154
  /// @group floating-action-button
144
- $kendo-fab-item-border: $kendo-component-border !default;
155
+ $kendo-fab-item-border: k-color(border) !default;
145
156
 
146
157
  /// The base text color of the FAB item icon.
147
158
  /// @group floating-action-button
@@ -23,13 +23,13 @@ $kendo-file-manager-font-size: var( --kendo-font-size, inherit ) !default;
23
23
  $kendo-file-manager-line-height: var( --kendo-line-height, normal ) !default;
24
24
  /// The background color of the FileManager.
25
25
  /// @group file-manager
26
- $kendo-file-manager-bg: $kendo-component-bg !default;
26
+ $kendo-file-manager-bg: k-color(app-surface) !default;
27
27
  /// The text color of the FileManager.
28
28
  /// @group file-manager
29
- $kendo-file-manager-text: $kendo-component-text !default;
29
+ $kendo-file-manager-text: k-color(on-app-surface) !default;
30
30
  /// The border color of the FileManager.
31
31
  /// @group file-manager
32
- $kendo-file-manager-border: $kendo-component-border !default;
32
+ $kendo-file-manager-border: k-color(border) !default;
33
33
 
34
34
  /// The border width of the FileManager Toolbar.
35
35
  /// @group file-manager
@@ -125,7 +125,7 @@ $kendo-file-manager-listview-item-border: null !default;
125
125
  $kendo-file-manager-listview-item-icon-bg: null !default;
126
126
  /// The text color of the FileManager ListView item icon.
127
127
  /// @group file-manager
128
- $kendo-file-manager-listview-item-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-file-manager-text, 4 )) !default;
128
+ $kendo-file-manager-listview-item-icon-text: k-color(subtle) !default;
129
129
  /// The border color of the FileManager ListView item icon.
130
130
  /// @group file-manager
131
131
  $kendo-file-manager-listview-item-icon-border: null !default;
@@ -182,7 +182,7 @@ $kendo-file-manager-preview-border: null !default;
182
182
  $kendo-file-manager-preview-icon-bg: null !default;
183
183
  /// The text color of the FileManager preview icon.
184
184
  /// @group file-manager
185
- $kendo-file-manager-preview-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-file-manager-text, 4 )) !default;
185
+ $kendo-file-manager-preview-icon-text: k-color(subtle) !default;
186
186
  /// The border color of the FileManager preview icon.
187
187
  /// @group file-manager
188
188
  $kendo-file-manager-preview-icon-border: null !default;
@@ -22,14 +22,14 @@ $kendo-filter-operator-dropdown-width: 15em !default;
22
22
 
23
23
  /// The text color of the Filter preview field.
24
24
  /// @group filter
25
- $kendo-filter-preview-field-text: $kendo-color-primary !default;
25
+ $kendo-filter-preview-field-text: k-color(primary) !default;
26
26
  /// The text color of the Filter preview operator.
27
27
  /// @group filter
28
- $kendo-filter-preview-operator-text: if($kendo-enable-color-system, k-color( subtle ) , $kendo-subtle-text) !default;
28
+ $kendo-filter-preview-operator-text: k-color(subtle) !default;
29
29
 
30
30
  /// The box shadow of the focused Filter toolbar.
31
31
  /// @group filter
32
- $kendo-filter-toolbar-focus-shadow: 0 0 0 .25rem if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 25%, transparent), rgba( $kendo-color-primary, .25 )) !default;
32
+ $kendo-filter-toolbar-focus-shadow: 0 0 0 .25rem color-mix(in srgb, k-color(primary) 25%, transparent) !default;
33
33
 
34
34
 
35
35
  @forward "@progress/kendo-theme-core/scss/components/filter/_variables.scss" with (
@@ -46,7 +46,7 @@ $kendo-form-legend-border-width: 0 0 2px !default;
46
46
  $kendo-form-legend-border-style: solid !default;
47
47
  /// The border color of the Form legend.
48
48
  /// @group form
49
- $kendo-form-legend-border-color: $kendo-component-border !default;
49
+ $kendo-form-legend-border-color: k-color(border) !default;
50
50
  /// The width of the Form legend.
51
51
  /// @group form
52
52
  $kendo-form-legend-width: 100% !default;
@@ -122,7 +122,7 @@ $kendo-inline-form-field-padding-y: calc( #{k-spacing(2)} + #{$kendo-input-borde
122
122
 
123
123
  /// The invalid text color of the Form.
124
124
  /// @group form
125
- $kendo-forms-invalid-color: $kendo-color-error !default;
125
+ $kendo-forms-invalid-color: k-color(error) !default;
126
126
 
127
127
 
128
128
  /// The horizontal margin of the optional label in the Form.
@@ -21,13 +21,13 @@ $kendo-gantt-line-height: var( --kendo-line-height, normal ) !default;
21
21
 
22
22
  /// The background color of the Gantt.
23
23
  /// @group gantt
24
- $kendo-gantt-bg: $kendo-component-bg !default;
24
+ $kendo-gantt-bg: k-color(app-surface) !default;
25
25
  /// The text color of the Gantt.
26
26
  /// @group gantt
27
- $kendo-gantt-text: $kendo-component-text !default;
27
+ $kendo-gantt-text: k-color(on-app-surface) !default;
28
28
  /// The border color of the Gantt.
29
29
  /// @group gantt
30
- $kendo-gantt-border: $kendo-component-border !default;
30
+ $kendo-gantt-border: k-color(border) !default;
31
31
 
32
32
  /// The background color of the Gantt TreeList.
33
33
  /// @group gantt
@@ -41,7 +41,7 @@ $kendo-gantt-treelist-border: null !default;
41
41
 
42
42
  /// The background color of the Gantt non-working days.
43
43
  /// @group gantt
44
- $kendo-gantt-nonwork-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 3%, transparent), rgba( k-contrast-color( $kendo-gantt-bg ), .025 )) !default;
44
+ $kendo-gantt-nonwork-bg: color-mix(in srgb, k-color(on-base) 3%, transparent) !default;
45
45
  /// The text color of the Gantt non-working days.
46
46
  /// @group gantt
47
47
  $kendo-gantt-nonwork-text: null !default;
@@ -54,10 +54,10 @@ $kendo-gantt-nonwork-border: null !default;
54
54
  $kendo-gantt-line-size: 2px !default;
55
55
  /// The background fill color of the Gantt connecting lines.
56
56
  /// @group gantt
57
- $kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( on-base ), color.mix( $kendo-gantt-text, $kendo-gantt-bg )) !default;
57
+ $kendo-gantt-line-fill: k-color(on-base) !default;
58
58
  /// The background fill of the selected Gantt connecting lines.
59
59
  /// @group gantt
60
- $kendo-gantt-line-selected-fill: $kendo-selected-bg !default;
60
+ $kendo-gantt-line-selected-fill: k-color(primary) !default;
61
61
 
62
62
  /// The size of the Gantt task dot.
63
63
  /// @group gantt
@@ -80,29 +80,29 @@ $kendo-gantt-dot-hover-border: $kendo-gantt-text !default;
80
80
 
81
81
  /// The background color of the Gantt milestone.
82
82
  /// @group gantt
83
- $kendo-gantt-milestone-bg: if($kendo-enable-color-system, k-color( base ), if( k-is-light( $kendo-gantt-bg ), #dee2e6, #495057 )) !default;
83
+ $kendo-gantt-milestone-bg: k-color(base) !default;
84
84
  /// The border color of the Gantt milestone.
85
85
  /// @group gantt
86
- $kendo-gantt-milestone-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-gantt-milestone-bg, 2 )) !default;
86
+ $kendo-gantt-milestone-border: k-color(border-alt) !default;
87
87
  /// The background color of the selected Gantt milestone.
88
88
  /// @group gantt
89
- $kendo-gantt-milestone-selected-bg: $kendo-selected-bg !default;
89
+ $kendo-gantt-milestone-selected-bg: k-color(primary) !default;
90
90
  /// The border color of the selected Gantt milestone.
91
91
  /// @group gantt
92
- $kendo-gantt-milestone-selected-border: $kendo-selected-border !default;
92
+ $kendo-gantt-milestone-selected-border: k-color(primary) !default;
93
93
 
94
94
  /// The background color of the Gantt summary.
95
95
  /// @group gantt
96
- $kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), color.mix( $kendo-gantt-text, $kendo-gantt-bg )) !default;
96
+ $kendo-gantt-summary-bg: k-color(subtle) !default;
97
97
  /// The background color of the Gantt summary progress.
98
98
  /// @group gantt
99
99
  $kendo-gantt-summary-progress-bg: $kendo-gantt-text !default;
100
100
  /// The background color of the selected Gantt summary.
101
101
  /// @group gantt
102
- $kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), color.mix( $kendo-selected-bg, $kendo-gantt-bg )) !default;
102
+ $kendo-gantt-summary-selected-bg: k-color(primary-subtle-active) !default;
103
103
  /// The background color of the selected Gantt summary progress.
104
104
  /// @group gantt
105
- $kendo-gantt-summary-progress-selected-bg: $kendo-selected-bg !default;
105
+ $kendo-gantt-summary-progress-selected-bg: k-color(primary) !default;
106
106
 
107
107
  /// The horizontal padding of the Gantt task.
108
108
  /// @group gantt
@@ -115,28 +115,28 @@ $kendo-gantt-task-padding-y: k-spacing(1) !default;
115
115
  $kendo-gantt-task-border-width: 1px !default;
116
116
  /// The background color of the Gantt task.
117
117
  /// @group gantt
118
- $kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( base ), if( k-is-light( $kendo-gantt-bg ), #dee2e6, #495057 )) !default;
118
+ $kendo-gantt-task-bg: k-color(base) !default;
119
119
  /// The text color of the Gantt task.
120
120
  /// @group gantt
121
- $kendo-gantt-task-text: if($kendo-enable-color-system, k-color( on-base ), k-contrast-color( $kendo-gantt-task-bg )) !default;
121
+ $kendo-gantt-task-text: k-color(on-base) !default;
122
122
  /// The border color of the Gantt task.
123
123
  /// @group gantt
124
- $kendo-gantt-task-border: if($kendo-enable-color-system, k-color( border-alt ), if( k-is-light( $kendo-gantt-bg ), #ced4da, #6c757d )) !default;
124
+ $kendo-gantt-task-border: k-color(border-alt) !default;
125
125
  /// The background color of the Gantt task progress.
126
126
  /// @group gantt
127
- $kendo-gantt-task-progress-bg: if($kendo-enable-color-system, k-color( border-alt ), if( k-is-light( $kendo-gantt-bg ), #ced4da, #6c757d )) !default;
127
+ $kendo-gantt-task-progress-bg: k-color(border-alt) !default;
128
128
  /// The background color of selected the Gantt task.
129
129
  /// @group gantt
130
- $kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), color.mix( $kendo-selected-bg, $kendo-gantt-bg )) !default;
130
+ $kendo-gantt-task-selected-bg: k-color(primary-subtle-active) !default;
131
131
  /// The text color of the selected Gantt task.
132
132
  /// @group gantt
133
- $kendo-gantt-task-selected-text: $kendo-selected-text !default;
133
+ $kendo-gantt-task-selected-text: k-color(on-primary) !default;
134
134
  /// The border color of the selected Gantt task.
135
135
  /// @group gantt
136
- $kendo-gantt-task-selected-border: $kendo-selected-bg !default;
136
+ $kendo-gantt-task-selected-border: k-color(primary) !default;
137
137
  /// The background color of the selected Gantt task progress.
138
138
  /// @group gantt
139
- $kendo-gantt-task-progress-selected-bg: $kendo-selected-bg !default;
139
+ $kendo-gantt-task-progress-selected-bg: k-color(primary) !default;
140
140
 
141
141
  /// The padding of the Gantt task actions.
142
142
  /// @group gantt
@@ -204,24 +204,24 @@ $kendo-gantt-planned-offset-resize-handler-margin-x: 1.2em !default;
204
204
 
205
205
  /// The background color of the Gantt planned Tooltip.
206
206
  /// @group gantt
207
- $kendo-gantt-planned-bg: $kendo-color-primary !default;
207
+ $kendo-gantt-planned-bg: k-color(primary) !default;
208
208
  /// The border color of the Gantt planned Tooltip.
209
209
  /// @group gantt
210
210
  $kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
211
211
 
212
212
  /// The background color of the Gantt delayed task.
213
213
  /// @group gantt
214
- $kendo-gantt-delayed-bg: $kendo-color-error !default;
214
+ $kendo-gantt-delayed-bg: k-color(error) !default;
215
215
  /// The complement background color of the Gantt delayed task.
216
216
  /// @group gantt
217
- $kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint( $kendo-gantt-delayed-bg, 5 )) !default;
217
+ $kendo-gantt-delayed-bg-lighter: k-color(error-emphasis) !default;
218
218
 
219
219
  /// The background color of the Gantt advanced task.
220
220
  /// @group gantt
221
- $kendo-gantt-advanced-bg: $kendo-color-success !default;
221
+ $kendo-gantt-advanced-bg: k-color(success) !default;
222
222
  /// The complement background color of the Gantt advanced task.
223
223
  /// @group gantt
224
- $kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint( $kendo-gantt-advanced-bg, 5 )) !default;
224
+ $kendo-gantt-advanced-bg-lighter: k-color(success-emphasis) !default;
225
225
 
226
226
  /// The text color of the Gantt delayed task action.
227
227
  /// @group gantt
@@ -241,10 +241,10 @@ $kendo-gantt-validation-tooltip-label-width: 50px !default;
241
241
  $kendo-gantt-validation-tooltip-border: #656565 !default;
242
242
  /// The border color of the valid Gantt validation Tooltip.
243
243
  /// @group gantt
244
- $kendo-gantt-validation-tooltip-valid-border: $kendo-color-success !default;
244
+ $kendo-gantt-validation-tooltip-valid-border: k-color(success) !default;
245
245
  /// The border color of the invalid Gantt validation Tooltip.
246
246
  /// @group gantt
247
- $kendo-gantt-validation-tooltip-invalid-border: $kendo-color-error !default;
247
+ $kendo-gantt-validation-tooltip-invalid-border: k-color(error) !default;
248
248
  /// The horizontal padding of the Gantt task Tooltip.
249
249
  /// @group gantt
250
250
  $kendo-gantt-task-tooltip-padding-x: k-spacing(4) !default;