@openedx/paragon 23.0.0-alpha.3 → 23.0.0-alpha.5
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/Card/CardDeck.js +0 -2
- package/dist/Card/CardDeck.js.map +1 -1
- package/dist/Card/index.scss +8 -6
- package/dist/Carousel/index.scss +24 -1
- package/dist/Chip/ChipIcon.d.ts +1 -1
- package/dist/CloseButton/index.scss +8 -0
- package/dist/ColorPicker/index.scss +1 -1
- package/dist/Container/index.d.ts +16 -0
- package/dist/Container/index.js +15 -13
- package/dist/Container/index.js.map +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/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/IconButton/index.js.map +1 -1
- package/dist/IconButton/index.scss +146 -0
- package/dist/Menu/SelectMenu.js +9 -4
- package/dist/Menu/SelectMenu.js.map +1 -1
- package/dist/Menu/index.scss +8 -0
- package/dist/Modal/ModalContext.d.ts +15 -0
- package/dist/Modal/ModalContext.js +7 -14
- package/dist/Modal/ModalContext.js.map +1 -1
- package/dist/Modal/ModalDialog.d.ts +110 -0
- package/dist/Modal/ModalDialog.js +30 -24
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/ModalDialogHeader.d.ts +10 -0
- package/dist/Modal/ModalDialogHeader.js +6 -7
- package/dist/Modal/ModalDialogHeader.js.map +1 -1
- package/dist/Modal/ModalLayer.d.ts +53 -0
- package/dist/Modal/ModalLayer.js +5 -14
- package/dist/Modal/ModalLayer.js.map +1 -1
- package/dist/Modal/Portal.d.ts +11 -0
- package/dist/Modal/Portal.js +5 -6
- package/dist/Modal/Portal.js.map +1 -1
- package/dist/Modal/_ModalDialog.scss +22 -2
- package/dist/Nav/index.scss +8 -0
- package/dist/Overlay/index.d.ts +2 -2
- 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.scss +16 -0
- package/dist/core.css +913 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/hooks/useArrowKeyNavigation.js +2 -3
- package/dist/hooks/useArrowKeyNavigation.js.map +1 -1
- package/dist/index.d.ts +19 -5
- package/dist/index.js +5 -5
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/icons/es5/Newsstand.js +15 -0
- package/icons/es5/index.js +1 -0
- package/icons/es5/index.ts +1 -0
- package/icons/jsx/Newsstand.jsx +17 -0
- package/icons/jsx/index.jsx +1 -0
- package/icons/svg/newsstand.svg +1 -0
- package/lib/build-tokens.js +67 -31
- package/package.json +8 -5
- package/src/Annotation/index.scss +16 -0
- package/src/Card/CardDeck.jsx +0 -3
- package/src/Card/README.md +0 -31
- package/src/Card/index.scss +8 -6
- package/src/Carousel/index.scss +24 -1
- package/src/CloseButton/index.scss +8 -0
- package/src/ColorPicker/index.scss +1 -1
- package/src/Container/{Container.test.jsx → Container.test.tsx} +14 -8
- package/src/Container/README.md +4 -0
- package/src/Container/index.tsx +64 -0
- package/src/DataTable/index.scss +12 -0
- package/src/DataTable/selection/tests/ControlledSelectHeader.test.jsx +7 -7
- 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/IconButton/index.scss +146 -0
- package/src/IconButton/index.tsx +1 -1
- package/src/Menu/SelectMenu.jsx +5 -0
- package/src/Menu/SelectMenu.test.jsx +6 -0
- package/src/Menu/index.scss +8 -0
- package/src/Menu/select-menu.md +8 -0
- package/src/Modal/{ModalContext.jsx → ModalContext.tsx} +19 -16
- package/src/Modal/{ModalDialog.jsx → ModalDialog.tsx} +57 -26
- package/src/Modal/{ModalDialogHeader.jsx → ModalDialogHeader.tsx} +17 -11
- package/src/Modal/{ModalLayer.jsx → ModalLayer.tsx} +17 -17
- package/src/Modal/{Portal.jsx → Portal.tsx} +10 -7
- package/src/Modal/_ModalDialog.scss +22 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/{ModalDialog.test.jsx → ModalDialog.test.tsx} +18 -10
- package/src/Modal/tests/{ModalLayer.test.jsx → ModalLayer.test.tsx} +5 -5
- package/src/Modal/tests/{Portal.test.jsx → Portal.test.tsx} +3 -3
- package/src/Nav/index.scss +8 -0
- 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/hooks/useArrowKeyNavigation.jsx +1 -2
- package/src/index.d.ts +19 -5
- package/src/index.js +5 -5
- 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/Container/index.jsx +0 -49
- package/tokens/src/core/global/display.json +0 -22
- /package/src/Truncate/{Truncate.test.js → utils.test.js} +0 -0
|
@@ -1,113 +1,314 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"bg": {
|
|
4
|
-
"base": { "value": "{color.white}", "
|
|
5
|
-
"active": {
|
|
5
|
+
"base": { "$value": "{color.white}", "$description": "Basic background color." },
|
|
6
|
+
"active": {
|
|
7
|
+
"source": "$component-active-bg",
|
|
8
|
+
"$value": "{color.primary.500}",
|
|
9
|
+
"$description": "Active background color."
|
|
10
|
+
}
|
|
6
11
|
},
|
|
7
12
|
"text": {
|
|
8
|
-
"50":{
|
|
13
|
+
"50": {
|
|
9
14
|
"black": {
|
|
10
|
-
"value": "{color.black}",
|
|
11
|
-
"type": "color",
|
|
12
15
|
"source": "$text-black-50",
|
|
13
16
|
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
14
|
-
"
|
|
17
|
+
"$value": "{color.black}",
|
|
18
|
+
"$description": "Black text color with transparency of 50%."
|
|
15
19
|
},
|
|
16
20
|
"white": {
|
|
17
|
-
"value": "{color.white}",
|
|
18
|
-
"type": "color",
|
|
19
21
|
"source": "$text-white-50",
|
|
20
22
|
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
21
|
-
"
|
|
23
|
+
"$value": "{color.white}",
|
|
24
|
+
"$description": "White text color with transparency of 50%."
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
},
|
|
25
|
-
"active": {
|
|
26
|
-
|
|
28
|
+
"active": {
|
|
29
|
+
"source": "$component-active-color",
|
|
30
|
+
"$value": "{color.white}",
|
|
31
|
+
"$description": "Color for active element."
|
|
32
|
+
},
|
|
33
|
+
"disabled": {
|
|
34
|
+
"$value": "{color.gray.500}",
|
|
35
|
+
"$description": "Color for disabled element."
|
|
36
|
+
},
|
|
27
37
|
"input": {
|
|
28
|
-
"focus": {
|
|
38
|
+
"focus": {
|
|
39
|
+
"$value": "{color.primary.500}",
|
|
40
|
+
"$description": "Focused input value color."
|
|
41
|
+
}
|
|
29
42
|
},
|
|
30
43
|
"table": {
|
|
31
44
|
"caption": {
|
|
32
|
-
"
|
|
45
|
+
"source": "$table-caption-color",
|
|
46
|
+
"$value": "{color.text-muted}",
|
|
47
|
+
"$description": "Table caption color."
|
|
33
48
|
},
|
|
34
49
|
"border": {
|
|
35
|
-
"
|
|
50
|
+
"source": "$table-border-color",
|
|
51
|
+
"$value": "{color.border}",
|
|
52
|
+
"$description": "Table border color."
|
|
36
53
|
}
|
|
37
54
|
},
|
|
38
|
-
"border": {
|
|
55
|
+
"border": {
|
|
56
|
+
"source": "$border-color",
|
|
57
|
+
"$value": "{color.gray.200}",
|
|
58
|
+
"$description": "Border color."
|
|
59
|
+
},
|
|
39
60
|
"theme": {
|
|
40
61
|
"bg": {
|
|
41
|
-
"primary": {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
62
|
+
"primary": {
|
|
63
|
+
"$value": "{color.primary.100}",
|
|
64
|
+
"$description": "Theme-specific primary background color."
|
|
65
|
+
},
|
|
66
|
+
"secondary": {
|
|
67
|
+
"$value": "{color.secondary.100}",
|
|
68
|
+
"$description": "Theme-specific secondary background color."
|
|
69
|
+
},
|
|
70
|
+
"brand": {
|
|
71
|
+
"$value": "{color.brand.100}",
|
|
72
|
+
"$description": "Theme-specific brand background color."
|
|
73
|
+
},
|
|
74
|
+
"success": {
|
|
75
|
+
"$value": "{color.success.100}",
|
|
76
|
+
"$description": "Theme-specific success background color."
|
|
77
|
+
},
|
|
78
|
+
"info": {
|
|
79
|
+
"$value": "{color.info.100}",
|
|
80
|
+
"$description": "Theme-specific info background color."
|
|
81
|
+
},
|
|
82
|
+
"warning": {
|
|
83
|
+
"$value": "{color.warning.100}",
|
|
84
|
+
"$description": "Theme-specific warning background color."
|
|
85
|
+
},
|
|
86
|
+
"danger": {
|
|
87
|
+
"$value": "{color.danger.100}",
|
|
88
|
+
"$description": "Theme-specific danger background color."
|
|
89
|
+
},
|
|
90
|
+
"light": {
|
|
91
|
+
"$value": "{color.light.100}",
|
|
92
|
+
"$description": "Theme-specific light background color."
|
|
93
|
+
},
|
|
94
|
+
"dark": {
|
|
95
|
+
"$value": "{color.dark.100}",
|
|
96
|
+
"$description": "Theme-specific dark background color."
|
|
97
|
+
},
|
|
98
|
+
"gray": {
|
|
99
|
+
"$value": "{color.gray.100}",
|
|
100
|
+
"$description": "Theme-specific gray background color."
|
|
101
|
+
}
|
|
51
102
|
},
|
|
52
103
|
"border": {
|
|
53
|
-
"primary": {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
104
|
+
"primary": {
|
|
105
|
+
"$value": "{color.primary.200}",
|
|
106
|
+
"$description": "Theme-specific primary border color."
|
|
107
|
+
},
|
|
108
|
+
"secondary": {
|
|
109
|
+
"$value": "{color.secondary.200}",
|
|
110
|
+
"$description": "Theme-specific secondary border color."
|
|
111
|
+
},
|
|
112
|
+
"brand": {
|
|
113
|
+
"$value": "{color.brand.200}",
|
|
114
|
+
"$description": "Theme-specific brand border color."
|
|
115
|
+
},
|
|
116
|
+
"success": {
|
|
117
|
+
"$value": "{color.success.200}",
|
|
118
|
+
"$description": "Theme-specific success border color."
|
|
119
|
+
},
|
|
120
|
+
"info": {
|
|
121
|
+
"$value": "{color.info.200}",
|
|
122
|
+
"$description": "Theme-specific info border color."
|
|
123
|
+
},
|
|
124
|
+
"warning": {
|
|
125
|
+
"$value": "{color.warning.200}",
|
|
126
|
+
"$description": "Theme-specific warning border color."
|
|
127
|
+
},
|
|
128
|
+
"danger": {
|
|
129
|
+
"$value": "{color.danger.200}",
|
|
130
|
+
"$description": "Theme-specific danger border color."
|
|
131
|
+
},
|
|
132
|
+
"light": {
|
|
133
|
+
"$value": "{color.light.200}",
|
|
134
|
+
"$description": "Theme-specific light border color."
|
|
135
|
+
},
|
|
136
|
+
"dark": {
|
|
137
|
+
"$value": "{color.dark.200}",
|
|
138
|
+
"$description": "Theme-specific dark border color."
|
|
139
|
+
},
|
|
140
|
+
"gray": {
|
|
141
|
+
"$value": "{color.gray.200}",
|
|
142
|
+
"$description": "Theme-specific gray border color."
|
|
143
|
+
}
|
|
63
144
|
},
|
|
64
145
|
"focus": {
|
|
65
|
-
"primary": {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
|
|
146
|
+
"primary": {
|
|
147
|
+
"$value": "{color.primary.500}",
|
|
148
|
+
"$description": "Theme-specific primary focus color."
|
|
149
|
+
},
|
|
150
|
+
"secondary": {
|
|
151
|
+
"$value": "{color.secondary.500}",
|
|
152
|
+
"$description": "Theme-specific secondary focus color."
|
|
153
|
+
},
|
|
154
|
+
"brand": {
|
|
155
|
+
"$value": "{color.brand.500}",
|
|
156
|
+
"$description": "Theme-specific brand focus color."
|
|
157
|
+
},
|
|
158
|
+
"success": {
|
|
159
|
+
"$value": "{color.success.500}",
|
|
160
|
+
"$description": "Theme-specific success focus color."
|
|
161
|
+
},
|
|
162
|
+
"info": {
|
|
163
|
+
"$value": "{color.info.500}",
|
|
164
|
+
"$description": "Theme-specific info focus color."
|
|
165
|
+
},
|
|
166
|
+
"warning": {
|
|
167
|
+
"$value": "{color.warning.500}",
|
|
168
|
+
"$description": "Theme-specific warning focus color."
|
|
169
|
+
},
|
|
170
|
+
"danger": {
|
|
171
|
+
"$value": "{color.danger.500}",
|
|
172
|
+
"$description": "Theme-specific danger focus color."
|
|
173
|
+
},
|
|
174
|
+
"light": {
|
|
175
|
+
"$value": "{color.light.500}",
|
|
176
|
+
"$description": "Theme-specific light focus color."
|
|
177
|
+
},
|
|
178
|
+
"dark": {
|
|
179
|
+
"$value": "{color.dark.500}",
|
|
180
|
+
"$description": "Theme-specific dark focus color."
|
|
181
|
+
},
|
|
182
|
+
"gray": {
|
|
183
|
+
"$value": "{color.gray.500}",
|
|
184
|
+
"$description": "Theme-specific gray focus color."
|
|
185
|
+
}
|
|
75
186
|
},
|
|
76
187
|
"default": {
|
|
77
|
-
"primary": {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
|
|
188
|
+
"primary": {
|
|
189
|
+
"$value": "{color.primary.500}",
|
|
190
|
+
"$description": "Theme-specific primary default color."
|
|
191
|
+
},
|
|
192
|
+
"secondary": {
|
|
193
|
+
"$value": "{color.secondary.500}",
|
|
194
|
+
"$description": "Theme-specific secondary default color."
|
|
195
|
+
},
|
|
196
|
+
"brand": {
|
|
197
|
+
"$value": "{color.brand.500}",
|
|
198
|
+
"$description": "Theme-specific brand default color."
|
|
199
|
+
},
|
|
200
|
+
"success": {
|
|
201
|
+
"$value": "{color.success.500}",
|
|
202
|
+
"$description": "Theme-specific success default color."
|
|
203
|
+
},
|
|
204
|
+
"info": {
|
|
205
|
+
"$value": "{color.info.500}",
|
|
206
|
+
"$description": "Theme-specific info default color."
|
|
207
|
+
},
|
|
208
|
+
"warning": {
|
|
209
|
+
"$value": "{color.warning.500}",
|
|
210
|
+
"$description": "Theme-specific warning default color."
|
|
211
|
+
},
|
|
212
|
+
"danger": {
|
|
213
|
+
"$value": "{color.danger.500}",
|
|
214
|
+
"$description": "Theme-specific danger default color."
|
|
215
|
+
},
|
|
216
|
+
"light": {
|
|
217
|
+
"$value": "{color.light.500}",
|
|
218
|
+
"$description": "Theme-specific light default color."
|
|
219
|
+
},
|
|
220
|
+
"dark": {
|
|
221
|
+
"$value": "{color.dark.500}",
|
|
222
|
+
"$description": "Theme-specific dark default color."
|
|
223
|
+
},
|
|
224
|
+
"gray": {
|
|
225
|
+
"$value": "{color.gray.500}",
|
|
226
|
+
"$description": "Theme-specific gray default color."
|
|
227
|
+
}
|
|
87
228
|
},
|
|
88
229
|
"hover": {
|
|
89
|
-
"primary": {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
|
|
230
|
+
"primary": {
|
|
231
|
+
"$value": "{color.primary.700}",
|
|
232
|
+
"$description": "Theme-specific primary hover color."
|
|
233
|
+
},
|
|
234
|
+
"secondary": {
|
|
235
|
+
"$value": "{color.secondary.700}",
|
|
236
|
+
"$description": "Theme-specific secondary hover color."
|
|
237
|
+
},
|
|
238
|
+
"brand": {
|
|
239
|
+
"$value": "{color.brand.700}",
|
|
240
|
+
"$description": "Theme-specific brand hover color."
|
|
241
|
+
},
|
|
242
|
+
"success": {
|
|
243
|
+
"$value": "{color.success.700}",
|
|
244
|
+
"$description": "Theme-specific success hover color."
|
|
245
|
+
},
|
|
246
|
+
"info": {
|
|
247
|
+
"$value": "{color.info.700}",
|
|
248
|
+
"$description": "Theme-specific info hover color."
|
|
249
|
+
},
|
|
250
|
+
"warning": {
|
|
251
|
+
"$value": "{color.warning.700}",
|
|
252
|
+
"$description": "Theme-specific warning hover color."
|
|
253
|
+
},
|
|
254
|
+
"danger": {
|
|
255
|
+
"$value": "{color.danger.700}",
|
|
256
|
+
"$description": "Theme-specific danger hover color."
|
|
257
|
+
},
|
|
258
|
+
"light": {
|
|
259
|
+
"$value": "{color.light.700}",
|
|
260
|
+
"$description": "Theme-specific light hover color."
|
|
261
|
+
},
|
|
262
|
+
"dark": {
|
|
263
|
+
"$value": "{color.dark.700}",
|
|
264
|
+
"$description": "Theme-specific dark hover color."
|
|
265
|
+
},
|
|
266
|
+
"gray": {
|
|
267
|
+
"$value": "{color.gray.700}",
|
|
268
|
+
"$description": "Theme-specific gray hover color."
|
|
269
|
+
}
|
|
99
270
|
},
|
|
100
271
|
"active": {
|
|
101
|
-
"primary": {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
|
|
272
|
+
"primary": {
|
|
273
|
+
"$value": "{color.primary.900}",
|
|
274
|
+
"$description": "Theme-specific primary active color."
|
|
275
|
+
},
|
|
276
|
+
"secondary": {
|
|
277
|
+
"$value": "{color.secondary.900}",
|
|
278
|
+
"$description": "Theme-specific secondary active color."
|
|
279
|
+
},
|
|
280
|
+
"brand": {
|
|
281
|
+
"$value": "{color.brand.900}",
|
|
282
|
+
"$description": "Theme-specific brand active color."
|
|
283
|
+
},
|
|
284
|
+
"success": {
|
|
285
|
+
"$value": "{color.success.900}",
|
|
286
|
+
"$description": "Theme-specific success active color."
|
|
287
|
+
},
|
|
288
|
+
"info": {
|
|
289
|
+
"$value": "{color.info.900}",
|
|
290
|
+
"$description": "Theme-specific info active color."
|
|
291
|
+
},
|
|
292
|
+
"warning": {
|
|
293
|
+
"$value": "{color.warning.900}",
|
|
294
|
+
"$description": "Theme-specific warning active color."
|
|
295
|
+
},
|
|
296
|
+
"danger": {
|
|
297
|
+
"$value": "{color.danger.900}",
|
|
298
|
+
"$description": "Theme-specific danger active color."
|
|
299
|
+
},
|
|
300
|
+
"light": {
|
|
301
|
+
"$value": "{color.light.900}",
|
|
302
|
+
"$description": "Theme-specific light active color."
|
|
303
|
+
},
|
|
304
|
+
"dark": {
|
|
305
|
+
"$value": "{color.dark.900}",
|
|
306
|
+
"$description": "Theme-specific dark active color."
|
|
307
|
+
},
|
|
308
|
+
"gray": {
|
|
309
|
+
"$value": "{color.gray.900}",
|
|
310
|
+
"$description": "Theme-specific gray active color."
|
|
311
|
+
}
|
|
111
312
|
}
|
|
112
313
|
}
|
|
113
314
|
}
|
|
@@ -1,37 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"alert": {
|
|
4
|
-
"title": { "
|
|
5
|
-
"content": { "
|
|
5
|
+
"title": { "source": "$alert-title-color", "$value": "{color.black}" },
|
|
6
|
+
"content": { "source": "$alert-content-color", "$value": "{color.gray.700}" },
|
|
6
7
|
"icon": {
|
|
7
|
-
"success": {
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
"
|
|
11
|
-
"danger": {
|
|
12
|
-
"value": "{color.theme.default.danger}", "type": "color", "source": "$alert-danger-icon-color"
|
|
13
|
-
},
|
|
14
|
-
"warning": {
|
|
15
|
-
"value": "{color.theme.default.warning}", "type": "color", "source": "$alert-warning-icon-color"
|
|
16
|
-
}
|
|
8
|
+
"success": { "source": "$alert-success-icon-color", "$value": "{color.theme.default.success}" },
|
|
9
|
+
"info": { "source": "$alert-info-icon-color", "$value": "{color.theme.default.info}" },
|
|
10
|
+
"danger": { "source": "$alert-danger-icon-color", "$value": "{color.theme.default.danger}" },
|
|
11
|
+
"warning": { "source": "$alert-warning-icon-color", "$value": "{color.theme.default.warning}" }
|
|
17
12
|
},
|
|
18
13
|
"bg": {
|
|
19
|
-
"success": { "
|
|
20
|
-
"info": { "
|
|
21
|
-
"danger": { "
|
|
22
|
-
"warning": { "
|
|
14
|
+
"success": { "source": "$alert-success-bg", "$value": "{color.theme.bg.success}" },
|
|
15
|
+
"info": { "source": "$alert-info-bg", "$value": "{color.theme.bg.info}" },
|
|
16
|
+
"danger": { "source": "$alert-danger-bg", "$value": "{color.theme.bg.danger}" },
|
|
17
|
+
"warning": { "source": "$alert-warning-bg", "$value": "{color.theme.bg.warning}" }
|
|
23
18
|
},
|
|
24
19
|
"border": {
|
|
25
|
-
"success": {
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
"
|
|
29
|
-
"danger": {
|
|
30
|
-
"value": "{color.theme.border.danger}", "type": "color", "source": "$alert-danger-border-color"
|
|
31
|
-
},
|
|
32
|
-
"warning": {
|
|
33
|
-
"value": "{color.theme.border.warning}", "type": "color", "source": "$alert-warning-border-color"
|
|
34
|
-
}
|
|
20
|
+
"success": { "source": "$alert-success-border-color", "$value": "{color.theme.border.success}" },
|
|
21
|
+
"info": { "source": "$alert-info-border-color", "$value": "{color.theme.border.info}" },
|
|
22
|
+
"danger": { "source": "$alert-danger-border-color", "$value": "{color.theme.border.danger}" },
|
|
23
|
+
"warning": { "source": "$alert-warning-border-color", "$value": "{color.theme.border.warning}" }
|
|
35
24
|
}
|
|
36
25
|
}
|
|
37
26
|
}
|
|
@@ -1,28 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "shadow",
|
|
3
4
|
"annotation": {
|
|
4
5
|
"box-shadow": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
6
|
+
"source": "$annotation-box-shadow",
|
|
7
|
+
"$value": [
|
|
8
|
+
{
|
|
9
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
10
|
+
"offsetX": "0",
|
|
11
|
+
"offsetY": "2px",
|
|
12
|
+
"blur": "4px"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
16
|
+
"offsetX": "0",
|
|
17
|
+
"offsetY": "2px",
|
|
18
|
+
"blur": "8px"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
8
21
|
}
|
|
9
22
|
}
|
|
10
23
|
},
|
|
11
24
|
"color": {
|
|
25
|
+
"$type": "color",
|
|
12
26
|
"annotation": {
|
|
13
27
|
"text": {
|
|
14
|
-
"success": { "
|
|
15
|
-
"warning": { "
|
|
16
|
-
"error": { "
|
|
17
|
-
"light": { "
|
|
18
|
-
"dark": { "
|
|
28
|
+
"success": { "source": "$annotation-success-color", "$value": "{color.white}" },
|
|
29
|
+
"warning": { "source": "$annotation-warning-color", "$value": "{color.black}" },
|
|
30
|
+
"error": { "source": "$annotation-error-color", "$value": "{color.white}" },
|
|
31
|
+
"light": { "source": "$annotation-light-color", "$value": "{color.primary.500}" },
|
|
32
|
+
"dark": { "source": "$annotation-dark-color", "$value": "{color.white}" }
|
|
19
33
|
},
|
|
20
34
|
"bg": {
|
|
21
|
-
"success": { "
|
|
22
|
-
"warning": { "
|
|
23
|
-
"error": { "
|
|
24
|
-
"light": { "
|
|
25
|
-
"dark": { "
|
|
35
|
+
"success": { "source": "$annotation-success-bg", "$value": "{color.success.base}" },
|
|
36
|
+
"warning": { "source": "$annotation-warning-bg", "$value": "{color.accent.b}" },
|
|
37
|
+
"error": { "source": "$annotation-error-bg", "$value": "{color.danger.base}" },
|
|
38
|
+
"light": { "source": "$annotation-light-bg", "$value": "{color.white}" },
|
|
39
|
+
"dark": { "source": "$annotation-dark-bg", "$value": "{color.dark.base}" }
|
|
26
40
|
}
|
|
27
41
|
}
|
|
28
42
|
}
|