@hero-design/rn 7.22.2 → 7.23.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 (249) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/es/index.js +2395 -1880
  3. package/lib/index.js +2395 -1878
  4. package/package.json +6 -6
  5. package/src/components/Accordion/AccordionItem.tsx +1 -1
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -8
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  8. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
  9. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  10. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  11. package/src/components/Box/StyledBox.tsx +1 -2
  12. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
  13. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  14. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +24 -24
  15. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +6 -6
  16. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +3 -3
  17. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  18. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
  19. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  20. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +2 -2
  21. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  22. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  23. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +18 -4
  24. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +19 -5
  25. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  26. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  27. package/src/components/Icon/HeroIcon/index.tsx +2 -0
  28. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  29. package/src/components/Icon/index.tsx +1 -0
  30. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  31. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +12 -12
  32. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  33. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -4
  34. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
  35. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
  36. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
  37. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +1 -1
  38. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -1
  39. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
  40. package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
  41. package/src/components/RefreshControl/index.tsx +23 -0
  42. package/src/components/RichTextEditor/MentionList.tsx +25 -4
  43. package/src/components/RichTextEditor/RichTextEditor.tsx +3 -1
  44. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
  45. package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
  46. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +38 -10
  47. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  48. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  49. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +13 -9
  50. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +108 -38
  51. package/src/components/Select/MultiSelect/index.tsx +1 -1
  52. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  53. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -8
  54. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +99 -29
  55. package/src/components/Select/SingleSelect/index.tsx +1 -1
  56. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
  57. package/src/components/Select/types.ts +1 -3
  58. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  59. package/src/components/Spinner/StyledSpinner.tsx +8 -4
  60. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
  61. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -16
  62. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
  63. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +3 -3
  64. package/src/components/Tabs/ScrollableTabs.tsx +2 -5
  65. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
  66. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +1 -1
  67. package/src/components/TextInput/StyledTextInput.tsx +16 -11
  68. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
  69. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +46 -28
  70. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +246 -64
  71. package/src/components/TextInput/index.tsx +21 -4
  72. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +18 -4
  73. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +19 -5
  74. package/src/components/Toast/ToastProvider.tsx +2 -4
  75. package/src/components/Toast/__tests__/index.spec.tsx +138 -0
  76. package/src/components/Toolbar/ToolbarItem.tsx +1 -1
  77. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
  78. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
  79. package/src/components/Typography/Text/StyledText.tsx +1 -0
  80. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
  81. package/src/components/Typography/Text/index.tsx +1 -0
  82. package/src/index.ts +4 -0
  83. package/src/theme/ThemeSwitcher.tsx +9 -2
  84. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +101 -88
  85. package/src/theme/components/accordion.ts +1 -1
  86. package/src/theme/components/alert.ts +4 -4
  87. package/src/theme/components/avatar.ts +2 -2
  88. package/src/theme/components/badge.ts +6 -6
  89. package/src/theme/components/bottomNavigation.ts +2 -2
  90. package/src/theme/components/bottomSheet.ts +3 -3
  91. package/src/theme/components/button.ts +20 -20
  92. package/src/theme/components/calendar.ts +4 -4
  93. package/src/theme/components/card.ts +5 -5
  94. package/src/theme/components/checkbox.ts +1 -1
  95. package/src/theme/components/divider.ts +1 -1
  96. package/src/theme/components/drawer.ts +4 -4
  97. package/src/theme/components/empty.ts +3 -4
  98. package/src/theme/components/fab.ts +7 -7
  99. package/src/theme/components/icon.ts +4 -3
  100. package/src/theme/components/list.ts +6 -7
  101. package/src/theme/components/pinInput.ts +4 -4
  102. package/src/theme/components/progress.ts +3 -3
  103. package/src/theme/components/refreshControl.ts +11 -0
  104. package/src/theme/components/richTextEditor.ts +9 -8
  105. package/src/theme/components/sectionHeading.ts +1 -1
  106. package/src/theme/components/select.ts +1 -1
  107. package/src/theme/components/slider.ts +3 -3
  108. package/src/theme/components/spinner.ts +1 -4
  109. package/src/theme/components/switch.ts +7 -7
  110. package/src/theme/components/tabs.ts +5 -5
  111. package/src/theme/components/tag.ts +12 -12
  112. package/src/theme/components/textInput.ts +38 -38
  113. package/src/theme/components/toast.ts +6 -6
  114. package/src/theme/components/toolbar.ts +3 -2
  115. package/src/theme/components/typography.ts +4 -3
  116. package/src/theme/getTheme.ts +3 -0
  117. package/src/theme/global/colors/global.ts +32 -0
  118. package/src/theme/global/colors/jobs.ts +18 -0
  119. package/src/theme/global/colors/legacySystemPalette.ts +53 -0
  120. package/src/theme/global/colors/swag.ts +21 -35
  121. package/src/theme/global/colors/types.ts +46 -27
  122. package/src/theme/global/colors/work.ts +10 -9
  123. package/src/theme/global/index.ts +8 -1
  124. package/src/theme/index.ts +6 -1
  125. package/src/utils/__tests__/helpers.spec.ts +27 -0
  126. package/src/utils/helpers.ts +21 -0
  127. package/tsconfig.prod.json +4 -0
  128. package/types/components/Icon/HeroIcon/index.d.ts +1 -1
  129. package/types/components/Icon/index.d.ts +1 -1
  130. package/types/components/RefreshControl/index.d.ts +5 -0
  131. package/types/components/RichTextEditor/MentionList.d.ts +7 -3
  132. package/types/components/RichTextEditor/index.d.ts +1 -1
  133. package/types/components/Select/types.d.ts +1 -3
  134. package/types/components/TextInput/StyledTextInput.d.ts +9 -3
  135. package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
  136. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  137. package/types/components/Typography/Text/index.d.ts +1 -1
  138. package/types/index.d.ts +3 -2
  139. package/types/theme/ThemeSwitcher.d.ts +1 -1
  140. package/types/theme/components/empty.d.ts +0 -1
  141. package/types/theme/components/icon.d.ts +1 -0
  142. package/types/theme/components/refreshControl.d.ts +7 -0
  143. package/types/theme/components/richTextEditor.d.ts +4 -3
  144. package/types/theme/components/spinner.d.ts +1 -4
  145. package/types/theme/components/toolbar.d.ts +1 -0
  146. package/types/theme/components/typography.d.ts +1 -0
  147. package/types/theme/getTheme.d.ts +2 -0
  148. package/types/theme/global/colors/global.d.ts +3 -0
  149. package/types/theme/global/colors/jobs.d.ts +3 -0
  150. package/types/theme/global/colors/legacySystemPalette.d.ts +3 -0
  151. package/types/theme/global/colors/types.d.ts +41 -21
  152. package/types/theme/global/index.d.ts +30 -21
  153. package/types/theme/index.d.ts +2 -2
  154. package/types/utils/helpers.d.ts +2 -0
  155. package/src/components/Box/__tests__/helpers.spec.ts +0 -14
  156. package/src/components/Box/helpers.ts +0 -10
  157. package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
  158. package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
  159. package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
  160. package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
  161. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
  162. package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
  163. package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
  164. package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
  165. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
  166. package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
  167. package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
  168. package/types/components/Box/__tests__/index.spec.d.ts +0 -1
  169. package/types/components/Box/helpers.d.ts +0 -1
  170. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
  171. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
  172. package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
  173. package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
  174. package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
  175. package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
  176. package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
  177. package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
  178. package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
  179. package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
  180. package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
  181. package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
  182. package/types/components/Card/__tests__/index.spec.d.ts +0 -1
  183. package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
  184. package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
  185. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
  186. package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
  187. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
  188. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
  189. package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
  190. package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
  191. package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
  192. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
  193. package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
  194. package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
  195. package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
  196. package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
  197. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
  198. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
  199. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
  200. package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
  201. package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
  202. package/types/components/Image/__tests__/index.spec.d.ts +0 -1
  203. package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
  204. package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
  205. package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
  206. package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
  207. package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
  208. package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
  209. package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
  210. package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
  211. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
  212. package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
  213. package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
  214. package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
  215. package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
  216. package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
  217. package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
  218. package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
  219. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
  220. package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
  221. package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
  222. package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
  223. package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
  224. package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
  225. package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
  226. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
  227. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
  228. package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
  229. package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
  230. package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
  231. package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
  232. package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
  233. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
  234. package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
  235. package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
  236. package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
  237. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
  238. package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
  239. package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
  240. package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
  241. package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
  242. package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
  243. package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
  244. package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
  245. package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
  246. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
  247. package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
  248. package/types/theme/__tests__/index.spec.d.ts +0 -1
  249. package/types/utils/__tests__/scale.spec.d.ts +0 -1
