@progress/kendo-theme-fluent 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/fluent-main-dark.css +1 -1
  3. package/dist/fluent-main-dark.scss +1 -1
  4. package/dist/fluent-main.css +1 -1
  5. package/dist/fluent-main.scss +1 -5
  6. package/dist/meta/sassdoc-data.json +2688 -2688
  7. package/dist/meta/sassdoc-raw-data.json +860 -860
  8. package/dist/meta/variables.json +540 -985
  9. package/lib/swatches/all.json +2 -13
  10. package/lib/swatches/fluent-main-dark.json +1 -12
  11. package/lib/swatches/fluent-main.json +2 -14
  12. package/package.json +4 -4
  13. package/scss/action-sheet/_variables.scss +12 -12
  14. package/scss/adaptive/_theme.scss +3 -3
  15. package/scss/adaptive/_variables.scss +13 -13
  16. package/scss/appbar/_variables.scss +10 -10
  17. package/scss/avatar/_variables.scss +11 -11
  18. package/scss/badge/_layout.scss +1 -1
  19. package/scss/badge/_variables.scss +14 -14
  20. package/scss/bottom-navigation/_variables.scss +35 -35
  21. package/scss/breadcrumb/_variables.scss +13 -13
  22. package/scss/button/_layout.scss +1 -1
  23. package/scss/button/_variables.scss +172 -172
  24. package/scss/calendar/_theme.scss +3 -3
  25. package/scss/calendar/_variables.scss +27 -27
  26. package/scss/captcha/_variables.scss +3 -3
  27. package/scss/card/_layout.scss +0 -1
  28. package/scss/card/_theme.scss +4 -0
  29. package/scss/card/_variables.scss +7 -7
  30. package/scss/chart-wizard/_variables.scss +4 -4
  31. package/scss/chat/_variables.scss +15 -15
  32. package/scss/checkbox/_variables.scss +22 -22
  33. package/scss/chip/_variables.scss +48 -48
  34. package/scss/color-preview/_theme.scss +1 -1
  35. package/scss/color-preview/_variables.scss +4 -4
  36. package/scss/coloreditor/_variables.scss +4 -4
  37. package/scss/colorgradient/_variables.scss +12 -12
  38. package/scss/colorpalette/_variables.scss +4 -4
  39. package/scss/core/_index.scss +8 -5
  40. package/scss/core/color-system/_index.scss +0 -1
  41. package/scss/core/color-system/_swatch.scss +0 -4
  42. package/scss/dataviz/_layout.scss +8 -8
  43. package/scss/dataviz/_theme.scss +3 -3
  44. package/scss/dataviz/_variables.scss +56 -56
  45. package/scss/daterangepicker/_theme.scss +1 -1
  46. package/scss/dialog/_variables.scss +8 -8
  47. package/scss/dock-manager/_variables.scss +10 -10
  48. package/scss/draggable/_variables.scss +4 -4
  49. package/scss/drawer/_variables.scss +16 -16
  50. package/scss/dropzone/_variables.scss +6 -6
  51. package/scss/editor/_theme.scss +2 -2
  52. package/scss/editor/_variables.scss +15 -15
  53. package/scss/expansion-panel/_variables.scss +14 -14
  54. package/scss/fab/_theme.scss +3 -3
  55. package/scss/fab/_variables.scss +12 -12
  56. package/scss/filemanager/_variables.scss +5 -5
  57. package/scss/filter/_variables.scss +5 -5
  58. package/scss/floating-label/_variables.scss +1 -1
  59. package/scss/forms/_theme.scss +2 -2
  60. package/scss/forms/_variables.scss +4 -4
  61. package/scss/gantt/_theme.scss +3 -3
  62. package/scss/gantt/_variables.scss +36 -36
  63. package/scss/grid/_layout.scss +1 -1
  64. package/scss/grid/_theme.scss +13 -43
  65. package/scss/grid/_variables.scss +20 -20
  66. package/scss/imageeditor/_variables.scss +6 -6
  67. package/scss/index.scss +3 -3
  68. package/scss/input/_theme.scss +3 -5
  69. package/scss/input/_variables.scss +74 -80
  70. package/scss/list/_variables.scss +23 -23
  71. package/scss/listbox/_variables.scss +4 -4
  72. package/scss/listgroup/_variables.scss +3 -3
  73. package/scss/listview/_variables.scss +4 -4
  74. package/scss/loader/_variables.scss +9 -9
  75. package/scss/map/_variables.scss +8 -8
  76. package/scss/marquee/_index.scss +16 -0
  77. package/scss/marquee/_layout.scss +6 -0
  78. package/scss/marquee/_theme.scss +6 -0
  79. package/scss/marquee/_variables.scss +11 -0
  80. package/scss/mediaplayer/_variables.scss +6 -6
  81. package/scss/menu/_theme.scss +1 -1
  82. package/scss/menu/_variables.scss +11 -11
  83. package/scss/messagebox/_theme.scss +1 -1
  84. package/scss/messagebox/_variables.scss +30 -2
  85. package/scss/no-data/_variables.scss +1 -1
  86. package/scss/notification/_variables.scss +10 -10
  87. package/scss/orgchart/_variables.scss +8 -8
  88. package/scss/pager/_variables.scss +6 -6
  89. package/scss/panel/_layout.scss +3 -3
  90. package/scss/panel/_variables.scss +3 -3
  91. package/scss/panelbar/_variables.scss +12 -12
  92. package/scss/pdf-viewer/_variables.scss +16 -16
  93. package/scss/pivotgrid/_theme.scss +4 -4
  94. package/scss/pivotgrid/_variables.scss +22 -22
  95. package/scss/popover/_variables.scss +3 -3
  96. package/scss/popup/_variables.scss +3 -3
  97. package/scss/progressbar/_variables.scss +13 -13
  98. package/scss/prompt/_variables.scss +12 -12
  99. package/scss/radio/_variables.scss +13 -13
  100. package/scss/rating/_theme.scss +2 -2
  101. package/scss/rating/_variables.scss +4 -4
  102. package/scss/scheduler/_theme.scss +5 -5
  103. package/scss/scheduler/_variables.scss +17 -17
  104. package/scss/scrollview/_variables.scss +11 -11
  105. package/scss/searchbox/_variables.scss +1 -1
  106. package/scss/signature/_variables.scss +2 -2
  107. package/scss/skeleton/_variables.scss +2 -2
  108. package/scss/slider/_variables.scss +12 -12
  109. package/scss/split-button/_variables.scss +1 -1
  110. package/scss/splitter/_variables.scss +8 -8
  111. package/scss/spreadsheet/_variables.scss +29 -29
  112. package/scss/stepper/_theme.scss +29 -53
  113. package/scss/stepper/_variables.scss +20 -20
  114. package/scss/switch/_variables.scss +32 -32
  115. package/scss/table/_theme.scss +7 -18
  116. package/scss/table/_variables.scss +8 -8
  117. package/scss/tabstrip/_variables.scss +16 -16
  118. package/scss/taskboard/_theme.scss +4 -4
  119. package/scss/taskboard/_variables.scss +13 -13
  120. package/scss/tilelayout/_variables.scss +2 -2
  121. package/scss/timeline/_variables.scss +14 -14
  122. package/scss/timeselector/_theme.scss +3 -3
  123. package/scss/timeselector/_variables.scss +4 -4
  124. package/scss/toolbar/_layout.scss +6 -0
  125. package/scss/toolbar/_variables.scss +7 -7
  126. package/scss/tooltip/_variables.scss +10 -10
  127. package/scss/treeview/_variables.scss +11 -11
  128. package/scss/typography/_layout.scss +2 -2
  129. package/scss/typography/_theme.scss +2 -2
  130. package/scss/typography/_variables.scss +3 -3
  131. package/scss/upload/_theme.scss +2 -2
  132. package/scss/upload/_variables.scss +14 -14
  133. package/scss/window/_variables.scss +11 -11
  134. package/scss/wizard/_variables.scss +3 -3
  135. package/scss/core/color-system/_swatch-legacy.scss +0 -165
