baseui 14.0.0 → 15.0.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 (162) hide show
  1. package/accordion/accordion.js +4 -4
  2. package/accordion/panel.d.ts +1 -1
  3. package/accordion/stateless-accordion.js +8 -8
  4. package/accordion/styled-components.js +1 -1
  5. package/accordion/types.d.ts +1 -1
  6. package/app-nav-bar/mobile-menu.js +3 -1
  7. package/banner/banner.js +3 -1
  8. package/banner/types.d.ts +2 -1
  9. package/bottom-navigation/bottom-navigation.js +4 -6
  10. package/bottom-navigation/selector.js +1 -1
  11. package/bottom-navigation/styled-components.js +1 -1
  12. package/button/button.d.ts +1 -3
  13. package/button/button.js +6 -2
  14. package/button/styled-components.d.ts +1 -0
  15. package/button/styled-components.js +61 -4
  16. package/button/types.d.ts +15 -3
  17. package/button-timed/button-timed.js +4 -5
  18. package/button-timed/styled-components.js +5 -3
  19. package/button-timed/types.d.ts +1 -1
  20. package/data-table/column-categorical.js +2 -2
  21. package/data-table/column-numerical.js +3 -18
  22. package/data-table/locale.d.ts +2 -0
  23. package/data-table/locale.js +2 -1
  24. package/data-table/stateful-container.js +1 -1
  25. package/data-table/stateful-data-table.js +7 -3
  26. package/data-table/types.d.ts +2 -0
  27. package/datepicker/day.js +2 -4
  28. package/datepicker/utils/date-helpers.d.ts +1 -0
  29. package/datepicker/utils/date-helpers.js +3 -0
  30. package/dialog/dialog.d.ts +1 -1
  31. package/dialog/dialog.js +38 -56
  32. package/dialog/styled-components.d.ts +2 -2
  33. package/dialog/styled-components.js +56 -24
  34. package/dialog/types.d.ts +5 -2
  35. package/dnd-list/list.js +1 -1
  36. package/dnd-list/stateful-list-container.js +1 -1
  37. package/file-uploader/constants.d.ts +18 -0
  38. package/file-uploader/constants.js +32 -0
  39. package/file-uploader/file-uploader.d.ts +2 -2
  40. package/file-uploader/file-uploader.js +406 -117
  41. package/file-uploader/index.d.ts +1 -1
  42. package/file-uploader/index.js +67 -18
  43. package/file-uploader/locale.d.ts +10 -10
  44. package/file-uploader/locale.js +5 -5
  45. package/file-uploader/styled-components.d.ts +13 -6
  46. package/file-uploader/styled-components.js +261 -64
  47. package/file-uploader/types.d.ts +49 -32
  48. package/file-uploader/utils.d.ts +5 -0
  49. package/file-uploader/utils.js +45 -0
  50. package/file-uploader-basic/file-uploader-basic.d.ts +10 -0
  51. package/file-uploader-basic/file-uploader-basic.js +173 -0
  52. package/file-uploader-basic/index.d.ts +4 -0
  53. package/file-uploader-basic/index.js +71 -0
  54. package/file-uploader-basic/locale.d.ts +15 -0
  55. package/file-uploader-basic/locale.js +21 -0
  56. package/file-uploader-basic/styled-components.d.ts +7 -0
  57. package/file-uploader-basic/styled-components.js +83 -0
  58. package/file-uploader-basic/types.d.ts +41 -0
  59. package/form-control/form-control.js +38 -3
  60. package/form-control/styled-components.d.ts +2 -0
  61. package/form-control/styled-components.js +22 -2
  62. package/form-control/types.d.ts +4 -0
  63. package/helpers/react-helpers.js +1 -1
  64. package/icon/circle-check-filled.d.ts +9 -0
  65. package/icon/circle-check-filled.js +50 -0
  66. package/icon/circle-exclamation-point-filled.d.ts +9 -0
  67. package/icon/circle-exclamation-point-filled.js +50 -0
  68. package/icon/hide.js +1 -1
  69. package/icon/icon-exports.d.ts +4 -0
  70. package/icon/icon-exports.js +28 -0
  71. package/icon/paperclip-filled.d.ts +9 -0
  72. package/icon/paperclip-filled.js +50 -0
  73. package/icon/show.js +1 -1
  74. package/icon/trash-can-filled.d.ts +9 -0
  75. package/{button-docked/button-docked.js → icon/trash-can-filled.js} +35 -16
  76. package/list/list-item.js +0 -2
  77. package/locale/en_US.js +14 -12
  78. package/locale/es_AR.js +9 -1
  79. package/locale/index.d.ts +3 -0
  80. package/locale/index.js +1 -0
  81. package/locale/tr_TR.js +9 -1
  82. package/locale/types.d.ts +2 -0
  83. package/message-card/message-card.js +2 -2
  84. package/message-card/utils.js +8 -3
  85. package/mobile-header/mobile-header.js +0 -1
  86. package/modal/modal-button.d.ts +1 -3
  87. package/package.json +5 -2
  88. package/page-control/page-control.js +1 -3
  89. package/payment-card/custom-cards.config.d.ts +1 -11
  90. package/payment-card/payment-card.js +1 -3
  91. package/phone-input/base-country-picker.js +2 -2
  92. package/phone-input/country-picker.js +0 -10
  93. package/progress-bar/progressbar-rounded.js +1 -1
  94. package/progress-bar/styled-components.js +8 -6
  95. package/rating/styled-components.js +3 -2
  96. package/rating/svg-icons.d.ts +5 -5
  97. package/rating/svg-icons.js +20 -20
  98. package/segmented-control/segmented-control.js +1 -2
  99. package/segmented-control/stateful-segmented-control.js +1 -2
  100. package/select/multi-value.js +1 -1
  101. package/sheet/sheet.js +1 -3
  102. package/snackbar/index.d.ts +1 -0
  103. package/snackbar/snackbar-context.d.ts +1 -2
  104. package/snackbar/snackbar-context.js +27 -21
  105. package/spinner/index.d.ts +4 -2
  106. package/stepper/stepper.js +29 -30
  107. package/styles/__mocks__/styled.js +0 -2
  108. package/styles/as-primary-export-hoc.js +0 -2
  109. package/styles/styled.js +0 -2
  110. package/styles/types.d.ts +7 -3
  111. package/system-banner/system-banner.js +1 -3
  112. package/tabs-motion/tabs.js +2 -2
  113. package/tag/constants.d.ts +5 -4
  114. package/tag/constants.js +7 -6
  115. package/tag/index.d.ts +1 -1
  116. package/tag/index.js +7 -7
  117. package/tag/styled-components.d.ts +1 -1
  118. package/tag/styled-components.js +137 -124
  119. package/tag/tag.js +2 -2
  120. package/tag/types.d.ts +9 -8
  121. package/tag/types.js +2 -2
  122. package/themes/dark-theme/color-component-tokens.d.ts +2 -2
  123. package/themes/dark-theme/color-component-tokens.js +279 -275
  124. package/themes/dark-theme/color-foundation-tokens.d.ts +3 -0
  125. package/themes/dark-theme/{color-tokens.js → color-foundation-tokens.js} +11 -14
  126. package/themes/dark-theme/color-semantic-tokens.d.ts +2 -2
  127. package/themes/dark-theme/color-semantic-tokens.js +52 -58
  128. package/themes/dark-theme/create-dark-theme.d.ts +1 -1
  129. package/themes/dark-theme/create-dark-theme.js +12 -32
  130. package/themes/dark-theme/dark-theme.js +4 -4
  131. package/themes/dark-theme/primitives.js +2 -2
  132. package/themes/light-theme/color-component-tokens.d.ts +2 -2
  133. package/themes/light-theme/color-component-tokens.js +287 -282
  134. package/themes/light-theme/color-foundation-tokens.d.ts +3 -0
  135. package/themes/light-theme/{color-tokens.js → color-foundation-tokens.js} +10 -13
  136. package/themes/light-theme/color-semantic-tokens.d.ts +2 -2
  137. package/themes/light-theme/color-semantic-tokens.js +50 -53
  138. package/themes/light-theme/create-light-theme.d.ts +1 -1
  139. package/themes/light-theme/create-light-theme.js +12 -32
  140. package/themes/light-theme/light-theme.js +4 -4
  141. package/themes/light-theme/primitives.js +2 -2
  142. package/themes/types.d.ts +74 -13
  143. package/themes/utils.d.ts +1 -1
  144. package/themes/utils.js +4 -4
  145. package/tile/tile-group.js +2 -2
  146. package/timezonepicker/update-tzdata.js +0 -1
  147. package/tokens/color-primitive-tokens.d.ts +5 -0
  148. package/tokens/color-primitive-tokens.js +301 -0
  149. package/tokens/index.d.ts +5 -4
  150. package/tokens/index.js +25 -3
  151. package/tokens/types.d.ts +170 -1
  152. package/button-docked/button-docked.d.ts +0 -4
  153. package/button-docked/index.d.ts +0 -3
  154. package/button-docked/index.js +0 -40
  155. package/button-docked/styled-components.d.ts +0 -5
  156. package/button-docked/styled-components.js +0 -55
  157. package/button-docked/types.d.ts +0 -14
  158. package/themes/dark-theme/color-tokens.d.ts +0 -3
  159. package/themes/light-theme/color-tokens.d.ts +0 -3
  160. package/tokens/colors.d.ts +0 -3
  161. package/tokens/colors.js +0 -125
  162. /package/{button-docked → file-uploader-basic}/types.js +0 -0