@@ -2,13 +2,13 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getFABTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- buttonBackground: theme.colors.backgroundDark,
6
- icon: theme.colors.invertedText,
7
- headerText: theme.colors.invertedText,
8
- actionItemBackground: theme.colors.primaryBackgroundDark,
9
- backdropBackground: theme.colors.backgroundDark,
10
- titleText: theme.colors.invertedText,
11
- actionItemText: theme.colors.invertedText,
5
+ buttonBackground: theme.colors.globalPrimary,
6
+ icon: theme.colors.onGlobalPrimary,
7
+ headerText: theme.colors.onGlobalPrimary,
8
+ actionItemBackground: theme.colors.globalPrimary,
9
+ backdropBackground: theme.colors.globalPrimary,
10
+ titleText: theme.colors.onGlobalPrimary,
11
+ actionItemText: theme.colors.onGlobalPrimary,
12
12
  };
13
13
 
14
14
  const sizes = {
@@ -2,14 +2,15 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getIconTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- text: theme.colors.text,
5
+ text: theme.colors.globalPrimary,
6
6
  primary: theme.colors.primary,
7
+ secondary: theme.colors.secondary,
7
8
  info: theme.colors.info,
8
9
  danger: theme.colors.danger,
9
10
  success: theme.colors.success,
10
11
  warning: theme.colors.warning,
11
- disabledText: theme.colors.disabledText,
12
- invertedText: theme.colors.invertedText,
12
+ disabledText: theme.colors.mutedGlobalPrimary,
13
+ invertedText: theme.colors.defaultGlobalSurface,
13
14
  };