@@ -3,7 +3,7 @@
3
3
  "name": "All",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "10.6.0",
6
+ "version": "11.0.0-dev.0",
7
7
  "api": "modern",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -13,16 +13,5 @@
13
13
  "#424242"
14
14
  ],
15
15
  "components": [],
16
- "groups": [
17
- {
18
- "name": "New color system",
19
- "colorSystem": {
20
- "kendo-enable-color-system": {
21
- "name": "New color system",
22
- "type": "boolean",
23
- "value": true
24
- }
25
- }
26
- }
27
- ]
16
+ "groups": []
28
17
  }
@@ -3,8 +3,7 @@
3
3
  "name": "Fluent Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "10.6.0",
7
- "api": "modern",
6
+ "version": "11.0.0-dev.0",
8
7
  "previewColors": [
9
8
  "#1b1a19",
10
9
  "#21201f",
@@ -14,16 +13,6 @@
14
13
  ],
15
14
  "components": [],
16
15
  "groups": [
17
- {
18
- "name": "New color system",
19
- "colorSystem": {
20
- "kendo-enable-color-system": {
21
- "name": "New color system",
22
- "type": "boolean",
23
- "value": true
24
- }
25
- }
26
- },
27
16
  {
28
17
  "name": "New theme colors",
29
18
  "colorsMap": {
@@ -3,8 +3,7 @@
3
3
  "name": "Fluent Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "10.6.0",
7
- "api": "modern",
6
+ "version": "11.0.0-dev.0",
8
7
  "previewColors": [
9
8
  "#ffffff",
10
9
  "#faf9f8",
@@ -13,16 +12,5 @@
13
12
  "#323130"
14
13
  ],
15
14
  "components": [],
16
- "groups": [
17
- {
18
- "name": "New color system",
19
- "colorSystem": {
20
- "kendo-enable-color-system": {
21
- "name": "New color system",
22
- "type": "boolean",
23
- "value": true
24
- }
25
- }
26
- }
27
- ]
15
+ "groups": []
28
16
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-fluent",
3
3
  "description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
4
- "version": "10.6.0",
4
+ "version": "11.0.0-dev.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -54,12 +54,12 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@progress/kendo-svg-icons": "^4.1.0",
57
- "@progress/kendo-theme-core": "10.6.0",
58
- "@progress/kendo-theme-utils": "10.6.0"
57
+ "@progress/kendo-theme-core": "11.0.0-dev.0",
58
+ "@progress/kendo-theme-utils": "11.0.0-dev.0"
59
59
  },
60
60
  "directories": {
61
61
  "doc": "docs",
62
62
  "lib": "lib"
63
63
  },
64
- "gitHead": "61de20186b040b6e1ac5affab2bac1ef961b6a52"
64
+ "gitHead": "b83fa9575266e751edf9317822154d05a4fc566a"
65
65
  }
@@ -39,13 +39,13 @@ $kendo-actionsheet-line-height: var( --kendo-line-height, inherit ) !default;
39
39
 
40
40
  /// Background color of the action sheet.
41
41
  /// @group action-sheet
42
- $kendo-actionsheet-bg: var( --kendo-component-bg, initial ) !default;
42
+ $kendo-actionsheet-bg: k-color(surface-alt) !default;
43
43
  /// Text color of the action sheet.
44
44
  /// @group action-sheet
45
- $kendo-actionsheet-text: var( --kendo-component-text, initial ) !default;
45
+ $kendo-actionsheet-text: k-color(on-app-surface) !default;
46
46
  /// Border color of the action sheet.
47
47
  /// @group action-sheet
48
- $kendo-actionsheet-border: var( --kendo-component-border, initial ) !default;
48
+ $kendo-actionsheet-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
49
49
  /// Box shadow of the action sheet.
50
50
  /// @group action-sheet
51
51
  $kendo-actionsheet-shadow: var( --kendo-box-shadow-depth-7, none ) !default;
@@ -81,7 +81,7 @@ $kendo-actionsheet-header-bg: inherit !default;
81
81
  $kendo-actionsheet-header-text: inherit !default;
82
82
  /// Border color of the action sheet header.
83
83
  /// @group action-sheet
84
- $kendo-actionsheet-header-border: var( --kendo-component-border, initial ) !default;
84
+ $kendo-actionsheet-header-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
85
85
  /// Box shadow of the action sheet header.
86
86
  /// @group action-sheet
87
87
  $kendo-actionsheet-header-shadow: none !default;
@@ -94,7 +94,7 @@ $kendo-actionsheet-subtitle-font-size: var( --kendo-font-size-sm, inherit ) !def
94
94
  $kendo-actionsheet-subtitle-line-height: var( --kendo-line-height-sm, inherit ) !default;
95
95
  /// Text color of the action sheet subtitle.
96
96
  /// @group action-sheet
97
- $kendo-actionsheet-subtitle-text: var( --kendo-subtle-text, inherit ) !default;
97
+ $kendo-actionsheet-subtitle-text: k-color(subtle) !default;
98
98
 
99
99
  /// Border width of the action sheet footer.
100
100
  /// @group action-sheet
@@ -108,7 +108,7 @@ $kendo-actionsheet-footer-bg: null !default;
108
108
  $kendo-actionsheet-footer-text: null !default;
109
109
  /// Border color of the action sheet footer.
110
110
  /// @group action-sheet
111
- $kendo-actionsheet-footer-border: var( --kendo-component-border, initial ) !default;
111
+ $kendo-actionsheet-footer-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
112
112
  /// Box shadow of the action sheet footer.
113
113
  /// @group action-sheet
114
114
  $kendo-actionsheet-footer-shadow: null !default;
@@ -131,7 +131,7 @@ $kendo-actionsheet-item-spacing: k-spacing(2) !default;
131
131
 
132
132
  /// Color of the action sheet item icon.
133
133
  /// @group action-sheet
134
- $kendo-actionsheet-item-icon-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-110 )) !default;
134
+ $kendo-actionsheet-item-icon-color: k-color(primary) !default;
135
135
 
