@hero-design/rn 7.22.2 → 7.22.3

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 (117) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/es/index.js +271 -242
  3. package/lib/index.js +271 -242
  4. package/package.json +4 -4
  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/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
  12. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  13. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +24 -24
  14. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +6 -6
  15. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +3 -3
  16. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  17. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
  18. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  19. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +2 -2
  20. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  21. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  22. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +1 -1
  23. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  24. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  25. package/src/components/Icon/HeroIcon/index.tsx +2 -0
  26. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  27. package/src/components/Icon/index.tsx +1 -0
  28. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  29. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +12 -12
  30. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  31. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -4
  32. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
  33. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
  34. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
  35. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +1 -1
  36. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -1
  37. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
  38. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -4
  39. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  40. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  41. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +13 -9
  42. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
  43. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  44. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -8
  45. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  46. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
  47. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  48. package/src/components/Spinner/StyledSpinner.tsx +8 -4
  49. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
  50. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -16
  51. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
  52. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +3 -3
  53. package/src/components/Tabs/ScrollableTabs.tsx +2 -5
  54. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
  55. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +1 -1
  56. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +10 -10
  57. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
  58. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
  59. package/src/components/Toast/ToastProvider.tsx +2 -4
  60. package/src/components/Toast/__tests__/index.spec.tsx +138 -0
  61. package/src/components/Toolbar/ToolbarItem.tsx +1 -1
  62. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
  63. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
  64. package/src/components/Typography/Text/StyledText.tsx +1 -0
  65. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
  66. package/src/components/Typography/Text/index.tsx +1 -0
  67. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +92 -85
  68. package/src/theme/components/accordion.ts +1 -1
  69. package/src/theme/components/alert.ts +4 -4
  70. package/src/theme/components/avatar.ts +2 -2
  71. package/src/theme/components/badge.ts +6 -6
  72. package/src/theme/components/bottomNavigation.ts +2 -2
  73. package/src/theme/components/bottomSheet.ts +3 -3
  74. package/src/theme/components/button.ts +20 -20
  75. package/src/theme/components/calendar.ts +4 -4
  76. package/src/theme/components/card.ts +5 -5
  77. package/src/theme/components/checkbox.ts +1 -1
  78. package/src/theme/components/divider.ts +1 -1
  79. package/src/theme/components/drawer.ts +4 -4
  80. package/src/theme/components/empty.ts +3 -4
  81. package/src/theme/components/fab.ts +7 -7
  82. package/src/theme/components/icon.ts +4 -3
  83. package/src/theme/components/list.ts +6 -7
  84. package/src/theme/components/pinInput.ts +4 -4
  85. package/src/theme/components/progress.ts +3 -3
  86. package/src/theme/components/richTextEditor.ts +3 -3
  87. package/src/theme/components/sectionHeading.ts +1 -1
  88. package/src/theme/components/select.ts +1 -1
  89. package/src/theme/components/slider.ts +3 -3
  90. package/src/theme/components/spinner.ts +1 -4
  91. package/src/theme/components/switch.ts +7 -7
  92. package/src/theme/components/tabs.ts +5 -5
  93. package/src/theme/components/tag.ts +12 -12
  94. package/src/theme/components/textInput.ts +38 -38
  95. package/src/theme/components/toast.ts +6 -6
  96. package/src/theme/components/toolbar.ts +3 -2
  97. package/src/theme/components/typography.ts +4 -3
  98. package/src/theme/global/colors/global.ts +32 -0
  99. package/src/theme/global/colors/legacySystemPalette.ts +53 -0
  100. package/src/theme/global/colors/swag.ts +21 -35
  101. package/src/theme/global/colors/types.ts +46 -27
  102. package/src/theme/global/colors/work.ts +10 -9
  103. package/types/components/Icon/HeroIcon/index.d.ts +1 -1
  104. package/types/components/Icon/index.d.ts +1 -1
  105. package/types/components/Toast/__tests__/index.spec.d.ts +1 -0
  106. package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
  107. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  108. package/types/components/Typography/Text/index.d.ts +1 -1
  109. package/types/theme/components/empty.d.ts +0 -1
  110. package/types/theme/components/icon.d.ts +1 -0
  111. package/types/theme/components/spinner.d.ts +1 -4
  112. package/types/theme/components/toolbar.d.ts +1 -0
  113. package/types/theme/components/typography.d.ts +1 -0
  114. package/types/theme/global/colors/global.d.ts +3 -0
  115. package/types/theme/global/colors/legacySystemPalette.d.ts +3 -0
  116. package/types/theme/global/colors/types.d.ts +41 -21
  117. package/types/theme/global/index.d.ts +28 -20