14
15
 
15
16
  const sizes = {
@@ -2,17 +2,16 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getListTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- checkedListItemContainerBackground:
6
- theme.colors.__alpha__lightHighlightedSurface,
5
+ checkedListItemContainerBackground: theme.colors.highlightedSurface,
7
6
  highlightedListItemContainerBackground:
8
- theme.colors.__alpha__lightHighlightedSurface,
9
- listItemContainerBackground: theme.colors.platformBackground,
7
+ theme.colors.lightHighlightedSurface,
8
+ listItemContainerBackground: theme.colors.defaultGlobalSurface,
10
9
  leadingStatus: {
11
- danger: theme.colors.dangerMediumLight,
12
- info: theme.colors.infoLight,
10
+ danger: theme.colors.error,
11
+ info: theme.colors.info,
13
12
  success: theme.colors.success,
14
13
  warning: theme.colors.warning,
15
- archived: theme.colors.archivedLight,
14
+ archived: theme.colors.archived,
16
15
  },
17
16
  };
18
17
 
@@ -7,10 +7,10 @@ const getPinInputTheme = (theme: GlobalTheme) => {
7
7
  };
8
8
 
9
9
  const colors = {
10
- default: theme.colors.text,
11
- mask: theme.colors.subduedText,
12
- error: theme.colors.danger,
13
- disabled: theme.colors.archivedLight,
10
+ default: theme.colors.globalPrimary,
11
+ mask: theme.colors.mutedGlobalPrimary,
12
+ error: theme.colors.error,
13
+ disabled: theme.colors.mutedGlobalPrimary,
14
14
  };
15
15
 
16
16
  const fonts = {
@@ -4,11 +4,11 @@ const getProgressTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
5
  primary: theme.colors.primary,
6
6
  success: theme.colors.success, // should be emerald dark 15
7
- warning: theme.colors.warningDark,
7
+ warning: theme.colors.warning,
8
8
  danger: theme.colors.danger,
9
9
  info: theme.colors.info,
10
- background: theme.colors.outline,
11
- innerBackground: theme.colors.platformBackground,
10
+ background: theme.colors.globalSecondaryOutline,
11
+ innerBackground: theme.colors.defaultGlobalSurface,
12
12
  };
13
13
 
14
14
  const sizes = {
@@ -0,0 +1,11 @@
1
+ import type { GlobalTheme } from '../global';
2
+
3
+ const getRefreshControlTheme = (theme: GlobalTheme) => {
4
+ const colors = {
5
+ indicator: theme.colors.primary,
6
+ };
7
+
8
+ return { colors };
9
+ };
10
+
11
+ export default getRefreshControlTheme;
@@ -2,13 +2,9 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getRichTextEditorTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- toolbarBorderColor: theme.colors.outline,
6
- toolbarBackgroundColor: theme.colors.backgroundLight,
7
- toolbarButtonSelectedBackground: theme.colors.outline,
8
- };
9
-
10
- const borderWidths = {
11
- webViewBorderBottomWidth: 0.8,
5
+ toolbarBorderColor: theme.colors.globalSecondaryOutline,
6
+ toolbarBackgroundColor: theme.colors.neutralGlobalSurface,
7
+ toolbarButtonSelectedBackground: theme.colors.lightHighlightedSurface,
12
8
  };
13
9
 