136
136
  /// Font weight of the action sheet item text.
137
137
  /// @group action-sheet
@@ -145,14 +145,14 @@ $kendo-actionsheet-item-title-text-transform: none !default;
145
145
  $kendo-actionsheet-item-description-font-size: var( --kendo-font-size-sm, inherit ) !default;
146
146
  /// Color of the action sheet item description.
147
147
  /// @group action-sheet
148
- $kendo-actionsheet-item-description-text: var( --kendo-subtle-text, inherit ) !default;
148
+ $kendo-actionsheet-item-description-text: k-color(subtle) !default;
149
149
 
150
150
  /// Hover background color of the action sheet item.
151
151
  /// @group action-sheet
152
- $kendo-actionsheet-item-hover-bg: var( --kendo-hover-bg, inherit ) !default;
152
+ $kendo-actionsheet-item-hover-bg: k-color(base-hover) !default;
153
153
  /// Hover text color of the action sheet item.
154
154
  /// @group action-sheet
155
- $kendo-actionsheet-item-hover-text: var( --kendo-hover-text, inherit ) !default;
155
+ $kendo-actionsheet-item-hover-text: k-color(on-base) !default;
156
156
  /// Hover border color of the action sheet item.
157
157
  /// @group action-sheet
158
158
  $kendo-actionsheet-item-hover-border: inherit !default;
