@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.
- package/.turbo/turbo-build.log +3 -3
- package/es/index.js +2395 -1880
- package/lib/index.js +2395 -1878
- package/package.json +6 -6
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -8
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Box/StyledBox.tsx +1 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +24 -24
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +6 -6
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +3 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +2 -2
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +18 -4
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +19 -5
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Icon/HeroIcon/index.tsx +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +12 -12
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +1 -1
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -1
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
- package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
- package/src/components/RefreshControl/index.tsx +23 -0
- package/src/components/RichTextEditor/MentionList.tsx +25 -4
- package/src/components/RichTextEditor/RichTextEditor.tsx +3 -1
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
- package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +38 -10
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +13 -9
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +108 -38
- package/src/components/Select/MultiSelect/index.tsx +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -8
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +99 -29
- package/src/components/Select/SingleSelect/index.tsx +1 -1
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Select/types.ts +1 -3
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Spinner/StyledSpinner.tsx +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -16
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +3 -3
- package/src/components/Tabs/ScrollableTabs.tsx +2 -5
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +1 -1
- package/src/components/TextInput/StyledTextInput.tsx +16 -11
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +46 -28
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +246 -64
- package/src/components/TextInput/index.tsx +21 -4
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +18 -4
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +19 -5
- package/src/components/Toast/ToastProvider.tsx +2 -4
- package/src/components/Toast/__tests__/index.spec.tsx +138 -0
- package/src/components/Toolbar/ToolbarItem.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
- package/src/components/Typography/Text/StyledText.tsx +1 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
- package/src/components/Typography/Text/index.tsx +1 -0
- package/src/index.ts +4 -0
- package/src/theme/ThemeSwitcher.tsx +9 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +101 -88
- package/src/theme/components/accordion.ts +1 -1
- package/src/theme/components/alert.ts +4 -4
- package/src/theme/components/avatar.ts +2 -2
- package/src/theme/components/badge.ts +6 -6
- package/src/theme/components/bottomNavigation.ts +2 -2
- package/src/theme/components/bottomSheet.ts +3 -3
- package/src/theme/components/button.ts +20 -20
- package/src/theme/components/calendar.ts +4 -4
- package/src/theme/components/card.ts +5 -5
- package/src/theme/components/checkbox.ts +1 -1
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +4 -4
- package/src/theme/components/empty.ts +3 -4
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -3
- package/src/theme/components/list.ts +6 -7
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +3 -3
- package/src/theme/components/refreshControl.ts +11 -0
- package/src/theme/components/richTextEditor.ts +9 -8
- package/src/theme/components/sectionHeading.ts +1 -1
- package/src/theme/components/select.ts +1 -1
- package/src/theme/components/slider.ts +3 -3
- package/src/theme/components/spinner.ts +1 -4
- package/src/theme/components/switch.ts +7 -7
- package/src/theme/components/tabs.ts +5 -5
- package/src/theme/components/tag.ts +12 -12
- package/src/theme/components/textInput.ts +38 -38
- package/src/theme/components/toast.ts +6 -6
- package/src/theme/components/toolbar.ts +3 -2
- package/src/theme/components/typography.ts +4 -3
- package/src/theme/getTheme.ts +3 -0
- package/src/theme/global/colors/global.ts +32 -0
- package/src/theme/global/colors/jobs.ts +18 -0
- package/src/theme/global/colors/legacySystemPalette.ts +53 -0
- package/src/theme/global/colors/swag.ts +21 -35
- package/src/theme/global/colors/types.ts +46 -27
- package/src/theme/global/colors/work.ts +10 -9
- package/src/theme/global/index.ts +8 -1
- package/src/theme/index.ts +6 -1
- package/src/utils/__tests__/helpers.spec.ts +27 -0
- package/src/utils/helpers.ts +21 -0
- package/tsconfig.prod.json +4 -0
- package/types/components/Icon/HeroIcon/index.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/RefreshControl/index.d.ts +5 -0
- package/types/components/RichTextEditor/MentionList.d.ts +7 -3
- package/types/components/RichTextEditor/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +1 -3
- package/types/components/TextInput/StyledTextInput.d.ts +9 -3
- package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/index.d.ts +3 -2
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- package/types/theme/components/empty.d.ts +0 -1
- package/types/theme/components/icon.d.ts +1 -0
- package/types/theme/components/refreshControl.d.ts +7 -0
- package/types/theme/components/richTextEditor.d.ts +4 -3
- package/types/theme/components/spinner.d.ts +1 -4
- package/types/theme/components/toolbar.d.ts +1 -0
- package/types/theme/components/typography.d.ts +1 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/types/theme/global/colors/global.d.ts +3 -0
- package/types/theme/global/colors/jobs.d.ts +3 -0
- package/types/theme/global/colors/legacySystemPalette.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +41 -21
- package/types/theme/global/index.d.ts +30 -21
- package/types/theme/index.d.ts +2 -2
- package/types/utils/helpers.d.ts +2 -0
- package/src/components/Box/__tests__/helpers.spec.ts +0 -14
- package/src/components/Box/helpers.ts +0 -10
- package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
- package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
- package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
- package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
- package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
- package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
- package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
- package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
- package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
- package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
- package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Box/__tests__/index.spec.d.ts +0 -1
- package/types/components/Box/helpers.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
- package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
- package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
- package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
- package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
- package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
- package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
- package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
- package/types/components/Card/__tests__/index.spec.d.ts +0 -1
- package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
- package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
- package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
- package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
- package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
- package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
- package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
- package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
- package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
- package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
- package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
- package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
- package/types/components/Image/__tests__/index.spec.d.ts +0 -1
- package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
- package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
- package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
- package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
- package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
- package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
- package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
- package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
- package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
- package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
- package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
- package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
- package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
- package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
- package/types/theme/__tests__/index.spec.d.ts +0 -1
- package/types/utils/__tests__/scale.spec.d.ts +0 -1
|
@@ -44,9 +44,9 @@ Object {
|
|
|
44
44
|
"default": 1,
|
|
45
45
|
},
|
|
46
46
|
"colors": Object {
|
|
47
|
-
"danger": "#
|
|
48
|
-
"info": "#
|
|
49
|
-
"primary": "#
|
|
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": "#
|
|
161
|
+
"defaultText": "#ffffff",
|
|
162
162
|
"disabledBackground": "#bfc1c5",
|
|
163
163
|
"disabledBorder": "#bfc1c5",
|
|
164
164
|
"disabledText": "#bfc1c5",
|
|
165
165
|
"invertedText": "#ffffff",
|
|
166
|
-
"pressedDanger": "#
|
|
167
|
-
"pressedPrimary": "#
|
|
168
|
-
"pressedSecondary": "#
|
|
166
|
+
"pressedDanger": "#de350b",
|
|
167
|
+
"pressedPrimary": "#4d6265",
|
|
168
|
+
"pressedSecondary": "#401960",
|
|
169
169
|
"primary": "#001f23",
|
|
170
|
-
"secondary": "#
|
|
170
|
+
"secondary": "#401960",
|
|
171
171
|
"underlayColors": Object {
|
|
172
|
-
"basic-transparent": "#
|
|
172
|
+
"basic-transparent": "#4d6265",
|
|
173
173
|
"filled-danger": "#f46363",
|
|
174
|
-
"filled-primary": "#
|
|
175
|
-
"filled-secondary": "#
|
|
174
|
+
"filled-primary": "#4d6265",
|
|
175
|
+
"filled-secondary": "#808f91",
|
|
176
176
|
"outlined-danger": "#fcebe7",
|
|
177
|
-
"outlined-primary": "#
|
|
177
|
+
"outlined-primary": "#f6f6f7",
|
|
178
178
|
"outlined-secondary": "#ecf0ff",
|
|
179
179
|
"text-danger": "#fcebe7",
|
|
180
|
-
"text-primary": "#
|
|
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": "#
|
|
212
|
+
"background": "#ffffff",
|
|
213
213
|
"border": "#001f23",
|
|
214
214
|
"inverted": "#ffffff",
|
|
215
|
-
"primary": "#
|
|
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": "#
|
|
237
|
-
"danger": "#
|
|
238
|
-
"dataCardIndicator": "#
|
|
236
|
+
"archived": "#ccced1",
|
|
237
|
+
"danger": "#f46363",
|
|
238
|
+
"dataCardIndicator": "#001f23",
|
|
239
239
|
"info": "#b5c3fd",
|
|
240
|
-
"primary": "#
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
404
|
-
"info": "#
|
|
402
|
+
"disabledText": "#4d6265",
|
|
403
|
+
"info": "#b5c3fd",
|
|
405
404
|
"invertedText": "#ffffff",
|
|
406
|
-
"primary": "#
|
|
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": "#
|
|
428
|
-
"highlightedListItemContainerBackground": "#
|
|
427
|
+
"checkedListItemContainerBackground": "#d9d1df",
|
|
428
|
+
"highlightedListItemContainerBackground": "#ece8ef",
|
|
429
429
|
"leadingStatus": Object {
|
|
430
|
-
"archived": "#
|
|
431
|
-
"danger": "#
|
|
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": "#
|
|
474
|
-
"error": "#
|
|
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": "#
|
|
503
|
+
"info": "#b5c3fd",
|
|
504
504
|
"innerBackground": "#ffffff",
|
|
505
|
-
"primary": "#
|
|
505
|
+
"primary": "#001f23",
|
|
506
506
|
"success": "#5ace7d",
|
|
507
|
-
"warning": "#
|
|
507
|
+
"warning": "#ffbe71",
|
|
508
508
|
},
|
|
509
509
|
"radii": Object {
|
|
510
510
|
"default": 999,
|
|
@@ -530,18 +530,23 @@ Object {
|
|
|
530
530
|
"groupTopMargin": 4,
|
|
531
531
|
},
|
|
532
532
|
},
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
533
|
+
"refreshControl": Object {
|
|
534
|
+
"colors": Object {
|
|
535
|
+
"indicator": "#001f23",
|
|
536
536
|
},
|
|
537
|
+
},
|
|
538
|
+
"richTextEditor": Object {
|
|
537
539
|
"colors": Object {
|
|
538
540
|
"toolbarBackgroundColor": "#f6f6f7",
|
|
539
541
|
"toolbarBorderColor": "#e8e9ea",
|
|
540
|
-
"toolbarButtonSelectedBackground": "#
|
|
542
|
+
"toolbarButtonSelectedBackground": "#ece8ef",
|
|
541
543
|
},
|
|
542
544
|
"fontSizes": Object {
|
|
543
545
|
"editor": 14,
|
|
544
546
|
},
|
|
547
|
+
"radii": Object {
|
|
548
|
+
"mention": 8,
|
|
549
|
+
},
|
|
545
550
|
"sizes": Object {
|
|
546
551
|
"editorMinHeight": 24,
|
|
547
552
|
"toolbarButtonSize": 48,
|
|
@@ -550,6 +555,7 @@ Object {
|
|
|
550
555
|
},
|
|
551
556
|
"space": Object {
|
|
552
557
|
"editorPadding": 16,
|
|
558
|
+
"mention": 4,
|
|
553
559
|
"toolbarHorizontalPadding": 8,
|
|
554
560
|
"wrapperMarginBottom": 16,
|
|
555
561
|
},
|
|
@@ -567,7 +573,7 @@ Object {
|
|
|
567
573
|
},
|
|
568
574
|
"select": Object {
|
|
569
575
|
"colors": Object {
|
|
570
|
-
"footerText": "#
|
|
576
|
+
"footerText": "#401960",
|
|
571
577
|
},
|
|
572
578
|
"radii": Object {
|
|
573
579
|
"option": 4,
|
|
@@ -586,15 +592,12 @@ Object {
|
|
|
586
592
|
"colors": Object {
|
|
587
593
|
"maximumTrackTint": "#ece8ef",
|
|
588
594
|
"minimumTrackTint": "#401960",
|
|
589
|
-
"thumbTint": "#
|
|
595
|
+
"thumbTint": "#f6f6f7",
|
|
590
596
|
},
|
|
591
597
|
},
|
|
592
598
|
"spinner": Object {
|
|
593
599
|
"colors": Object {
|
|
594
|
-
"
|
|
595
|
-
"dot2": "#a08cb0",
|
|
596
|
-
"dot3": "#d9d1df",
|
|
597
|
-
"dot4": "#ece8ef",
|
|
600
|
+
"dot": "#001f23",
|
|
598
601
|
},
|
|
599
602
|
"radii": Object {
|
|
600
603
|
"default": 999,
|
|
@@ -617,9 +620,9 @@ Object {
|
|
|
617
620
|
"switch": Object {
|
|
618
621
|
"colors": Object {
|
|
619
622
|
"backgroundColors": Object {
|
|
620
|
-
"checked": "#
|
|
621
|
-
"disabled-checked": "#
|
|
622
|
-
"disabled-unchecked": "#
|
|
623
|
+
"checked": "#401960",
|
|
624
|
+
"disabled-checked": "#a08cb0",
|
|
625
|
+
"disabled-unchecked": "#bfc1c5",
|
|
623
626
|
"unchecked": "#808f91",
|
|
624
627
|
},
|
|
625
628
|
"selector": Object {
|
|
@@ -666,7 +669,7 @@ Object {
|
|
|
666
669
|
},
|
|
667
670
|
"colors": Object {
|
|
668
671
|
"active": "#001f23",
|
|
669
|
-
"activeBackground": "#
|
|
672
|
+
"activeBackground": "#e6e9e9",
|
|
670
673
|
"headerBottom": "#e8e9ea",
|
|
671
674
|
"inactive": "#001f23",
|
|
672
675
|
"text": "#001f23",
|
|
@@ -692,7 +695,7 @@ Object {
|
|
|
692
695
|
},
|
|
693
696
|
"colors": Object {
|
|
694
697
|
"archived": "#737479",
|
|
695
|
-
"archivedBackground": "#
|
|
698
|
+
"archivedBackground": "#f1f2f3",
|
|
696
699
|
"danger": "#de350b",
|
|
697
700
|
"dangerBackground": "#fcebe7",
|
|
698
701
|
"default": "#001f23",
|
|
@@ -729,23 +732,23 @@ Object {
|
|
|
729
732
|
},
|
|
730
733
|
"colors": Object {
|
|
731
734
|
"asterisks": Object {
|
|
732
|
-
"default": "#
|
|
735
|
+
"default": "#f46363",
|
|
733
736
|
"disabled": "#bfc1c5",
|
|
734
|
-
"error": "#
|
|
735
|
-
"filled": "#
|
|
736
|
-
"focused": "#
|
|
737
|
+
"error": "#f46363",
|
|
738
|
+
"filled": "#f46363",
|
|
739
|
+
"focused": "#f46363",
|
|
737
740
|
"readonly": "#808f91",
|
|
738
741
|
},
|
|
739
742
|
"borders": Object {
|
|
740
743
|
"default": "#001f23",
|
|
741
744
|
"disabled": "#bfc1c5",
|
|
742
|
-
"error": "#
|
|
745
|
+
"error": "#f46363",
|
|
743
746
|
"filled": "#001f23",
|
|
744
747
|
"focused": "#001f23",
|
|
745
748
|
"readonly": "#808f91",
|
|
746
749
|
},
|
|
747
750
|
"disabledLabel": "#bfc1c5",
|
|
748
|
-
"error": "#
|
|
751
|
+
"error": "#f46363",
|
|
749
752
|
"label": "#001f23",
|
|
750
753
|
"labelBackground": "#ffffff",
|
|
751
754
|
"labels": Object {
|
|
@@ -754,7 +757,7 @@ Object {
|
|
|
754
757
|
"error": "#001f23",
|
|
755
758
|
"filled": "#001f23",
|
|
756
759
|
"focused": "#001f23",
|
|
757
|
-
"readonly": "#
|
|
760
|
+
"readonly": "#bfc1c5",
|
|
758
761
|
},
|
|
759
762
|
"labelsInsideTextInput": Object {
|
|
760
763
|
"default": "#001f23",
|
|
@@ -762,15 +765,15 @@ Object {
|
|
|
762
765
|
"error": "#001f23",
|
|
763
766
|
"filled": "#001f23",
|
|
764
767
|
"focused": "#001f23",
|
|
765
|
-
"readonly": "#
|
|
768
|
+
"readonly": "#bfc1c5",
|
|
766
769
|
},
|
|
767
770
|
"maxLengthLabels": Object {
|
|
768
771
|
"default": "#001f23",
|
|
769
772
|
"disabled": "#bfc1c5",
|
|
770
|
-
"error": "#
|
|
773
|
+
"error": "#f46363",
|
|
771
774
|
"filled": "#001f23",
|
|
772
775
|
"focused": "#001f23",
|
|
773
|
-
"readonly": "#
|
|
776
|
+
"readonly": "#bfc1c5",
|
|
774
777
|
},
|
|
775
778
|
"placeholderIfFocued": "#808f91",
|
|
776
779
|
"placeholderIfNotFocused": "#001f23",
|
|
@@ -854,8 +857,9 @@ Object {
|
|
|
854
857
|
"danger": "#ffbe71",
|
|
855
858
|
"disabled": "#808f91",
|
|
856
859
|
"error": "#de350b",
|
|
857
|
-
"info": "#
|
|
858
|
-
"primary": "#
|
|
860
|
+
"info": "#b5c3fd",
|
|
861
|
+
"primary": "#001f23",
|
|
862
|
+
"secondary": "#401960",
|
|
859
863
|
"success": "#5ace7d",
|
|
860
864
|
},
|
|
861
865
|
"space": Object {
|
|
@@ -867,10 +871,11 @@ Object {
|
|
|
867
871
|
"colors": Object {
|
|
868
872
|
"body": "#001f23",
|
|
869
873
|
"danger": "#de350b",
|
|
870
|
-
"info": "#
|
|
874
|
+
"info": "#b5c3fd",
|
|
871
875
|
"inverted": "#ffffff",
|
|
872
|
-
"primary": "#
|
|
873
|
-
"
|
|
876
|
+
"primary": "#001f23",
|
|
877
|
+
"secondary": "#401960",
|
|
878
|
+
"subdued": "#4d6265",
|
|
874
879
|
"success": "#5ace7d",
|
|
875
880
|
"warning": "#ffbe71",
|
|
876
881
|
},
|
|
@@ -902,30 +907,11 @@ Object {
|
|
|
902
907
|
"medium": 2,
|
|
903
908
|
},
|
|
904
909
|
"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
910
|
"archived": "#ccced1",
|
|
926
911
|
"archivedBackground": "#f6f6f7",
|
|
927
912
|
"archivedDark": "#737479",
|
|
928
913
|
"archivedLight": "#bfc1c5",
|
|
914
|
+
"archivedSurface": "#f1f2f3",
|
|
929
915
|
"backgroundDark": "#001f23",
|
|
930
916
|
"backgroundLight": "#f6f6f7",
|
|
931
917
|
"black": "#000000",
|
|
@@ -933,25 +919,50 @@ Object {
|
|
|
933
919
|
"dangerBackground": "#fcebe7",
|
|
934
920
|
"dangerLight": "#f46363",
|
|
935
921
|
"dangerMediumLight": "#e3602a",
|
|
922
|
+
"defaultGlobalSurface": "#ffffff",
|
|
936
923
|
"disabledLightText": "#bfc1c5",
|
|
924
|
+
"disabledOnDefaultGlobalSurface": "#bfc1c5",
|
|
925
|
+
"disabledSecondary": "#a08cb0",
|
|
937
926
|
"disabledText": "#808f91",
|
|
927
|
+
"error": "#f46363",
|
|
928
|
+
"errorSurface": "#fcebe7",
|
|
938
929
|
"globalPrimary": "#001f23",
|
|
939
930
|
"globalPrimaryBackground": "#e6e9e9",
|
|
940
931
|
"globalPrimaryLight": "#808f91",
|
|
932
|
+
"globalPrimaryOutline": "#001f23",
|
|
933
|
+
"globalSecondary": "#4d6265",
|
|
934
|
+
"globalSecondaryOutline": "#e8e9ea",
|
|
935
|
+
"highlightedSecondarySurface": "#ecf0ff",
|
|
936
|
+
"highlightedSurface": "#d9d1df",
|
|
941
937
|
"inactiveBackground": "#808f91",
|
|
942
|
-
"info": "#
|
|
938
|
+
"info": "#b5c3fd",
|
|
943
939
|
"infoBackground": "#ecf0ff",
|
|
944
940
|
"infoLight": "#b5c3fd",
|
|
945
941
|
"infoMediumLight": "#b5c3fd",
|
|
942
|
+
"infoSurface": "#ecf0ff",
|
|
946
943
|
"invertedText": "#ffffff",
|
|
944
|
+
"lightHighlightedSurface": "#ece8ef",
|
|
945
|
+
"mutedGlobalPrimary": "#4d6265",
|
|
946
|
+
"mutedPrimary": "#e6e9e9",
|
|
947
|
+
"mutedSecondary": "#808f91",
|
|
948
|
+
"neutralGlobalSurface": "#f6f6f7",
|
|
949
|
+
"onArchivedSurface": "#737479",
|
|
950
|
+
"onDefaultGlobalSurface": "#001f23",
|
|
951
|
+
"onErrorSurface": "#de350b",
|
|
952
|
+
"onGlobalPrimary": "#ffffff",
|
|
953
|
+
"onInfoSurface": "#4568fb",
|
|
954
|
+
"onPrimary": "#ffffff",
|
|
955
|
+
"onSecondary": "#ffffff",
|
|
956
|
+
"onSuccessSurface": "#017d6d",
|
|
957
|
+
"onWarningSurface": "#ffa234",
|
|
947
958
|
"outline": "#e8e9ea",
|
|
948
959
|
"platformBackground": "#ffffff",
|
|
949
|
-
"primary": "#
|
|
960
|
+
"primary": "#001f23",
|
|
950
961
|
"primaryBackground": "#f3e6f6",
|
|
951
962
|
"primaryBackgroundDark": "#4d6265",
|
|
952
963
|
"primaryDark": "#795e90",
|
|
953
964
|
"primaryLight": "#c282d1",
|
|
954
|
-
"secondary": "#
|
|
965
|
+
"secondary": "#401960",
|
|
955
966
|
"secondaryBackground": "#ecf0ff",
|
|
956
967
|
"secondaryLight": "#b5c3fd",
|
|
957
968
|
"shadow": "#ccced1",
|
|
@@ -960,11 +971,13 @@ Object {
|
|
|
960
971
|
"successBackground": "#f0fef4",
|
|
961
972
|
"successDark": "#017d6d",
|
|
962
973
|
"successLight": "#5ace7d",
|
|
974
|
+
"successSurface": "#f0fef4",
|
|
963
975
|
"text": "#001f23",
|
|
964
976
|
"warning": "#ffbe71",
|
|
965
977
|
"warningBackground": "#fff6eb",
|
|
966
978
|
"warningDark": "#ffa234",
|
|
967
979
|
"warningLight": "#ffbe71",
|
|
980
|
+
"warningSurface": "#fff6eb",
|
|
968
981
|
},
|
|
969
982
|
"fontSizes": Object {
|
|
970
983
|
"large": 16,
|
|
@@ -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.
|
|
8
|
-
info: theme.colors.
|
|
9
|
-
notification: theme.colors.
|
|
10
|
-
divider: theme.colors.
|
|
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.
|
|
5
|
+
primary: theme.colors.globalPrimary,
|
|
6
6
|
info: theme.colors.info,
|
|
7
|
-
danger: theme.colors.
|
|
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.
|
|
6
|
-
info: theme.colors.
|
|
7
|
-
success: theme.colors.
|
|
8
|
-
warning: theme.colors.
|
|
9
|
-
archived: theme.colors.
|
|
10
|
-
text: theme.colors.
|
|
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.
|
|
6
|
-
background: theme.colors.
|
|
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.
|
|
6
|
-
background: theme.colors.
|
|
7
|
-
backdrop: theme.colors.
|
|
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.
|
|
40
|
+
pressedPrimary: theme.colors.globalSecondary,
|
|
41
41
|
secondary: theme.colors.secondary,
|
|
42
|
-
pressedSecondary: theme.colors.
|
|
43
|
-
danger: theme.colors.
|
|
44
|
-
pressedDanger: theme.colors.
|
|
45
|
-
defaultText: theme.colors.
|
|
46
|
-
disabledText: theme.colors.
|
|
47
|
-
disabledBorder: theme.colors.
|
|
48
|
-
disabledBackground: theme.colors.
|
|
49
|
-
invertedText: theme.colors.
|
|
50
|
-
utilityBackground: theme.colors.
|
|
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.
|
|
53
|
-
'filled-secondary': theme.colors.
|
|
54
|
-
'filled-danger': theme.colors.
|
|
55
|
-
'outlined-primary': theme.colors.
|
|
56
|
-
'outlined-secondary': theme.colors.
|
|
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.
|
|
59
|
-
'text-primary': theme.colors.
|
|
60
|
-
'text-secondary': theme.colors.
|
|
61
|
-
'text-danger': theme.colors.
|
|
62
|
-
'basic-transparent': theme.colors.
|
|
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.
|
|
6
|
-
border: theme.colors.
|
|
7
|
-
primary: theme.colors.
|
|
8
|
-
inverted: theme.colors.
|
|
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.
|
|
6
|
-
primary: theme.colors.
|
|
7
|
-
info: theme.colors.
|
|
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.
|
|
11
|
-
archived: theme.colors.
|
|
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.
|
|
6
|
+
disabledBorder: theme.colors.mutedGlobalPrimary,
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
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.
|
|
6
|
-
background: theme.colors.
|
|
7
|
-
backdrop: theme.colors.
|
|
8
|
-
handler: theme.colors.
|
|
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.
|
|
16
|
-
invertedText: theme.colors.
|
|
17
|
-
subduedText: theme.colors.
|
|
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 = {
|