imbric-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.babelrc.json +3 -0
- package/.commitlintrc.json +3 -0
- package/.dockerignore +14 -0
- package/.editorconfig +13 -0
- package/.eslintignore +1 -0
- package/.eslintrc.json +36 -0
- package/.huskyrc.json +6 -0
- package/.lintstagedrc.json +5 -0
- package/.nvmrc +1 -0
- package/.prettierignore +1 -0
- package/.prettierrc.json +4 -0
- package/.releaserc.json +13 -0
- package/.storybook/main.js +13 -0
- package/.storybook/preview-head.html +2 -0
- package/.storybook/preview.js +53 -0
- package/.stylelintrc.json +14 -0
- package/.vscode/launch.json +15 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +0 -0
- package/Dockerfile +17 -0
- package/README.md +69 -0
- package/atoms/AlertModal/AlertModal.js +69 -0
- package/atoms/AlertModal/AlertModal.module.css +3 -0
- package/atoms/AlertModal/AlertModal.stories.js +30 -0
- package/atoms/AlertModal/constants.js +4 -0
- package/atoms/AlertModal/index.js +3 -0
- package/atoms/Avatar/Avatar.js +36 -0
- package/atoms/Avatar/Avatar.module.css +3 -0
- package/atoms/Avatar/Avatar.stories.js +29 -0
- package/atoms/Avatar/__snapshots__/Avatar.stories.js.snap +105 -0
- package/atoms/Avatar/constants.js +3 -0
- package/atoms/Avatar/helpers.js +7 -0
- package/atoms/Avatar/index.js +3 -0
- package/atoms/Button/Button.js +83 -0
- package/atoms/Button/Button.module.css +85 -0
- package/atoms/Button/Button.stories.js +47 -0
- package/atoms/Button/Button.test.js +60 -0
- package/atoms/Button/__snapshots__/Button.stories.js.snap +191 -0
- package/atoms/Button/constants.js +3 -0
- package/atoms/Button/index.js +3 -0
- package/atoms/Card/Card.js +48 -0
- package/atoms/Card/Card.module.css +52 -0
- package/atoms/Card/Card.stories.js +41 -0
- package/atoms/Card/__snapshots__/Card.stories.js.snap +136 -0
- package/atoms/Card/constants.js +4 -0
- package/atoms/Card/index.js +3 -0
- package/atoms/Check/Check.js +28 -0
- package/atoms/Check/Check.module.css +11 -0
- package/atoms/Check/Check.stories.js +15 -0
- package/atoms/Check/__snapshots__/Check.stories.js.snap +67 -0
- package/atoms/Check/index.js +2 -0
- package/atoms/Checkbox/Checkbox.js +77 -0
- package/atoms/Checkbox/Checkbox.module.css +60 -0
- package/atoms/Checkbox/Checkbox.stories.js +30 -0
- package/atoms/Checkbox/constants.js +1 -0
- package/atoms/Checkbox/index.js +3 -0
- package/atoms/Divider/Divider.js +22 -0
- package/atoms/Divider/Divider.module.css +25 -0
- package/atoms/Divider/Divider.stories.js +23 -0
- package/atoms/Divider/__snapshots__/Divider.stories.js.snap +22 -0
- package/atoms/Divider/constants.js +3 -0
- package/atoms/Divider/index.js +3 -0
- package/atoms/Heading/Heading.js +37 -0
- package/atoms/Heading/Heading.module.css +70 -0
- package/atoms/Heading/Heading.stories.js +46 -0
- package/atoms/Heading/__snapshots__/Heading.stories.js.snap +189 -0
- package/atoms/Heading/constants.js +5 -0
- package/atoms/Heading/index.js +3 -0
- package/atoms/Icon/Icon.js +66 -0
- package/atoms/Icon/Icon.module.css +142 -0
- package/atoms/Icon/Icon.stories.js +48 -0
- package/atoms/Icon/__snapshots__/Icon.stories.js.snap +1311 -0
- package/atoms/Icon/constants.js +1091 -0
- package/atoms/Icon/helpers.js +9 -0
- package/atoms/Icon/index.js +3 -0
- package/atoms/Input/Input.js +229 -0
- package/atoms/Input/Input.module.css +83 -0
- package/atoms/Input/Input.stories.js +38 -0
- package/atoms/Input/__snapshots__/Input.stories.js.snap +101 -0
- package/atoms/Input/constants.js +3 -0
- package/atoms/Input/index.js +3 -0
- package/atoms/Label/Label.js +31 -0
- package/atoms/Label/Label.module.css +42 -0
- package/atoms/Label/Label.stories.js +26 -0
- package/atoms/Label/constants.js +1 -0
- package/atoms/Label/index.js +3 -0
- package/atoms/LinkItem/LinkItem.js +38 -0
- package/atoms/LinkItem/LinkItem.module.css +19 -0
- package/atoms/LinkItem/LinkItem.stories.js +30 -0
- package/atoms/LinkItem/__snapshots__/Link.stories.js.snap +118 -0
- package/atoms/LinkItem/constants.js +5 -0
- package/atoms/LinkItem/index.js +3 -0
- package/atoms/Loading/Loading.js +30 -0
- package/atoms/Loading/Loading.module.css +51 -0
- package/atoms/Loading/Loading.stories.js +17 -0
- package/atoms/Loading/__snapshots__/Loading.stories.js.snap +26 -0
- package/atoms/Loading/index.js +2 -0
- package/atoms/Modal/Modal.js +121 -0
- package/atoms/Modal/Modal.module.css +142 -0
- package/atoms/Modal/Modal.stories.js +43 -0
- package/atoms/Modal/__snapshots__/Modal.stories.js.snap +239 -0
- package/atoms/Modal/constants.js +1 -0
- package/atoms/Modal/index.js +3 -0
- package/atoms/Paragraph/Paragraph.js +56 -0
- package/atoms/Paragraph/Paragraph.module.css +72 -0
- package/atoms/Paragraph/Paragraph.stories.js +52 -0
- package/atoms/Paragraph/__snapshots__/Paragraph.stories.js.snap +230 -0
- package/atoms/Paragraph/constants.js +5 -0
- package/atoms/Paragraph/index.js +3 -0
- package/atoms/Picture/Picture.js +47 -0
- package/atoms/Picture/Picture.module.css +16 -0
- package/atoms/Picture/Picture.stories.js +32 -0
- package/atoms/Picture/__snapshots__/Picture.stories.js.snap +156 -0
- package/atoms/Picture/index.js +2 -0
- package/atoms/Tab/Tab.js +41 -0
- package/atoms/Tab/Tab.module.css +17 -0
- package/atoms/Tab/Tab.stories.js +27 -0
- package/atoms/Tab/constants.js +1 -0
- package/atoms/Tab/index.js +3 -0
- package/atoms/Textarea/Textarea.js +137 -0
- package/atoms/Textarea/Textarea.module.css +54 -0
- package/atoms/Textarea/Textarea.stories.js +16 -0
- package/atoms/Textarea/__snapshots__/Textarea.stories.js.snap +25 -0
- package/atoms/Textarea/index.js +2 -0
- package/atoms/Toggle/Toggle.js +56 -0
- package/atoms/Toggle/Toggle.module.css +41 -0
- package/atoms/Toggle/Toggle.stories.js +21 -0
- package/atoms/Toggle/constants.js +1 -0
- package/atoms/Toggle/index.js +3 -0
- package/codecov.yml +2 -0
- package/helpers/storybook.js +29 -0
- package/helpers/storybook.test.js +40 -0
- package/helpers/styles.js +37 -0
- package/helpers/styles.test.js +222 -0
- package/hocs/withStyles.js +17 -0
- package/hook/useAddColumn.js +40 -0
- package/hook/useMedia.js +22 -0
- package/hook/useStateDate.js +25 -0
- package/hook/useTable.js +54 -0
- package/index.js +71 -0
- package/jest.config.js +23 -0
- package/jest.setup.js +13 -0
- package/layout/CenteredContent/CenteredContent.js +30 -0
- package/layout/CenteredContent/CenteredContent.module.css +12 -0
- package/layout/CenteredContent/CenteredContent.stories.js +22 -0
- package/layout/CenteredContent/__snapshots__/CenteredContent.stories.js.snap +27 -0
- package/layout/CenteredContent/index.js +2 -0
- package/layout/Container/Container.js +29 -0
- package/layout/Container/Container.module.css +14 -0
- package/layout/Container/Container.stories.js +22 -0
- package/layout/Container/__snapshots__/Container.stories.js.snap +27 -0
- package/layout/Container/index.js +2 -0
- package/layout/DynamicTable/DynamicTable.js +372 -0
- package/layout/DynamicTable/DynamicTable.module.css +76 -0
- package/layout/DynamicTable/DynamicTable.stories.js +79 -0
- package/layout/DynamicTable/constants.js +323 -0
- package/layout/DynamicTable/index.js +3 -0
- package/layout/FlexColumnContent/FlexColumnContent.js +26 -0
- package/layout/FlexColumnContent/FlexColumnContent.module.css +5 -0
- package/layout/FlexColumnContent/FlexColumnContent.stories.js +28 -0
- package/layout/FlexColumnContent/constants.js +1 -0
- package/layout/FlexColumnContent/index.js +3 -0
- package/layout/FullHeightContent/FullHeightContent.js +40 -0
- package/layout/FullHeightContent/FullHeightContent.module.css +21 -0
- package/layout/FullHeightContent/FullHeightContent.stories.js +22 -0
- package/layout/FullHeightContent/__snapshots__/FullHeightContent.stories.js.snap +41 -0
- package/layout/FullHeightContent/index.js +2 -0
- package/layout/Navbar/Navbar.js +247 -0
- package/layout/Navbar/Navbar.module.css +35 -0
- package/layout/Navbar/Navbar.stories.js +20 -0
- package/layout/Navbar/constants.js +35 -0
- package/layout/Navbar/index.js +2 -0
- package/layout/Sidebar/Sidebar.js +115 -0
- package/layout/Sidebar/Sidebar.module.css +387 -0
- package/layout/Sidebar/Sidebar.stories.js +28 -0
- package/layout/Sidebar/constants.js +228 -0
- package/layout/Sidebar/index.js +3 -0
- package/layout/Spacer/Spacer.js +40 -0
- package/layout/Spacer/Spacer.module.css +12 -0
- package/layout/Spacer/Spacer.stories.js +25 -0
- package/layout/Spacer/__snapshots__/Spacer.stories.js.snap +97 -0
- package/layout/Spacer/components/Horizontal/Horizontal.js +43 -0
- package/layout/Spacer/components/Horizontal/Horizontal.stories.js +32 -0
- package/layout/Spacer/components/Horizontal/__snapshots__/Horizontal.stories.js.snap +97 -0
- package/layout/Spacer/components/Horizontal/index.js +1 -0
- package/layout/Spacer/components/Vertical/Vertical.js +31 -0
- package/layout/Spacer/components/Vertical/Vertical.stories.js +25 -0
- package/layout/Spacer/components/Vertical/__snapshots__/Vertical.stories.js.snap +85 -0
- package/layout/Spacer/components/Vertical/index.js +1 -0
- package/layout/Spacer/components/index.js +2 -0
- package/layout/Spacer/constants.js +5 -0
- package/layout/Spacer/helpers.js +3 -0
- package/layout/Spacer/index.js +3 -0
- package/molecules/Accordion/Accordion.js +70 -0
- package/molecules/Accordion/Accordion.module.css +12 -0
- package/molecules/Accordion/Accordion.stories.js +31 -0
- package/molecules/Accordion/__snapshots__/Accordion.stories.js.snap +228 -0
- package/molecules/Accordion/index.js +2 -0
- package/molecules/AddButton/AddButton.js +137 -0
- package/molecules/AddButton/AddButton.module.css +128 -0
- package/molecules/AddButton/AddButton.stories.js +47 -0
- package/molecules/AddButton/__snapshots__/AddButton.stories.js.snap +326 -0
- package/molecules/AddButton/constants.js +6 -0
- package/molecules/AddButton/handlers.js +58 -0
- package/molecules/AddButton/handlers.test.js +19 -0
- package/molecules/AddButton/helpers.js +6 -0
- package/molecules/AddButton/helpers.test.js +41 -0
- package/molecules/AddButton/hooks.js +14 -0
- package/molecules/AddButton/index.js +3 -0
- package/molecules/ButtonIcon/ButtonIcon.js +41 -0
- package/molecules/ButtonIcon/ButtonIcon.stories.js +27 -0
- package/molecules/ButtonIcon/__snapshots__/ButtonIcon.stories.js.snap +178 -0
- package/molecules/ButtonIcon/constants.js +6 -0
- package/molecules/ButtonIcon/index.js +2 -0
- package/molecules/CardDefault/CardDefault.js +65 -0
- package/molecules/CardDefault/CardDefault.module.css +19 -0
- package/molecules/CardDefault/CardDefault.stories.js +23 -0
- package/molecules/CardDefault/constants.js +1 -0
- package/molecules/CardDefault/index.js +3 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.js +89 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.module.css +118 -0
- package/molecules/CardProductTypesBooking/CardProductTypesBooking.stories.js +25 -0
- package/molecules/CardProductTypesBooking/constants.js +1 -0
- package/molecules/CardProductTypesBooking/index.js +3 -0
- package/molecules/CardServiceDetail/CardServiceDetail.js +400 -0
- package/molecules/CardServiceDetail/CardServiceDetail.module.css +222 -0
- package/molecules/CardServiceDetail/CardServiceDetail.stories.js +23 -0
- package/molecules/CardServiceDetail/constants.js +1 -0
- package/molecules/CardServiceDetail/index.js +3 -0
- package/molecules/CardServices/CardServices.js +461 -0
- package/molecules/CardServices/CardServices.module.css +213 -0
- package/molecules/CardServices/CardServices.stories.js +41 -0
- package/molecules/CardServices/constants.js +5 -0
- package/molecules/CardServices/index.js +3 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.js +381 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.module.css +213 -0
- package/molecules/CardServicesFinalized/CardServicesFinalized.stories.js +23 -0
- package/molecules/CardServicesFinalized/constants.js +1 -0
- package/molecules/CardServicesFinalized/index.js +3 -0
- package/molecules/CheckList/CheckList.js +135 -0
- package/molecules/CheckList/CheckList.module.css +94 -0
- package/molecules/CheckList/CheckList.stories.js +25 -0
- package/molecules/CheckList/constants.js +23 -0
- package/molecules/CheckList/index.js +3 -0
- package/molecules/ColumnTable/ColumnTable.js +154 -0
- package/molecules/ColumnTable/ColumnTable.module.css +51 -0
- package/molecules/ColumnTable/ColumnTable.stories.js +26 -0
- package/molecules/ColumnTable/constants.js +117 -0
- package/molecules/ColumnTable/index.js +3 -0
- package/molecules/DatePicker/DatePicker.js +242 -0
- package/molecules/DatePicker/DatePicker.module.css +38 -0
- package/molecules/DatePicker/DatePicker.stories.js +23 -0
- package/molecules/DatePicker/constants.js +3 -0
- package/molecules/DatePicker/index.js +3 -0
- package/molecules/DatePickerTime/DatePickerTime.js +133 -0
- package/molecules/DatePickerTime/DatePickerTime.module.css +3 -0
- package/molecules/DatePickerTime/DatePickerTime.stories.js +18 -0
- package/molecules/DatePickerTime/constants.js +1 -0
- package/molecules/DatePickerTime/index.js +3 -0
- package/molecules/Dropdown/Dropdown.js +62 -0
- package/molecules/Dropdown/Dropdown.module.css +52 -0
- package/molecules/Dropdown/Dropdown.stories.js +41 -0
- package/molecules/Dropdown/__snapshots__/Dropdown.stories.js.snap +181 -0
- package/molecules/Dropdown/index.js +2 -0
- package/molecules/DynamicSelect/DynamicSelect.js +186 -0
- package/molecules/DynamicSelect/DynamicSelect.module.css +10 -0
- package/molecules/DynamicSelect/DynamicSelect.stories.js +32 -0
- package/molecules/DynamicSelect/constants.js +7 -0
- package/molecules/DynamicSelect/index.js +3 -0
- package/molecules/Error/Error.js +35 -0
- package/molecules/Error/Error.module.css +12 -0
- package/molecules/Error/Error.stories.js +18 -0
- package/molecules/Error/__snapshots__/Error.stories.js.snap +134 -0
- package/molecules/Error/index.js +2 -0
- package/molecules/FooterTable/FooterTable.js +166 -0
- package/molecules/FooterTable/FooterTable.module.css +63 -0
- package/molecules/FooterTable/FooterTable.stories.js +23 -0
- package/molecules/FooterTable/constants.js +9 -0
- package/molecules/FooterTable/index.js +3 -0
- package/molecules/IconLabel/IconLabel.js +83 -0
- package/molecules/IconLabel/IconLabel.module.css +16 -0
- package/molecules/IconLabel/IconLabel.stories.js +25 -0
- package/molecules/IconLabel/__snapshots__/IconLabel.stories.js.snap +211 -0
- package/molecules/IconLabel/constants.js +6 -0
- package/molecules/IconLabel/index.js +3 -0
- package/molecules/InputAutocomplete/InputAutocomplete.js +221 -0
- package/molecules/InputAutocomplete/InputAutocomplete.module.css +55 -0
- package/molecules/InputAutocomplete/InputAutocomplete.stories.js +23 -0
- package/molecules/InputAutocomplete/constants.js +1 -0
- package/molecules/InputAutocomplete/index.js +3 -0
- package/molecules/ItemMenu/ItemMenu.js +134 -0
- package/molecules/ItemMenu/ItemMenu.module.css +363 -0
- package/molecules/ItemMenu/ItemMenu.stories.js +42 -0
- package/molecules/ItemMenu/constants.js +36 -0
- package/molecules/ItemMenu/index.js +3 -0
- package/molecules/LoadingError/LoadingError.js +31 -0
- package/molecules/LoadingError/LoadingError.stories.js +24 -0
- package/molecules/LoadingError/__snapshots__/LoadingError.stories.js.snap +109 -0
- package/molecules/LoadingError/index.js +1 -0
- package/molecules/RowTable/RowTable.js +928 -0
- package/molecules/RowTable/RowTable.module.css +63 -0
- package/molecules/RowTable/RowTable.stories.js +26 -0
- package/molecules/RowTable/constants.js +798 -0
- package/molecules/RowTable/index.js +3 -0
- package/molecules/Score/Score.js +61 -0
- package/molecules/Score/Score.module.css +11 -0
- package/molecules/Score/Score.stories.js +13 -0
- package/molecules/Score/__snapshots__/Score.stories.js.snap +100 -0
- package/molecules/Score/faces/happy.svg +7 -0
- package/molecules/Score/faces/normal.svg +6 -0
- package/molecules/Score/faces/sad.svg +6 -0
- package/molecules/Score/index.js +2 -0
- package/molecules/Tabs/Tabs.js +59 -0
- package/molecules/Tabs/Tabs.module.css +13 -0
- package/molecules/Tabs/Tabs.stories.js +34 -0
- package/molecules/Tabs/constants.js +34 -0
- package/molecules/Tabs/index.js +3 -0
- package/molecules/Task/Task.js +114 -0
- package/molecules/Task/Task.module.css +47 -0
- package/molecules/Task/Task.stories.js +47 -0
- package/molecules/Task/__snapshots__/Task.stories.js.snap +953 -0
- package/molecules/Task/constants.js +1 -0
- package/molecules/Task/index.js +3 -0
- package/molecules/TaskCounter/TaskCounter.js +74 -0
- package/molecules/TaskCounter/TaskCounter.module.css +11 -0
- package/molecules/TaskCounter/TaskCounter.stories.js +26 -0
- package/molecules/TaskCounter/__snapshots__/TaskCounter.stories.js.snap +177 -0
- package/molecules/TaskCounter/index.js +2 -0
- package/package.json +119 -0
- package/pages/Login/Login.js +102 -0
- package/pages/Login/Login.module.css +5 -0
- package/pages/Login/Login.stories.js +23 -0
- package/pages/Login/constants.js +1 -0
- package/pages/Login/index.js +3 -0
- package/pages/Login/validation/loginSchema.js +5 -0
- package/public/favicon.ico +0 -0
- package/public/static/google-maps.png +0 -0
- package/public/static/images/folders-folder.svg +26 -0
- package/public/static/images/permissions.svg +14 -0
- package/public/static/images/reports-results.svg +18 -0
- package/public/static/logo.svg +19 -0
- package/public/static/logologin.png +0 -0
- package/public/static/logologin.svg +16 -0
- package/public/static/logologintagos.svg +19 -0
- package/public/static/logotipo.svg +50 -0
- package/public/static/logotipoS.svg +26 -0
- package/public/static/taxisvalencia_logod.png +0 -0
- package/scripts/build-tokens.js +40 -0
- package/scripts/create-component.js +128 -0
- package/storybook.test.js +13 -0
- package/styles/GrupoMutua.css +391 -0
- package/styles/default.css +391 -0
- package/styles/globals.css +1524 -0
- package/styles/radiotaxiaragon.css +391 -0
- package/styles/spartan.css +391 -0
- package/styles/tagos.css +391 -0
- package/styles/taxisvalencia.css +391 -0
- package/styles/tokens.css +391 -0
- package/templates/component/Component.js +22 -0
- package/templates/component/Component.module.css +3 -0
- package/templates/component/Component.stories.js +23 -0
- package/templates/component/constants.js +1 -0
- package/templates/component/index.js +3 -0
- package/tokens/Token/Helper.js +30 -0
- package/tokens/Token/Token.js +13 -0
- package/tokens/Token/Token.module.css +64 -0
- package/tokens/Token/components/Color.js +21 -0
- package/tokens/Token/components/Color.stories.js +126 -0
- package/tokens/Token/components/FontFamily.js +24 -0
- package/tokens/Token/components/FontFamily.stories.js +32 -0
- package/tokens/Token/components/FontSize.js +24 -0
- package/tokens/Token/components/FontSize.stories.js +31 -0
- package/tokens/Token/components/FontWeight.js +24 -0
- package/tokens/Token/components/FontWeight.stories.js +31 -0
- package/tokens/Token/components/Spacing.js +24 -0
- package/tokens/Token/components/Spacing.stories.js +29 -0
- package/tokens/Token/components/__snapshots__/Color.stories.js.snap +7169 -0
- package/tokens/Token/components/__snapshots__/FontFamily.stories.js.snap +133 -0
- package/tokens/Token/components/__snapshots__/FontSize.stories.js.snap +261 -0
- package/tokens/Token/components/__snapshots__/FontWeight.stories.js.snap +317 -0
- package/tokens/Token/components/__snapshots__/Spacing.stories.js.snap +229 -0
- package/tokens/Token/components/index.js +5 -0
- package/tokens/Token/helpers.js +17 -0
- package/tokens/Token/index.js +1 -0
- package/tokens/index.js +472 -0
- package/utils/isEmpty.js +28 -0
- package/utils/isEmpty.test.js +125 -0
- package/utils/isObject.js +4 -0
- package/utils/keyboardCodes.js +6 -0
- package/utils/testUtils/matchMediaMock.js +14 -0
- package/utils/testUtils/svgrMock.js +2 -0
- package/utils/toCapitalize.js +4 -0
- package/utils/toKebabCase.js +8 -0
- package/utils/toPascalCase.js +20 -0
- package/webpack/cssModules.js +30 -0
- package/webpack/loadConfigs.js +6 -0
- package/webpack/reactInlineSvg.js +22 -0
@@ -0,0 +1,229 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`Storyshots Tokens/Spacing Default 1`] = `
|
4
|
+
<div
|
5
|
+
style={
|
6
|
+
Object {
|
7
|
+
"alignContent": "flex-start",
|
8
|
+
"display": "flex",
|
9
|
+
"flexDirection": "row",
|
10
|
+
"flexWrap": "wrap",
|
11
|
+
"gap": "10px 30px",
|
12
|
+
"height": "100%",
|
13
|
+
"justifyContent": "flex-start",
|
14
|
+
"maxHeight": "auto",
|
15
|
+
}
|
16
|
+
}
|
17
|
+
>
|
18
|
+
<div
|
19
|
+
className="container"
|
20
|
+
>
|
21
|
+
<div
|
22
|
+
className="spacer"
|
23
|
+
>
|
24
|
+
<div
|
25
|
+
className="spacer is-playground"
|
26
|
+
style={
|
27
|
+
Object {
|
28
|
+
"display": "inline-block",
|
29
|
+
"height": 0,
|
30
|
+
"width": 0,
|
31
|
+
}
|
32
|
+
}
|
33
|
+
/>
|
34
|
+
</div>
|
35
|
+
<div
|
36
|
+
className="description"
|
37
|
+
>
|
38
|
+
<span
|
39
|
+
className="label"
|
40
|
+
>
|
41
|
+
var(--spacing-none)
|
42
|
+
</span>
|
43
|
+
<span
|
44
|
+
className="label"
|
45
|
+
>
|
46
|
+
0
|
47
|
+
</span>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
`;
|
52
|
+
|
53
|
+
exports[`Storyshots Tokens/Spacing Sizes 1`] = `
|
54
|
+
<div
|
55
|
+
style={
|
56
|
+
Object {
|
57
|
+
"alignContent": "flex-start",
|
58
|
+
"display": "flex",
|
59
|
+
"flexDirection": "row",
|
60
|
+
"flexWrap": "wrap",
|
61
|
+
"gap": "10px 30px",
|
62
|
+
"height": "100%",
|
63
|
+
"justifyContent": "flex-start",
|
64
|
+
"maxHeight": "auto",
|
65
|
+
}
|
66
|
+
}
|
67
|
+
>
|
68
|
+
<div
|
69
|
+
className="container"
|
70
|
+
>
|
71
|
+
<div
|
72
|
+
className="spacer"
|
73
|
+
>
|
74
|
+
<div
|
75
|
+
className="spacer is-playground"
|
76
|
+
style={
|
77
|
+
Object {
|
78
|
+
"display": "inline-block",
|
79
|
+
"height": 0,
|
80
|
+
"width": 0,
|
81
|
+
}
|
82
|
+
}
|
83
|
+
/>
|
84
|
+
</div>
|
85
|
+
<div
|
86
|
+
className="description"
|
87
|
+
>
|
88
|
+
<span
|
89
|
+
className="label"
|
90
|
+
>
|
91
|
+
var(--spacing-none)
|
92
|
+
</span>
|
93
|
+
<span
|
94
|
+
className="label"
|
95
|
+
>
|
96
|
+
0
|
97
|
+
</span>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
<div
|
101
|
+
className="container"
|
102
|
+
>
|
103
|
+
<div
|
104
|
+
className="spacer"
|
105
|
+
>
|
106
|
+
<div
|
107
|
+
className="spacer is-playground"
|
108
|
+
style={
|
109
|
+
Object {
|
110
|
+
"display": "inline-block",
|
111
|
+
"height": 5,
|
112
|
+
"width": 5,
|
113
|
+
}
|
114
|
+
}
|
115
|
+
/>
|
116
|
+
</div>
|
117
|
+
<div
|
118
|
+
className="description"
|
119
|
+
>
|
120
|
+
<span
|
121
|
+
className="label"
|
122
|
+
>
|
123
|
+
var(--spacing-xs)
|
124
|
+
</span>
|
125
|
+
<span
|
126
|
+
className="label"
|
127
|
+
>
|
128
|
+
5
|
129
|
+
</span>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
<div
|
133
|
+
className="container"
|
134
|
+
>
|
135
|
+
<div
|
136
|
+
className="spacer"
|
137
|
+
>
|
138
|
+
<div
|
139
|
+
className="spacer is-playground"
|
140
|
+
style={
|
141
|
+
Object {
|
142
|
+
"display": "inline-block",
|
143
|
+
"height": 15,
|
144
|
+
"width": 15,
|
145
|
+
}
|
146
|
+
}
|
147
|
+
/>
|
148
|
+
</div>
|
149
|
+
<div
|
150
|
+
className="description"
|
151
|
+
>
|
152
|
+
<span
|
153
|
+
className="label"
|
154
|
+
>
|
155
|
+
var(--spacing-sm)
|
156
|
+
</span>
|
157
|
+
<span
|
158
|
+
className="label"
|
159
|
+
>
|
160
|
+
15
|
161
|
+
</span>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
<div
|
165
|
+
className="container"
|
166
|
+
>
|
167
|
+
<div
|
168
|
+
className="spacer"
|
169
|
+
>
|
170
|
+
<div
|
171
|
+
className="spacer is-playground"
|
172
|
+
style={
|
173
|
+
Object {
|
174
|
+
"display": "inline-block",
|
175
|
+
"height": 20,
|
176
|
+
"width": 20,
|
177
|
+
}
|
178
|
+
}
|
179
|
+
/>
|
180
|
+
</div>
|
181
|
+
<div
|
182
|
+
className="description"
|
183
|
+
>
|
184
|
+
<span
|
185
|
+
className="label"
|
186
|
+
>
|
187
|
+
var(--spacing-md)
|
188
|
+
</span>
|
189
|
+
<span
|
190
|
+
className="label"
|
191
|
+
>
|
192
|
+
20
|
193
|
+
</span>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
<div
|
197
|
+
className="container"
|
198
|
+
>
|
199
|
+
<div
|
200
|
+
className="spacer"
|
201
|
+
>
|
202
|
+
<div
|
203
|
+
className="spacer is-playground"
|
204
|
+
style={
|
205
|
+
Object {
|
206
|
+
"display": "inline-block",
|
207
|
+
"height": 40,
|
208
|
+
"width": 40,
|
209
|
+
}
|
210
|
+
}
|
211
|
+
/>
|
212
|
+
</div>
|
213
|
+
<div
|
214
|
+
className="description"
|
215
|
+
>
|
216
|
+
<span
|
217
|
+
className="label"
|
218
|
+
>
|
219
|
+
var(--spacing-lg)
|
220
|
+
</span>
|
221
|
+
<span
|
222
|
+
className="label"
|
223
|
+
>
|
224
|
+
40
|
225
|
+
</span>
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
`;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import toKebabCase from '../../utils/toKebabCase'
|
2
|
+
|
3
|
+
export const getTokenItems = (tokens, tokenKey) => (group) => {
|
4
|
+
if (group) {
|
5
|
+
return Object.keys(tokens[group]).map((key) => ({
|
6
|
+
label: `var(--${toKebabCase(tokenKey)}-${toKebabCase(
|
7
|
+
group
|
8
|
+
)}-${toKebabCase(key)})`,
|
9
|
+
value: tokens[group][key],
|
10
|
+
}))
|
11
|
+
}
|
12
|
+
|
13
|
+
return Object.keys(tokens).map((key) => ({
|
14
|
+
label: `var(--${toKebabCase(tokenKey)}-${toKebabCase(key)})`,
|
15
|
+
value: tokens[key],
|
16
|
+
}))
|
17
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './Token'
|
package/tokens/index.js
ADDED
@@ -0,0 +1,472 @@
|
|
1
|
+
// https://github.com/tailwindlabs/tailwindcss/blob/master/colors.js
|
2
|
+
|
3
|
+
const choices = {
|
4
|
+
color: {
|
5
|
+
brand: {
|
6
|
+
smalt: '#02338D',
|
7
|
+
prussianBlue: '#00205b',
|
8
|
+
blueMoon: '#eff1fd',
|
9
|
+
burntSienna: '#eb2d52',
|
10
|
+
mandy: '#ed495e',
|
11
|
+
eastBay: '#455970',
|
12
|
+
regentGray: '#7e858c',
|
13
|
+
loblolly: '#b7b7b7',
|
14
|
+
whiteLilac: '#e8e8e8',
|
15
|
+
hintOfRed: '#f9f9f9',
|
16
|
+
romance: '#fcfdfd',
|
17
|
+
chateauGreen: '#39b54a',
|
18
|
+
shadow: '#908154',
|
19
|
+
easternBlue: '#1daca3',
|
20
|
+
azureRadiance: '#00a3ff',
|
21
|
+
},
|
22
|
+
|
23
|
+
base: {
|
24
|
+
black: '#000',
|
25
|
+
white: '#fff',
|
26
|
+
transparent: 'transparent',
|
27
|
+
},
|
28
|
+
|
29
|
+
rose: {
|
30
|
+
50: '#fff1f2',
|
31
|
+
100: '#ffe4e6',
|
32
|
+
200: '#fecdd3',
|
33
|
+
300: '#fda4af',
|
34
|
+
400: '#fb7185',
|
35
|
+
500: '#f43f5e',
|
36
|
+
600: '#e11d48',
|
37
|
+
700: '#be123c',
|
38
|
+
800: '#9f1239',
|
39
|
+
900: '#881337',
|
40
|
+
},
|
41
|
+
|
42
|
+
pink: {
|
43
|
+
50: '#fdf2f8',
|
44
|
+
100: '#fce7f3',
|
45
|
+
200: '#fbcfe8',
|
46
|
+
300: '#f9a8d4',
|
47
|
+
400: '#f472b6',
|
48
|
+
500: '#ec4899',
|
49
|
+
600: '#db2777',
|
50
|
+
700: '#be185d',
|
51
|
+
800: '#9d174d',
|
52
|
+
900: '#831843',
|
53
|
+
},
|
54
|
+
fuchsia: {
|
55
|
+
50: '#fdf4ff',
|
56
|
+
100: '#fae8ff',
|
57
|
+
200: '#f5d0fe',
|
58
|
+
300: '#f0abfc',
|
59
|
+
400: '#e879f9',
|
60
|
+
500: '#d946ef',
|
61
|
+
600: '#c026d3',
|
62
|
+
700: '#a21caf',
|
63
|
+
800: '#86198f',
|
64
|
+
900: '#701a75',
|
65
|
+
},
|
66
|
+
|
67
|
+
purple: {
|
68
|
+
50: '#faf5ff',
|
69
|
+
100: '#f3e8ff',
|
70
|
+
200: '#e9d5ff',
|
71
|
+
300: '#d8b4fe',
|
72
|
+
400: '#c084fc',
|
73
|
+
500: '#a855f7',
|
74
|
+
600: '#9333ea',
|
75
|
+
700: '#7e22ce',
|
76
|
+
800: '#6b21a8',
|
77
|
+
900: '#581c87',
|
78
|
+
},
|
79
|
+
violet: {
|
80
|
+
50: '#f5f3ff',
|
81
|
+
100: '#ede9fe',
|
82
|
+
200: '#ddd6fe',
|
83
|
+
300: '#c4b5fd',
|
84
|
+
400: '#a78bfa',
|
85
|
+
500: '#8b5cf6',
|
86
|
+
600: '#7c3aed',
|
87
|
+
700: '#6d28d9',
|
88
|
+
800: '#5b21b6',
|
89
|
+
900: '#4c1d95',
|
90
|
+
},
|
91
|
+
indigo: {
|
92
|
+
50: '#eef2ff',
|
93
|
+
100: '#e0e7ff',
|
94
|
+
200: '#c7d2fe',
|
95
|
+
300: '#a5b4fc',
|
96
|
+
400: '#818cf8',
|
97
|
+
500: '#6366f1',
|
98
|
+
600: '#4f46e5',
|
99
|
+
700: '#4338ca',
|
100
|
+
800: '#3730a3',
|
101
|
+
900: '#312e81',
|
102
|
+
},
|
103
|
+
|
104
|
+
blue: {
|
105
|
+
50: '#eff6ff',
|
106
|
+
100: '#dbeafe',
|
107
|
+
200: '#bfdbfe',
|
108
|
+
300: '#93c5fd',
|
109
|
+
400: '#60a5fa',
|
110
|
+
500: '#3b82f6',
|
111
|
+
600: '#2563eb',
|
112
|
+
700: '#1d4ed8',
|
113
|
+
800: '#1e40af',
|
114
|
+
900: '#1e3a8a',
|
115
|
+
},
|
116
|
+
|
117
|
+
sky: {
|
118
|
+
50: '#f0f9ff',
|
119
|
+
100: '#e0f2fe',
|
120
|
+
200: '#bae6fd',
|
121
|
+
300: '#7dd3fc',
|
122
|
+
400: '#38bdf8',
|
123
|
+
500: '#0ea5e9',
|
124
|
+
600: '#0284c7',
|
125
|
+
700: '#0369a1',
|
126
|
+
800: '#075985',
|
127
|
+
900: '#0c4a6e',
|
128
|
+
},
|
129
|
+
|
130
|
+
cyan: {
|
131
|
+
50: '#ecfeff',
|
132
|
+
100: '#cffafe',
|
133
|
+
200: '#a5f3fc',
|
134
|
+
300: '#67e8f9',
|
135
|
+
400: '#22d3ee',
|
136
|
+
500: '#06b6d4',
|
137
|
+
600: '#0891b2',
|
138
|
+
700: '#0e7490',
|
139
|
+
800: '#155e75',
|
140
|
+
900: '#164e63',
|
141
|
+
},
|
142
|
+
|
143
|
+
teal: {
|
144
|
+
50: '#f0fdfa',
|
145
|
+
100: '#ccfbf1',
|
146
|
+
200: '#99f6e4',
|
147
|
+
300: '#5eead4',
|
148
|
+
400: '#2dd4bf',
|
149
|
+
500: '#14b8a6',
|
150
|
+
600: '#0d9488',
|
151
|
+
700: '#0f766e',
|
152
|
+
800: '#115e59',
|
153
|
+
900: '#134e4a',
|
154
|
+
},
|
155
|
+
|
156
|
+
emerald: {
|
157
|
+
50: '#ecfdf5',
|
158
|
+
100: '#d1fae5',
|
159
|
+
200: '#a7f3d0',
|
160
|
+
300: '#6ee7b7',
|
161
|
+
400: '#34d399',
|
162
|
+
500: '#10b981',
|
163
|
+
600: '#059669',
|
164
|
+
700: '#047857',
|
165
|
+
800: '#065f46',
|
166
|
+
900: '#064e3b',
|
167
|
+
},
|
168
|
+
|
169
|
+
green: {
|
170
|
+
50: '#f0fdf4',
|
171
|
+
100: '#dcfce7',
|
172
|
+
200: '#bbf7d0',
|
173
|
+
300: '#86efac',
|
174
|
+
400: '#4ade80',
|
175
|
+
500: '#22c55e',
|
176
|
+
600: '#16a34a',
|
177
|
+
700: '#15803d',
|
178
|
+
800: '#166534',
|
179
|
+
900: '#14532d',
|
180
|
+
},
|
181
|
+
|
182
|
+
lime: {
|
183
|
+
50: '#f7fee7',
|
184
|
+
100: '#ecfccb',
|
185
|
+
200: '#d9f99d',
|
186
|
+
300: '#bef264',
|
187
|
+
400: '#a3e635',
|
188
|
+
500: '#84cc16',
|
189
|
+
600: '#65a30d',
|
190
|
+
700: '#4d7c0f',
|
191
|
+
800: '#3f6212',
|
192
|
+
900: '#365314',
|
193
|
+
},
|
194
|
+
|
195
|
+
yellow: {
|
196
|
+
50: '#fefce8',
|
197
|
+
100: '#fef9c3',
|
198
|
+
200: '#fef08a',
|
199
|
+
300: '#fde047',
|
200
|
+
400: '#facc15',
|
201
|
+
500: '#eab308',
|
202
|
+
600: '#ca8a04',
|
203
|
+
700: '#a16207',
|
204
|
+
800: '#854d0e',
|
205
|
+
900: '#713f12',
|
206
|
+
},
|
207
|
+
|
208
|
+
amber: {
|
209
|
+
50: '#fffbeb',
|
210
|
+
100: '#fef3c7',
|
211
|
+
200: '#fde68a',
|
212
|
+
300: '#fcd34d',
|
213
|
+
400: '#fbbf24',
|
214
|
+
500: '#f59e0b',
|
215
|
+
600: '#d97706',
|
216
|
+
700: '#b45309',
|
217
|
+
800: '#92400e',
|
218
|
+
900: '#78350f',
|
219
|
+
},
|
220
|
+
|
221
|
+
orange: {
|
222
|
+
50: '#fff7ed',
|
223
|
+
100: '#ffedd5',
|
224
|
+
200: '#fed7aa',
|
225
|
+
300: '#fdba74',
|
226
|
+
400: '#fb923c',
|
227
|
+
500: '#f97316',
|
228
|
+
600: '#ea580c',
|
229
|
+
700: '#c2410c',
|
230
|
+
800: '#9a3412',
|
231
|
+
900: '#7c2d12',
|
232
|
+
},
|
233
|
+
|
234
|
+
red: {
|
235
|
+
50: '#fef2f2',
|
236
|
+
100: '#fee2e2',
|
237
|
+
200: '#fecaca',
|
238
|
+
300: '#fca5a5',
|
239
|
+
400: '#f87171',
|
240
|
+
500: '#ef4444',
|
241
|
+
600: '#dc2626',
|
242
|
+
700: '#b91c1c',
|
243
|
+
800: '#991b1b',
|
244
|
+
900: '#7f1d1d',
|
245
|
+
},
|
246
|
+
|
247
|
+
warmGray: {
|
248
|
+
50: '#fafaf9',
|
249
|
+
100: '#f5f5f4',
|
250
|
+
200: '#e7e5e4',
|
251
|
+
300: '#d6d3d1',
|
252
|
+
400: '#a8a29e',
|
253
|
+
500: '#78716c',
|
254
|
+
600: '#57534e',
|
255
|
+
700: '#44403c',
|
256
|
+
800: '#292524',
|
257
|
+
900: '#1c1917',
|
258
|
+
},
|
259
|
+
|
260
|
+
trueGray: {
|
261
|
+
50: '#fafafa',
|
262
|
+
100: '#f5f5f5',
|
263
|
+
200: '#e5e5e5',
|
264
|
+
300: '#d4d4d4',
|
265
|
+
400: '#a3a3a3',
|
266
|
+
500: '#737373',
|
267
|
+
600: '#525252',
|
268
|
+
700: '#404040',
|
269
|
+
800: '#262626',
|
270
|
+
900: '#171717',
|
271
|
+
},
|
272
|
+
|
273
|
+
gray: {
|
274
|
+
50: '#fafafa',
|
275
|
+
100: '#f4f4f5',
|
276
|
+
200: '#e4e4e7',
|
277
|
+
300: '#d4d4d8',
|
278
|
+
400: '#a1a1aa',
|
279
|
+
500: '#71717a',
|
280
|
+
600: '#52525b',
|
281
|
+
700: '#3f3f46',
|
282
|
+
800: '#27272a',
|
283
|
+
900: '#18181b',
|
284
|
+
},
|
285
|
+
|
286
|
+
coolGray: {
|
287
|
+
50: '#f9fafb',
|
288
|
+
100: '#f3f4f6',
|
289
|
+
200: '#e5e7eb',
|
290
|
+
300: '#d1d5db',
|
291
|
+
400: '#9ca3af',
|
292
|
+
500: '#6b7280',
|
293
|
+
600: '#4b5563',
|
294
|
+
700: '#374151',
|
295
|
+
800: '#1f2937',
|
296
|
+
900: '#111827',
|
297
|
+
},
|
298
|
+
|
299
|
+
blueGray: {
|
300
|
+
50: '#f8fafc',
|
301
|
+
100: '#f1f5f9',
|
302
|
+
200: '#e2e8f0',
|
303
|
+
300: '#cbd5e1',
|
304
|
+
400: '#94a3b8',
|
305
|
+
500: '#64748b',
|
306
|
+
600: '#475569',
|
307
|
+
700: '#334155',
|
308
|
+
800: '#1e293b',
|
309
|
+
900: '#0f172a',
|
310
|
+
},
|
311
|
+
},
|
312
|
+
spacing: {
|
313
|
+
none: 0,
|
314
|
+
xs: 5,
|
315
|
+
sm: 15,
|
316
|
+
md: 20,
|
317
|
+
lg: 40,
|
318
|
+
},
|
319
|
+
fontFamily: {
|
320
|
+
sans: ['Exo', 'Arial', 'sans-serif'],
|
321
|
+
mono: ["'Roboto Mono'", "'Courier New'", 'monospace'],
|
322
|
+
},
|
323
|
+
fontSize: {
|
324
|
+
mini: '12px',
|
325
|
+
base: '14px',
|
326
|
+
xs: '1.2rem',
|
327
|
+
sm: '1.4rem',
|
328
|
+
md: '1.6rem',
|
329
|
+
lg: '1.8rem',
|
330
|
+
xl: '2.2rem',
|
331
|
+
'2xl': '6rem',
|
332
|
+
},
|
333
|
+
fontWeight: {
|
334
|
+
hairline: 100,
|
335
|
+
thin: 200,
|
336
|
+
light: 300,
|
337
|
+
normal: 400,
|
338
|
+
medium: 500,
|
339
|
+
semibold: 600,
|
340
|
+
bold: 700,
|
341
|
+
extrabold: 800,
|
342
|
+
black: 900,
|
343
|
+
},
|
344
|
+
lineHeight: {
|
345
|
+
none: 1,
|
346
|
+
tight: 1.25,
|
347
|
+
snug: 1.375,
|
348
|
+
normal: 1.5,
|
349
|
+
relaxed: 1.625,
|
350
|
+
loose: 2,
|
351
|
+
},
|
352
|
+
letterSpacing: {
|
353
|
+
tighter: '-0.05em',
|
354
|
+
tight: '-0.025em',
|
355
|
+
normal: '0',
|
356
|
+
wide: '0.025em',
|
357
|
+
wider: '0.05em',
|
358
|
+
widest: '0.1em',
|
359
|
+
},
|
360
|
+
boxShadow: {
|
361
|
+
none: 'none',
|
362
|
+
xs: '0px 3px 6px rgba(0, 0, 0, 0.05)',
|
363
|
+
sm: '0px 4px 5px rgba(0, 0, 0, 0.07)',
|
364
|
+
},
|
365
|
+
borderRadius: {
|
366
|
+
none: '0',
|
367
|
+
xs: '4px',
|
368
|
+
sm: '10px',
|
369
|
+
md: '20px',
|
370
|
+
lg: '30px',
|
371
|
+
full: '9999px',
|
372
|
+
},
|
373
|
+
borderWidth: {
|
374
|
+
none: '0',
|
375
|
+
thin: '1px',
|
376
|
+
thick: '2px',
|
377
|
+
},
|
378
|
+
opacity: {
|
379
|
+
0: '0',
|
380
|
+
25: '0.25',
|
381
|
+
50: '0.5',
|
382
|
+
75: '0.75',
|
383
|
+
100: '1',
|
384
|
+
},
|
385
|
+
zIndex: {
|
386
|
+
auto: 'auto',
|
387
|
+
0: '0',
|
388
|
+
10: '10',
|
389
|
+
20: '20',
|
390
|
+
30: '30',
|
391
|
+
40: '40',
|
392
|
+
50: '50',
|
393
|
+
},
|
394
|
+
}
|
395
|
+
|
396
|
+
const decisions = {
|
397
|
+
color: {
|
398
|
+
primary: choices.color.brand.prussianBlue,
|
399
|
+
primaryMuted: choices.color.brand.smalt,
|
400
|
+
primaryHighlight: choices.color.brand.blueMoon,
|
401
|
+
primaryInverted: choices.color.brand.romance,
|
402
|
+
fontBase: choices.color.brand.eastBay,
|
403
|
+
fontMuted: choices.color.brand.regentGray,
|
404
|
+
fontHighlight: choices.color.brand.loblolly,
|
405
|
+
fontInverted: choices.color.base.white,
|
406
|
+
secondary: choices.color.brand.mandy,
|
407
|
+
secondaryMuted: choices.color.brand.burntSienna,
|
408
|
+
secondaryHighlight: choices.color.rose[200],
|
409
|
+
secondaryInverted: choices.color.base.white,
|
410
|
+
tertiary: choices.color.brand.chateauGreen,
|
411
|
+
tertiaryMuted: choices.color.emerald[400],
|
412
|
+
tertiaryHighlight: choices.color.emerald[200],
|
413
|
+
tertiaryInverted: choices.color.base.white,
|
414
|
+
},
|
415
|
+
backgroundColor: {
|
416
|
+
primary: choices.color.brand.whiteLilac,
|
417
|
+
primaryHighlight: choices.color.brand.romance,
|
418
|
+
},
|
419
|
+
container: {
|
420
|
+
maxWidth: '800px',
|
421
|
+
},
|
422
|
+
button: {
|
423
|
+
maxWidth: '300px',
|
424
|
+
borderRadius: {
|
425
|
+
sm: choices.borderRadius.sm,
|
426
|
+
md: choices.borderRadius.md,
|
427
|
+
lg: choices.borderRadius.lg,
|
428
|
+
},
|
429
|
+
},
|
430
|
+
input: {
|
431
|
+
height: '38px',
|
432
|
+
maxWidth: '400px',
|
433
|
+
background: choices.color.base.white,
|
434
|
+
borderRadius: choices.borderRadius.lg,
|
435
|
+
fontSize: choices.fontSize.xs,
|
436
|
+
},
|
437
|
+
paragraph: {
|
438
|
+
fontSize: {
|
439
|
+
xs: choices.fontSize.base,
|
440
|
+
sm: choices.fontSize.xs,
|
441
|
+
md: choices.fontSize.sm,
|
442
|
+
lg: choices.fontSize.md,
|
443
|
+
},
|
444
|
+
},
|
445
|
+
textarea: {
|
446
|
+
borderRadius: choices.borderRadius.sm,
|
447
|
+
},
|
448
|
+
picture: {
|
449
|
+
border: `${choices.borderWidth.thin} solid ${choices.color.brand.regentGray}`,
|
450
|
+
},
|
451
|
+
card: {
|
452
|
+
borderRadius: choices.borderRadius.sm,
|
453
|
+
},
|
454
|
+
task: {
|
455
|
+
borderRadius: choices.borderRadius.sm,
|
456
|
+
},
|
457
|
+
chronometer: {
|
458
|
+
backgroundColor: choices.color.gray[300],
|
459
|
+
color: choices.color.yellow[500],
|
460
|
+
borderRadius: choices.borderRadius.full,
|
461
|
+
height: '6px',
|
462
|
+
},
|
463
|
+
modal: {
|
464
|
+
backdropColor: 'rgba(255, 255, 255, 0.85)',
|
465
|
+
desktop: {
|
466
|
+
height: '650px',
|
467
|
+
maxWidth: '750px',
|
468
|
+
},
|
469
|
+
},
|
470
|
+
}
|
471
|
+
|
472
|
+
module.exports = { choices, decisions }
|