@@ -188,10 +188,10 @@ $kendo-actionsheet-item-focus-hover-border: $kendo-actionsheet-item-hover-border
188
188
  $kendo-actionsheet-item-disabled-bg: $kendo-actionsheet-bg !default;
189
189
  /// Disabled text color of the action sheet item.
190
190
  /// @group action-sheet
191
- $kendo-actionsheet-item-disabled-text: var( --kendo-disabled-text, inherit ) !default;
191
+ $kendo-actionsheet-item-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
192
192
  /// Disabled border color of the action sheet item.
193
193
  /// @group action-sheet
194
- $kendo-actionsheet-item-disabled-border: var( --kendo-disabled-border, inherit ) !default;
194
+ $kendo-actionsheet-item-disabled-border: transparent !default;
195
195
 
196
196
 
197
197
  // Adaptive Actionsheet
@@ -20,11 +20,11 @@
20
20
 
21
21
  .k-grid-mobile {
22
22
  .k-column-active + th.k-header {
23
- border-left-color: var( --kendo-component-bg, inherit );
23
+ border-left-color: k-color(surface-alt);
24
24
  }
25
25
 
26
26
  .k-resize-handle-inner::before {
27
- background-color: var( --kendo-component-bg, inherit );
27
+ background-color: k-color(surface-alt);
28
28
  }
29
29
  }
30
30
 