14
10
  const sizes = {
@@ -26,9 +22,14 @@ const getRichTextEditorTheme = (theme: GlobalTheme) => {
26
22
  wrapperMarginBottom: theme.space.medium,
27
23
  toolbarHorizontalPadding: theme.space.small,
28
24
  editorPadding: theme.space.medium,
25
+ mention: theme.space.xsmall,
26
+ };
27
+
28
+ const radii = {
29
+ mention: theme.radii.medium,
29
30
  };
30
31
 
31
- return { colors, space, borderWidths, fontSizes, sizes };
32
+ return { colors, space, fontSizes, sizes, radii };
32
33
  };
33
34
 
34
35
  export default getRichTextEditorTheme;
@@ -2,7 +2,7 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getSectionHeadingTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- background: theme.colors.__alpha__globalNeutral3,
5
+ background: theme.colors.neutralGlobalSurface,
6
6
  };
7
7
 
8
8
  const space = {
@@ -2,7 +2,7 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getSelectTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- footerText: theme.colors.primary,
5
+ footerText: theme.colors.secondary,
6
6
  };
7
7
 
8
8
  const space = {
@@ -2,9 +2,9 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getSliderTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- minimumTrackTint: theme.colors.__alpha__primary1,
6
- thumbTint: theme.colors.__alpha__globalSecondary4,
7
- maximumTrackTint: theme.colors.__alpha__secondary4,
5
+ minimumTrackTint: theme.colors.secondary,
6
+ thumbTint: theme.colors.neutralGlobalSurface,
7
+ maximumTrackTint: theme.colors.lightHighlightedSurface,
8
8
  };
9
9
 
10
10
  return { colors };
@@ -2,10 +2,7 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getSpinnerTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- dot1: theme.colors.__alpha__secondary1,
6
- dot2: theme.colors.__alpha__secondary2,
7
- dot3: theme.colors.__alpha__secondary3,
8
- dot4: theme.colors.__alpha__secondary4,
5
+ dot: theme.colors.primary,
9
6
  };
10
7
 
11
8
  const space = {
@@ -3,15 +3,15 @@ import type { GlobalTheme } from '../global';
3
3
  const getSwitchTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
5
  backgroundColors: {
6
- checked: theme.colors.primary,
7
- unchecked: theme.colors.globalPrimaryLight,
8
- 'disabled-checked': theme.colors.primaryLight,
9
- 'disabled-unchecked': theme.colors.archived,
6
+ checked: theme.colors.secondary,
7
+ unchecked: theme.colors.mutedSecondary,
8
+ 'disabled-checked': theme.colors.disabledSecondary,
9
+ 'disabled-unchecked': theme.colors.disabledOnDefaultGlobalSurface,
10
10
  },
11
- thumb: theme.colors.platformBackground,
11
+ thumb: theme.colors.onSecondary,
12
12
  selector: {
13
- background: theme.colors.__alpha__globalNeutral3,
14
- textBackground: theme.colors.__alpha__primary1,
13
+ background: theme.colors.neutralGlobalSurface,
14
+ textBackground: theme.colors.secondary,
15
15
  },
16
16
  };
17
17
 
@@ -2,11 +2,11 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getTabsTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- active: theme.colors.text,
6
- inactive: theme.colors.text,
7
- activeBackground: theme.colors.__alpha__secondary4,
8
- headerBottom: theme.colors.outline,
9
- text: theme.colors.text,
5
+ active: theme.colors.globalPrimary,
6
+ inactive: theme.colors.globalPrimary,
7
+ activeBackground: theme.colors.mutedPrimary,
8
+ headerBottom: theme.colors.globalSecondaryOutline,
9
+ text: theme.colors.globalPrimary,
10
10
  };
11
11
 