@@ -44,9 +44,9 @@ Object {
44
44
  "default": 1,
45
45
  },
46
46
  "colors": Object {
47
- "danger": "#de350b",
48
- "info": "#4568fb",
49
- "primary": "#8505a2",
47
+ "danger": "#f46363",
48
+ "info": "#b5c3fd",
49
+ "primary": "#001f23",
50
50
  "success": "#5ace7d",
51
51
  "warning": "#ffbe71",
52
52
  },
@@ -158,26 +158,26 @@ Object {
158
158
  },
159
159
  "colors": Object {
160
160
  "danger": "#de350b",
161
- "defaultText": "#001f23",
161
+ "defaultText": "#ffffff",
162
162
  "disabledBackground": "#bfc1c5",
163
163
  "disabledBorder": "#bfc1c5",
164
164
  "disabledText": "#bfc1c5",
165
165
  "invertedText": "#ffffff",
166
- "pressedDanger": "#f46363",
167
- "pressedPrimary": "#808f91",
168
- "pressedSecondary": "#b5c3fd",
166
+ "pressedDanger": "#de350b",
167
+ "pressedPrimary": "#4d6265",
168
+ "pressedSecondary": "#401960",
169
169
  "primary": "#001f23",
170
- "secondary": "#4568fb",
170
+ "secondary": "#401960",
171
171
  "underlayColors": Object {
172
- "basic-transparent": "#808f91",
172
+ "basic-transparent": "#4d6265",
173
173
  "filled-danger": "#f46363",
174
- "filled-primary": "#808f91",
175
- "filled-secondary": "#b5c3fd",
174
+ "filled-primary": "#4d6265",
175
+ "filled-secondary": "#808f91",
176
176
  "outlined-danger": "#fcebe7",
177
- "outlined-primary": "#e6e9e9",
177
+ "outlined-primary": "#f6f6f7",
178
178
  "outlined-secondary": "#ecf0ff",
179
179
  "text-danger": "#fcebe7",
180
- "text-primary": "#e6e9e9",
180
+ "text-primary": "#f6f6f7",
181
181
  "text-secondary": "#ecf0ff",
182
182
  },
183
183
  "utilityBackground": "#f6f6f7",
@@ -209,10 +209,10 @@ Object {
209
209
  },
210
210
  "calendar": Object {
211
211
  "colors": Object {
212
- "background": "#f6f6f7",
212
+ "background": "#ffffff",
213
213
  "border": "#001f23",
214
214
  "inverted": "#ffffff",
215
- "primary": "#8505a2",
215
+ "primary": "#001f23",
216
216
  },
217
217
  "radii": Object {
218
218
  "default": 999,
@@ -233,11 +233,11 @@ Object {
233
233
  },
234
234
  "card": Object {
235
235
  "colors": Object {
236
- "archived": "#bfc1c5",
237
- "danger": "#e3602a",
238
- "dataCardIndicator": "#8505a2",
236
+ "archived": "#ccced1",
237
+ "danger": "#f46363",
238
+ "dataCardIndicator": "#001f23",
239
239
  "info": "#b5c3fd",
240
- "primary": "#c38cee",
240
+ "primary": "#001f23",
241
241
  "success": "#5ace7d",
242
242
  "warning": "#ffbe71",
243
243
  },
@@ -255,7 +255,7 @@ Object {
255
255
  },
256
256
  "colors": Object {
257
257
  "default": "#001f23",
258
- "disabledBorder": "#808f91",
258
+ "disabledBorder": "#4d6265",
259
259
  },
260
260
  "radii": Object {
261
261
  "icon": 4,
@@ -297,7 +297,7 @@ Object {
297
297
  },
298
298
  "drawer": Object {
299
299
  "colors": Object {
300
- "backdrop": "#001f23",
300
+ "backdrop": "#ffffff",
301
301
  "background": "#ffffff",
302
302
  "handler": "#001f23",
303
303
  "shadow": "#001f23",
@@ -325,7 +325,6 @@ Object {
325
325
  },
326
326
  "empty": Object {
327
327
  "colors": Object {
328
- "illustrationBackground": "#ccced1",
329
328
  "invertedText": "#ffffff",
330
329
  "subduedText": "#4d6265",
331
330
  "text": "#001f23",
@@ -349,7 +348,7 @@ Object {
349
348
  },
350
349
  "fab": Object {
351
350
  "colors": Object {
352
- "actionItemBackground": "#4d6265",
351
+ "actionItemBackground": "#001f23",
353
352
  "actionItemText": "#ffffff",
354
353
  "backdropBackground": "#001f23",
355
354
  "buttonBackground": "#001f23",
@@ -400,10 +399,11 @@ Object {
400
399
  "icon": Object {
401
400
  "colors": Object {
402
401
  "danger": "#de350b",
403
- "disabledText": "#808f91",
404
- "info": "#4568fb",
402
+ "disabledText": "#4d6265",
403
+ "info": "#b5c3fd",
405
404
  "invertedText": "#ffffff",
406
- "primary": "#8505a2",
405
+ "primary": "#001f23",
406
+ "secondary": "#401960",
407
407
  "success": "#5ace7d",
408
408
  "text": "#001f23",
409
409
  "warning": "#ffbe71",
@@ -424,11 +424,11 @@ Object {
424
424
  },
425
425
  "list": Object {
426
426
  "colors": Object {
427
- "checkedListItemContainerBackground": "#ECE8EF",
428
- "highlightedListItemContainerBackground": "#ECE8EF",
427
+ "checkedListItemContainerBackground": "#d9d1df",
428
+ "highlightedListItemContainerBackground": "#ece8ef",
429
429
  "leadingStatus": Object {
430
- "archived": "#bfc1c5",
431
- "danger": "#e3602a",
430
+ "archived": "#ccced1",
431
+ "danger": "#f46363",
432
432
  "info": "#b5c3fd",
433
433
  "success": "#5ace7d",
434
434
  "warning": "#ffbe71",
@@ -470,8 +470,8 @@ Object {
470
470
  },
471
471
  "colors": Object {
472
472
  "default": "#001f23",
473
- "disabled": "#bfc1c5",
474
- "error": "#de350b",
473
+ "disabled": "#4d6265",
474
+ "error": "#f46363",
475
475
  "mask": "#4d6265",
476
476
  },
477
477
  "fontSizes": Object {
@@ -500,11 +500,11 @@ Object {
500
500
  "colors": Object {
501
501
  "background": "#e8e9ea",
502
502
  "danger": "#de350b",
503
- "info": "#4568fb",
503
+ "info": "#b5c3fd",
504
504
  "innerBackground": "#ffffff",
505
- "primary": "#8505a2",
505
+ "primary": "#001f23",
506
506
  "success": "#5ace7d",
507
- "warning": "#ffa234",
507
+ "warning": "#ffbe71",
508
508
  },
509
509
  "radii": Object {
510
510
  "default": 999,
@@ -537,7 +537,7 @@ Object {
537
537
  "colors": Object {
538
538
  "toolbarBackgroundColor": "#f6f6f7",
539
539
  "toolbarBorderColor": "#e8e9ea",
540
- "toolbarButtonSelectedBackground": "#e8e9ea",
540
+ "toolbarButtonSelectedBackground": "#ece8ef",
541
541
  },
542
542
  "fontSizes": Object {
543
543
  "editor": 14,
@@ -567,7 +567,7 @@ Object {
567
567
  },
568
568
  "select": Object {
569
569
  "colors": Object {
570
- "footerText": "#8505a2",
570
+ "footerText": "#401960",
571
571
  },
572
572
  "radii": Object {
573
573
  "option": 4,
@@ -586,15 +586,12 @@ Object {
586
586
  "colors": Object {
587
587
  "maximumTrackTint": "#ece8ef",
588
588
  "minimumTrackTint": "#401960",
589
- "thumbTint": "#e6e9e9",
589
+ "thumbTint": "#f6f6f7",
590
590
  },
591
591
  },
592
592
  "spinner": Object {
593
593
  "colors": Object {
594
- "dot1": "#795e90",
595
- "dot2": "#a08cb0",
596
- "dot3": "#d9d1df",
597
- "dot4": "#ece8ef",
594
+ "dot": "#001f23",
598
595
  },
599
596
  "radii": Object {
600
597
  "default": 999,
@@ -617,9 +614,9 @@ Object {
617
614
  "switch": Object {
618
615
  "colors": Object {
619
616
  "backgroundColors": Object {
620
- "checked": "#8505a2",
621
- "disabled-checked": "#c282d1",
622
- "disabled-unchecked": "#ccced1",
617
+ "checked": "#401960",
618
+ "disabled-checked": "#a08cb0",
619
+ "disabled-unchecked": "#bfc1c5",
623
620
  "unchecked": "#808f91",
624
621
  },
625
622
  "selector": Object {
@@ -666,7 +663,7 @@ Object {
666
663
  },
667
664
  "colors": Object {
668
665
  "active": "#001f23",
669
- "activeBackground": "#ece8ef",
666
+ "activeBackground": "#e6e9e9",
670
667
  "headerBottom": "#e8e9ea",
671
668
  "inactive": "#001f23",
672
669
  "text": "#001f23",
@@ -692,7 +689,7 @@ Object {
692
689
  },
693
690
  "colors": Object {
694
691
  "archived": "#737479",
695
- "archivedBackground": "#f6f6f7",
692
+ "archivedBackground": "#f1f2f3",
696
693
  "danger": "#de350b",
697
694
  "dangerBackground": "#fcebe7",
698
695
  "default": "#001f23",
@@ -729,23 +726,23 @@ Object {
729
726
  },
730
727
  "colors": Object {
731
728
  "asterisks": Object {
732
- "default": "#de350b",
729
+ "default": "#f46363",
733
730
  "disabled": "#bfc1c5",
734
- "error": "#de350b",
735
- "filled": "#de350b",
736
- "focused": "#de350b",
731
+ "error": "#f46363",
732
+ "filled": "#f46363",
733
+ "focused": "#f46363",
737
734
  "readonly": "#808f91",
738
735
  },
739
736
  "borders": Object {
740
737
  "default": "#001f23",
741
738
  "disabled": "#bfc1c5",
742
- "error": "#de350b",
739
+ "error": "#f46363",
743
740
  "filled": "#001f23",
744
741
  "focused": "#001f23",
745
742
  "readonly": "#808f91",
746
743
  },
747
744
  "disabledLabel": "#bfc1c5",
748
- "error": "#de350b",
745
+ "error": "#f46363",
749
746
  "label": "#001f23",
750
747
  "labelBackground": "#ffffff",
751
748
  "labels": Object {
@@ -754,7 +751,7 @@ Object {
754
751
  "error": "#001f23",
755
752
  "filled": "#001f23",
756
753
  "focused": "#001f23",
757
- "readonly": "#808f91",
754
+ "readonly": "#bfc1c5",
758
755
  },
759
756
  "labelsInsideTextInput": Object {
760
757
  "default": "#001f23",
@@ -762,15 +759,15 @@ Object {
762
759
  "error": "#001f23",
763
760
  "filled": "#001f23",
764
761
  "focused": "#001f23",
765
- "readonly": "#808f91",
762
+ "readonly": "#bfc1c5",
766
763
  },
767
764
  "maxLengthLabels": Object {
768
765
  "default": "#001f23",
769
766
  "disabled": "#bfc1c5",
770
- "error": "#de350b",
767
+ "error": "#f46363",
771
768
  "filled": "#001f23",
772
769
  "focused": "#001f23",
773
- "readonly": "#808f91",
770
+ "readonly": "#bfc1c5",
774
771
  },
775
772
  "placeholderIfFocued": "#808f91",
776
773
  "placeholderIfNotFocused": "#001f23",
@@ -854,8 +851,9 @@ Object {
854
851
  "danger": "#ffbe71",
855
852
  "disabled": "#808f91",
856
853
  "error": "#de350b",
857
- "info": "#4568fb",
858
- "primary": "#8505a2",
854
+ "info": "#b5c3fd",
855
+ "primary": "#001f23",
856
+ "secondary": "#401960",
859
857
  "success": "#5ace7d",
860
858
  },
861
859
  "space": Object {
@@ -867,10 +865,11 @@ Object {
867
865
  "colors": Object {
868
866
  "body": "#001f23",
869
867
  "danger": "#de350b",
870
- "info": "#4568fb",
868
+ "info": "#b5c3fd",
871
869
  "inverted": "#ffffff",
872
- "primary": "#8505a2",
873
- "subdued": "#808f91",
870
+ "primary": "#001f23",
871
+ "secondary": "#401960",
872
+ "subdued": "#4d6265",
874
873
  "success": "#5ace7d",
875
874
  "warning": "#ffbe71",
876
875
  },
@@ -902,30 +901,11 @@ Object {
902
901
  "medium": 2,
903
902
  },
904
903
  "colors": Object {
905
- "__alpha__globalLabel1": "#de350b",
906
- "__alpha__globalLabel2": "#ffa234",
907
- "__alpha__globalLabel3": "#017d6d",
908
- "__alpha__globalLabel4": "#4568fb",
909
- "__alpha__globalLabel5": "#737479",
910
- "__alpha__globalLabel6": "#fcebe7",
911
- "__alpha__globalLabel7": "#fff6eb",
912
- "__alpha__globalLabel8": "#f0fef4",
913
- "__alpha__globalLabel9": "#ecf0ff",
914
- "__alpha__globalNeutral3": "#f6f6f7",
915
- "__alpha__globalPrimary": "#001f23",
916
- "__alpha__globalSecondary1": "#4d6265",
917
- "__alpha__globalSecondary4": "#e6e9e9",
918
- "__alpha__lightHighlightedSurface": "#ECE8EF",
919
- "__alpha__primary1": "#401960",
920
- "__alpha__primary2": "#c38cee",
921
- "__alpha__secondary1": "#795e90",
922
- "__alpha__secondary2": "#a08cb0",
923
- "__alpha__secondary3": "#d9d1df",
924
- "__alpha__secondary4": "#ece8ef",
925
904
  "archived": "#ccced1",
926
905
  "archivedBackground": "#f6f6f7",
927
906
  "archivedDark": "#737479",
928
907
  "archivedLight": "#bfc1c5",
908
+ "archivedSurface": "#f1f2f3",
929
909
  "backgroundDark": "#001f23",
930
910
  "backgroundLight": "#f6f6f7",
931
911
  "black": "#000000",
@@ -933,25 +913,50 @@ Object {
933
913
  "dangerBackground": "#fcebe7",
934
914
  "dangerLight": "#f46363",
935
915
  "dangerMediumLight": "#e3602a",
916
+ "defaultGlobalSurface": "#ffffff",
936
917
  "disabledLightText": "#bfc1c5",
918
+ "disabledOnDefaultGlobalSurface": "#bfc1c5",
919
+ "disabledSecondary": "#a08cb0",
937
920
  "disabledText": "#808f91",
921
+ "error": "#f46363",
922
+ "errorSurface": "#fcebe7",
938
923
  "globalPrimary": "#001f23",
939
924
  "globalPrimaryBackground": "#e6e9e9",
940
925
  "globalPrimaryLight": "#808f91",
926
+ "globalPrimaryOutline": "#001f23",
927
+ "globalSecondary": "#4d6265",
928
+ "globalSecondaryOutline": "#e8e9ea",
929
+ "highlightedSecondarySurface": "#ecf0ff",
930
+ "highlightedSurface": "#d9d1df",
941
931
  "inactiveBackground": "#808f91",
942
- "info": "#4568fb",
932
+ "info": "#b5c3fd",
943
933
  "infoBackground": "#ecf0ff",
944
934
  "infoLight": "#b5c3fd",
945
935
  "infoMediumLight": "#b5c3fd",
936
+ "infoSurface": "#ecf0ff",
946
937
  "invertedText": "#ffffff",
938
+ "lightHighlightedSurface": "#ece8ef",
939
+ "mutedGlobalPrimary": "#4d6265",
940
+ "mutedPrimary": "#e6e9e9",
941
+ "mutedSecondary": "#808f91",
942
+ "neutralGlobalSurface": "#f6f6f7",
943
+ "onArchivedSurface": "#737479",
944
+ "onDefaultGlobalSurface": "#001f23",
945
+ "onErrorSurface": "#de350b",
946
+ "onGlobalPrimary": "#ffffff",
947
+ "onInfoSurface": "#4568fb",
948
+ "onPrimary": "#ffffff",
949
+ "onSecondary": "#ffffff",
950
+ "onSuccessSurface": "#017d6d",
951
+ "onWarningSurface": "#ffa234",
947
952
  "outline": "#e8e9ea",
948
953
  "platformBackground": "#ffffff",
949
- "primary": "#8505a2",
954
+ "primary": "#001f23",
950
955
  "primaryBackground": "#f3e6f6",
951
956
  "primaryBackgroundDark": "#4d6265",
952
957
  "primaryDark": "#795e90",
953
958
  "primaryLight": "#c282d1",
954
- "secondary": "#4568fb",
959
+ "secondary": "#401960",
955
960
  "secondaryBackground": "#ecf0ff",
956
961
  "secondaryLight": "#b5c3fd",
957
962
  "shadow": "#ccced1",
@@ -960,11 +965,13 @@ Object {
960
965
  "successBackground": "#f0fef4",
961
966
  "successDark": "#017d6d",
962
967
  "successLight": "#5ace7d",
968
+ "successSurface": "#f0fef4",
963
969
  "text": "#001f23",
964
970
  "warning": "#ffbe71",
965
971
  "warningBackground": "#fff6eb",
966
972
  "warningDark": "#ffa234",
967
973
  "warningLight": "#ffbe71",
974
+ "warningSurface": "#fff6eb",
968
975
  },
969
976
  "fontSizes": Object {
970
977
  "large": 16,
@@ -2,7 +2,7 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getAccordionTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- background: theme.colors.platformBackground,
5
+ background: theme.colors.defaultGlobalSurface,
6
6
  };
7
7
 
8
8
  const space = {
@@ -4,10 +4,10 @@ const getAlertTheme = (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
- divider: theme.colors.outline,
7
+ error: theme.colors.error,
8
+ info: theme.colors.info,
9
+ notification: theme.colors.defaultGlobalSurface,
10
+ divider: theme.colors.globalSecondaryOutline,
11
11
  };
12
12
 
13
13
  const sizes = {
@@ -2,9 +2,9 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getAvatarTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- primary: theme.colors.primary,
5
+ primary: theme.colors.globalPrimary,
6
6
  info: theme.colors.info,
7
- danger: theme.colors.danger,
7
+ danger: theme.colors.error,
8
8
  success: theme.colors.success,
9
9
  warning: theme.colors.warning,
10
10
  };
@@ -2,12 +2,12 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getBadgeTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- danger: theme.colors.danger,
6
- info: theme.colors.info,
7
- success: theme.colors.successDark,
8
- warning: theme.colors.warningDark,
9
- archived: theme.colors.archivedDark,
10
- text: theme.colors.invertedText,
5
+ danger: theme.colors.onErrorSurface,
6
+ info: theme.colors.onInfoSurface,
7
+ success: theme.colors.onSuccessSurface,
8
+ warning: theme.colors.onWarningSurface,
9
+ archived: theme.colors.onArchivedSurface,
10
+ text: theme.colors.onGlobalPrimary,
11
11
  };
12
12
 
13
13
  const fonts = {
@@ -2,8 +2,8 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getBottomNavigationTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- shadow: theme.colors.backgroundDark,
6
- background: theme.colors.platformBackground,
5
+ shadow: theme.colors.globalPrimary,
6
+ background: theme.colors.defaultGlobalSurface,
7
7
  };
8
8
 
9
9
  const sizes = {
@@ -2,9 +2,9 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getBottomSheetTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- shadow: theme.colors.backgroundDark,
6
- background: theme.colors.platformBackground,
7
- backdrop: theme.colors.backgroundDark,
5
+ shadow: theme.colors.globalPrimary,
6
+ background: theme.colors.defaultGlobalSurface,
7
+ backdrop: theme.colors.globalPrimary,
8
8
  };
9
9
 
10
10
  const sizes = {
@@ -37,29 +37,29 @@ const getButtonTheme = (theme: GlobalTheme) => {
37
37
 
38
38
  const colors = {
39
39
  primary: theme.colors.globalPrimary,
40
- pressedPrimary: theme.colors.globalPrimaryLight,
40
+ pressedPrimary: theme.colors.globalSecondary,
41
41
  secondary: theme.colors.secondary,
42
- pressedSecondary: theme.colors.secondaryLight,
43
- danger: theme.colors.danger,
44
- pressedDanger: theme.colors.dangerLight,
45
- defaultText: theme.colors.text,
46
- disabledText: theme.colors.disabledLightText,
47
- disabledBorder: theme.colors.disabledLightText,
48
- disabledBackground: theme.colors.disabledLightText,
49
- invertedText: theme.colors.invertedText,
50
- utilityBackground: theme.colors.backgroundLight,
42
+ pressedSecondary: theme.colors.secondary,
43
+ danger: theme.colors.onErrorSurface, // FIXME: This doesn't make sense
44
+ pressedDanger: theme.colors.onErrorSurface, // FIXME: This doesn't make sense
45
+ defaultText: theme.colors.onGlobalPrimary,
46
+ disabledText: theme.colors.disabledOnDefaultGlobalSurface,
47
+ disabledBorder: theme.colors.disabledOnDefaultGlobalSurface,
48
+ disabledBackground: theme.colors.disabledOnDefaultGlobalSurface,
49
+ invertedText: theme.colors.onGlobalPrimary,
50
+ utilityBackground: theme.colors.neutralGlobalSurface,
51
51
  underlayColors: {
52
- 'filled-primary': theme.colors.globalPrimaryLight,
53
- 'filled-secondary': theme.colors.secondaryLight,
54
- 'filled-danger': theme.colors.dangerLight,
55
- 'outlined-primary': theme.colors.globalPrimaryBackground,
56
- 'outlined-secondary': theme.colors.secondaryBackground,
52
+ 'filled-primary': theme.colors.mutedGlobalPrimary,
53
+ 'filled-secondary': theme.colors.mutedSecondary,
54
+ 'filled-danger': theme.colors.error,
55
+ 'outlined-primary': theme.colors.neutralGlobalSurface,
56
+ 'outlined-secondary': theme.colors.highlightedSecondarySurface,
57
57
 
58
- 'outlined-danger': theme.colors.dangerBackground,
59
- 'text-primary': theme.colors.globalPrimaryBackground,
60
- 'text-secondary': theme.colors.secondaryBackground,
61
- 'text-danger': theme.colors.dangerBackground,
62
- 'basic-transparent': theme.colors.globalPrimaryLight,
58
+ 'outlined-danger': theme.colors.errorSurface,
59
+ 'text-primary': theme.colors.neutralGlobalSurface,
60
+ 'text-secondary': theme.colors.highlightedSecondarySurface,
61
+ 'text-danger': theme.colors.errorSurface,
62
+ 'basic-transparent': theme.colors.mutedGlobalPrimary,
63
63
  },
64
64
  };
65
65
 
@@ -2,10 +2,10 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getCalendarTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- background: theme.colors.backgroundLight,
6
- border: theme.colors.text,
7
- primary: theme.colors.primary,
8
- inverted: theme.colors.invertedText,
5
+ background: theme.colors.defaultGlobalSurface,
6
+ border: theme.colors.globalPrimaryOutline,
7
+ primary: theme.colors.globalPrimary,
8
+ inverted: theme.colors.onGlobalPrimary,
9
9
  };
10
10
 
11
11
  const cellSize = theme.sizes.xxxlarge;
@@ -2,13 +2,13 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getCardTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- dataCardIndicator: theme.colors.primary,
6
- primary: theme.colors.__alpha__primary2,
7
- info: theme.colors.infoLight,
5
+ dataCardIndicator: theme.colors.globalPrimary,
6
+ primary: theme.colors.primary,
7
+ info: theme.colors.info,
8
8
  success: theme.colors.success,
9
9
  warning: theme.colors.warning,
10
- danger: theme.colors.dangerMediumLight,
11
- archived: theme.colors.archivedLight,
10
+ danger: theme.colors.error,
11
+ archived: theme.colors.archived,
12
12
  };
13
13
 
14
14
  const sizes = {
@@ -3,7 +3,7 @@ import type { GlobalTheme } from '../global';
3
3
  const getCheckboxTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
5
  default: theme.colors.globalPrimary,
6
- disabledBorder: theme.colors.globalPrimaryLight,
6
+ disabledBorder: theme.colors.mutedGlobalPrimary,
7
7
  };
8
8
 
9
9
  const space = {
@@ -2,7 +2,7 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getDividerTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- default: theme.colors.outline,
5
+ default: theme.colors.globalSecondaryOutline,
6
6
  };
7
7
 
8
8
  const space = {
@@ -2,10 +2,10 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getDrawerTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- shadow: theme.colors.backgroundDark,
6
- background: theme.colors.platformBackground,
7
- backdrop: theme.colors.backgroundDark,
8
- handler: theme.colors.backgroundDark,
5
+ shadow: theme.colors.globalPrimary,
6
+ background: theme.colors.defaultGlobalSurface,
7
+ backdrop: theme.colors.defaultGlobalSurface,
8
+ handler: theme.colors.globalPrimary,
9
9
  };
10
10
 
11
11
  const radii = {
@@ -12,10 +12,9 @@ const getEmptyTheme = (theme: GlobalTheme) => {
12
12
  };
13
13
 
14
14
  const colors = {
15
- text: theme.colors.text,
16
- invertedText: theme.colors.invertedText,
17
- subduedText: theme.colors.subduedText,
18
- illustrationBackground: theme.colors.shadow,
15
+ text: theme.colors.globalPrimary,
16
+ invertedText: theme.colors.onGlobalPrimary,
17
+ subduedText: theme.colors.globalSecondary,
19
18
  };
20
19
 
21
20
  const fontSizes = {
@@ -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 = {