@@ -67,7 +67,7 @@
67
67
  .k-scheduler-edit-form {
68
68
  .k-item,
69
69
  .k-link {
70
- color: var( --kendo-component-text, inherit );
70
+ color: k-color(on-app-surface);
71
71
  }
72
72
 
73
73
  .k-clear,
@@ -2,20 +2,20 @@
2
2
 
3
3
 
4
4
  // Adaptive
5
- $kendo-adaptive-bg: var( --kendo-component-bg, inherit ) !default;
6
- $kendo-adaptive-text: var( --kendo-component-text, inherit ) !default;
7
- $kendo-adaptive-border: var( --kendo-component-border, inherit ) !default;
5
+ $kendo-adaptive-bg: k-color(surface-alt) !default;
6
+ $kendo-adaptive-text: k-color(on-app-surface) !default;
7
+ $kendo-adaptive-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
8
8
 
9
- $kendo-adaptive-content-bg: var( --kendo-component-bg, inherit ) !default;
10
- $kendo-adaptive-content-text: var( --kendo-component-text, inherit ) !default;
9
+ $kendo-adaptive-content-bg: k-color(surface-alt) !default;
10
+ $kendo-adaptive-content-text: k-color(on-app-surface) !default;
11
11
 
12
- $kendo-adaptive-menu-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
13
- $kendo-adaptive-menu-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
12
+ $kendo-adaptive-menu-bg: k-color(primary) !default;
13
+ $kendo-adaptive-menu-text: k-color(app-surface) !default;
14
14
 
15
- $kendo-adaptive-menu-clear-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
15
+ $kendo-adaptive-menu-clear-text: k-color(primary) !default;
16
16
 
17
- $kendo-adaptive-menu-item-border: var( --kendo-component-border, inherit ) !default;
18
- $kendo-adaptive-menu-title-text: var( --kendo-component-text, inherit ) !default;
17
+ $kendo-adaptive-menu-item-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
18
+ $kendo-adaptive-menu-title-text: k-color(on-app-surface) !default;
19
19
 
20
20
  $kendo-adaptive-border-width: 1px !default;
21
21
  $kendo-adaptive-font-family: var( --kendo-font-family, inherit ) !default;
@@ -24,10 +24,10 @@ $kendo-adaptive-line-height: var( --kendo-line-height, normal ) !default;
24
24
 
25
25
 
26
26
  // Adaptive Grid
27
- $kendo-adaptive-grid-sort-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
27
+ $kendo-adaptive-grid-sort-text: k-color(primary) !default;
28
28
 
29
29
 
30
30
  // Adaptive Scheduler
31
- $kendo-adaptive-scheduler-current-text: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
31
+ $kendo-adaptive-scheduler-current-text: k-color(primary) !default;
32
32
  $kendo-adaptive-scheduler-base-text: inherit !default;
33
- $kendo-adaptive-scheduler-subtle-text: var( --kendo-subtle-text, inherit ) !default;
33
+ $kendo-adaptive-scheduler-subtle-text: k-color(subtle) !default;
@@ -35,13 +35,13 @@ $kendo-appbar-spacing: k-spacing(2) !default;
35
35
 
36
36
  /// The text color of the AppBar.
37
37
  /// @group appbar
38
- $kendo-appbar-text: var( --kendo-component-text, initial ) !default;
38
+ $kendo-appbar-text: k-color(on-app-surface) !default;
39
39
  /// The background color of the AppBar.
40
40
  /// @group appbar
41
- $kendo-appbar-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
41
+ $kendo-appbar-bg: k-color(surface) !default;
42
42
  /// The border color of the AppBar.
43
43
  /// @group appbar
44
- $kendo-appbar-border: var( --kendo-component-border, initial ) !default;
44
+ $kendo-appbar-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
45
45
 
46
46
  /// The theme variations for the AppBar.
47
47
  /// @group appbar
@@ -50,25 +50,25 @@ $kendo-appbar-brand-colors: (
50
50
  error: error,
51
51
  success: success,
52
52
  info: info,
53
- secondary: if($kendo-enable-color-system, secondary, neutral),
53
+ secondary: secondary,
54
54
  tertiary: tertiary,
55
55
  ) !default;
56
56
 
57
57
  // Matrix with appbar theme colors in the order: bg, color, border
58
58
  $_tc-appbar-matrix: (
59
- (normal: if($kendo-enable-color-system, (color, on-color, color), (100, $kendo-color-white, 100))),
59
+ (normal: (color, on-color, color)),
60
60
  ) !default;
61
61
 
62
62
  $_tc-appbar-warning-matrix: (
63
- (normal: if($kendo-enable-color-system, (color, on-color, color), (100, k-get-theme-color-var( neutral-160 ), 100))),
63
+ (normal: (color, on-color, color)),
64
64
  ) !default;
65
65
 
66
66
  $_tc-appbar-dark-matrix: (
67
- (normal: if($kendo-enable-color-system, (color, on-color, color), (160, $kendo-color-white, 160))),
67
+ (normal: (color, on-color, color)),
68
68
  ) !default;
69
69
 
70
70
  $_tc-appbar-light-matrix: (
71
- (normal: if($kendo-enable-color-system, (color, on-color, color), (50, 160, 50))),
71
+ (normal: (color, on-color, color)),
72
72
  ) !default;
73
73
 
74
74
  /// The theme colors map for the AppBar variations.
@@ -94,13 +94,13 @@ $kendo-appbar-theme-colors: () !default;
94
94
  @each $ui-states in $_tc-appbar-dark-matrix {
95
95
  $kendo-appbar-theme-colors: map.deep-merge(
96
96
  $kendo-appbar-theme-colors,
97
- k-generate-theme-variation( dark, if($kendo-enable-color-system, dark, neutral), $ui-states )
97
+ k-generate-theme-variation( dark, dark, $ui-states )
98
98
  );
99
99
  }
100
100
 
101
101
  @each $ui-states in $_tc-appbar-light-matrix {
102
102
  $kendo-appbar-theme-colors: map.deep-merge(
103
103
  $kendo-appbar-theme-colors,
104
- k-generate-theme-variation( light, if($kendo-enable-color-system, light, neutral), $ui-states )
104
+ k-generate-theme-variation( light, light, $ui-states )
105
105
  );
106
106
  }
@@ -30,44 +30,44 @@ $kendo-avatar-brand-colors: (
30
30
  error: error,
31
31
  success: success,
32
32
  info: info,
33
- secondary: if($kendo-enable-color-system, secondary, neutral),
33
+ secondary: secondary,
34
34
  tertiary: tertiary,
35
35
  ) !default;
36
36
 
37
37
  // Matrices with Avatar theme colors in the order: bg, color, border
38
38
  $_tc-avatar-matrix: (
39
39
  solid: (
40
- normal: if($kendo-enable-color-system, (color, on-color, color), (100, $kendo-color-white, 100))
40
+ normal: (color, on-color, color)
41
41
  ),
42
42
  outline: (
43
- normal: if($kendo-enable-color-system, (on-color, color, color), ($kendo-color-white, 100, 100))
43
+ normal: (on-color, color, color)
44
44
  )
45
45
  ) !default;
46
46
 
47
47
  $_tc-avatar-warning-matrix: (
48
48
  solid: (
49
- normal: if($kendo-enable-color-system, (color, on-color, color), (100, k-get-theme-color-var( neutral-160 ), 100))
49
+ normal: (color, on-color, color)
50
50
  ),
51
51
  outline: (
52
- normal: if($kendo-enable-color-system, (app-surface, color, color), ($kendo-color-white, 100, 100))
52
+ normal: (app-surface, color, color)
53
53
  )
54
54
  ) !default;
55
55
 
56
56
  $_tc-avatar-dark-matrix: (
57
57
  solid: (
58
- normal: if($kendo-enable-color-system, (color, on-color, color), (160, $kendo-color-white, 160))
58
+ normal: (color, on-color, color)
59
59
  ),
60
60
  outline: (
61
- normal: if($kendo-enable-color-system, (on-color, color, color), ($kendo-color-white, 160, 160))
61
+ normal: (on-color, color, color)
62
62
  )
63
63
  ) !default;
64
64
 
65
65
  $_tc-avatar-light-matrix: (
66
66
  solid: (
67
- normal: if($kendo-enable-color-system, (color, on-color, color), (50, $kendo-color-white, 50))
67
+ normal: (color, on-color, color)
68
68
  ),
69
69
  outline: (
70
- normal: if($kendo-enable-color-system, (app-surface, color, color), ($kendo-color-white, 50, 50))
70
+ normal: (app-surface, color, color)
71
71
  )
72
72
  ) !default;
73
73
 
@@ -94,13 +94,13 @@ $kendo-avatar-theme-colors: () !default;
94
94
  @each $fill-mode, $ui-states in $_tc-avatar-dark-matrix {
95
95
  $kendo-avatar-theme-colors: map.deep-merge(
96
96
  $kendo-avatar-theme-colors,
97
- k-generate-fill-mode-theme-variation( $fill-mode, dark, if($kendo-enable-color-system, dark, neutral), $ui-states )
97
+ k-generate-fill-mode-theme-variation( $fill-mode, dark, dark, $ui-states )
98
98
  );
99
99
  }
100
100
 
101
101
  @each $fill-mode, $ui-states in $_tc-avatar-light-matrix {
102
102
  $kendo-avatar-theme-colors: map.deep-merge(
103
103
  $kendo-avatar-theme-colors,
104
- k-generate-fill-mode-theme-variation( $fill-mode, light, if($kendo-enable-color-system, light, neutral), $ui-states )
104
+ k-generate-fill-mode-theme-variation( $fill-mode, light, light, $ui-states )
105
105
  );
106
106
  }
@@ -149,7 +149,7 @@
149
149
 
150
150
  // Border cutout
151
151
  .k-badge-border-cutout {
152
- box-shadow: 0 0 0 2px var( --kendo-component-bg, inherit );
152
+ box-shadow: 0 0 0 2px k-color(surface-alt);
153
153
  }
154
154
 
155
155
  }