12
12
  const space = {
@@ -6,20 +6,20 @@ const getTagTheme = (theme: GlobalTheme) => {
6
6
  };
7
7
 
8
8
  const colors = {
9
- default: theme.colors.__alpha__globalPrimary,
9
+ default: theme.colors.globalPrimary,
10
10
  defaultBackground: undefined,
11
- primary: theme.colors.__alpha__globalPrimary,
11
+ primary: theme.colors.globalPrimary,
12
12
  primaryBackground: undefined,
13
- info: theme.colors.__alpha__globalLabel4,
14
- infoBackground: theme.colors.__alpha__globalLabel9,
15
- success: theme.colors.__alpha__globalLabel3,
16
- successBackground: theme.colors.__alpha__globalLabel8,
17
- warning: theme.colors.__alpha__globalLabel2,
18
- warningBackground: theme.colors.__alpha__globalLabel7,
19
- danger: theme.colors.__alpha__globalLabel1,
20
- dangerBackground: theme.colors.__alpha__globalLabel6,
21
- archived: theme.colors.__alpha__globalLabel5,
22
- archivedBackground: theme.colors.__alpha__globalNeutral3,
13
+ info: theme.colors.onInfoSurface,
14
+ infoBackground: theme.colors.infoSurface,
15
+ success: theme.colors.onSuccessSurface,
16
+ successBackground: theme.colors.successSurface,
17
+ warning: theme.colors.onWarningSurface,
18
+ warningBackground: theme.colors.warningSurface,
19
+ danger: theme.colors.onErrorSurface,
20
+ dangerBackground: theme.colors.errorSurface,
21
+ archived: theme.colors.onArchivedSurface,
22
+ archivedBackground: theme.colors.archivedSurface,
23
23
  };
24
24
 
25
25
  const fonts = {
@@ -2,53 +2,53 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getTextInputTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- labelBackground: theme.colors.platformBackground,
5
+ labelBackground: theme.colors.defaultGlobalSurface,
6
6
  asterisks: {
7
- default: theme.colors.danger,
8
- error: theme.colors.danger,
9
- disabled: theme.colors.disabledLightText,
10
- readonly: theme.colors.disabledText,
11
- filled: theme.colors.danger,
12
- focused: theme.colors.danger,
7
+ default: theme.colors.error,
8
+ error: theme.colors.error,
9
+ disabled: theme.colors.disabledOnDefaultGlobalSurface,
10
+ readonly: theme.colors.mutedSecondary,
11
+ filled: theme.colors.error,
12
+ focused: theme.colors.error,
13
13
  },
14
- error: theme.colors.danger,
15
- placeholderIfNotFocused: theme.colors.text,
16
- placeholderIfFocued: theme.colors.disabledText,
17
- label: theme.colors.text,
18
- readonlyLabel: theme.colors.disabledText,
19
- disabledLabel: theme.colors.disabledLightText,
20
- text: theme.colors.text,
14
+ error: theme.colors.error,
15
+ placeholderIfNotFocused: theme.colors.globalPrimary,
16
+ placeholderIfFocued: theme.colors.mutedSecondary,
17
+ label: theme.colors.globalPrimary,
18
+ readonlyLabel: theme.colors.mutedSecondary,
19
+ disabledLabel: theme.colors.disabledOnDefaultGlobalSurface,
20
+ text: theme.colors.globalPrimary,
21
21
  borders: {
22
- default: theme.colors.text,
23
- error: theme.colors.danger,
24
- disabled: theme.colors.disabledLightText,
25
- readonly: theme.colors.disabledText,
26
- filled: theme.colors.text,
27
- focused: theme.colors.text,
22
+ default: theme.colors.globalPrimary,
23
+ error: theme.colors.error,
24
+ disabled: theme.colors.disabledOnDefaultGlobalSurface,
25
+ readonly: theme.colors.mutedSecondary,
26
+ filled: theme.colors.globalPrimary,
27
+ focused: theme.colors.globalPrimary,
28
28
  },
29
29
  labels: {
30
- default: theme.colors.text,
31
- error: theme.colors.text,
32
- disabled: theme.colors.disabledLightText,
33
- readonly: theme.colors.disabledText,
34
- filled: theme.colors.text,
35
- focused: theme.colors.text,
30
+ default: theme.colors.globalPrimary,
31
+ error: theme.colors.globalPrimary,
32
+ disabled: theme.colors.disabledOnDefaultGlobalSurface,
33
+ readonly: theme.colors.disabledOnDefaultGlobalSurface,
34
+ filled: theme.colors.globalPrimary,
35
+ focused: theme.colors.globalPrimary,
36
36
  },
37
37
  labelsInsideTextInput: {
38
- default: theme.colors.text,
39
- error: theme.colors.text,
40
- disabled: theme.colors.disabledLightText,
41
- readonly: theme.colors.disabledText,
42
- filled: theme.colors.text,
43
- focused: theme.colors.text,
38
+ default: theme.colors.globalPrimary,
39
+ error: theme.colors.globalPrimary,
40
+ disabled: theme.colors.disabledOnDefaultGlobalSurface,
41
+ readonly: theme.colors.disabledOnDefaultGlobalSurface,
42
+ filled: theme.colors.globalPrimary,
43
+ focused: theme.colors.globalPrimary,
44
44
  },
45
45
  maxLengthLabels: {
46
- default: theme.colors.text,
47
- error: theme.colors.danger,
48
- disabled: theme.colors.disabledLightText,
49
- readonly: theme.colors.disabledText,
50
- filled: theme.colors.text,
51
- focused: theme.colors.text,
46
+ default: theme.colors.globalPrimary,
47
+ error: theme.colors.error,
48
+ disabled: theme.colors.disabledOnDefaultGlobalSurface,
49
+ readonly: theme.colors.disabledOnDefaultGlobalSurface,
50
+ filled: theme.colors.globalPrimary,
51
+ focused: theme.colors.globalPrimary,
52
52
  },
53
53
  };
54
54
 
@@ -4,12 +4,12 @@ const getToastTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
5
  success: theme.colors.success,
6
6
  warning: theme.colors.warning,
7
- error: theme.colors.dangerLight,
8
- info: theme.colors.infoLight,
9
- notification: theme.colors.platformBackground,
10
- snackbar: theme.colors.backgroundDark,
11
- divider: theme.colors.outline,
12
- shadow: theme.colors.backgroundDark,
7
+ error: theme.colors.error,
8
+ info: theme.colors.info,
9
+ notification: theme.colors.defaultGlobalSurface,
10
+ snackbar: theme.colors.globalPrimary,
11
+ divider: theme.colors.globalSecondaryOutline,
12
+ shadow: theme.colors.globalPrimary,
13
13
  };
