@openedx/paragon 23.0.0-alpha.2 → 23.0.0-alpha.4
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/bin/paragon-scripts.js +10 -0
- package/dist/Annotation/index.scss +16 -0
- package/dist/Button/index.d.ts +35 -0
- package/dist/Button/index.js +37 -15
- package/dist/Button/index.js.map +1 -1
- package/dist/Card/CardDeck.js +0 -2
- package/dist/Card/CardDeck.js.map +1 -1
- package/dist/Card/index.scss +6 -6
- package/dist/Carousel/index.scss +24 -1
- package/dist/Chip/ChipIcon.d.ts +13 -8
- package/dist/Chip/ChipIcon.js +0 -2
- package/dist/Chip/ChipIcon.js.map +1 -1
- package/dist/Chip/constants.d.ts +4 -0
- package/dist/Chip/constants.js +3 -2
- package/dist/Chip/constants.js.map +1 -0
- package/dist/Chip/index.d.ts +4 -3
- package/dist/Chip/index.js +2 -4
- package/dist/Chip/index.js.map +1 -1
- package/dist/ChipCarousel/index.js +0 -2
- package/dist/ChipCarousel/index.js.map +1 -1
- package/dist/CloseButton/index.scss +8 -0
- package/dist/ColorPicker/index.scss +1 -1
- package/dist/DataTable/index.scss +12 -0
- package/dist/Dropdown/dropdown-bootstrap.scss +6 -0
- package/dist/Dropzone/index.scss +34 -0
- package/dist/Form/_FormText.scss +1 -1
- package/dist/Form/_bootstrap-custom-forms.scss +40 -0
- package/dist/Form/_index.scss +9 -0
- package/dist/Form/_mixins.scss +22 -0
- package/dist/Hyperlink/index.d.ts +24 -0
- package/dist/Hyperlink/index.js +20 -32
- package/dist/Hyperlink/index.js.map +1 -1
- package/dist/Icon/index.d.ts +4 -2
- package/dist/Icon/index.js +1 -1
- package/dist/Icon/index.js.map +1 -1
- package/dist/IconButton/index.d.ts +342 -0
- package/dist/IconButton/index.js +18 -26
- package/dist/IconButton/index.js.map +1 -1
- package/dist/IconButton/index.scss +146 -0
- package/dist/Menu/index.scss +8 -0
- package/dist/Modal/ModalDialog.js +8 -4
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/ModalPopup.js +7 -1
- package/dist/Modal/ModalPopup.js.map +1 -1
- package/dist/Modal/_ModalDialog.scss +26 -2
- package/dist/Nav/index.scss +8 -0
- package/dist/Overlay/index.d.ts +128 -0
- package/dist/Overlay/index.js +8 -2
- package/dist/Overlay/index.js.map +1 -1
- package/dist/PageBanner/index.scss +2 -2
- package/dist/Pagination/pagination-bootstrap.scss +9 -0
- package/dist/Popover/index.scss +1 -1
- package/dist/ProductTour/Checkpoint.scss +1 -1
- package/dist/ProgressBar/bootstrap-progress.scss +20 -5
- package/dist/ProgressBar/index.scss +3 -3
- package/dist/Stepper/index.scss +1 -1
- package/dist/Sticky/index.scss +12 -0
- package/dist/Toast/index.scss +13 -1
- package/dist/Tooltip/index.d.ts +7 -0
- package/dist/Tooltip/index.js.map +1 -1
- package/dist/Tooltip/index.scss +16 -0
- package/dist/core.css +914 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/dist/setupTest.d.ts +2 -0
- package/dist/setupTest.js.map +1 -0
- package/dist/utils/types/bootstrap.d.ts +39 -0
- package/dist/utils/types/bootstrap.js +2 -0
- package/dist/utils/types/bootstrap.js.map +1 -0
- package/lib/build-tokens.js +67 -31
- package/package.json +11 -8
- package/src/Annotation/index.scss +16 -0
- package/src/Button/{Button.test.jsx → Button.test.tsx} +14 -2
- package/src/Button/__snapshots__/{Button.test.jsx.snap → Button.test.tsx.snap} +19 -2
- package/src/Button/{index.jsx → index.tsx} +58 -16
- package/src/Card/CardDeck.jsx +0 -3
- package/src/Card/README.md +0 -31
- package/src/Card/index.scss +6 -6
- package/src/Carousel/index.scss +24 -1
- package/src/Chip/{Chip.test.jsx → Chip.test.tsx} +5 -7
- package/src/Chip/ChipIcon.tsx +8 -8
- package/src/Chip/{constants.js → constants.ts} +1 -1
- package/src/Chip/index.tsx +6 -8
- package/src/ChipCarousel/index.tsx +0 -2
- package/src/CloseButton/index.scss +8 -0
- package/src/ColorPicker/index.scss +1 -1
- package/src/DataTable/index.scss +12 -0
- package/src/Dropdown/dropdown-bootstrap.scss +6 -0
- package/src/Dropzone/index.scss +34 -0
- package/src/Form/_FormText.scss +1 -1
- package/src/Form/_bootstrap-custom-forms.scss +40 -0
- package/src/Form/_index.scss +9 -0
- package/src/Form/_mixins.scss +22 -0
- package/src/Hyperlink/{Hyperlink.test.jsx → Hyperlink.test.tsx} +21 -10
- package/src/Hyperlink/{index.jsx → index.tsx} +41 -37
- package/src/Icon/index.d.ts +4 -2
- package/src/Icon/index.jsx +1 -1
- package/src/IconButton/{IconButton.test.jsx → IconButton.test.tsx} +24 -3
- package/src/IconButton/__snapshots__/IconButton.test.tsx.snap +90 -0
- package/src/IconButton/index.scss +146 -0
- package/src/IconButton/{index.jsx → index.tsx} +66 -26
- package/src/Menu/index.scss +8 -0
- package/src/Modal/ModalDialog.jsx +7 -3
- package/src/Modal/ModalPopup.jsx +9 -1
- package/src/Modal/_ModalDialog.scss +26 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/ModalDialog.test.jsx +2 -0
- package/src/Modal/tests/ModalPopupNoMock.test.jsx +29 -0
- package/src/Nav/index.scss +8 -0
- package/src/Overlay/{index.jsx → index.tsx} +13 -8
- package/src/PageBanner/index.scss +2 -2
- package/src/Pagination/pagination-bootstrap.scss +9 -0
- package/src/Popover/index.scss +1 -1
- package/src/ProductTour/Checkpoint.scss +1 -1
- package/src/ProgressBar/bootstrap-progress.scss +20 -5
- package/src/ProgressBar/index.scss +3 -3
- package/src/Stepper/index.scss +1 -1
- package/src/Sticky/index.scss +12 -0
- package/src/Toast/index.scss +13 -1
- package/src/Tooltip/index.scss +16 -0
- package/src/Tooltip/{index.jsx → index.tsx} +9 -3
- package/src/index.d.ts +5 -5
- package/src/index.js +7 -7
- package/src/{setupTest.js → setupTest.ts} +1 -0
- package/src/utils/types/bootstrap.test.tsx +86 -0
- package/src/utils/types/bootstrap.ts +43 -0
- package/styles/css/core/abstraction-variables.css +44 -0
- package/styles/css/core/custom-media-breakpoints.css +3 -4
- package/styles/css/core/index.css +2 -1
- package/styles/css/core/variables.css +494 -430
- package/styles/css/themes/light/abstraction-variables.css +304 -0
- package/styles/css/themes/light/index.css +1 -0
- package/styles/css/themes/light/utility-classes.css +2 -3
- package/styles/css/themes/light/variables.css +1753 -1334
- package/styles/scss/core/_typography.scss +16 -4
- package/styles/scss/core/_utilities.scss +7 -3
- package/styles/scss/core/_variables.scss +43 -30
- package/styles/scss/core/core.scss +1 -0
- package/tokens/src/core/alias/size.json +6 -5
- package/tokens/src/core/components/ActionRow.json +3 -2
- package/tokens/src/core/components/Alert.json +12 -10
- package/tokens/src/core/components/Annotation.json +9 -7
- package/tokens/src/core/components/Avatar.json +9 -9
- package/tokens/src/core/components/AvatarButton.json +4 -3
- package/tokens/src/core/components/Badge.json +12 -9
- package/tokens/src/core/components/Breadcrumb.json +7 -5
- package/tokens/src/core/components/Bubble.json +4 -3
- package/tokens/src/core/components/Button/core.json +35 -59
- package/tokens/src/core/components/Card.json +33 -44
- package/tokens/src/core/components/Carousel.json +39 -13
- package/tokens/src/core/components/Chip.json +13 -21
- package/tokens/src/core/components/ChipCarousel.json +4 -5
- package/tokens/src/core/components/CloseButton.json +2 -6
- package/tokens/src/core/components/Code.json +9 -8
- package/tokens/src/core/components/Collapsible.json +10 -13
- package/tokens/src/core/components/ColorPicker.json +3 -2
- package/tokens/src/core/components/Container.json +6 -5
- package/tokens/src/core/components/DataTable.json +17 -9
- package/tokens/src/core/components/Dropdown.json +24 -29
- package/tokens/src/core/components/Dropzone.json +5 -7
- package/tokens/src/core/components/Form/other.json +5 -4
- package/tokens/src/core/components/Form/size.json +72 -119
- package/tokens/src/core/components/Form/spacing.json +39 -83
- package/tokens/src/core/components/Form/transition.json +43 -7
- package/tokens/src/core/components/Form/typography.json +24 -88
- package/tokens/src/core/components/Icon.json +6 -5
- package/tokens/src/core/components/IconButton.json +4 -7
- package/tokens/src/core/components/Image.json +7 -6
- package/tokens/src/core/components/Menu.json +14 -12
- package/tokens/src/core/components/Modal.json +26 -21
- package/tokens/src/core/components/Nav.json +14 -16
- package/tokens/src/core/components/Navbar.json +15 -30
- package/tokens/src/core/components/Pagination.json +23 -24
- package/tokens/src/core/components/Popover.json +18 -14
- package/tokens/src/core/components/ProductTour.json +8 -14
- package/tokens/src/core/components/ProgressBar.json +29 -14
- package/tokens/src/core/components/SearchField.json +7 -9
- package/tokens/src/core/components/SelectableBox.json +4 -3
- package/tokens/src/core/components/Sheet.json +3 -2
- package/tokens/src/core/components/Spinner.json +9 -7
- package/tokens/src/core/components/Stack.json +2 -1
- package/tokens/src/core/components/Stepper.json +12 -14
- package/tokens/src/core/components/Sticky.json +2 -1
- package/tokens/src/core/components/Tab.json +8 -7
- package/tokens/src/core/components/Tabs.json +5 -5
- package/tokens/src/core/components/Toast.json +11 -8
- package/tokens/src/core/components/Tooltip.json +13 -11
- package/tokens/src/core/components/general/caret.json +5 -3
- package/tokens/src/core/components/general/headings.json +5 -4
- package/tokens/src/core/components/general/hr.json +3 -2
- package/tokens/src/core/components/general/input.json +19 -19
- package/tokens/src/core/components/general/link.json +13 -12
- package/tokens/src/core/components/general/list.json +9 -6
- package/tokens/src/core/components/general/text.json +6 -12
- package/tokens/src/core/global/breakpoints.json +25 -6
- package/tokens/src/core/global/elevation.json +55 -13
- package/tokens/src/core/global/other.json +5 -1
- package/tokens/src/core/global/spacing.json +70 -17
- package/tokens/src/core/global/transition.json +41 -4
- package/tokens/src/core/global/typography.json +248 -53
- package/tokens/src/core/utilities/color.json +35 -4
- package/tokens/src/themes/light/alias/color.json +276 -75
- package/tokens/src/themes/light/components/Alert.json +15 -26
- package/tokens/src/themes/light/components/Annotation.json +27 -13
- package/tokens/src/themes/light/components/Avatar.json +2 -1
- package/tokens/src/themes/light/components/Badge.json +57 -122
- package/tokens/src/themes/light/components/Breadcrumb.json +6 -5
- package/tokens/src/themes/light/components/Bubble.json +9 -8
- package/tokens/src/themes/light/components/Button/brand.json +171 -119
- package/tokens/src/themes/light/components/Button/core.json +8 -9
- package/tokens/src/themes/light/components/Button/danger.json +171 -112
- package/tokens/src/themes/light/components/Button/dark.json +188 -106
- package/tokens/src/themes/light/components/Button/info.json +186 -112
- package/tokens/src/themes/light/components/Button/light.json +186 -110
- package/tokens/src/themes/light/components/Button/primary.json +178 -116
- package/tokens/src/themes/light/components/Button/secondary.json +166 -132
- package/tokens/src/themes/light/components/Button/success.json +176 -117
- package/tokens/src/themes/light/components/Button/tertiary.json +34 -60
- package/tokens/src/themes/light/components/Button/warning.json +164 -128
- package/tokens/src/themes/light/components/Card.json +10 -21
- package/tokens/src/themes/light/components/Carousel.json +12 -11
- package/tokens/src/themes/light/components/Chip.json +14 -26
- package/tokens/src/themes/light/components/CloseButton.json +12 -2
- package/tokens/src/themes/light/components/Code.json +7 -9
- package/tokens/src/themes/light/components/DataTable.json +7 -11
- package/tokens/src/themes/light/components/Dropdown.json +17 -20
- package/tokens/src/themes/light/components/Dropzone.json +49 -11
- package/tokens/src/themes/light/components/Form/color.json +101 -155
- package/tokens/src/themes/light/components/Form/elevation.json +38 -42
- package/tokens/src/themes/light/components/Form/other.json +44 -41
- package/tokens/src/themes/light/components/IconButton.json +408 -256
- package/tokens/src/themes/light/components/Image.json +7 -4
- package/tokens/src/themes/light/components/Menu.json +12 -10
- package/tokens/src/themes/light/components/Modal.json +22 -12
- package/tokens/src/themes/light/components/Nav.json +82 -94
- package/tokens/src/themes/light/components/Navbar.json +32 -76
- package/tokens/src/themes/light/components/OverflowScroll.json +3 -1
- package/tokens/src/themes/light/components/PageBanner.json +11 -10
- package/tokens/src/themes/light/components/Pagination.json +19 -23
- package/tokens/src/themes/light/components/Popover.json +22 -27
- package/tokens/src/themes/light/components/ProductTour.json +9 -20
- package/tokens/src/themes/light/components/ProgressBar.json +12 -10
- package/tokens/src/themes/light/components/Scrollable.json +3 -3
- package/tokens/src/themes/light/components/SearchField.json +9 -9
- package/tokens/src/themes/light/components/Sheet.json +6 -7
- package/tokens/src/themes/light/components/Stepper.json +12 -17
- package/tokens/src/themes/light/components/Sticky.json +31 -6
- package/tokens/src/themes/light/components/Tab.json +47 -24
- package/tokens/src/themes/light/components/Toast.json +26 -14
- package/tokens/src/themes/light/components/Tooltip.json +25 -10
- package/tokens/src/themes/light/components/general/body.json +3 -2
- package/tokens/src/themes/light/components/general/headings.json +2 -1
- package/tokens/src/themes/light/components/general/hr.json +3 -6
- package/tokens/src/themes/light/components/general/input.json +11 -4
- package/tokens/src/themes/light/components/general/link.json +34 -43
- package/tokens/src/themes/light/components/general/list.json +15 -19
- package/tokens/src/themes/light/components/general/text.json +5 -6
- package/tokens/src/themes/light/global/color.json +1592 -867
- package/tokens/src/themes/light/global/elevation.json +481 -93
- package/tokens/style-dictionary.js +342 -144
- package/tokens/utils.js +176 -6
- package/src/IconButton/__snapshots__/IconButton.test.jsx.snap +0 -20
- package/tokens/src/core/global/display.json +0 -22
- /package/src/Button/{ButtonGroup.test.jsx → ButtonGroup.test.tsx} +0 -0
- /package/src/Button/{ButtonToolbar.test.jsx → ButtonToolbar.test.tsx} +0 -0
- /package/src/Button/__snapshots__/{ButtonGroup.test.jsx.snap → ButtonGroup.test.tsx.snap} +0 -0
- /package/src/Button/__snapshots__/{ButtonToolbar.test.jsx.snap → ButtonToolbar.test.tsx.snap} +0 -0
- /package/src/Chip/__snapshots__/{Chip.test.jsx.snap → Chip.test.tsx.snap} +0 -0
- /package/src/Tooltip/{Tooltip.test.jsx → Tooltip.test.tsx} +0 -0
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
-
"
|
|
3
|
+
"$type": "color",
|
|
4
|
+
"close-button": { "source": "$close-color", "$value": "{color.black}" }
|
|
4
5
|
},
|
|
5
6
|
"elevation": {
|
|
7
|
+
"$type": "shadow",
|
|
6
8
|
"close-button": {
|
|
7
|
-
"text-shadow": {
|
|
9
|
+
"text-shadow": {
|
|
10
|
+
"source": "$close-text-shadow",
|
|
11
|
+
"$value": {
|
|
12
|
+
"color": "{color.white}",
|
|
13
|
+
"offsetX": "0",
|
|
14
|
+
"offsetY": "1px",
|
|
15
|
+
"blur": "0"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
8
18
|
}
|
|
9
19
|
}
|
|
10
20
|
}
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"code": {
|
|
4
|
-
"base": { "
|
|
5
|
+
"base": { "source": "$code-color", "$value": "#E83E8C" },
|
|
5
6
|
"kbd": {
|
|
6
|
-
"base": { "
|
|
7
|
-
"bg": { "
|
|
7
|
+
"base": { "source": "$kbd-color", "$value": "{color.white}" },
|
|
8
|
+
"bg": { "source": "$kbd-bg", "$value": "{color.gray.700}" }
|
|
8
9
|
},
|
|
9
|
-
"pre": { "
|
|
10
|
+
"pre": { "source": "$pre-color", "$value": "{color.gray.900}" }
|
|
10
11
|
}
|
|
11
12
|
},
|
|
12
13
|
"elevation": {
|
|
14
|
+
"$type": "shadow",
|
|
13
15
|
"code": {
|
|
14
16
|
"kbd": {
|
|
15
|
-
"box-shadow": {
|
|
16
|
-
"value": "none",
|
|
17
|
-
"type": "shadow",
|
|
18
|
-
"source": "$kbd-box-shadow"
|
|
19
|
-
}
|
|
17
|
+
"box-shadow": { "source": "$kbd-box-shadow", "$value": "none" }
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
20
|
}
|
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"data-table": {
|
|
4
5
|
"bg": {
|
|
5
|
-
"base": { "
|
|
6
|
+
"base": { "source": "$data-table-background-color", "$value": "{color.bg.base}" },
|
|
6
7
|
"is-loading": {
|
|
7
|
-
"value": "{color.white}",
|
|
8
|
-
"type": "color",
|
|
9
8
|
"source": "$data-table-is-loading-bg",
|
|
10
|
-
"modify": [
|
|
11
|
-
|
|
12
|
-
"type": "alpha",
|
|
13
|
-
"amount": 0.7
|
|
14
|
-
}
|
|
15
|
-
]
|
|
9
|
+
"modify": [{ "type": "alpha", "amount": 0.7 }],
|
|
10
|
+
"$value": "{color.white}"
|
|
16
11
|
}
|
|
17
12
|
},
|
|
18
|
-
"border": { "
|
|
13
|
+
"border": { "source": "$data-table-border-color", "$value": "{color.light.300}" }
|
|
19
14
|
}
|
|
20
15
|
},
|
|
21
16
|
"elevation": {
|
|
17
|
+
"$type": "shadow",
|
|
22
18
|
"data-table": {
|
|
23
|
-
"box-shadow": { "
|
|
19
|
+
"box-shadow": { "source": "$data-table-box-shadow", "$value": "{elevation.box-shadow.sm}" }
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
22
|
}
|
|
@@ -1,41 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"dropdown": {
|
|
4
|
-
"text": { "
|
|
5
|
-
"header": { "
|
|
6
|
-
"bg": { "
|
|
5
|
+
"text": { "source": "$dropdown-color", "$value": "{color.body.base}" },
|
|
6
|
+
"header": { "source": "$dropdown-header-color", "$value": "{color.gray.500}" },
|
|
7
|
+
"bg": { "source": "$dropdown-bg", "$value": "{color.bg.base}" },
|
|
7
8
|
"border": {
|
|
8
|
-
"value": "{color.black}",
|
|
9
|
-
"type": "color",
|
|
10
9
|
"source": "$dropdown-border-color",
|
|
11
|
-
"modify": [{
|
|
12
|
-
|
|
13
|
-
"amount": 0.15
|
|
14
|
-
}]
|
|
10
|
+
"modify": [{ "type": "alpha", "amount": 0.15 }],
|
|
11
|
+
"$value": "{color.black}"
|
|
15
12
|
},
|
|
16
|
-
"divider-bg": { "
|
|
13
|
+
"divider-bg": { "source": "$dropdown-divider-bg", "$value": "{color.gray.100}" },
|
|
17
14
|
"link": {
|
|
18
|
-
"base": { "
|
|
15
|
+
"base": { "source": "$dropdown-link-color", "$value": "{color.gray.900}" },
|
|
19
16
|
"hover": {
|
|
20
|
-
"base": {
|
|
21
|
-
"value": "{color.gray.900}",
|
|
22
|
-
"type": "color",
|
|
17
|
+
"base": {
|
|
23
18
|
"source": "$dropdown-link-hover-color",
|
|
24
|
-
"modify": [{ "type": "darken", "amount": 0.5 }]
|
|
19
|
+
"modify": [{ "type": "darken", "amount": 0.5 }],
|
|
20
|
+
"$value": "{color.gray.900}"
|
|
25
21
|
},
|
|
26
|
-
"bg": { "
|
|
22
|
+
"bg": { "source": "$dropdown-link-hover-bg", "$value": "{color.light.300}" }
|
|
27
23
|
},
|
|
28
24
|
"active": {
|
|
29
|
-
"base": { "
|
|
30
|
-
"bg": { "
|
|
25
|
+
"base": { "source": "$dropdown-link-active-color", "$value": "{color.active}" },
|
|
26
|
+
"bg": { "source": "$dropdown-link-active-bg", "$value": "{color.bg.active}" }
|
|
31
27
|
},
|
|
32
|
-
"disabled": { "
|
|
28
|
+
"disabled": { "source": "$dropdown-link-disabled-color", "$value": "{color.disabled}" }
|
|
33
29
|
}
|
|
34
30
|
}
|
|
35
31
|
},
|
|
36
32
|
"elevation": {
|
|
33
|
+
"$type": "shadow",
|
|
37
34
|
"dropdown": {
|
|
38
|
-
"box-shadow": { "
|
|
35
|
+
"box-shadow": { "source": "$dropdown-box-shadow", "$value": "none" }
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
}
|
|
@@ -1,23 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"dropzone": {
|
|
4
|
-
"error-wrapper": {
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
"restriction-msg": {
|
|
8
|
-
"value": "{color.gray.500}", "type": "color", "source": "$dropzone-restriction-msg-color"
|
|
9
|
-
},
|
|
5
|
+
"error-wrapper": { "source": "$dropzone-error-wrapper-color", "$value": "{color.danger.500}" },
|
|
6
|
+
"restriction-msg": { "source": "$dropzone-restriction-msg-color", "$value": "{color.gray.500}" },
|
|
10
7
|
"border": {
|
|
11
|
-
"base": { "
|
|
8
|
+
"base": { "source": "$dropzone-border-color-default", "$value": "{color.gray.500}" }
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
11
|
},
|
|
15
12
|
"elevation": {
|
|
13
|
+
"$type": "shadow",
|
|
16
14
|
"dropzone": {
|
|
17
|
-
"hover": {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
"hover": {
|
|
16
|
+
"source": "$dropzone-box-shadow-hover",
|
|
17
|
+
"$value": {
|
|
18
|
+
"color": "{color.info.300}",
|
|
19
|
+
"spread": "2px",
|
|
20
|
+
"offsetX": "0",
|
|
21
|
+
"offsetY": "0",
|
|
22
|
+
"blur": "0",
|
|
23
|
+
"inset": "inset"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"focus": {
|
|
27
|
+
"source": "$dropzone-box-shadow-focus",
|
|
28
|
+
"$value": {
|
|
29
|
+
"color": "{color.info.300}",
|
|
30
|
+
"spread": "2px",
|
|
31
|
+
"offsetX": "0",
|
|
32
|
+
"offsetY": "0",
|
|
33
|
+
"blur": "0",
|
|
34
|
+
"inset": "inset"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"active": {
|
|
38
|
+
"source": "$dropzone-box-shadow-active",
|
|
39
|
+
"$value": {
|
|
40
|
+
"color": "{color.primary.500}",
|
|
41
|
+
"spread": "2px",
|
|
42
|
+
"offsetX": "0",
|
|
43
|
+
"offsetY": "0",
|
|
44
|
+
"blur": "0",
|
|
45
|
+
"inset": "inset"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"error": {
|
|
49
|
+
"source": "$dropzone-box-shadow-error",
|
|
50
|
+
"$value": {
|
|
51
|
+
"color": "{color.danger.300}",
|
|
52
|
+
"spread": "2px",
|
|
53
|
+
"offsetX": "0",
|
|
54
|
+
"offsetY": "0",
|
|
55
|
+
"blur": "0",
|
|
56
|
+
"inset": "inset"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
21
59
|
}
|
|
22
60
|
}
|
|
23
61
|
}
|
|
@@ -2,266 +2,212 @@
|
|
|
2
2
|
"color": {
|
|
3
3
|
"form": {
|
|
4
4
|
"input": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"base": { "source": "$input-color", "$value": "{color.gray.700}" },
|
|
7
|
+
"placeholder": { "source": "$input-placeholder-color", "$value": "{color.gray.500}" },
|
|
8
|
+
"plaintext": { "source": "$input-plaintext-color", "$value": "{color.body.base}" },
|
|
9
|
+
"border": { "source": "$input-border-color", "$value": "{color.gray.500}" },
|
|
9
10
|
"bg": {
|
|
10
|
-
"base": { "
|
|
11
|
-
"disabled": { "
|
|
11
|
+
"base": { "source": "$input-bg", "$value": "{color.bg.base}" },
|
|
12
|
+
"disabled": { "source": "$input-disabled-bg", "$value": "{color.gray.100}" }
|
|
12
13
|
},
|
|
13
14
|
"group": {
|
|
14
15
|
"addon": {
|
|
15
|
-
"base": { "
|
|
16
|
-
"border": {
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
"bg": { "value": "{color.gray.100}", "type": "color", "source": "$input-group-addon-bg" }
|
|
16
|
+
"base": { "source": "$input-group-addon-color", "$value": "{color.form.input.base}" },
|
|
17
|
+
"border": { "source": "$input-group-addon-border-color", "$value": "{color.form.input.border}" },
|
|
18
|
+
"bg": { "source": "$input-group-addon-bg", "$value": "{color.gray.100}" }
|
|
20
19
|
}
|
|
21
20
|
},
|
|
22
21
|
"focus": {
|
|
23
|
-
"base": { "
|
|
24
|
-
"border": { "
|
|
25
|
-
"bg": { "
|
|
22
|
+
"base": { "source": "$input-focus-color", "$value": "{color.form.input.base}" },
|
|
23
|
+
"border": { "source": "$input-focus-border-color", "$value": "{color.input.focus}" },
|
|
24
|
+
"bg": { "source": "$input-focus-bg", "$value": "{color.form.input.bg.base}" }
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
27
|
"control": {
|
|
29
28
|
"indicator": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
},
|
|
29
|
+
"$type": "color",
|
|
30
|
+
"border": { "source": "$custom-control-indicator-border-color", "$value": "{color.gray.700}" },
|
|
33
31
|
"bg": {
|
|
34
|
-
"base": {
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
"disabled": {
|
|
38
|
-
"value": "{color.form.input.bg.disabled}",
|
|
39
|
-
"type": "color",
|
|
40
|
-
"source": "$custom-control-indicator-disabled-bg"
|
|
41
|
-
}
|
|
32
|
+
"base": { "source": "$custom-control-indicator-bg", "$value": "{color.form.input.bg.base}" },
|
|
33
|
+
"disabled": { "source": "$custom-control-indicator-disabled-bg", "$value": "{color.form.input.bg.disabled}" }
|
|
42
34
|
},
|
|
43
35
|
"checked": {
|
|
44
|
-
"base": { "
|
|
45
|
-
"valid": { "
|
|
46
|
-
"invalid": { "
|
|
36
|
+
"base": { "source": "$custom-control-indicator-checked-color", "$value": "{color.bg.active}" },
|
|
37
|
+
"valid": { "source": "$custom-control-indicator-checked-valid-color", "$value": "{color.success.base}" },
|
|
38
|
+
"invalid": { "source": "$custom-control-indicator-checked-invalid-color", "$value": "{color.danger.base}" },
|
|
47
39
|
"bg": {
|
|
48
|
-
"base": {
|
|
49
|
-
"value": "{color.bg.active}", "type": "color", "source": "$custom-control-indicator-checked-bg"
|
|
50
|
-
},
|
|
40
|
+
"base": { "source": "$custom-control-indicator-checked-bg", "$value": "{color.bg.active}" },
|
|
51
41
|
"disabled": {
|
|
52
|
-
"value": "{color.primary.base}",
|
|
53
|
-
"type": "color",
|
|
54
42
|
"source": "$custom-control-indicator-checked-disabled-bg",
|
|
55
|
-
"modify": [{ "type": "alpha", "amount": 0.5 }]
|
|
43
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
44
|
+
"$value": "{color.primary.base}"
|
|
56
45
|
}
|
|
57
46
|
},
|
|
58
47
|
"border": {
|
|
59
|
-
"base": {
|
|
60
|
-
|
|
61
|
-
"type": "color",
|
|
62
|
-
"source": "$custom-control-indicator-checked-border-color"
|
|
63
|
-
},
|
|
64
|
-
"focus": {
|
|
65
|
-
"value": "{color.form.input.focus.border}",
|
|
66
|
-
"type": "color",
|
|
67
|
-
"source": "$custom-control-indicator-focus-border-color"
|
|
68
|
-
}
|
|
48
|
+
"base": { "source": "$custom-control-indicator-checked-border-color", "$value": "{color.form.control.indicator.checked.base}" },
|
|
49
|
+
"focus": { "source": "$custom-control-indicator-focus-border-color", "$value": "{color.form.input.focus.border}" }
|
|
69
50
|
}
|
|
70
51
|
},
|
|
71
52
|
"active": {
|
|
72
|
-
"base": {
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
"bg": {
|
|
76
|
-
"value": "{color.bg.active}", "type": "color", "source": "$custom-control-indicator-active-bg"
|
|
77
|
-
},
|
|
78
|
-
"border": {
|
|
79
|
-
"value": "{color.form.control.indicator.active.bg}",
|
|
80
|
-
"type": "color",
|
|
81
|
-
"source": "$custom-control-indicator-active-border-color"
|
|
82
|
-
}
|
|
53
|
+
"base": { "source": "$custom-control-indicator-active-color", "$value": "{color.active}" },
|
|
54
|
+
"bg": { "source": "$custom-control-indicator-active-bg", "$value": "{color.bg.active}" },
|
|
55
|
+
"border": { "source": "$custom-control-indicator-active-border-color", "$value": "{color.form.control.indicator.active.bg}" }
|
|
83
56
|
}
|
|
84
57
|
},
|
|
85
58
|
"label": {
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
},
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"base": { "source": "$custom-control-label-color", "$value": "inherit" },
|
|
61
|
+
"disabled": { "source": "$custom-control-label-disabled-color", "$value": "{color.disabled}" },
|
|
90
62
|
"floating": {
|
|
91
63
|
"text": {
|
|
92
|
-
"value": "{color.form.input.bg.base}",
|
|
93
|
-
"type": "color",
|
|
94
64
|
"source": "$form-control-floating-label-text-bg",
|
|
95
|
-
"modify": [{ "type": "alpha", "amount": 0.1 }]
|
|
65
|
+
"modify": [{ "type": "alpha", "amount": 0.1 }],
|
|
66
|
+
"$value": "{color.form.input.bg.base}"
|
|
96
67
|
}
|
|
97
68
|
}
|
|
98
69
|
},
|
|
99
70
|
"checkbox": {
|
|
71
|
+
"$type": "color",
|
|
100
72
|
"indicator": {
|
|
101
73
|
"indeterminate": {
|
|
102
|
-
"base": {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"source": "$custom-checkbox-indicator-indeterminate-color"
|
|
106
|
-
},
|
|
107
|
-
"bg": {
|
|
108
|
-
"value": "{color.bg.active}",
|
|
109
|
-
"type": "color",
|
|
110
|
-
"source": "$custom-checkbox-indicator-indeterminate-bg"
|
|
111
|
-
},
|
|
112
|
-
"border": {
|
|
113
|
-
"value": "{color.form.control.checkbox.indicator.indeterminate.bg}",
|
|
114
|
-
"type": "color",
|
|
115
|
-
"source": "$custom-checkbox-indicator-indeterminate-border-color"
|
|
116
|
-
}
|
|
74
|
+
"base": { "source": "$custom-checkbox-indicator-indeterminate-color", "$value": "{color.form.control.indicator.checked.base}" },
|
|
75
|
+
"bg": { "source": "$custom-checkbox-indicator-indeterminate-bg", "$value": "{color.bg.active}" },
|
|
76
|
+
"border": { "source": "$custom-checkbox-indicator-indeterminate-border-color", "$value": "{color.form.control.checkbox.indicator.indeterminate.bg}" }
|
|
117
77
|
}
|
|
118
78
|
}
|
|
119
79
|
},
|
|
120
80
|
"switch": {
|
|
81
|
+
"$type": "color",
|
|
121
82
|
"indicator": {
|
|
122
83
|
"checked": {
|
|
123
|
-
"bg": {
|
|
124
|
-
"value": "{color.success.base}",
|
|
125
|
-
"type": "color",
|
|
126
|
-
"source": "$custom-switch-indicator-checked-bg"
|
|
127
|
-
}
|
|
84
|
+
"bg": { "source": "$custom-switch-indicator-checked-bg", "$value": "{color.success.base}" }
|
|
128
85
|
}
|
|
129
86
|
}
|
|
130
87
|
},
|
|
131
88
|
"select": {
|
|
132
|
-
"base": {
|
|
133
|
-
|
|
89
|
+
"base": {
|
|
90
|
+
"source": "$custom-select-color",
|
|
91
|
+
"$value": "{color.form.input.base}",
|
|
92
|
+
"$type": "color"
|
|
93
|
+
},
|
|
94
|
+
"disabled": {
|
|
95
|
+
"source": "$custom-select-disabled-color",
|
|
96
|
+
"$value": "{color.disabled}",
|
|
97
|
+
"$type": "color"
|
|
98
|
+
},
|
|
134
99
|
"indicator": {
|
|
135
|
-
"
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"base": { "source": "$custom-select-indicator-color", "$value": "{color.theme.hover.gray}" }
|
|
136
102
|
},
|
|
137
103
|
"bg": {
|
|
138
|
-
"base": { "value": "{color.form.input.bg.base}", "type": "color", "source": "$custom-select-bg" },
|
|
139
|
-
"disabled": { "value": "{color.gray.100}", "type": "color", "source": "$custom-select-disabled-bg" },
|
|
140
|
-
"size": { "value": "24px 24px", "type": "dimension", "source": "$custom-select-bg-size" }
|
|
141
|
-
},
|
|
142
|
-
"border": {
|
|
143
104
|
"base": {
|
|
144
|
-
"
|
|
105
|
+
"source": "$custom-select-bg",
|
|
106
|
+
"$value": "{color.form.input.bg.base}",
|
|
107
|
+
"$type": "color"
|
|
145
108
|
},
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
109
|
+
"disabled": {
|
|
110
|
+
"source": "$custom-select-disabled-bg",
|
|
111
|
+
"$value": "{color.gray.100}",
|
|
112
|
+
"$type": "color"
|
|
113
|
+
},
|
|
114
|
+
"size": {
|
|
115
|
+
"source": "$custom-select-bg-size",
|
|
116
|
+
"$value": "{color.gray.100}",
|
|
117
|
+
"$type": "dimension"
|
|
150
118
|
}
|
|
119
|
+
},
|
|
120
|
+
"border": {
|
|
121
|
+
"$type": "color",
|
|
122
|
+
"base": { "source": "$custom-select-border-color", "$value": "{color.form.input.border}" },
|
|
123
|
+
"focus": { "source": "$custom-select-focus-border-color", "$value": "{color.form.input.focus.border}" }
|
|
151
124
|
}
|
|
152
125
|
},
|
|
153
126
|
"range": {
|
|
127
|
+
"$type": "color",
|
|
154
128
|
"track": {
|
|
155
|
-
"bg": { "
|
|
129
|
+
"bg": { "source": "$custom-range-track-bg", "$value": "{color.gray.300}" }
|
|
156
130
|
},
|
|
157
131
|
"thumb": {
|
|
158
132
|
"bg": {
|
|
159
|
-
"base": { "
|
|
160
|
-
"disabled": {
|
|
161
|
-
"value": "{color.disabled}", "type": "color", "source": "$custom-range-thumb-disabled-bg"
|
|
162
|
-
},
|
|
133
|
+
"base": { "source": "$custom-range-thumb-bg", "$value": "{color.bg.active}" },
|
|
134
|
+
"disabled": { "source": "$custom-range-thumb-disabled-bg", "$value": "{color.disabled}" },
|
|
163
135
|
"active": {
|
|
164
|
-
"value": "{color.bg.active}",
|
|
165
|
-
"type": "color",
|
|
166
136
|
"source": "$custom-range-thumb-active-bg",
|
|
167
|
-
"modify": [{ "type": "lighten", "amount": "0.35" }]
|
|
137
|
+
"modify": [{ "type": "lighten", "amount": "0.35" }],
|
|
138
|
+
"$value": "{color.bg.active}"
|
|
168
139
|
}
|
|
169
140
|
}
|
|
170
141
|
}
|
|
171
142
|
},
|
|
172
143
|
"file": {
|
|
173
|
-
"
|
|
144
|
+
"$type": "color",
|
|
145
|
+
"base": { "source": "$custom-file-color", "$value": "{color.form.input.base}" },
|
|
174
146
|
"bg": {
|
|
175
|
-
"base": { "value": "{color.form.input.bg.base}"
|
|
176
|
-
"disabled": {
|
|
177
|
-
"value": "{color.form.input.bg.disabled}", "type": "color", "source": "$custom-file-disabled-bg"
|
|
178
|
-
}
|
|
147
|
+
"base": { "source": "$custom-file-bg", "$value": "{color.form.input.bg.base}" },
|
|
148
|
+
"disabled": { "source": "$custom-file-disabled-bg", "$value": "{color.form.input.bg.disabled}" }
|
|
179
149
|
},
|
|
180
150
|
"button": {
|
|
181
|
-
"base": {
|
|
182
|
-
|
|
183
|
-
},
|
|
184
|
-
"bg": {
|
|
185
|
-
"value": "{color.form.input.group.addon.bg}", "type": "color", "source": "$custom-file-button-bg"
|
|
186
|
-
}
|
|
151
|
+
"base": { "source": "$custom-file-button-color", "$value": "{color.form.control.file.base}" },
|
|
152
|
+
"bg": { "source": "$custom-file-button-bg", "$value": "{color.form.input.group.addon.bg}" }
|
|
187
153
|
},
|
|
188
154
|
"border": {
|
|
189
|
-
"base": {
|
|
190
|
-
|
|
191
|
-
},
|
|
192
|
-
"focus": {
|
|
193
|
-
"value": "{color.form.input.focus.border}",
|
|
194
|
-
"type": "color",
|
|
195
|
-
"source": "$custom-file-focus-border-color"
|
|
196
|
-
}
|
|
155
|
+
"base": { "source": "$custom-file-border-color", "$value": "{color.form.input.border}" },
|
|
156
|
+
"focus": { "source": "$custom-file-focus-border-color", "$value": "{color.form.input.focus.border}" }
|
|
197
157
|
}
|
|
198
158
|
}
|
|
199
159
|
},
|
|
200
160
|
"feedback": {
|
|
201
|
-
"
|
|
202
|
-
"
|
|
161
|
+
"$type": "color",
|
|
162
|
+
"valid": { "source": "$form-feedback-valid-color", "$value": "{color.success.base}" },
|
|
163
|
+
"invalid": { "source": "$form-feedback-invalid-color", "$value": "{color.danger.base}" },
|
|
203
164
|
"icon": {
|
|
204
|
-
"valid": {
|
|
205
|
-
|
|
206
|
-
"type": "color",
|
|
207
|
-
"source": "$form-feedback-icon-valid-color"
|
|
208
|
-
},
|
|
209
|
-
"invalid": {
|
|
210
|
-
"value": "{color.form.feedback.invalid}",
|
|
211
|
-
"type": "color",
|
|
212
|
-
"source": "$form-feedback-icon-invalid-color"
|
|
213
|
-
}
|
|
165
|
+
"valid": { "source": "$form-feedback-icon-valid-color", "$value": "{color.form.feedback.valid}" },
|
|
166
|
+
"invalid": { "source": "$form-feedback-icon-invalid-color", "$value": "{color.form.feedback.invalid}" }
|
|
214
167
|
},
|
|
215
168
|
"tooltip": {
|
|
216
169
|
"valid": {
|
|
217
|
-
"value": "{color.form.feedback.valid}",
|
|
218
|
-
"type": "color",
|
|
219
170
|
"source": "$form-feedback-tooltip-valid-color",
|
|
220
|
-
"modify": [{ "type": "color-yiq" }]
|
|
171
|
+
"modify": [{ "type": "color-yiq" }],
|
|
172
|
+
"$value": "{color.form.feedback.valid}"
|
|
221
173
|
},
|
|
222
174
|
"bg": {
|
|
223
175
|
"valid": {
|
|
224
|
-
"value": "{color.form.feedback.valid}",
|
|
225
|
-
"type": "color",
|
|
226
176
|
"source": "$form-feedback-tooltip-valid-bg",
|
|
227
|
-
"modify": [{ "type": "alpha", "amount": 0.9 }]
|
|
177
|
+
"modify": [{ "type": "alpha", "amount": 0.9 }],
|
|
178
|
+
"$value": "{color.form.feedback.valid}"
|
|
228
179
|
},
|
|
229
180
|
"invalid": {
|
|
230
|
-
"value": "{color.form.feedback.invalid}",
|
|
231
|
-
"type": "color",
|
|
232
181
|
"source": "$form-feedback-tooltip-invalid-bg",
|
|
233
|
-
"modify": [{ "type": "alpha", "amount": 0.9 }]
|
|
182
|
+
"modify": [{ "type": "alpha", "amount": 0.9 }],
|
|
183
|
+
"$value": "{color.form.feedback.invalid}"
|
|
234
184
|
}
|
|
235
185
|
},
|
|
236
186
|
"box-shadow": {
|
|
237
187
|
"focus": {
|
|
238
188
|
"valid": {
|
|
239
|
-
"value": "{color.form.feedback.valid}",
|
|
240
|
-
"type": "color",
|
|
241
189
|
"source": "$form-feedback-focus-box-shadow-valid-color",
|
|
242
|
-
"modify": [{ "type": "alpha", "amount": 0.25 }]
|
|
190
|
+
"modify": [{ "type": "alpha", "amount": 0.25 }],
|
|
191
|
+
"$value": "{color.form.feedback.valid}"
|
|
243
192
|
},
|
|
244
193
|
"invalid": {
|
|
245
|
-
"value": "{color.form.feedback.invalid}",
|
|
246
|
-
"type": "color",
|
|
247
194
|
"source": "$form-feedback-focus-box-shadow-invalid-color",
|
|
248
|
-
"modify": [{ "type": "alpha", "amount": 0.25 }]
|
|
195
|
+
"modify": [{ "type": "alpha", "amount": 0.25 }],
|
|
196
|
+
"$value": "{color.form.feedback.invalid}"
|
|
249
197
|
}
|
|
250
198
|
}
|
|
251
199
|
}
|
|
252
200
|
},
|
|
253
201
|
"checked": {
|
|
254
202
|
"valid": {
|
|
255
|
-
"value": "{color.form.feedback.valid}",
|
|
256
|
-
"type": "color",
|
|
257
203
|
"source": "$form-feedback-checked-valid-color",
|
|
258
|
-
"modify": [{ "type": "lighten", "amount": 0.1 }]
|
|
204
|
+
"modify": [{ "type": "lighten", "amount": 0.1 }],
|
|
205
|
+
"$value": "{color.form.feedback.valid}"
|
|
259
206
|
},
|
|
260
207
|
"invalid": {
|
|
261
|
-
"value": "{color.form.feedback.invalid}",
|
|
262
|
-
"type": "color",
|
|
263
208
|
"source": "$form-feedback-checked-invalid-color",
|
|
264
|
-
"modify": [{ "type": "lighten", "amount": 0.1 }]
|
|
209
|
+
"modify": [{ "type": "lighten", "amount": 0.1 }],
|
|
210
|
+
"$value": "{color.form.feedback.invalid}"
|
|
265
211
|
}
|
|
266
212
|
}
|
|
267
213
|
}
|