@@ -3,13 +3,13 @@
3
3
 
4
4
  /// The background color of the Badge.
5
5
  /// @group badge
6
- $kendo-badge-bg: var( --kendo-component-bg, initial ) !default;
6
+ $kendo-badge-bg: k-color(surface-alt) !default;
7
7
  /// The text color of the Badge.
8
8
  /// @group badge
9
- $kendo-badge-text: var( --kendo-component-text, initial ) !default;
9
+ $kendo-badge-text: k-color(on-app-surface) !default;
10
10
  /// The border color of the Badge.
11
11
  /// @group badge
12
- $kendo-badge-border: var( --kendo-component-border, initial ) !default;
12
+ $kendo-badge-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
13
13
 
14
14
  /// The border width of the Badge.
15
15
  /// @group badge
@@ -104,44 +104,44 @@ $kendo-badge-brand-colors: (
104
104
  error: error,
105
105
  success: success,
106
106
  info: info,
107
- secondary: if($kendo-enable-color-system, secondary, neutral),
107
+ secondary: secondary,
108
108
  tertiary: tertiary,
109
109
  ) !default;
110
110
 
111
111
  // Matrices with Badge theme colors in the order: bg, color, border
112
112
  $_tc-badge-matrix: (
113
113
  solid: (
114
- normal: if($kendo-enable-color-system, (color, on-color, color), (100, $kendo-color-white, 100))
114
+ normal: (color, on-color, color)
115
115
  ),
116
116
  outline: (
117
- normal: if($kendo-enable-color-system, (transparent, color, color), ($kendo-color-white, 100, 100))
117
+ normal: (transparent, color, color)
118
118
  )
119
119
  ) !default;
120
120
 
121
121
  $_tc-badge-warning-matrix: (
122
122
  solid: (
123
- normal: if($kendo-enable-color-system, (color, on-color, color), (100, k-get-theme-color-var( neutral-160 ), 100))
123
+ normal: (color, on-color, color)
124
124
  ),
125
125
  outline: (
126
- normal: if($kendo-enable-color-system, (transparent, color, color), ($kendo-color-white, 100, 100))
126
+ normal: (transparent, color, color)
127
127
  )
128
128
  ) !default;
129
129
 
130
130
  $_tc-badge-dark-matrix: (
131
131
  solid: (
132
- normal: if($kendo-enable-color-system, (color, on-color, color), (160, $kendo-color-white, 160))
132
+ normal: (color, on-color, color)
133
133
  ),
134
134
  outline: (
135
- normal: if($kendo-enable-color-system, (transparent, color, color), ($kendo-color-white, 160, 160))
135
+ normal: (transparent, color, color)
136
136
  )
137
137
  ) !default;
138
138
 
139
139
  $_tc-badge-light-matrix: (
140
140
  solid: (
141
- normal: if($kendo-enable-color-system, (color, on-color, color), (50, 160, 50))
141
+ normal: (color, on-color, color)
142
142
  ),
143
143
  outline: (
144
- normal: if($kendo-enable-color-system, (transparent, color, color), ($kendo-color-white, 50, 50))
144
+ normal: (transparent, color, color)
145
145
  )
146
146
  ) !default;