@@ -4,7 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _colorTokens = _interopRequireDefault(require("./color-tokens"));
7
+ var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-tokens"));
8
+ var _tokens = require("../../tokens");
8
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
10
  /*
10
11
  Copyright (c) Uber Technologies, Inc.
@@ -13,114 +14,115 @@ This source code is licensed under the MIT license found in the
13
14
  LICENSE file in the root directory of this source tree.
14
15
  */
15
16
 
17
+ const defaultSemanticColors = (0, _colorSemanticTokens.default)();
16
18
  const tagHoverBackground = `rgba(255, 255, 255, 0.2)`;
17
19
 
18
20
  /* ---- Component colors ---- */
19
- // TODO(#2318) Make it a plain object in the next v11 major version
20
- // with values taken from `defaultFoundationColorTokens`.
21
- // Due to the legacy `createTheme` type the values
22
- // need to be overrideable through primitives
23
- var _default = (themePrimitives = _colorTokens.default) => ({
24
- bannerActionLowInfo: themePrimitives.accent600,
25
- bannerActionLowNegative: themePrimitives.negative600,
26
- bannerActionLowPositive: themePrimitives.positive600,
27
- bannerActionLowWarning: themePrimitives.warning600,
28
- bannerActionHighInfo: themePrimitives.accent500,
29
- bannerActionHighNegative: themePrimitives.negative600,
30
- bannerActionHighPositive: themePrimitives.positive600,
31
- bannerActionHighWarning: themePrimitives.warning600,
21
+ var _default = (semanticColors = defaultSemanticColors) => ({
22
+ //Banner
23
+ bannerActionLowInfo: _tokens.primitiveDarkColors.blue100Dark,
24
+ bannerActionLowNegative: _tokens.primitiveDarkColors.red200Dark,
25
+ bannerActionLowPositive: _tokens.primitiveDarkColors.green200Dark,
26
+ bannerActionLowWarning: _tokens.primitiveDarkColors.yellow200Dark,
27
+ bannerActionHighInfo: _tokens.primitiveDarkColors.blue300Dark,
28
+ bannerActionHighNegative: _tokens.primitiveDarkColors.red300Dark,
29
+ bannerActionHighPositive: _tokens.primitiveDarkColors.green300Dark,
30
+ bannerActionHighWarning: _tokens.primitiveDarkColors.yellow300Dark,
31
+ // BottomNavigation
32
+ bottomNavigationText: _tokens.primitiveDarkColors.gray600Dark,
33
+ bottomNavigationSelectedText: semanticColors.contentPrimary,
32
34
  // Buttons
33
- buttonPrimaryFill: themePrimitives.primaryA,
34
- buttonPrimaryText: themePrimitives.black,
35
- buttonPrimaryHover: themePrimitives.primary100,
36
- buttonPrimaryActive: themePrimitives.primary200,
37
- buttonPrimarySelectedText: themePrimitives.black,
38
- buttonPrimarySelectedFill: themePrimitives.primary200,
39
- buttonPrimarySpinnerForeground: themePrimitives.primary700,
40
- buttonPrimarySpinnerBackground: themePrimitives.primary300,
41
- buttonSecondaryFill: themePrimitives.primary700,
42
- buttonSecondaryText: themePrimitives.primary,
43
- buttonSecondaryHover: themePrimitives.primary600,
44
- buttonSecondaryActive: themePrimitives.primary500,
45
- buttonSecondarySelectedText: themePrimitives.primary,
46
- buttonSecondarySelectedFill: themePrimitives.primary500,
47
- buttonSecondarySpinnerForeground: themePrimitives.white,
48
- buttonSecondarySpinnerBackground: themePrimitives.primary400,
35
+ buttonPrimaryFill: semanticColors.backgroundInversePrimary,
36
+ buttonPrimaryText: semanticColors.contentInversePrimary,
37
+ buttonPrimaryHover: _tokens.primitiveDarkColors.gray700Dark,
38
+ buttonPrimaryActive: _tokens.primitiveDarkColors.gray600Dark,
39
+ buttonPrimarySelectedFill: semanticColors.backgroundInversePrimary,
40
+ buttonPrimarySelectedText: semanticColors.contentInversePrimary,
41
+ buttonPrimarySpinnerForeground: semanticColors.backgroundAccent,
42
+ buttonPrimarySpinnerBackground: semanticColors.backgroundPrimary,
43
+ buttonSecondaryFill: semanticColors.backgroundTertiary,
44
+ buttonSecondaryText: semanticColors.contentPrimary,
45
+ buttonSecondaryHover: _tokens.primitiveDarkColors.gray300Dark,
46
+ buttonSecondaryActive: _tokens.primitiveDarkColors.gray400Dark,
47
+ buttonSecondarySelectedFill: semanticColors.backgroundInversePrimary,
48
+ buttonSecondarySelectedText: semanticColors.contentInversePrimary,
49
+ buttonSecondarySpinnerForeground: semanticColors.backgroundAccent,
50
+ buttonSecondarySpinnerBackground: semanticColors.backgroundPrimary,
49
51
  buttonTertiaryFill: 'transparent',
50
- buttonTertiaryText: themePrimitives.primary,
51
- buttonTertiaryHover: themePrimitives.primary700,
52
- buttonTertiaryActive: themePrimitives.primary600,
53
- buttonTertiarySelectedText: themePrimitives.primary,
54
- buttonTertiarySelectedFill: themePrimitives.primary600,
55
- buttonTertiaryDisabledActiveFill: themePrimitives.primary700,
56
- buttonTertiaryDisabledActiveText: themePrimitives.mono300,
57
- buttonTertiarySpinnerForeground: themePrimitives.primary50,
58
- buttonTertiarySpinnerBackground: themePrimitives.primary500,
59
- buttonDisabledFill: themePrimitives.mono600,
60
- buttonDisabledText: themePrimitives.mono300,
61
- buttonDisabledActiveFill: themePrimitives.mono200,
62
- buttonDisabledActiveText: themePrimitives.primary500,
63
- buttonDisabledSpinnerForeground: themePrimitives.mono200,
64
- buttonDisabledSpinnerBackground: themePrimitives.mono400,
52
+ buttonTertiaryText: semanticColors.contentPrimary,
53
+ buttonTertiaryHover: _tokens.primitiveDarkColors.gray100Dark,
54
+ buttonTertiaryActive: _tokens.primitiveDarkColors.gray200Dark,
55
+ buttonTertiarySelectedFill: semanticColors.backgroundInversePrimary,
56
+ buttonTertiarySelectedText: semanticColors.contentInversePrimary,
57
+ buttonTertiaryDisabledActiveFill: semanticColors.backgroundStateDisabled,
58
+ buttonTertiaryDisabledActiveText: semanticColors.contentStateDisabled,
59
+ buttonTertiarySpinnerForeground: semanticColors.backgroundAccent,
60
+ buttonTertiarySpinnerBackground: semanticColors.backgroundTertiary,
61
+ buttonDisabledFill: semanticColors.backgroundStateDisabled,
62
+ buttonDisabledText: semanticColors.contentStateDisabled,
63
+ buttonDisabledActiveFill: semanticColors.backgroundStateDisabled,
64
+ buttonDisabledActiveText: semanticColors.contentStateDisabled,
65
+ buttonDisabledSpinnerForeground: semanticColors.contentStateDisabled,
66
+ buttonDisabledSpinnerBackground: semanticColors.backgroundPrimary,
65
67
  // Breadcrumbs
66
- breadcrumbsText: themePrimitives.white,
67
- breadcrumbsSeparatorFill: themePrimitives.mono200,
68
+ breadcrumbsText: semanticColors.contentPrimary,
69
+ breadcrumbsSeparatorFill: semanticColors.contentTertiary,
68
70
  // Datepicker
69
- calendarBackground: themePrimitives.mono800,
70
- calendarForeground: themePrimitives.white,
71
- calendarForegroundDisabled: themePrimitives.mono300,
72
- calendarHeaderBackground: themePrimitives.mono800,
73
- calendarHeaderForeground: themePrimitives.primary,
74
- calendarHeaderBackgroundActive: themePrimitives.primary600,
75
- calendarHeaderForegroundDisabled: themePrimitives.primary500,
76
- calendarDayForegroundPseudoSelected: themePrimitives.primary,
77
- calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary600,
78
- calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.primary,
79
- calendarDayBackgroundSelected: themePrimitives.primary,
80
- calendarDayForegroundSelected: themePrimitives.black,
81
- calendarDayBackgroundSelectedHighlighted: themePrimitives.primary100,
82
- calendarDayForegroundSelectedHighlighted: themePrimitives.black,
71
+ calendarBackground: semanticColors.backgroundPrimary,
72
+ calendarForeground: semanticColors.contentPrimary,
73
+ calendarForegroundDisabled: semanticColors.contentStateDisabled,
74
+ calendarHeaderBackground: semanticColors.backgroundPrimary,
75
+ calendarHeaderForeground: semanticColors.contentPrimary,
76
+ calendarHeaderBackgroundActive: semanticColors.backgroundInversePrimary,
77
+ calendarHeaderForegroundDisabled: semanticColors.contentStateDisabled,
78
+ calendarDayForegroundPseudoSelected: semanticColors.backgroundInversePrimary,
79
+ calendarDayBackgroundPseudoSelectedHighlighted: semanticColors.backgroundTertiary,
80
+ calendarDayForegroundPseudoSelectedHighlighted: semanticColors.contentPrimary,
81
+ calendarDayBackgroundSelected: semanticColors.backgroundInversePrimary,
82
+ calendarDayForegroundSelected: semanticColors.contentInversePrimary,
83
+ calendarDayBackgroundSelectedHighlighted: semanticColors.backgroundInversePrimary,
84
+ calendarDayForegroundSelectedHighlighted: semanticColors.contentInversePrimary,
83
85
  // Combobox
84
- comboboxListItemFocus: themePrimitives.mono600,
85
- comboboxListItemHover: themePrimitives.mono500,
86
+ comboboxListItemFocus: semanticColors.backgroundSecondary,
87
+ comboboxListItemHover: semanticColors.backgroundTertiary,
86
88
  // FileUploader
87
- fileUploaderBackgroundColor: themePrimitives.mono700,
88
- fileUploaderBackgroundColorActive: themePrimitives.mono600,
89
- fileUploaderBorderColorActive: themePrimitives.primary,
90
- fileUploaderBorderColorDefault: themePrimitives.mono500,
91
- fileUploaderMessageColor: themePrimitives.mono100,
89
+ fileUploaderBackgroundColor: semanticColors.backgroundSecondary,
90
+ fileUploaderBackgroundColorActive: semanticColors.backgroundPrimary,
91
+ fileUploaderBorderColorActive: semanticColors.borderSelected,
92
+ fileUploaderBorderColorDefault: semanticColors.borderOpaque,
93
+ fileUploaderMessageColor: semanticColors.contentPrimary,
92
94
  // Links
93
- linkText: themePrimitives.primary,
94
- linkVisited: themePrimitives.primary100,
95
- linkHover: themePrimitives.primary200,
96
- linkActive: themePrimitives.primary300,
95
+ linkText: semanticColors.contentPrimary,
96
+ linkVisited: _tokens.primitiveDarkColors.gray500Dark,
97
+ linkHover: _tokens.primitiveDarkColors.gray700Dark,
98
+ linkActive: _tokens.primitiveDarkColors.gray600Dark,
97
99
  // List
98
- listHeaderFill: themePrimitives.mono600,
99
- listBodyFill: themePrimitives.mono800,
100
+ listHeaderFill: semanticColors.backgroundPrimary,
101
+ listBodyFill: semanticColors.backgroundPrimary,
100
102
  // ProgressSteps
101
- progressStepsCompletedText: themePrimitives.black,
102
- progressStepsCompletedFill: themePrimitives.primary,
103
- progressStepsActiveText: themePrimitives.black,
104
- progressStepsActiveFill: themePrimitives.primary,
103
+ progressStepsCompletedText: semanticColors.contentInversePrimary,
104
+ progressStepsCompletedFill: semanticColors.backgroundInversePrimary,
105
+ progressStepsActiveText: semanticColors.contentInversePrimary,
106
+ progressStepsActiveFill: semanticColors.backgroundInversePrimary,
105
107
  // Modal
106
- modalCloseColor: themePrimitives.mono300,
107
- modalCloseColorHover: themePrimitives.mono400,
108
- modalCloseColorFocus: themePrimitives.mono400,
108
+ modalCloseColor: semanticColors.contentPrimary,
109
+ modalCloseColorHover: _tokens.primitiveDarkColors.gray700Dark,
110
+ modalCloseColorFocus: _tokens.primitiveDarkColors.gray600Dark,
109
111
  // Notification
110
- notificationInfoBackground: themePrimitives.accent700,
111
- notificationInfoText: themePrimitives.primaryA,
112
- notificationPositiveBackground: themePrimitives.positive700,
113
- notificationPositiveText: themePrimitives.primaryA,
114
- notificationWarningBackground: themePrimitives.warning700,
115
- notificationWarningText: themePrimitives.primaryA,
116
- notificationNegativeBackground: themePrimitives.negative700,
117
- notificationNegativeText: themePrimitives.primaryA,
112
+ notificationInfoBackground: semanticColors.backgroundAccentLight,
113
+ notificationInfoText: semanticColors.contentPrimary,
114
+ notificationPositiveBackground: semanticColors.backgroundPositiveLight,
115
+ notificationPositiveText: semanticColors.contentPrimary,
116
+ notificationWarningBackground: semanticColors.backgroundWarningLight,
117
+ notificationWarningText: semanticColors.contentPrimary,
118
+ notificationNegativeBackground: semanticColors.backgroundNegativeLight,
119
+ notificationNegativeText: semanticColors.contentPrimary,
118
120
  // Tag
119
121
 
120
122
  // Custom ramps
121
123
  tagFontDisabledRampUnit: '600',
122
124
  tagSolidFontRampUnit: '0',
123
- tagSolidRampUnit: '500',
125
+ tagSolidRampUnit: '600',
124
126
  tagOutlinedFontRampUnit: '500',
125
127
  tagOutlinedRampUnit: '500',
126
128
  // Deprecated
@@ -137,218 +139,220 @@ var _default = (themePrimitives = _colorTokens.default) => ({
137
139
  tagOutlinedHoverRampUnit: '800',
138
140
  tagOutlinedFontHoverRampUnit: '100',
139
141
  // Neutral
140
- tagNeutralOutlinedFont: themePrimitives.mono100,
141
- tagNeutralOutlinedBackground: themePrimitives.mono200,
142
- tagNeutralSolidFont: themePrimitives.black,
143
- // not much we can do to get the correct gray here
144
- tagNeutralSolidBackground: themePrimitives.primary200,
145
- tagNeutralFontDisabled: themePrimitives.mono400,
146
- tagNeutralOutlinedDisabled: themePrimitives.mono500,
142
+ tagNeutralFontDisabled: _tokens.primitiveDarkColors.gray400Dark,
143
+ tagNeutralOutlinedDisabled: _tokens.primitiveDarkColors.gray400Dark,
144
+ tagNeutralSolidFont: _tokens.primitiveDarkColors.gray900Dark,
145
+ tagNeutralSolidBackground: _tokens.primitiveDarkColors.gray400Dark,
146
+ tagNeutralOutlinedBackground: _tokens.primitiveDarkColors.gray100Dark,
147
+ tagNeutralOutlinedFont: _tokens.primitiveDarkColors.gray700Dark,
147
148
  // Deprecated
148
- tagNeutralSolidHover: themePrimitives.mono600,
149
- tagNeutralSolidActive: themePrimitives.mono500,
150
- tagNeutralSolidDisabled: themePrimitives.mono700,
151
- tagNeutralSolidFontHover: themePrimitives.mono200,
152
- tagNeutralLightBackground: themePrimitives.mono800,
153
- tagNeutralLightHover: themePrimitives.mono800,
154
- tagNeutralLightActive: themePrimitives.mono700,
155
- tagNeutralLightDisabled: themePrimitives.mono700,
156
- tagNeutralLightFont: themePrimitives.mono200,
157
- tagNeutralLightFontHover: themePrimitives.mono200,
158
- tagNeutralOutlinedActive: themePrimitives.mono400,
159
- tagNeutralOutlinedFontHover: themePrimitives.mono100,
149
+ tagNeutralSolidHover: _tokens.primitiveDarkColors.gray700Dark,
150
+ tagNeutralSolidActive: _tokens.primitiveDarkColors.gray600Dark,
151
+ tagNeutralSolidDisabled: _tokens.primitiveDarkColors.gray100Dark,
152
+ tagNeutralSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
153
+ tagNeutralLightBackground: _tokens.primitiveDarkColors.gray100Dark,
154
+ tagNeutralLightHover: _tokens.primitiveDarkColors.gray800Dark,
155
+ tagNeutralLightActive: _tokens.primitiveDarkColors.gray700Dark,
156
+ tagNeutralLightDisabled: _tokens.primitiveDarkColors.gray400Dark,
157
+ tagNeutralLightFont: _tokens.primitiveDarkColors.gray900Dark,
158
+ tagNeutralLightFontHover: _tokens.primitiveDarkColors.gray800Dark,
159
+ tagNeutralOutlinedActive: _tokens.primitiveDarkColors.gray700Dark,
160
+ tagNeutralOutlinedFontHover: _tokens.primitiveDarkColors.gray700Dark,
160
161
  tagNeutralOutlinedHover: tagHoverBackground,
161
162
  // Primary
162
- tagPrimaryOutlinedFont: themePrimitives.primary200,
163
- tagPrimaryOutlinedBackground: themePrimitives.primary400,
164
- tagPrimarySolidFont: themePrimitives.black,
165
- tagPrimarySolidBackground: themePrimitives.primary200,
166
- tagPrimaryFontDisabled: themePrimitives.primary600,
167
- tagPrimaryOutlinedDisabled: themePrimitives.primary700,
163
+ tagPrimaryOutlinedFont: _tokens.primitiveDarkColors.gray700Dark,
164
+ tagPrimaryOutlinedBackground: _tokens.primitiveDarkColors.gray100Dark,
165
+ tagPrimarySolidFont: _tokens.primitiveDarkColors.gray900Dark,
166
+ tagPrimarySolidBackground: _tokens.primitiveDarkColors.gray400Dark,
167
+ tagPrimaryFontDisabled: _tokens.primitiveDarkColors.gray400Dark,
168
+ tagPrimaryOutlinedDisabled: _tokens.primitiveDarkColors.gray400Dark,
168
169
  // Deprecated
169
- tagPrimarySolidHover: themePrimitives.primary700,
170
- tagPrimarySolidActive: themePrimitives.primary400,
171
- tagPrimarySolidDisabled: themePrimitives.primary700,
172
- tagPrimarySolidFontHover: themePrimitives.primary100,
173
- tagPrimaryLightBackground: themePrimitives.primary700,
174
- tagPrimaryLightHover: themePrimitives.primary700,
175
- tagPrimaryLightActive: themePrimitives.primary600,
176
- tagPrimaryLightDisabled: themePrimitives.primary700,
177
- tagPrimaryLightFont: themePrimitives.primary100,
178
- tagPrimaryLightFontHover: themePrimitives.primary100,
179
- tagPrimaryOutlinedActive: themePrimitives.primary600,
180
- tagPrimaryOutlinedFontHover: themePrimitives.primary200,
170
+ tagPrimarySolidHover: _tokens.primitiveDarkColors.gray300Dark,
171
+ tagPrimarySolidActive: _tokens.primitiveDarkColors.gray200Dark,
172
+ tagPrimarySolidDisabled: _tokens.primitiveDarkColors.gray100Dark,
173
+ tagPrimarySolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
174
+ tagPrimaryLightBackground: _tokens.primitiveDarkColors.gray100Dark,
175
+ tagPrimaryLightHover: _tokens.primitiveDarkColors.gray200Dark,
176
+ tagPrimaryLightActive: _tokens.primitiveDarkColors.gray300Dark,
177
+ tagPrimaryLightDisabled: _tokens.primitiveDarkColors.gray400Dark,
178
+ tagPrimaryLightFont: _tokens.primitiveDarkColors.gray900Dark,
179
+ tagPrimaryLightFontHover: _tokens.primitiveDarkColors.gray800Dark,
180
+ tagPrimaryOutlinedActive: _tokens.primitiveDarkColors.gray700Dark,
181
+ tagPrimaryOutlinedFontHover: _tokens.primitiveDarkColors.gray700Dark,
181
182
  tagPrimaryOutlinedHover: tagHoverBackground,
182
183
  // Accent
183
- tagAccentOutlinedFont: themePrimitives.accent200,
184
- tagAccentOutlinedBackground: themePrimitives.accent500,
185
- tagAccentSolidFont: themePrimitives.white,
186
- tagAccentSolidBackground: themePrimitives.accent500,
187
- tagAccentFontDisabled: themePrimitives.accent600,
188
- tagAccentOutlinedDisabled: themePrimitives.accent700,
184
+ tagAccentOutlinedFont: _tokens.primitiveDarkColors.blue700Dark,
185
+ tagAccentOutlinedBackground: _tokens.primitiveDarkColors.blue100Dark,
186
+ tagAccentSolidFont: _tokens.primitiveDarkColors.blue900Dark,
187
+ tagAccentSolidBackground: _tokens.primitiveDarkColors.blue500Dark,
188
+ tagAccentFontDisabled: _tokens.primitiveDarkColors.blue400Dark,
189
+ tagAccentOutlinedDisabled: _tokens.primitiveDarkColors.blue400Dark,
189
190
  // Deprecated
190
- tagAccentSolidHover: themePrimitives.accent500,
191
- tagAccentSolidActive: themePrimitives.accent400,
192
- tagAccentSolidDisabled: themePrimitives.accent700,
193
- tagAccentSolidFontHover: themePrimitives.accent100,
194
- tagAccentLightBackground: themePrimitives.accent700,
195
- tagAccentLightHover: themePrimitives.accent700,
196
- tagAccentLightActive: themePrimitives.accent600,
197
- tagAccentLightDisabled: themePrimitives.accent700,
198
- tagAccentLightFont: themePrimitives.accent100,
199
- tagAccentLightFontHover: themePrimitives.accent100,
200
- tagAccentOutlinedActive: themePrimitives.accent300,
201
- tagAccentOutlinedFontHover: themePrimitives.accent200,
191
+ tagAccentSolidHover: _tokens.primitiveDarkColors.blue300Dark,
192
+ tagAccentSolidActive: _tokens.primitiveDarkColors.blue200Dark,
193
+ tagAccentSolidDisabled: _tokens.primitiveDarkColors.blue100Dark,
194
+ tagAccentSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
195
+ tagAccentLightBackground: _tokens.primitiveDarkColors.blue100Dark,
196
+ tagAccentLightHover: _tokens.primitiveDarkColors.blue200Dark,
197
+ tagAccentLightActive: _tokens.primitiveDarkColors.blue300Dark,
198
+ tagAccentLightDisabled: _tokens.primitiveDarkColors.blue400Dark,
199
+ tagAccentLightFont: _tokens.primitiveDarkColors.blue900Dark,
200
+ tagAccentLightFontHover: _tokens.primitiveDarkColors.blue800Dark,
201
+ tagAccentOutlinedActive: _tokens.primitiveDarkColors.blue700Dark,
202
+ tagAccentOutlinedFontHover: _tokens.primitiveDarkColors.blue700Dark,
202
203
  tagAccentOutlinedHover: tagHoverBackground,
203
204
  // Positive
204
- tagPositiveOutlinedFont: themePrimitives.positive300,
205
- tagPositiveOutlinedBackground: themePrimitives.positive500,
206
- tagPositiveSolidFont: themePrimitives.white,
207
- tagPositiveSolidBackground: themePrimitives.positive500,
208
- tagPositiveFontDisabled: themePrimitives.positive600,
209
- tagPositiveOutlinedDisabled: themePrimitives.positive700,
205
+ tagPositiveFontDisabled: _tokens.primitiveDarkColors.green400Dark,
206
+ tagPositiveOutlinedDisabled: _tokens.primitiveDarkColors.green400Dark,
207
+ tagPositiveSolidFont: _tokens.primitiveDarkColors.green900Dark,
208
+ tagPositiveSolidBackground: _tokens.primitiveDarkColors.green500Dark,
209
+ tagPositiveOutlinedBackground: _tokens.primitiveDarkColors.green100Dark,
210
+ tagPositiveOutlinedFont: _tokens.primitiveDarkColors.green700Dark,
210
211
  // Deprecated
211
- tagPositiveSolidHover: themePrimitives.positive500,
212
- tagPositiveSolidActive: themePrimitives.positive400,
213
- tagPositiveSolidDisabled: themePrimitives.positive700,
214
- tagPositiveSolidFontHover: themePrimitives.positive100,
215
- tagPositiveLightBackground: themePrimitives.positive700,
216
- tagPositiveLightHover: themePrimitives.positive700,
217
- tagPositiveLightActive: themePrimitives.positive600,
218
- tagPositiveLightDisabled: themePrimitives.positive700,
219
- tagPositiveLightFont: themePrimitives.positive100,
220
- tagPositiveLightFontHover: themePrimitives.positive100,
221
- tagPositiveOutlinedActive: themePrimitives.positive300,
222
- tagPositiveOutlinedFontHover: themePrimitives.positive300,
212
+ tagPositiveSolidHover: _tokens.primitiveDarkColors.green300Dark,
213
+ tagPositiveSolidActive: _tokens.primitiveDarkColors.green200Dark,
214
+ tagPositiveSolidDisabled: _tokens.primitiveDarkColors.green100Dark,
215
+ tagPositiveSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
216
+ tagPositiveLightBackground: _tokens.primitiveDarkColors.green100Dark,
217
+ tagPositiveLightHover: _tokens.primitiveDarkColors.green200Dark,
218
+ tagPositiveLightActive: _tokens.primitiveDarkColors.green300Dark,
219
+ tagPositiveLightDisabled: _tokens.primitiveDarkColors.green400Dark,
220
+ tagPositiveLightFont: _tokens.primitiveDarkColors.green900Dark,
221
+ tagPositiveLightFontHover: _tokens.primitiveDarkColors.green800Dark,
222
+ tagPositiveOutlinedActive: _tokens.primitiveDarkColors.green700Dark,
223
+ tagPositiveOutlinedFontHover: _tokens.primitiveDarkColors.green700Dark,
223
224
  tagPositiveOutlinedHover: tagHoverBackground,
224
225
  // Warning
225
- tagWarningOutlinedFont: themePrimitives.warning300,
226
- tagWarningOutlinedBackground: themePrimitives.warning500,
227
- tagWarningSolidFont: themePrimitives.black,
228
- tagWarningSolidBackground: themePrimitives.warning500,
229
- tagWarningFontDisabled: themePrimitives.warning600,
230
- tagWarningOutlinedDisabled: themePrimitives.warning700,
226
+ tagWarningOutlinedFont: _tokens.primitiveDarkColors.yellow700Dark,
227
+ tagWarningOutlinedBackground: _tokens.primitiveDarkColors.yellow100Dark,
228
+ tagWarningSolidFont: _tokens.primitiveDarkColors.yellow50Dark,
229
+ tagWarningSolidBackground: _tokens.primitiveDarkColors.yellow700Dark,
230
+ tagWarningFontDisabled: _tokens.primitiveDarkColors.yellow400Dark,
231
+ tagWarningOutlinedDisabled: _tokens.primitiveDarkColors.yellow400Dark,
231
232
  // Deprecated
232
- tagWarningSolidHover: themePrimitives.warning500,
233
- tagWarningSolidActive: themePrimitives.warning400,
234
- tagWarningSolidDisabled: themePrimitives.warning700,
235
- tagWarningSolidFontHover: themePrimitives.warning100,
236
- tagWarningLightBackground: themePrimitives.warning700,
237
- tagWarningLightHover: themePrimitives.warning700,
238
- tagWarningLightActive: themePrimitives.warning600,
239
- tagWarningLightDisabled: themePrimitives.warning700,
240
- tagWarningLightFont: themePrimitives.warning100,
241
- tagWarningLightFontHover: themePrimitives.warning100,
242
- tagWarningOutlinedActive: themePrimitives.warning300,
243
- tagWarningOutlinedFontHover: themePrimitives.warning300,
233
+ tagWarningSolidHover: _tokens.primitiveDarkColors.yellow300Dark,
234
+ tagWarningSolidActive: _tokens.primitiveDarkColors.yellow200Dark,
235
+ tagWarningSolidDisabled: _tokens.primitiveDarkColors.yellow100Dark,
236
+ tagWarningSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
237
+ tagWarningLightBackground: _tokens.primitiveDarkColors.yellow100Dark,
238
+ tagWarningLightHover: _tokens.primitiveDarkColors.yellow200Dark,
239
+ tagWarningLightActive: _tokens.primitiveDarkColors.yellow300Dark,
240
+ tagWarningLightDisabled: _tokens.primitiveDarkColors.yellow400Dark,
241
+ tagWarningLightFont: _tokens.primitiveDarkColors.yellow900Dark,
242
+ tagWarningLightFontHover: _tokens.primitiveDarkColors.yellow800Dark,
243
+ tagWarningOutlinedActive: _tokens.primitiveDarkColors.yellow700Dark,
244
+ tagWarningOutlinedFontHover: _tokens.primitiveDarkColors.yellow700Dark,
244
245
  tagWarningOutlinedHover: tagHoverBackground,
245
246
  // Negative
246
- tagNegativeOutlinedFont: themePrimitives.negative300,
247
- tagNegativeOutlinedBackground: themePrimitives.negative500,
248
- tagNegativeSolidFont: themePrimitives.white,
249
- tagNegativeSolidBackground: themePrimitives.negative500,
250
- tagNegativeFontDisabled: themePrimitives.negative600,
251
- tagNegativeOutlinedDisabled: themePrimitives.negative700,
247
+ tagNegativeOutlinedFont: _tokens.primitiveDarkColors.red700Dark,
248
+ tagNegativeOutlinedBackground: _tokens.primitiveDarkColors.red100Dark,
249
+ tagNegativeSolidFont: _tokens.primitiveDarkColors.gray900Dark,
250
+ tagNegativeSolidBackground: _tokens.primitiveDarkColors.red500Dark,
251
+ tagNegativeFontDisabled: _tokens.primitiveDarkColors.red400Dark,
252
+ tagNegativeOutlinedDisabled: _tokens.primitiveDarkColors.red400Dark,
252
253
  // Deprecated
253
- tagNegativeSolidHover: themePrimitives.negative500,
254
- tagNegativeSolidActive: themePrimitives.negative400,
255
- tagNegativeSolidDisabled: themePrimitives.negative700,
256
- tagNegativeSolidFontHover: themePrimitives.negative100,
257
- tagNegativeLightBackground: themePrimitives.negative700,
258
- tagNegativeLightHover: themePrimitives.negative700,
259
- tagNegativeLightActive: themePrimitives.negative600,
260
- tagNegativeLightDisabled: themePrimitives.negative700,
261
- tagNegativeLightFont: themePrimitives.negative100,
262
- tagNegativeLightFontHover: themePrimitives.negative100,
263
- tagNegativeOutlinedActive: themePrimitives.negative300,
264
- tagNegativeOutlinedFontHover: themePrimitives.negative300,
254
+ tagNegativeSolidHover: _tokens.primitiveDarkColors.red300Dark,
255
+ tagNegativeSolidActive: _tokens.primitiveDarkColors.red200Dark,
256
+ tagNegativeSolidDisabled: _tokens.primitiveDarkColors.red100Dark,
257
+ tagNegativeSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
258
+ tagNegativeLightBackground: _tokens.primitiveDarkColors.red100Dark,
259
+ tagNegativeLightHover: _tokens.primitiveDarkColors.red200Dark,
260
+ tagNegativeLightActive: _tokens.primitiveDarkColors.red300Dark,
261
+ tagNegativeLightDisabled: _tokens.primitiveDarkColors.red400Dark,
262
+ tagNegativeLightFont: _tokens.primitiveDarkColors.red900Dark,
263
+ tagNegativeLightFontHover: _tokens.primitiveDarkColors.red800Dark,
264
+ tagNegativeOutlinedActive: _tokens.primitiveDarkColors.red700Dark,
265
+ tagNegativeOutlinedFontHover: _tokens.primitiveDarkColors.red700Dark,
265
266
  tagNegativeOutlinedHover: tagHoverBackground,
266
267
  // Table
267
- tableHeadBackgroundColor: themePrimitives.mono700,
268
- tableBackground: themePrimitives.mono800,
269
- tableStripedBackground: themePrimitives.mono700,
270
- tableFilter: themePrimitives.mono400,
271
- tableFilterHeading: themePrimitives.mono300,
272
- tableFilterBackground: themePrimitives.mono700,
273
- tableFilterFooterBackground: themePrimitives.mono800,
268
+ tableHeadBackgroundColor: semanticColors.backgroundPrimary,
269
+ tableBackground: semanticColors.backgroundPrimary,
270
+ tableStripedBackground: semanticColors.backgroundSecondary,
271
+ tableFilter: semanticColors.contentTertiary,
272
+ tableFilterHeading: semanticColors.contentPrimary,
273
+ tableFilterBackground: semanticColors.backgroundPrimary,
274
+ tableFilterFooterBackground: semanticColors.backgroundSecondary,
274
275
  // Toast
275
- toastText: themePrimitives.white,
276
- toastPrimaryText: themePrimitives.white,
277
- toastInfoBackground: themePrimitives.accent400,
278
- toastInfoText: themePrimitives.white,
279
- toastPositiveBackground: themePrimitives.positive400,
280
- toastPositiveText: themePrimitives.white,
281
- toastWarningBackground: themePrimitives.warning400,
282
- toastWarningText: themePrimitives.black,
283
- toastNegativeBackground: themePrimitives.negative400,
284
- toastNegativeText: themePrimitives.white,
276
+ toastText: semanticColors.contentOnColor,
277
+ toastPrimaryText: semanticColors.contentOnColor,
278
+ toastInfoBackground: semanticColors.backgroundAccent,
279
+ toastInfoText: semanticColors.contentOnColor,
280
+ toastPositiveBackground: semanticColors.backgroundPositive,
281
+ toastPositiveText: semanticColors.contentOnColor,
282
+ toastWarningBackground: semanticColors.backgroundWarning,
283
+ toastWarningText: semanticColors.contentOnColorInverse,
284
+ toastNegativeBackground: semanticColors.backgroundNegative,
285
+ toastNegativeText: semanticColors.contentOnColor,
285
286
  // Toggle
286
- toggleFill: themePrimitives.mono300,
287
- toggleFillChecked: themePrimitives.primary,
288
- toggleFillDisabled: themePrimitives.mono600,
289
- toggleTrackFill: themePrimitives.mono400,
290
- toggleTrackFillDisabled: themePrimitives.mono700,
287
+ toggleFill: semanticColors.backgroundPrimary,
288
+ toggleFillChecked: semanticColors.contentPrimary,
289
+ toggleFillDisabled: semanticColors.contentStateDisabled,
290
+ toggleTrackFill: semanticColors.backgroundTertiary,
291
+ toggleTrackFillDisabled: semanticColors.backgroundStateDisabled,
291
292
  // Tick
292
- tickFill: themePrimitives.mono1000,
293
- tickFillHover: themePrimitives.mono700,
294
- tickFillActive: themePrimitives.mono600,
295
- tickFillSelected: themePrimitives.primary,
296
- tickFillSelectedHover: themePrimitives.primary50,
297
- tickFillSelectedHoverActive: themePrimitives.primary100,
298
- tickFillError: themePrimitives.negative700,
299
- tickFillErrorHover: themePrimitives.negative600,
300
- tickFillErrorHoverActive: themePrimitives.negative500,
301
- tickFillErrorSelected: themePrimitives.negative500,
302
- tickFillErrorSelectedHover: themePrimitives.negative600,
303
- tickFillErrorSelectedHoverActive: themePrimitives.negative700,
304
- tickFillDisabled: themePrimitives.mono500,
305
- tickBorder: themePrimitives.mono300,
306
- tickBorderError: themePrimitives.negative400,
307
- tickMarkFill: themePrimitives.black,
308
- tickMarkFillError: themePrimitives.white,
309
- tickMarkFillDisabled: themePrimitives.mono800,
293
+ tickFill: semanticColors.backgroundPrimary,
294
+ tickFillHover: _tokens.primitiveDarkColors.gray100Dark,
295
+ tickFillActive: _tokens.primitiveDarkColors.gray200Dark,
296
+ tickFillSelected: semanticColors.contentPrimary,
297
+ tickFillSelectedHover: _tokens.primitiveDarkColors.gray800Dark,
298
+ tickFillSelectedHoverActive: _tokens.primitiveDarkColors.gray700Dark,
299
+ tickFillError: semanticColors.backgroundPrimary,
300
+ tickFillErrorHover: _tokens.primitiveDarkColors.gray100Dark,
301
+ tickFillErrorHoverActive: _tokens.primitiveDarkColors.gray200Dark,
302
+ tickFillErrorSelected: semanticColors.contentNegative,
303
+ tickFillErrorSelectedHover: _tokens.primitiveDarkColors.red500Dark,
304
+ tickFillErrorSelectedHoverActive: _tokens.primitiveDarkColors.red400Dark,
305
+ tickFillDisabled: semanticColors.backgroundStateDisabled,
306
+ tickBorder: semanticColors.contentTertiary,
307
+ tickBorderError: semanticColors.borderNegative,
308
+ tickMarkFill: semanticColors.contentInversePrimary,
309
+ tickMarkFillError: semanticColors.contentOnColor,
310
+ tickMarkFillDisabled: semanticColors.contentInversePrimary,
310
311
  // Slider/Toggle
311
312
  sliderTrackFill: 'transparent',
312
- sliderHandleFill: themePrimitives.primaryA,
313
- sliderHandleFillDisabled: themePrimitives.primary500,
314
- sliderHandleInnerFill: themePrimitives.primaryA,
315
- sliderTrackFillHover: themePrimitives.mono500,
316
- sliderTrackFillActive: themePrimitives.mono400,
317
- sliderTrackFillDisabled: themePrimitives.mono700,
318
- sliderHandleInnerFillDisabled: themePrimitives.mono500,
319
- sliderHandleInnerFillSelectedHover: themePrimitives.primary600,
320
- sliderHandleInnerFillSelectedActive: themePrimitives.primary700,
321
- // Input
322
- inputBorder: themePrimitives.mono600,
323
- inputFill: themePrimitives.mono600,
324
- inputFillActive: themePrimitives.mono500,
325
- inputFillError: themePrimitives.negative700,
326
- inputFillDisabled: themePrimitives.mono800,
327
- inputFillPositive: themePrimitives.positive700,
328
- inputTextDisabled: themePrimitives.mono500,
329
- inputBorderError: themePrimitives.negative400,
330
- inputBorderPositive: themePrimitives.positive400,
331
- inputEnhancerFill: themePrimitives.mono500,
332
- inputEnhancerFillDisabled: themePrimitives.mono700,
333
- inputEnhancerTextDisabled: themePrimitives.mono500,
334
- inputPlaceholder: themePrimitives.mono300,
335
- inputPlaceholderDisabled: themePrimitives.mono500,
313
+ sliderHandleFill: semanticColors.contentPrimary,
314
+ sliderHandleFillDisabled: semanticColors.backgroundStateDisabled,
315
+ sliderHandleInnerFill: semanticColors.contentPrimary,
316
+ sliderTrackFillHover: _tokens.primitiveDarkColors.gray300Dark,
317
+ sliderTrackFillActive: _tokens.primitiveDarkColors.gray400Dark,
318
+ sliderTrackFillDisabled: semanticColors.backgroundStateDisabled,
319
+ sliderHandleInnerFillDisabled: semanticColors.backgroundStateDisabled,
320
+ sliderHandleInnerFillSelectedHover: _tokens.primitiveDarkColors.gray600Dark,
321
+ sliderHandleInnerFillSelectedActive: _tokens.primitiveDarkColors.gray700Dark,
322
+ // Inputs
323
+ inputBorder: semanticColors.borderOpaque,
324
+ inputFill: semanticColors.backgroundSecondary,
325
+ inputFillError: semanticColors.backgroundPrimary,
326
+ inputFillDisabled: semanticColors.backgroundStateDisabled,
327
+ inputFillActive: semanticColors.backgroundPrimary,
328
+ inputFillPositive: semanticColors.backgroundPrimary,
329
+ inputTextDisabled: semanticColors.contentStateDisabled,
330
+ inputBorderError: semanticColors.borderNegative,
331
+ inputBorderPositive: semanticColors.borderPositive,
332
+ inputEnhancerFill: semanticColors.contentPrimary,
333
+ inputEnhancerFillDisabled: semanticColors.contentStateDisabled,
334
+ inputEnhancerTextDisabled: semanticColors.contentStateDisabled,
335
+ inputPlaceholder: semanticColors.contentTertiary,
336
+ inputPlaceholderDisabled: semanticColors.contentStateDisabled,
336
337
  // Menu
337
- menuFill: themePrimitives.mono600,
338
- menuFillHover: themePrimitives.mono700,
339
- menuFontDefault: themePrimitives.mono300,
340
- menuFontDisabled: themePrimitives.mono400,
341
- menuFontHighlighted: themePrimitives.white,
342
- menuFontSelected: themePrimitives.white,
338
+ menuFill: semanticColors.backgroundPrimary,
339
+ menuFillHover: semanticColors.backgroundSecondary,
340
+ menuFontDefault: semanticColors.contentPrimary,
341
+ menuFontDisabled: semanticColors.contentStateDisabled,
342
+ menuFontHighlighted: semanticColors.contentPrimary,
343
+ menuFontSelected: semanticColors.contentPrimary,
343
344
  // Tab
344
- tabBarFill: themePrimitives.mono1000,
345
- tabColor: themePrimitives.mono300,
345
+ tabBarFill: semanticColors.backgroundPrimary,
346
+ tabColor: semanticColors.contentTertiary,
346
347
  // Spinner
347
- spinnerTrackFill: themePrimitives.mono100,
348
+ spinnerTrackFill: semanticColors.backgroundTertiary,
348
349
  // Progress bar
349
- progressbarTrackFill: themePrimitives.mono100,
350
+ progressbarTrackFill: semanticColors.backgroundTertiary,
350
351
  // Tooltip
351
- tooltipBackground: themePrimitives.mono200,
352
- tooltipText: themePrimitives.mono1000
352
+ tooltipBackground: semanticColors.backgroundInverseSecondary,
353
+ tooltipText: semanticColors.contentInversePrimary,
354
+ // Rating
355
+ ratingInactiveFill: _tokens.primitiveDarkColors.gray500Dark,
356
+ ratingStroke: _tokens.primitiveDarkColors.gray700Dark
353
357
  });
354
358
  exports.default = _default;