14
14
 
15
15
  const sizes = {
@@ -2,9 +2,10 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getToolbarTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- background: theme.colors.platformBackground,
6
- border: theme.colors.outline,
5
+ background: theme.colors.defaultGlobalSurface,
6
+ border: theme.colors.globalSecondaryOutline,
7
7
  primary: theme.colors.primary,
8
+ secondary: theme.colors.secondary,
8
9
  info: theme.colors.info,
9
10
  success: theme.colors.success,
10
11
  danger: theme.colors.warning,
@@ -2,14 +2,15 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getTypographyTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- body: theme.colors.text,
6
- subdued: theme.colors.disabledText,
5
+ body: theme.colors.globalPrimary,
6
+ subdued: theme.colors.mutedGlobalPrimary,
7
7
  primary: theme.colors.primary,
8
+ secondary: theme.colors.secondary,
8
9
  info: theme.colors.info,
9
10
  danger: theme.colors.danger,
10
11
  warning: theme.colors.warning,
11
12
  success: theme.colors.success,
12
- inverted: theme.colors.invertedText,
13
+ inverted: theme.colors.onGlobalPrimary,
13
14
  };
14
15
 
15
16
  const fonts = {
@@ -22,6 +22,7 @@ import getListTheme from './components/list';
22
22
  import getPinInputTheme from './components/pinInput';
23
23
  import getProgressTheme from './components/progress';
24
24
  import getRadioTheme from './components/radio';
25
+ import getRefreshControlTheme from './components/refreshControl';
25
26
  import getRichTextEditorTheme from './components/richTextEditor';
26
27
  import getSectionHeadingTheme from './components/sectionHeading';
27
28
  import getSelectTheme from './components/select';
@@ -62,6 +63,7 @@ type Theme = GlobalTheme & {
62
63
  pinInput: ReturnType<typeof getPinInputTheme>;
63
64
  progress: ReturnType<typeof getProgressTheme>;
64
65
  radio: ReturnType<typeof getRadioTheme>;
66
+ refreshControl: ReturnType<typeof getRefreshControlTheme>;
65
67
  richTextEditor: ReturnType<typeof getRichTextEditorTheme>;
66
68
  sectionHeading: ReturnType<typeof getSectionHeadingTheme>;
67
69
  select: ReturnType<typeof getSelectTheme>;
@@ -108,6 +110,7 @@ const getTheme = (
108
110
  pinInput: getPinInputTheme(globalTheme),
109
111
  progress: getProgressTheme(globalTheme),
110
112
  radio: getRadioTheme(globalTheme),
113
+ refreshControl: getRefreshControlTheme(globalTheme),
111
114
  richTextEditor: getRichTextEditorTheme(globalTheme),
112
115
  sectionHeading: getSectionHeadingTheme(globalTheme),
113
116
  select: getSelectTheme(globalTheme),
@@ -0,0 +1,32 @@
1
+ import { defaultMobilePalette as palette } from '@hero-design/colors';
2
+ import type { GlobalSystemPalette } from './types';
3
+
4
+ const globalPalette: GlobalSystemPalette = {
5
+ globalPrimary: palette.maasstrichtBlue,
6
+ mutedGlobalPrimary: palette.maasstrichtBlueLight30,
7
+ onGlobalPrimary: palette.white,
8
+ globalSecondary: palette.maasstrichtBlueLight30,
9
+ globalPrimaryOutline: palette.maasstrichtBlue,
10
+ globalSecondaryOutline: palette.greyLight75,
11
+ defaultGlobalSurface: palette.white,
12
+ onDefaultGlobalSurface: palette.maasstrichtBlue,
13
+ neutralGlobalSurface: palette.greyLight90,
14
+ disabledOnDefaultGlobalSurface: palette.greyLight30,
15
+ error: palette.pastelRed,
16
+ errorSurface: palette.linen,
17
+ onErrorSurface: palette.vermilion,
18
+ warning: palette.mellowApricot,
19
+ warningSurface: palette.seashell,
20
+ onWarningSurface: palette.deepSaffron,
21
+ success: palette.emerald,
22
+ successSurface: palette.honeydew,
23
+ onSuccessSurface: palette.pineGreen,
24
+ info: palette.vodka,
25
+ infoSurface: palette.aliceBlue,
26
+ onInfoSurface: palette.ultramarineBlue,
27
+ archived: palette.greyLight45,
28
+ archivedSurface: palette.antiFlashWhite,
29
+ onArchivedSurface: palette.sonicSilver,
30
+ };
31
+
32
+ export default globalPalette;
@@ -0,0 +1,18 @@
1
+ import { jobsPalette as palette } from '@hero-design/colors';
2
+ import swag from './swag';
3
+ import type { SystemPalette } from './types';
4
+
5
+ const jobsSystemPalette: SystemPalette = {
6
+ ...swag,
7
+
8
+ primary: palette.hitPink,
9
+ mutedPrimary: palette.hitPinkLight90,
10
+ onPrimary: palette.maasstrichtBlue,
11
+ secondary: palette.apple,
12
+ mutedSecondary: palette.maasstrichtBlueLight50,
13
+ disabledSecondary: palette.hitPinkLight50,
14
+ highlightedSurface: palette.hitPinkLight80,
15
+ lightHighlightedSurface: palette.hitPinkLight90,
16
+ };
17
+
18
+ export default jobsSystemPalette;
@@ -0,0 +1,53 @@
1
+ import {
2
+ defaultMobilePalette as palette,
3
+ swagPalette,
4
+ } from '@hero-design/colors';
5
+ import type { LegacySystemPalette } from './types';
6
+
7
+ const legacySystemPalette: LegacySystemPalette = {
8
+ globalPrimary: palette.maasstrichtBlue,
9
+ globalPrimaryLight: palette.maasstrichtBlueLight50,
10
+ globalPrimaryBackground: palette.maasstrichtBlueLight90,
11
+ primary: swagPalette.violet,
12
+ primaryLight: swagPalette.violetLight50,
13
+ primaryDark: swagPalette.scarletGumLight30, // DEPRECATED
14
+ primaryBackground: swagPalette.violetLight90,
15
+ primaryBackgroundDark: palette.maasstrichtBlueLight30,
16
+ secondary: swagPalette.ultramarineBlue, // no longer needed after revising Button
17
+ secondaryLight: swagPalette.vodka, // no longer needed after revising Button
18
+ secondaryBackground: swagPalette.aliceBlue, // no longer needed after revising Button
19
+ info: palette.ultramarineBlue,
20
+ infoMediumLight: palette.vodka, // DEPRECATED, use infoLight instead
21
+ infoLight: palette.vodka,
22
+ infoBackground: palette.aliceBlue,
23
+ success: palette.emerald,
24
+ successLight: palette.emerald, // DEPRECATED, use success instead
25
+ successDark: palette.pineGreen,
26
+ successBackground: palette.honeydew,
27
+ danger: palette.vermilion,
28
+ dangerMediumLight: palette.apple, // should be dangerDark?
29
+ dangerLight: palette.pastelRed,
30
+ dangerBackground: palette.linen,
31
+ warning: palette.mellowApricot,
32
+ warningLight: palette.mellowApricot, // DEPRECATED, use warning instead
33
+ warningDark: palette.deepSaffron,
34
+ warningBackground: palette.seashell,
35
+ platformBackground: palette.white,
36
+ backgroundLight: palette.greyLight90,
37
+ backgroundDark: palette.maasstrichtBlue,
38
+ text: palette.maasstrichtBlue,
39
+ subduedText: palette.maasstrichtBlueLight30, // secondary
40
+ disabledText: palette.maasstrichtBlueLight50, // readonly
41
+ disabledLightText: palette.greyLight30, // disabled
42
+ invertedText: palette.white,
43
+ outline: palette.greyLight75, // divider
44
+ archived: palette.greyLight45, // no usage
45
+ archivedLight: palette.greyLight30,
46
+ archivedDark: palette.sonicSilver, // should replace archived as archived has no usage?
47
+ archivedBackground: palette.greyLight90,
48
+ black: palette.black,
49
+ inactiveBackground: palette.maasstrichtBlueLight50,
50
+ shadow: palette.greyLight45, // waiting for new color
51
+ };
52
+
53
+ export default legacySystemPalette;
@@ -1,21 +1,18 @@
1
- import {
2
- defaultMobilePalette as palette,
3
- swagPalette,
4
- } from '@hero-design/colors';
1
+ import { swagPalette as palette } from '@hero-design/colors';
5
2
  import type { SystemPalette } from './types';
3
+ import globalPalette from './global';
6
4
 
7
5
  const swagSystemPalette: SystemPalette = {
6
+ // Legacy
8
7
  globalPrimary: palette.maasstrichtBlue,
9
8
  globalPrimaryLight: palette.maasstrichtBlueLight50,
10
9
  globalPrimaryBackground: palette.maasstrichtBlueLight90,
11
- primary: swagPalette.violet,
12
- primaryLight: swagPalette.violetLight50,
13
- primaryDark: swagPalette.scarletGumLight30, // DEPRECATED
14
- primaryBackground: swagPalette.violetLight90,
10
+ primaryLight: palette.violetLight50,
11
+ primaryDark: palette.scarletGumLight30, // DEPRECATED
12
+ primaryBackground: palette.violetLight90,
15
13
  primaryBackgroundDark: palette.maasstrichtBlueLight30,
16
- secondary: swagPalette.ultramarineBlue, // no longer needed after revising Button
17
- secondaryLight: swagPalette.vodka, // no longer needed after revising Button
18
- secondaryBackground: swagPalette.aliceBlue, // no longer needed after revising Button
14
+ secondaryLight: palette.vodka, // no longer needed after revising Button
15
+ secondaryBackground: palette.aliceBlue, // no longer needed after revising Button
19
16
  info: palette.ultramarineBlue,
20
17
  infoMediumLight: palette.vodka, // DEPRECATED, use infoLight instead
21
18
  infoLight: palette.vodka,
@@ -49,31 +46,20 @@ const swagSystemPalette: SystemPalette = {
49
46
  inactiveBackground: palette.maasstrichtBlueLight50,
50
47
  shadow: palette.greyLight45, // waiting for new color
51
48
 
52
- __alpha__globalPrimary: palette.maasstrichtBlue,
49
+ // Global
50
+ ...globalPalette,
53
51
 
54
- __alpha__globalSecondary1: palette.maasstrichtBlueLight30,
55
- __alpha__globalSecondary4: palette.maasstrichtBlueLight90,
56
-
57
- __alpha__globalNeutral3: palette.greyLight90,
58
-
59
- __alpha__globalLabel1: palette.vermilion,
60
- __alpha__globalLabel2: palette.deepSaffron,
61
- __alpha__globalLabel3: palette.pineGreen,
62
- __alpha__globalLabel4: palette.ultramarineBlue,
63
- __alpha__globalLabel5: palette.sonicSilver,
64
- __alpha__globalLabel6: palette.linen,
65
- __alpha__globalLabel7: palette.seashell,
66
- __alpha__globalLabel8: palette.honeydew,
67
- __alpha__globalLabel9: palette.aliceBlue,
68
-
69
- __alpha__primary1: swagPalette.scarletGum,
70
- __alpha__primary2: swagPalette.mauve,
71
-
72
- __alpha__secondary1: swagPalette.scarletGumLight30,
73
- __alpha__secondary2: swagPalette.scarletGumLight50,
74
- __alpha__secondary3: swagPalette.scarletGumLight80,
75
- __alpha__secondary4: swagPalette.scarletGumLight90,
76
- __alpha__lightHighlightedSurface: '#ECE8EF',
52
+ // Brand
53
+ primary: palette.maasstrichtBlue,
54
+ mutedPrimary: palette.maasstrichtBlueLight90,
55
+ onPrimary: palette.white,
56
+ secondary: palette.scarletGum,
57
+ onSecondary: palette.white,
58
+ mutedSecondary: palette.maasstrichtBlueLight50,
59
+ disabledSecondary: palette.scarletGumLight50,
60
+ highlightedSurface: palette.scarletGumLight80,
61
+ highlightedSecondarySurface: palette.aliceBlue,
62
+ lightHighlightedSurface: palette.scarletGumLight90,
77
63
  };
78
64
 
79
65
  export default swagSystemPalette;