147
147
 
@@ -168,13 +168,13 @@ $kendo-badge-theme-colors: () !default;
168
168
  @each $fill-mode, $ui-states in $_tc-badge-dark-matrix {
169
169
  $kendo-badge-theme-colors: map.deep-merge(
170
170
  $kendo-badge-theme-colors,
171
- k-generate-fill-mode-theme-variation( $fill-mode, dark, if($kendo-enable-color-system, dark, neutral), $ui-states )
171
+ k-generate-fill-mode-theme-variation( $fill-mode, dark, dark, $ui-states )
172
172
  );
173
173
  }
174
174
 
175
175
  @each $fill-mode, $ui-states in $_tc-badge-light-matrix {
176
176
  $kendo-badge-theme-colors: map.deep-merge(
177
177
  $kendo-badge-theme-colors,
178
- k-generate-fill-mode-theme-variation( $fill-mode, light, if($kendo-enable-color-system, light, neutral), $ui-states )
178
+ k-generate-fill-mode-theme-variation( $fill-mode, light, light, $ui-states )
179
179
  );
180
180
  }
@@ -69,68 +69,68 @@ $kendo-bottom-nav-brand-colors: (
69
69
  error: error,
70
70
  success: success,
71
71
  info: info,
72
- secondary: if($kendo-enable-color-system, secondary, neutral),
72
+ secondary: secondary,
73
73
  tertiary: tertiary,
74
74
  ) !default;
75
75
 
76
76
  // Matrix with BottomNavigation theme colors in the order: bg, color, border
77
77
  $_tc-bottom-nav-matrix: (
78
78
  solid: (
79
- normal: if($kendo-enable-color-system, (color, on-color, color), (100, $kendo-color-white, 100)),
80
- focus: if($kendo-enable-color-system, (color, on-color, color, inherit), (100, $kendo-color-white, 100, inherit)),
81
- active: if($kendo-enable-color-system, (color-active, on-color, color-active), (120, $kendo-color-white, 120)),
82
- disabled: if($kendo-enable-color-system, (inherit, on-color-disabled, transparent), ( inherit, 40, var( --kendo-disabled-border, inherit )))
79
+ normal: (color, on-color, color),
80
+ focus: (color, on-color, color, inherit),
81
+ active: (color-active, on-color, color-active),
82
+ disabled: (inherit, on-color-disabled, transparent)
83
83
  ),
84
84
  flat: (
85
- normal: if($kendo-enable-color-system, (app-surface, on-app-surface, color-mix(in srgb, k-color( border ) 16%, transparent)), ($kendo-color-white, k-get-theme-color-var( neutral-130 ), k-get-theme-color-var( neutral-30 ))),
86
- focus: if($kendo-enable-color-system, (inherit, color, transparent, color), (inherit, 100, transparent, 100)),
87
- active: if($kendo-enable-color-system, (inherit, color, transparent), (inherit, 100, transparent)),
88
- disabled: if($kendo-enable-color-system, (initial, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), initial), (initial, var( --kendo-disabled-text, inherit ), initial))
85
+ normal: (app-surface, on-app-surface, color-mix(in srgb, k-color(border) 16%, transparent)),
86
+ focus: (inherit, color, transparent, color),
87
+ active: (inherit, color, transparent),
88
+ disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
89
89
  )
90
90
  ) !default;
91
91
 
92
92
  $_tc-bottom-nav-warning-matrix: (
93
93
  solid: (
94
- normal: if($kendo-enable-color-system, (color, on-color, color), (100, k-get-theme-color-var( neutral-160 ), 100)),
95
- focus: if($kendo-enable-color-system, (color, on-color, color, app-surface), (100, k-get-theme-color-var( neutral-160 ), 100, $kendo-color-white)),
96
- active: if($kendo-enable-color-system, (color-active, on-color, color-active), (120, k-get-theme-color-var( neutral-190 ), 120)),
97
- disabled: if($kendo-enable-color-system, (inherit, on-color-disabled, transparent), (inherit, k-get-theme-color-var( neutral-120 ), var( --kendo-disabled-border, inherit )))
94
+ normal: (color, on-color, color),
95
+ focus: (color, on-color, color, app-surface),
96
+ active: (color-active, on-color, color-active),
97
+ disabled: (inherit, on-color-disabled, transparent),
98
98
  ),
99
99
  flat: (
100
- normal: if($kendo-enable-color-system, (app-surface, on-app-surface, color), ($kendo-color-white, k-get-theme-color-var( neutral-130 ), 100)),
101
- focus: if($kendo-enable-color-system, (inherit, color, transparent, color), (inherit, 100, transparent, 100)),
102
- active: if($kendo-enable-color-system, (inherit, color, transparent), (inherit, 100, transparent)),
103
- disabled: if($kendo-enable-color-system, (initial, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), initial), (initial, var( --kendo-disabled-text, inherit ), initial))
100
+ normal: (app-surface, on-app-surface, color),
101
+ focus: (inherit, color, transparent, color),
102
+ active: (inherit, color, transparent),
103
+ disabled: (initial, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
104
104
  )
105
105
  ) !default;
