@hellobetterdigitalnz/betterui 0.0.0 → 0.0.2
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/README.md +23 -30
- package/package.json +48 -45
- package/src/App.tsx +30 -30
- package/src/Components/DataDisplay/Accordion/Accordion.stories.tsx +57 -57
- package/src/Components/DataDisplay/Accordion/Accordion.tsx +14 -14
- package/src/Components/DataDisplay/Accordion/AccordionContext.tsx +11 -11
- package/src/Components/DataDisplay/Accordion/AccordionContextInterface.tsx +8 -8
- package/src/Components/DataDisplay/Accordion/AccordionItem.tsx +62 -62
- package/src/Components/DataDisplay/Accordion/AccordionItemProps.tsx +12 -12
- package/src/Components/DataDisplay/Accordion/AccordionProps.tsx +8 -8
- package/src/Components/DataDisplay/Accordion/AccordionProvider.tsx +65 -65
- package/src/Components/DataDisplay/Accordion/AccordionProviderInterface.tsx +8 -8
- package/src/Components/DataDisplay/Accordion/accordion.module.scss +56 -56
- package/src/Components/DataDisplay/Badge/Badge.stories.tsx +44 -44
- package/src/Components/DataDisplay/Badge/Badge.tsx +32 -32
- package/src/Components/DataDisplay/Badge/BadgeProps.tsx +6 -6
- package/src/Components/DataDisplay/Badge/badge.module.scss +42 -42
- package/src/Components/DataDisplay/Cards/BannerCard/BannerCard.stories.tsx +26 -26
- package/src/Components/DataDisplay/Cards/BannerCard/BannerCard.tsx +47 -47
- package/src/Components/DataDisplay/Cards/BannerCard/BannerCardInterface.tsx +15 -15
- package/src/Components/DataDisplay/Cards/BannerCard/banner-card.scss +54 -54
- package/src/Components/DataDisplay/Cards/PathwayCard/PathwayCard.stories.tsx +31 -31
- package/src/Components/DataDisplay/Cards/PathwayCard/PathwayCard.tsx +53 -53
- package/src/Components/DataDisplay/Cards/PathwayCard/PathwayCardInterface.tsx +17 -17
- package/src/Components/DataDisplay/Cards/PathwayCard/pathway-card-stories.scss +3 -3
- package/src/Components/DataDisplay/Cards/PathwayCard/pathway-card.scss +62 -62
- package/src/Components/DataDisplay/Media/Media.stories.tsx +30 -0
- package/src/Components/DataDisplay/Media/Media.tsx +28 -7
- package/src/Components/DataDisplay/Media/media.module.scss +8 -0
- package/src/Components/DataDisplay/Modal/Modal.stories.tsx +27 -0
- package/src/Components/DataDisplay/Modal/Modal.tsx +16 -5
- package/src/Components/DataDisplay/Modal/ModalActions.tsx +5 -5
- package/src/Components/DataDisplay/Modal/ModalActionsLeft.tsx +5 -5
- package/src/Components/DataDisplay/Modal/ModalActionsRight.tsx +5 -5
- package/src/Components/DataDisplay/Modal/ModalBody.tsx +15 -5
- package/src/Components/DataDisplay/Modal/ModalBodyProps.tsx +7 -0
- package/src/Components/DataDisplay/Modal/ModalCurtain.tsx +5 -5
- package/src/Components/DataDisplay/Modal/ModalHeader.tsx +32 -5
- package/src/Components/DataDisplay/Modal/ModalHeaderProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/ModalProps.tsx +8 -0
- package/src/Components/DataDisplay/Modal/modal.module.scss +58 -0
- package/src/Components/DataDisplay/NotificationsBell/NotificationBell.stories.tsx +27 -27
- package/src/Components/DataDisplay/NotificationsBell/NotificationsBell.tsx +51 -51
- package/src/Components/DataDisplay/NotificationsBell/notificationBell.module.scss +47 -47
- package/src/Components/DataDisplay/NotificationsPanel/Notification.stories.tsx +128 -128
- package/src/Components/DataDisplay/NotificationsPanel/Notification.tsx +59 -59
- package/src/Components/DataDisplay/NotificationsPanel/NotificationProps.tsx +11 -11
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsGroup.tsx +17 -17
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsGroupProps.tsx +8 -8
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsGroups.tsx +42 -42
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsGroupsProps.tsx +7 -7
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsHeader.tsx +27 -27
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsHeaderProps.tsx +7 -9
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsNone.tsx +11 -11
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsPanel.tsx +8 -8
- package/src/Components/DataDisplay/NotificationsPanel/NotificationsPanelProps.tsx +6 -6
- package/src/Components/DataDisplay/NotificationsPanel/notificationPanel.module.scss +196 -196
- package/src/Components/DataDisplay/Tab/Tab.stories.tsx +72 -72
- package/src/Components/DataDisplay/Tab/Tab.tsx +20 -20
- package/src/Components/DataDisplay/Tab/TabBody.tsx +6 -6
- package/src/Components/DataDisplay/Tab/TabBodyContent.tsx +15 -15
- package/src/Components/DataDisplay/Tab/TabBodyContentProps.tsx +9 -9
- package/src/Components/DataDisplay/Tab/TabBodyProps.tsx +8 -8
- package/src/Components/DataDisplay/Tab/TabContext.tsx +9 -9
- package/src/Components/DataDisplay/Tab/TabContextProps.tsx +6 -6
- package/src/Components/DataDisplay/Tab/TabNav.tsx +6 -6
- package/src/Components/DataDisplay/Tab/TabNavItem.tsx +49 -49
- package/src/Components/DataDisplay/Tab/TabNavItemProps.tsx +9 -9
- package/src/Components/DataDisplay/Tab/TabNavProps.tsx +8 -8
- package/src/Components/DataDisplay/Tab/TabProps.tsx +8 -8
- package/src/Components/DataDisplay/Tab/tab.module.scss +35 -35
- package/src/Components/DataDisplay/Tab/tab.stories.scss +3 -3
- package/src/Components/DataDisplay/Table/Table.stories.tsx +64 -64
- package/src/Components/DataDisplay/Table/Table.tsx +10 -10
- package/src/Components/DataDisplay/Table/TableBody.tsx +13 -13
- package/src/Components/DataDisplay/Table/TableBodyProps.tsx +8 -8
- package/src/Components/DataDisplay/Table/TableCell.tsx +30 -30
- package/src/Components/DataDisplay/Table/TableCellAction.tsx +27 -27
- package/src/Components/DataDisplay/Table/TableCellActionProps.tsx +11 -11
- package/src/Components/DataDisplay/Table/TableCellProps.tsx +11 -11
- package/src/Components/DataDisplay/Table/TableCellWithDesc.tsx +21 -21
- package/src/Components/DataDisplay/Table/TableCellWithDescProps.tsx +9 -9
- package/src/Components/DataDisplay/Table/TableCellWithImage.tsx +39 -39
- package/src/Components/DataDisplay/Table/TableCellWithImageProps.tsx +10 -10
- package/src/Components/DataDisplay/Table/TableFooter.tsx +5 -5
- package/src/Components/DataDisplay/Table/TableHead.tsx +11 -11
- package/src/Components/DataDisplay/Table/TableHeadProps.tsx +8 -8
- package/src/Components/DataDisplay/Table/TableHeaderCell.tsx +17 -17
- package/src/Components/DataDisplay/Table/TableHeaderCellProps.tsx +10 -10
- package/src/Components/DataDisplay/Table/TableProps.tsx +8 -8
- package/src/Components/DataDisplay/Table/TableRow.tsx +9 -9
- package/src/Components/DataDisplay/Table/TableRowProps.tsx +8 -8
- package/src/Components/DataDisplay/Table/table.module.scss +103 -103
- package/src/Components/Form/Button/Button.stories.tsx +66 -66
- package/src/Components/Form/Button/Button.tsx +64 -64
- package/src/Components/Form/Button/ButtonProps.tsx +18 -18
- package/src/Components/Form/Button/button.module.scss +142 -142
- package/src/Components/Form/Checkbox/Checkbox.stories.tsx +49 -49
- package/src/Components/Form/Checkbox/Checkbox.tsx +85 -85
- package/src/Components/Form/Checkbox/CheckboxProps.tsx +22 -22
- package/src/Components/Form/Checkbox/checkbox.module.scss +63 -63
- package/src/Components/Form/CheckboxSelect/CheckboxSelect.tsx +5 -5
- package/src/Components/Form/CheckboxSelect/CheckboxSelectItem.tsx +5 -5
- package/src/Components/Form/CheckboxSet/CheckboxSet.stories.tsx +93 -93
- package/src/Components/Form/CheckboxSet/CheckboxSet.tsx +14 -14
- package/src/Components/Form/CheckboxSet/CheckboxSetItem.tsx +88 -88
- package/src/Components/Form/CheckboxSet/CheckboxSetProps.tsx +9 -9
- package/src/Components/Form/CheckboxSet/checkboxSet.module.scss +13 -13
- package/src/Components/Form/CurrencyField/CurrenctField.stories.tsx +22 -22
- package/src/Components/Form/CurrencyField/CurrencyField.tsx +59 -59
- package/src/Components/Form/CurrencyField/CurrencyFieldProps.tsx +8 -8
- package/src/Components/Form/DateField/DateField.stories.tsx +22 -22
- package/src/Components/Form/DateField/DateField.tsx +58 -58
- package/src/Components/Form/DropdownBadge/DropdownBadge.stories.tsx +49 -49
- package/src/Components/Form/DropdownBadge/DropdownBadge.tsx +160 -160
- package/src/Components/Form/DropdownBadge/DropdownBadgeItem.tsx +40 -40
- package/src/Components/Form/DropdownBadge/DropdownBadgeItemProps.tsx +10 -10
- package/src/Components/Form/DropdownBadge/DropdownBadgeProps.tsx +31 -31
- package/src/Components/Form/DropdownBadge/DropdownBadgeSelector.tsx +11 -11
- package/src/Components/Form/DropdownBadge/DropdownBadgeSelectorProps.tsx +7 -7
- package/src/Components/Form/DropdownBadge/dropdownBadge.module.scss +105 -105
- package/src/Components/Form/DropdownField/DropdownField.stories.tsx +50 -50
- package/src/Components/Form/DropdownField/DropdownField.tsx +118 -118
- package/src/Components/Form/DropdownField/DropdownFieldItem.tsx +26 -26
- package/src/Components/Form/DropdownField/DropdownFieldItemProps.tsx +9 -9
- package/src/Components/Form/DropdownField/DropdownFieldProps.tsx +33 -33
- package/src/Components/Form/DropdownField/DropdownFieldSelector.tsx +15 -15
- package/src/Components/Form/DropdownField/DropdownFieldSelectorProps.tsx +7 -7
- package/src/Components/Form/DropdownField/dropdown.module.scss +79 -79
- package/src/Components/Form/EmailField/EmailField.stories.ts +23 -23
- package/src/Components/Form/EmailField/EmailField.tsx +51 -51
- package/src/Components/Form/ErrorMessage/ErrorMessage.tsx +5 -5
- package/src/Components/Form/FormFieldHolder/FormFieldHolder.stories.tsx +30 -0
- package/src/Components/Form/FormFieldHolder/FormFieldHolder.tsx +40 -5
- package/src/Components/Form/FormFieldHolder/FormFieldHolderProps.tsx +12 -0
- package/src/Components/Form/FormFieldHolder/formHolder.module.scss +56 -0
- package/src/Components/Form/IconButton/IconButton.stories.tsx +45 -45
- package/src/Components/Form/IconButton/IconButton.tsx +58 -58
- package/src/Components/Form/IconButton/IconButtonProps.tsx +15 -15
- package/src/Components/Form/IconButton/iconButton.module.scss +111 -111
- package/src/Components/Form/InputProps.tsx +25 -25
- package/src/Components/Form/MultiSelectField/MultiSelectField.tsx +5 -5
- package/src/Components/Form/MultiSelectField/MultiSelectFieldItem.tsx +5 -5
- package/src/Components/Form/MultiSelectField/MultiSelectFieldTag.tsx +5 -5
- package/src/Components/Form/PasswordField/PasswordField.stories.tsx +22 -22
- package/src/Components/Form/PasswordField/PasswordField.tsx +70 -70
- package/src/Components/Form/RadioButtons/RadioButton.tsx +70 -70
- package/src/Components/Form/RadioButtons/RadioButtonProps.tsx +22 -22
- package/src/Components/Form/RadioButtons/RadioButtons.stories.tsx +64 -64
- package/src/Components/Form/RadioButtons/RadioButtons.tsx +18 -18
- package/src/Components/Form/RadioButtons/RadioButtonsProps.tsx +10 -10
- package/src/Components/Form/RadioButtons/radioButton.stories.scss +3 -3
- package/src/Components/Form/RadioButtons/radiobutton.module.scss +63 -63
- package/src/Components/Form/TextField/TextField.stories.ts +22 -23
- package/src/Components/Form/TextField/TextField.tsx +56 -52
- package/src/Components/Form/TextField/TextFieldProps.tsx +8 -0
- package/src/Components/Form/Textarea/Textarea.stories.ts +31 -31
- package/src/Components/Form/Textarea/Textarea.tsx +71 -71
- package/src/Components/Form/Textarea/TextareaProps.tsx +27 -27
- package/src/Components/Form/Textarea/textarea.module.scss +49 -49
- package/src/Components/Form/TimeField/TimeField.stories.tsx +22 -22
- package/src/Components/Form/TimeField/TimeField.tsx +58 -58
- package/src/Components/Form/ToggleSwitch/ToggleSwitch.stories.tsx +49 -49
- package/src/Components/Form/ToggleSwitch/ToggleSwitch.tsx +87 -87
- package/src/Components/Form/ToggleSwitch/ToggleSwitchProps.tsx +22 -22
- package/src/Components/Form/ToggleSwitch/toggleSwitch.module.scss +82 -82
- package/src/Components/Form/inputs.module.scss +129 -121
- package/src/Components/Icons/Arrows/CaretDown/CaretDown.tsx +49 -49
- package/src/Components/Icons/Arrows/CaretLeft/CaretLeft.tsx +102 -0
- package/src/Components/Icons/Arrows/CaretRight/CaretRight.tsx +102 -0
- package/src/Components/Icons/Arrows/CaretUp/CaretUp.tsx +49 -49
- package/src/Components/Icons/Brand/WindowLogo/WindowLogo.tsx +105 -0
- package/src/Components/Icons/Commerce/CurrencyDollarSimple/CurrencyDollarSimple.tsx +105 -105
- package/src/Components/Icons/Communication/AddressBook/AddressBook.stories.ts +28 -28
- package/src/Components/Icons/Communication/AddressBook/AddressBook.tsx +50 -50
- package/src/Components/Icons/Communication/Asterick/Asterisk.stories.ts +28 -28
- package/src/Components/Icons/Communication/Asterick/Asterisk.tsx +50 -50
- package/src/Components/Icons/Communication/AsterickSimple/AsteriskSimple.stories.ts +28 -28
- package/src/Components/Icons/Communication/AsterickSimple/AsteriskSimple.tsx +49 -49
- package/src/Components/Icons/Communication/At/At.stories.ts +28 -28
- package/src/Components/Icons/Communication/At/At.tsx +49 -49
- package/src/Components/Icons/Communication/Broadcast/Broadcast.stories.ts +27 -27
- package/src/Components/Icons/Communication/Broadcast/Broadcast.tsx +49 -49
- package/src/Components/Icons/Communication/Chat/Chat.stories.ts +28 -28
- package/src/Components/Icons/Communication/Chat/Chat.tsx +49 -49
- package/src/Components/Icons/Design/Eye/Eye.tsx +105 -105
- package/src/Components/Icons/Design/EyeSlash/EyeSlash.tsx +105 -105
- package/src/Components/Icons/IconProps.tsx +5 -5
- package/src/Components/Icons/SecurityAndWarnings/WarningCircle/WarningCircle.tsx +105 -0
- package/src/Components/Icons/SystemAndDevice/Bell/Bell.tsx +49 -49
- package/src/Components/Icons/SystemAndDevice/MagnifyingGlass/MagnifyingGlass.tsx +105 -0
- package/src/Components/Icons/Time/CalendarBank/CalendarBank.tsx +105 -105
- package/src/Components/Icons/Time/Clock/Clock.tsx +105 -105
- package/src/Components/Layout/CalloutPopup/CalloutPopup.tsx +5 -5
- package/src/Components/Layout/Header/Header.tsx +5 -5
- package/src/Components/Layout/Header/HeaderLeft.tsx +5 -5
- package/src/Components/Layout/Header/HeaderRight.tsx +5 -5
- package/src/Components/Layout/Pagination/Pagination.tsx +5 -5
- package/src/Components/Layout/Pagination/PaginationFirst.tsx +5 -5
- package/src/Components/Layout/Pagination/PaginationLast.tsx +5 -5
- package/src/Components/Layout/Pagination/PaginationNext.tsx +5 -5
- package/src/Components/Layout/Pagination/PaginationNumber.tsx +5 -5
- package/src/Components/Layout/Pagination/PaginationPrevious.tsx +5 -5
- package/src/Components/Layout/ProfileAvatar/ProfileAvatar.stories.tsx +22 -0
- package/src/Components/Layout/ProfileAvatar/ProfileAvatar.tsx +31 -5
- package/src/Components/Layout/ProfileAvatar/ProfileAvatarProps.tsx +10 -4
- package/src/Components/Layout/ProfileAvatar/profileAvatar.module.scss +35 -0
- package/src/Components/Layout/ProfileDropdown/ProfileDropdown.stories.tsx +67 -0
- package/src/Components/Layout/ProfileDropdown/ProfileDropdown.tsx +12 -5
- package/src/Components/Layout/ProfileDropdown/ProfileDropdownProps.tsx +8 -0
- package/src/Components/Layout/ProfileDropdown/ProfileHeader.tsx +24 -5
- package/src/Components/Layout/ProfileDropdown/ProfileHeaderProps.tsx +8 -0
- package/src/Components/Layout/ProfileDropdown/ProfileLink.tsx +10 -5
- package/src/Components/Layout/ProfileDropdown/ProfileLinkProps.tsx +7 -0
- package/src/Components/Layout/ProfileDropdown/ProfileLinks.tsx +14 -5
- package/src/Components/Layout/ProfileDropdown/ProfileLinksProps.tsx +7 -0
- package/src/Components/Layout/ProfileDropdown/ProfileNavigationItem.tsx +29 -5
- package/src/Components/Layout/ProfileDropdown/ProfileNavigationItemProps.tsx +10 -0
- package/src/Components/Layout/ProfileDropdown/ProfileSwitchPanel.tsx +79 -5
- package/src/Components/Layout/ProfileDropdown/ProfileSwitchPanelProps.tsx +10 -0
- package/src/Components/Layout/ProfileDropdown/ProfileSwitchUser.tsx +22 -5
- package/src/Components/Layout/ProfileDropdown/ProfileSwitchUserProps.tsx +7 -0
- package/src/Components/Layout/ProfileDropdown/profileDropdown.module.scss +207 -0
- package/src/Components/Layout/Sidebar/Sidebar.tsx +5 -5
- package/src/Components/Layout/Sidebar/SidebarChevron.tsx +5 -5
- package/src/Components/Layout/Sidebar/SidebarNavigation.tsx +5 -5
- package/src/Components/Layout/Sidebar/SidebarNavigationItem.tsx +5 -5
- package/src/Components/Layout/Sidebar/SidebarSubNavigation.tsx +5 -5
- package/src/Notification/Notification.tsx +83 -83
- package/src/Notification/NotificationList.tsx +47 -22
- package/src/global.scss +224 -231
- package/src/main.tsx +10 -9
- package/src/variables.scss +2 -2
- package/.editorconfig +0 -17
- package/.eslintrc.cjs +0 -14
- package/.storybook/main.ts +0 -23
- package/.storybook/preview.ts +0 -17
- package/index.html +0 -13
- package/public/image/table-image.png +0 -0
- package/public/vite.svg +0 -1
- package/src/Components/DataDisplay/Media/media.scss +0 -0
- package/tokens/color/color.mdx +0 -82
- package/tokens/shadow/shadow-panel.scss +0 -12
- package/tokens/shadow/shadow.mdx +0 -34
- package/tokens/typography/typography.mdx +0 -31
- package/tsconfig.json +0 -25
- package/tsconfig.node.json +0 -10
- package/vite.config.ts +0 -7
package/src/global.scss
CHANGED
|
@@ -1,231 +1,224 @@
|
|
|
1
|
-
@import url(
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
--font: Figtree, sans-serif;
|
|
5
|
-
--body-font: Figtree, sans-serif;
|
|
6
|
-
|
|
7
|
-
color-scheme: light dark;
|
|
8
|
-
color: rgba(255, 255, 255, 0.87);
|
|
9
|
-
background-color: #242424;
|
|
10
|
-
|
|
11
|
-
font-synthesis: none;
|
|
12
|
-
text-rendering: optimizeLegibility;
|
|
13
|
-
-webkit-font-smoothing: antialiased;
|
|
14
|
-
-moz-osx-font-smoothing: grayscale;
|
|
15
|
-
|
|
16
|
-
//font-size variables
|
|
17
|
-
--font-size-body-sm: 14px;
|
|
18
|
-
--font-size-body-xsm: 12px;
|
|
19
|
-
--font-size-body-regular: 16px;
|
|
20
|
-
--font-size-large: 18px;
|
|
21
|
-
--font-size-h1: 32px;
|
|
22
|
-
--font-size-h2: 24px;
|
|
23
|
-
--font-size-h3: 20px;
|
|
24
|
-
--font-size-h4: 18px;
|
|
25
|
-
--font-size-h5: 16px;
|
|
26
|
-
--font-size-label:
|
|
27
|
-
--font-size-input: 16px;
|
|
28
|
-
--font-size-button: 16px;
|
|
29
|
-
|
|
30
|
-
//font-weight variables
|
|
31
|
-
--font-weight-body-sm: 400;
|
|
32
|
-
--font-weight-body-xsm: 400;
|
|
33
|
-
--font-weight-body-regular: 400;
|
|
34
|
-
--font-weight-h1: 600;
|
|
35
|
-
--font-weight-h2: 600;
|
|
36
|
-
--font-weight-h3: 600;
|
|
37
|
-
--font-weight-h4: 600;
|
|
38
|
-
--font-weight-h5: 600;
|
|
39
|
-
--font-weight-label: 400;
|
|
40
|
-
--font-weight-input: 400;
|
|
41
|
-
--font-weight-button: 600;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
--line-height-body-
|
|
46
|
-
--line-height-body-
|
|
47
|
-
--line-height-
|
|
48
|
-
--line-height-
|
|
49
|
-
--line-height-
|
|
50
|
-
--line-height-
|
|
51
|
-
--line-height-
|
|
52
|
-
--line-height-
|
|
53
|
-
--line-height-
|
|
54
|
-
--line-height-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
--space-unit
|
|
59
|
-
--spacing-
|
|
60
|
-
--spacing-1
|
|
61
|
-
--spacing-
|
|
62
|
-
--spacing-1: calc(
|
|
63
|
-
--spacing-1-
|
|
64
|
-
--spacing-
|
|
65
|
-
--spacing-1
|
|
66
|
-
--spacing-
|
|
67
|
-
--spacing-
|
|
68
|
-
--spacing-
|
|
69
|
-
--spacing-
|
|
70
|
-
--spacing-
|
|
71
|
-
--spacing-
|
|
72
|
-
|
|
73
|
-
--
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
--color-
|
|
77
|
-
|
|
78
|
-
--color-primary-
|
|
79
|
-
--color-primary-
|
|
80
|
-
--color-primary-
|
|
81
|
-
--color-primary-
|
|
82
|
-
--color-primary-
|
|
83
|
-
--color-primary-
|
|
84
|
-
--color-primary-
|
|
85
|
-
--color-primary-
|
|
86
|
-
|
|
87
|
-
--color-
|
|
88
|
-
--color-
|
|
89
|
-
|
|
90
|
-
--color-secondary-
|
|
91
|
-
--color-secondary-
|
|
92
|
-
--color-secondary-
|
|
93
|
-
--color-secondary-
|
|
94
|
-
--color-secondary-
|
|
95
|
-
--color-secondary-
|
|
96
|
-
--color-secondary-
|
|
97
|
-
--color-secondary-
|
|
98
|
-
|
|
99
|
-
--color-
|
|
100
|
-
--color-
|
|
101
|
-
|
|
102
|
-
--color-gray-
|
|
103
|
-
--color-gray-
|
|
104
|
-
--color-gray-
|
|
105
|
-
--color-gray-
|
|
106
|
-
--color-gray-
|
|
107
|
-
--color-gray-
|
|
108
|
-
--color-gray-
|
|
109
|
-
--color-gray-
|
|
110
|
-
|
|
111
|
-
--color-
|
|
112
|
-
--color-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
--color-
|
|
117
|
-
--color-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
--
|
|
122
|
-
|
|
123
|
-
--drop-shadow-
|
|
124
|
-
--drop-shadow-
|
|
125
|
-
|
|
126
|
-
--
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
body
|
|
133
|
-
font-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
margin-bottom: calc(var(--font-size-
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
color: #
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
a:hover {
|
|
226
|
-
color: #747bff;
|
|
227
|
-
}
|
|
228
|
-
button {
|
|
229
|
-
background-color: #f9f9f9;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap");
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--font: Figtree, sans-serif;
|
|
5
|
+
--body-font: Figtree, sans-serif;
|
|
6
|
+
|
|
7
|
+
color-scheme: light dark;
|
|
8
|
+
color: rgba(255, 255, 255, 0.87);
|
|
9
|
+
background-color: #242424;
|
|
10
|
+
|
|
11
|
+
font-synthesis: none;
|
|
12
|
+
text-rendering: optimizeLegibility;
|
|
13
|
+
-webkit-font-smoothing: antialiased;
|
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15
|
+
|
|
16
|
+
//font-size variables
|
|
17
|
+
--font-size-body-sm: 14px;
|
|
18
|
+
--font-size-body-xsm: 12px;
|
|
19
|
+
--font-size-body-regular: 16px;
|
|
20
|
+
--font-size-large: 18px;
|
|
21
|
+
--font-size-h1: 32px;
|
|
22
|
+
--font-size-h2: 24px;
|
|
23
|
+
--font-size-h3: 20px;
|
|
24
|
+
--font-size-h4: 18px;
|
|
25
|
+
--font-size-h5: 16px;
|
|
26
|
+
--font-size-label: 16px;
|
|
27
|
+
--font-size-input: 16px;
|
|
28
|
+
--font-size-button: 16px;
|
|
29
|
+
|
|
30
|
+
//font-weight variables
|
|
31
|
+
--font-weight-body-sm: 400;
|
|
32
|
+
--font-weight-body-xsm: 400;
|
|
33
|
+
--font-weight-body-regular: 400;
|
|
34
|
+
--font-weight-h1: 600;
|
|
35
|
+
--font-weight-h2: 600;
|
|
36
|
+
--font-weight-h3: 600;
|
|
37
|
+
--font-weight-h4: 600;
|
|
38
|
+
--font-weight-h5: 600;
|
|
39
|
+
--font-weight-label: 400;
|
|
40
|
+
--font-weight-input: 400;
|
|
41
|
+
--font-weight-button: 600;
|
|
42
|
+
|
|
43
|
+
//Line-height variables
|
|
44
|
+
--line-height-body-sm: 1.57;
|
|
45
|
+
--line-height-body-xsm: 1.83;
|
|
46
|
+
--line-height-body-regular: 1.5;
|
|
47
|
+
--line-height-h1: 1.25;
|
|
48
|
+
--line-height-h2: 1.33;
|
|
49
|
+
--line-height-h3: 1.4;
|
|
50
|
+
--line-height-h4: 1.44;
|
|
51
|
+
--line-height-h5: 1.5;
|
|
52
|
+
--line-height-label: 1.25;
|
|
53
|
+
--line-height-input: 1.5;
|
|
54
|
+
--line-height-button: 1;
|
|
55
|
+
|
|
56
|
+
--space-unit: 4px;
|
|
57
|
+
--spacing-1\/4: var(--space-unit);
|
|
58
|
+
--spacing-1\/2: calc(2 * var(--space-unit));
|
|
59
|
+
--spacing-3\/4: calc(3 * var(--space-unit));
|
|
60
|
+
--spacing-1: calc(4 * var(--space-unit));
|
|
61
|
+
--spacing-1-1\/4: calc(5 * var(--space-unit));
|
|
62
|
+
--spacing-1-1\/2: calc(6 * var(--space-unit));
|
|
63
|
+
--spacing-1-3\/4: calc(7 * var(--space-unit));
|
|
64
|
+
--spacing-2: calc(8 * var(--space-unit));
|
|
65
|
+
--spacing-2-1\/2: calc(10 * var(--space-unit));
|
|
66
|
+
--spacing-3: calc(12 * var(--space-unit));
|
|
67
|
+
--spacing-3-1\/2: calc(14 * var(--space-unit));
|
|
68
|
+
--spacing-4: calc(16 * var(--space-unit));
|
|
69
|
+
--spacing-4-1\/2: calc(18 * var(--space-unit));
|
|
70
|
+
--spacing-5: calc(20 * var(--space-unit));
|
|
71
|
+
--spacing-6: calc(24 * var(--space-unit));
|
|
72
|
+
|
|
73
|
+
--color-white: #ffffff;
|
|
74
|
+
|
|
75
|
+
--color-primary-50: #eef6fc;
|
|
76
|
+
--color-primary-100: #cde4f5;
|
|
77
|
+
--color-primary-200: #acd2ee;
|
|
78
|
+
--color-primary-300: #8ac0e7;
|
|
79
|
+
--color-primary-400: #69aee0;
|
|
80
|
+
--color-primary-500: #58a5dd;
|
|
81
|
+
--color-primary-600: #4684b1;
|
|
82
|
+
--color-primary-700: #356385;
|
|
83
|
+
--color-primary-800: #234258;
|
|
84
|
+
--color-primary-900: #12212c;
|
|
85
|
+
--color-primary-1000: #0f1c25;
|
|
86
|
+
|
|
87
|
+
--color-secondary-50: #eceef0;
|
|
88
|
+
--color-secondary-100: #d9dce2;
|
|
89
|
+
--color-secondary-200: #a1a8b6;
|
|
90
|
+
--color-secondary-300: #7b8598;
|
|
91
|
+
--color-secondary-400: #56627b;
|
|
92
|
+
--color-secondary-500: #43506c;
|
|
93
|
+
--color-secondary-600: #364056;
|
|
94
|
+
--color-secondary-700: #2f384c;
|
|
95
|
+
--color-secondary-800: #222836;
|
|
96
|
+
--color-secondary-900: #1b202b;
|
|
97
|
+
--color-secondary-1000: #191e28;
|
|
98
|
+
|
|
99
|
+
--color-gray-50: #fafafa;
|
|
100
|
+
--color-gray-100: #f5f5f5;
|
|
101
|
+
--color-gray-200: #eeeeee;
|
|
102
|
+
--color-gray-300: #e0e0e0;
|
|
103
|
+
--color-gray-400: #bdbdbd;
|
|
104
|
+
--color-gray-500: #9e9e9e;
|
|
105
|
+
--color-gray-600: #757575;
|
|
106
|
+
--color-gray-700: #616161;
|
|
107
|
+
--color-gray-800: #424242;
|
|
108
|
+
--color-gray-900: #212121;
|
|
109
|
+
--color-gray-1000: #171717;
|
|
110
|
+
|
|
111
|
+
--color-success: #84be39;
|
|
112
|
+
--color-error: #e12222;
|
|
113
|
+
--color-error-lite: rgba(225, 34, 34, 0.05);
|
|
114
|
+
--color-inprogress: #e9a116;
|
|
115
|
+
|
|
116
|
+
--color-lite: #ffffff;
|
|
117
|
+
--color-dark: #000000;
|
|
118
|
+
|
|
119
|
+
--drop-shadow-default: 0px 0px 2px 1px rgba(0, 0, 0, 0.05),
|
|
120
|
+
0px 2px 10px 0px rgba(0, 0, 0, 0.15);
|
|
121
|
+
--drop-shadow-md: 0px 4px 4px 0px rgba(21, 19, 28, 0.06);
|
|
122
|
+
--drop-shadow-lg: 0px 8px 12px 0px rgba(21, 19, 28, 0.06);
|
|
123
|
+
--drop-shadow-xl: 0px 16px 24px 0px rgba(21, 19, 28, 0.06);
|
|
124
|
+
--drop-shadow-2xl: 0px 24px 40px 0px rgba(21, 19, 28, 0.06);
|
|
125
|
+
|
|
126
|
+
--bg-modal-color: #ffffff;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
body {
|
|
130
|
+
font-family: var(--body-font);
|
|
131
|
+
font-size: var(--font-size-body-regular);
|
|
132
|
+
line-height: var(--line-height-body-regular);
|
|
133
|
+
font-weight: var(--font-weight-body-regular);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
* {
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
padding: 0;
|
|
139
|
+
margin: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
a {
|
|
143
|
+
text-decoration: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.typography {
|
|
147
|
+
h1 {
|
|
148
|
+
font-size: var(--font-size-h1);
|
|
149
|
+
line-height: var(--line-height-h1);
|
|
150
|
+
font-weight: var(--font-weight-h1);
|
|
151
|
+
margin-bottom: calc(var(--font-size-h1) * 0.75);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
h2 {
|
|
155
|
+
font-size: var(--font-size-h2);
|
|
156
|
+
line-height: var(--line-height-h2);
|
|
157
|
+
font-weight: var(--font-weight-h2);
|
|
158
|
+
margin-bottom: calc(var(--font-size-h2) * 0.75);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
h3 {
|
|
162
|
+
font-size: var(--font-size-h3);
|
|
163
|
+
line-height: var(--line-height-h3);
|
|
164
|
+
font-weight: var(--font-weight-h3);
|
|
165
|
+
margin-bottom: calc(var(--font-size-h3) * 0.75);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
h4 {
|
|
169
|
+
font-size: var(--font-size-h4);
|
|
170
|
+
line-height: var(--line-height-h4);
|
|
171
|
+
font-weight: var(--font-weight-h4);
|
|
172
|
+
margin-bottom: calc(var(--font-size-h4) * 0.75);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
h5 {
|
|
176
|
+
font-size: var(--font-size-h5);
|
|
177
|
+
line-height: var(--line-height-h5);
|
|
178
|
+
font-weight: var(--font-weight-h5);
|
|
179
|
+
margin-bottom: calc(var(--font-size-h5) * 0.75);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
p {
|
|
183
|
+
margin-bottom: calc(var(--font-size-body-regular) * 0.75);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
small {
|
|
187
|
+
font-size: var(--font-size-body-sm);
|
|
188
|
+
line-height: var(--line-height-body-sm);
|
|
189
|
+
color: var(--color-gray-600);
|
|
190
|
+
margin-top: calc(var(--font-size-body) * 0.75);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
ul,
|
|
194
|
+
ol {
|
|
195
|
+
margin-left: calc(var(--spacing) * 5);
|
|
196
|
+
margin-bottom: calc(var(--font-size-body) * 0.75);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.large {
|
|
200
|
+
font-size: var(--font-size-large);
|
|
201
|
+
|
|
202
|
+
p {
|
|
203
|
+
margin-bottom: calc(var(--font-size-large) * 1.25);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
ol,
|
|
207
|
+
ul {
|
|
208
|
+
margin-bottom: calc(var(--font-size-large) * 1.25);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@media (prefers-color-scheme: light) {
|
|
214
|
+
:root {
|
|
215
|
+
color: #213547;
|
|
216
|
+
background-color: #ffffff;
|
|
217
|
+
}
|
|
218
|
+
a:hover {
|
|
219
|
+
color: #747bff;
|
|
220
|
+
}
|
|
221
|
+
button {
|
|
222
|
+
background-color: #f9f9f9;
|
|
223
|
+
}
|
|
224
|
+
}
|
package/src/main.tsx
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { createRoot } from "react-dom/client";
|
|
2
|
-
import App from "./App.tsx";
|
|
3
|
-
import "./global.scss";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { createRoot } from "react-dom/client";
|
|
2
|
+
import App from "./App.tsx";
|
|
3
|
+
import "./global.scss";
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
createRoot(document.getElementById("root")!).render(
|
|
7
|
+
<React.StrictMode>
|
|
8
|
+
<App />
|
|
9
|
+
</React.StrictMode>
|
|
10
|
+
);
|
package/src/variables.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
$colors: "primary", "secondary", "gray";
|
|
2
|
-
$colorVariations: "100", "200", "300", "400", "500", "600", "700", "800", "900", "1000";
|
|
1
|
+
$colors: "primary", "secondary", "gray";
|
|
2
|
+
$colorVariations: "100", "200", "300", "400", "500", "600", "700", "800", "900", "1000";
|
package/.editorconfig
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# For more information about the properties used in
|
|
2
|
-
# this file, please see the EditorConfig documentation:
|
|
3
|
-
# http://editorconfig.org/
|
|
4
|
-
|
|
5
|
-
root = true
|
|
6
|
-
|
|
7
|
-
[*]
|
|
8
|
-
charset = utf-8
|
|
9
|
-
end_of_line = lf
|
|
10
|
-
indent_size = 2
|
|
11
|
-
indent_style = space
|
|
12
|
-
insert_final_newline = true
|
|
13
|
-
trim_trailing_whitespace = true
|
|
14
|
-
|
|
15
|
-
[*.md]
|
|
16
|
-
trim_trailing_whitespace = false
|
|
17
|
-
|
package/.eslintrc.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: { browser: true, es2020: true },
|
|
4
|
-
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
|
|
5
|
-
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
6
|
-
parser: '@typescript-eslint/parser',
|
|
7
|
-
plugins: ['react-refresh'],
|
|
8
|
-
rules: {
|
|
9
|
-
'react-refresh/only-export-components': [
|
|
10
|
-
'warn',
|
|
11
|
-
{ allowConstantExport: true },
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
}
|
package/.storybook/main.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from "@storybook/react-vite";
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: [
|
|
5
|
-
"../tokens/**/*.mdx",
|
|
6
|
-
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
|
|
7
|
-
],
|
|
8
|
-
addons: [
|
|
9
|
-
"@storybook/addon-links",
|
|
10
|
-
"@storybook/addon-essentials",
|
|
11
|
-
"@storybook/addon-onboarding",
|
|
12
|
-
"@storybook/addon-interactions",
|
|
13
|
-
"@storybook/addon-mdx-gfm"
|
|
14
|
-
],
|
|
15
|
-
framework: {
|
|
16
|
-
name: "@storybook/react-vite",
|
|
17
|
-
options: {},
|
|
18
|
-
},
|
|
19
|
-
docs: {
|
|
20
|
-
autodocs: "tag",
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
export default config;
|
package/.storybook/preview.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Preview } from "@storybook/react";
|
|
2
|
-
|
|
3
|
-
import '../src/global.scss';
|
|
4
|
-
|
|
5
|
-
const preview: Preview = {
|
|
6
|
-
parameters: {
|
|
7
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
8
|
-
controls: {
|
|
9
|
-
matchers: {
|
|
10
|
-
color: /(background|color)$/i,
|
|
11
|
-
date: /Date$/i,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default preview;
|
package/index.html
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Vite + React + TS</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="root"></div>
|
|
11
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
Binary file
|
package/public/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
|
File without changes
|
package/tokens/color/color.mdx
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import {Meta, ColorPalette, ColorItem,} from "@storybook/blocks"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<Meta title='Design Token/Colors'/>
|
|
5
|
-
|
|
6
|
-
# Colors
|
|
7
|
-
|
|
8
|
-
## Primary
|
|
9
|
-
|
|
10
|
-
<ColorPalette>
|
|
11
|
-
<ColorItem
|
|
12
|
-
title="Primary"
|
|
13
|
-
colors={{
|
|
14
|
-
"50": 'var(--color-primary-50)',
|
|
15
|
-
"100": 'var(--color-primary-100)',
|
|
16
|
-
"200": 'var(--color-primary-200)',
|
|
17
|
-
"300": 'var(--color-primary-300)',
|
|
18
|
-
"300": 'var(--color-primary-400)',
|
|
19
|
-
"400": 'var(--color-primary-500)',
|
|
20
|
-
"500": 'var(--color-primary-600)',
|
|
21
|
-
"600": 'var(--color-primary-700)',
|
|
22
|
-
"700": 'var(--color-primary-800)',
|
|
23
|
-
"800": 'var(--color-primary-900)',
|
|
24
|
-
"900": 'var(--color-primary-1000)'
|
|
25
|
-
}}
|
|
26
|
-
/>
|
|
27
|
-
<ColorItem
|
|
28
|
-
title="Secondary"
|
|
29
|
-
colors={{
|
|
30
|
-
"50": 'var(--color-secondary-50)',
|
|
31
|
-
"100": 'var(--color-secondary-100)',
|
|
32
|
-
"200": 'var(--color-secondary-200)',
|
|
33
|
-
"300": 'var(--color-secondary-300)',
|
|
34
|
-
"300": 'var(--color-secondary-400)',
|
|
35
|
-
"400": 'var(--color-secondary-500)',
|
|
36
|
-
"500": 'var(--color-secondary-600)',
|
|
37
|
-
"600": 'var(--color-secondary-700)',
|
|
38
|
-
"700": 'var(--color-secondary-800)',
|
|
39
|
-
"800": 'var(--color-secondary-900)',
|
|
40
|
-
"900": 'var(--color-secondary-1000)'
|
|
41
|
-
}}
|
|
42
|
-
/>
|
|
43
|
-
<ColorItem
|
|
44
|
-
title="Gray"
|
|
45
|
-
colors={{
|
|
46
|
-
"50": 'var(--color-gray-50)',
|
|
47
|
-
"100": 'var(--color-gray-100)',
|
|
48
|
-
"200": 'var(--color-gray-200)',
|
|
49
|
-
"300": 'var(--color-gray-300)',
|
|
50
|
-
"300": 'var(--color-gray-400)',
|
|
51
|
-
"400": 'var(--color-gray-500)',
|
|
52
|
-
"500": 'var(--color-gray-600)',
|
|
53
|
-
"600": 'var(--color-gray-700)',
|
|
54
|
-
"700": 'var(--color-gray-800)',
|
|
55
|
-
"800": 'var(--color-gray-900)',
|
|
56
|
-
"900": 'var(--color-gray-1000)'
|
|
57
|
-
}}
|
|
58
|
-
/>
|
|
59
|
-
</ColorPalette>
|
|
60
|
-
|
|
61
|
-
## System Colors
|
|
62
|
-
|
|
63
|
-
<ColorPalette>
|
|
64
|
-
<ColorItem
|
|
65
|
-
title='--color-success'
|
|
66
|
-
colors={[
|
|
67
|
-
'var(--color-success)'
|
|
68
|
-
]}
|
|
69
|
-
/>
|
|
70
|
-
<ColorItem
|
|
71
|
-
title=' --color-error'
|
|
72
|
-
colors={[
|
|
73
|
-
'var( --color-error)'
|
|
74
|
-
]}
|
|
75
|
-
/>
|
|
76
|
-
<ColorItem
|
|
77
|
-
title='--color-inprogress'
|
|
78
|
-
colors={[
|
|
79
|
-
'var(--color-inprogress)'
|
|
80
|
-
]}
|
|
81
|
-
/>
|
|
82
|
-
</ColorPalette>
|