106
106
 
107
107
  $_tc-bottom-nav-dark-matrix: (
108
108
  solid: (
109
- normal: if($kendo-enable-color-system, (color, on-color, color), (160, $kendo-color-white, 160)),
110
- focus: if($kendo-enable-color-system, (color, on-color, color, on-color), (160, $kendo-color-white, 160, $kendo-color-white)),
111
- active: if($kendo-enable-color-system, (color-active, on-color, color-active), (180, $kendo-color-white, 180)),
112
- disabled: if($kendo-enable-color-system, (inherit, on-color-disabled, transparent), (inherit, 60 , var( --kendo-disabled-border, inherit )))
109
+ normal: (color, on-color, color),
110
+ focus: (color, on-color, color, on-color),
111
+ active: (color-active, on-color, color-active),
112
+ disabled: (inherit, on-color-disabled, transparent)
113
113
  ),
114
114
  flat: (
115
- normal: if($kendo-enable-color-system, (app-surface, on-app-surface, color), ($kendo-color-white, k-get-theme-color-var( neutral-130 ), k-get-theme-color-var( neutral-140 ))),
116
- focus: if($kendo-enable-color-system, (inherit, color, transparent, color), (inherit, 160, transparent, 130)),
117
- active: if($kendo-enable-color-system, (inherit, color, transparent), (inherit, 170, transparent)),
118
- disabled: if($kendo-enable-color-system, (inherit, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), initial), (inherit, var( --kendo-disabled-text, inherit ), initial))
115
+ normal: (app-surface, on-app-surface, color),
116
+ focus: (inherit, color, transparent, color),
117
+ active: (inherit, color, transparent),
118
+ disabled: (inherit, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
119
119
  )
120
120
  ) !default;
121
121
 
122
122
  $_tc-bottom-nav-light-matrix: (
123
123
  solid: (
124
- normal: if($kendo-enable-color-system, (color, on-color, color), (50, k-get-theme-color-var( neutral-160 ), 50)),
125
- focus: if($kendo-enable-color-system, (color, on-color, color, app-surface), (50, 190, 50, $kendo-color-white)),
126
- active: if($kendo-enable-color-system, (color-active, on-color, color-active), (70, 190, 70)),
127
- disabled: if($kendo-enable-color-system, (inherit, on-color-disabled, transparent), (inherit, 120 , var( --kendo-disabled-border, inherit )))
124
+ normal: (color, on-color, color),
125
+ focus: (color, on-color, color, app-surface),
126
+ active: (color-active, on-color, color-active),
127
+ disabled: (inherit, on-color-disabled, transparent),
128
128
  ),
129
129
  flat: (
130
- normal: if($kendo-enable-color-system, (app-surface, on-app-surface, transparent), ($kendo-color-white, k-get-theme-color-var( neutral-130 ), transparent)),
131
- focus: if($kendo-enable-color-system, (inherit, color, transparent, color), (inherit, 130, transparent, 130)),
132
- active: if($kendo-enable-color-system, (inherit, color, transparent), (inherit, 130, transparent)),
133
- disabled: if($kendo-enable-color-system, (inherit, color-mix(in srgb, k-color( on-app-surface ) 46%, transparent), initial), (inherit, var( --kendo-disabled-text, inherit ), initial))
130
+ normal: (app-surface, on-app-surface, transparent),
131
+ focus: (inherit, color, transparent, color),
132
+ active: (inherit, color, transparent),
133
+ disabled: (inherit, color-mix(in srgb, k-color(on-app-surface) 46%, transparent), initial)
134
134
  )
135
135
  ) !default;
136
136
 
@@ -157,13 +157,13 @@ $kendo-bottom-nav-theme-colors: () !default;
157
157
  @each $fill-mode, $ui-states in $_tc-bottom-nav-dark-matrix {
158
158
  $kendo-bottom-nav-theme-colors: map.deep-merge(
159
159
  $kendo-bottom-nav-theme-colors,
160
- k-generate-fill-mode-theme-variation( $fill-mode, dark, if($kendo-enable-color-system, dark, neutral), $ui-states )
160
+ k-generate-fill-mode-theme-variation( $fill-mode, dark, dark, $ui-states )
161
161
  );
162
162
  }
163
163
 
164
164
  @each $fill-mode, $ui-states in $_tc-bottom-nav-light-matrix {
165
165
  $kendo-bottom-nav-theme-colors: map.deep-merge(
166
166
  $kendo-bottom-nav-theme-colors,
167
- k-generate-fill-mode-theme-variation( $fill-mode, light, if($kendo-enable-color-system, light, neutral), $ui-states )
167
+ k-generate-fill-mode-theme-variation( $fill-mode, light, light, $ui-states )
168
168
  );
169
169
  }