@openedx/paragon 23.0.0-alpha.3 → 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/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 +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/IconButton/index.d.ts +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/_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 +911 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/lib/build-tokens.js +67 -31
- package/package.json +7 -4
- 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 +6 -6
- package/src/Carousel/index.scss +24 -1
- 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/IconButton/index.scss +146 -0
- package/src/Menu/index.scss +8 -0
- package/src/Modal/ModalDialog.jsx +7 -3
- package/src/Modal/_ModalDialog.scss +22 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/ModalDialog.test.jsx +2 -0
- 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/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/tokens/src/core/global/display.json +0 -22
|
@@ -2,90 +2,285 @@
|
|
|
2
2
|
"typography": {
|
|
3
3
|
"font": {
|
|
4
4
|
"family": {
|
|
5
|
+
"$type": "fontFamily",
|
|
5
6
|
"base": {
|
|
6
|
-
"value": "{typography.font.family.sans.serif}",
|
|
7
|
-
"type": "fontFamily",
|
|
8
7
|
"source": "$font-family-base",
|
|
9
|
-
"
|
|
8
|
+
"$value": "{typography.font.family.sans.serif}",
|
|
9
|
+
"$description": "Basic font family."
|
|
10
10
|
},
|
|
11
11
|
"sans": {
|
|
12
12
|
"serif": {
|
|
13
|
-
"value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
|
|
14
|
-
"type": "fontFamily",
|
|
15
13
|
"source": "$font-family-sans-serif",
|
|
16
|
-
"
|
|
14
|
+
"$value": ["-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial",
|
|
15
|
+
"Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"],
|
|
16
|
+
"$description": "Sans-serif font family."
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
"serif": {
|
|
19
|
+
"serif": {
|
|
20
|
+
"source": "$font-family-serif",
|
|
21
|
+
"$value": "serif",
|
|
22
|
+
"$description": "Serif font family."
|
|
23
|
+
},
|
|
20
24
|
"monospace": {
|
|
21
|
-
"value": "SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace",
|
|
22
|
-
"type": "fontFamily",
|
|
23
25
|
"source": "$font-family-monospace",
|
|
24
|
-
"
|
|
26
|
+
"$value": ["SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"],
|
|
27
|
+
"$description": "Monospace font family."
|
|
25
28
|
}
|
|
26
29
|
},
|
|
27
30
|
"size": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"base": { "value": "87.5%", "type": "percentage", "source": "$small-font-size", "description": "Small font size." },
|
|
34
|
-
"x": { "value": "75%", "type": "percentage", "source": "$x-small-font-size", "description": "X-small font size." }
|
|
35
|
-
},
|
|
36
|
-
"h1": { "value": "2.5rem", "type": "dimension", "source": "$h1-font-size", "description": "Font size of heading level 1." },
|
|
37
|
-
"h2": { "value": "2rem", "type": "dimension", "source": "$h2-font-size", "description": "Font size of heading level 2." },
|
|
38
|
-
"h3": { "value": "1.375rem", "type": "dimension", "source": "$h3-font-size", "description": "Font size of heading level 3." },
|
|
39
|
-
"h4": { "value": "1.125rem", "type": "dimension", "source": "$h4-font-size", "description": "Font size of heading level 4." },
|
|
40
|
-
"h5": { "value": ".875rem", "type": "dimension", "source": "$h5-font-size", "description": "Font size of heading level 5." },
|
|
41
|
-
"h6": { "value": ".75rem", "type": "dimension", "source": "$h6-font-size", "description": "Font size of heading level 6." },
|
|
42
|
-
"mobile": {
|
|
43
|
-
"h1": { "value": "2.25rem", "type": "dimension", "source": "$h1-mobile-font-size", "description": "Mobile font size of heading level 1." },
|
|
44
|
-
"h2": { "value": "{typography.font.size.h2}", "type": "dimension", "source": "$h2-mobile-font-size", "description": "Mobile font size of heading level 2." },
|
|
45
|
-
"h3": { "value": "{typography.font.size.h3}", "type": "dimension", "source": "$h3-mobile-font-size", "description": "Mobile font size of heading level 3." },
|
|
46
|
-
"h4": { "value": "{typography.font.size.h4}", "type": "dimension", "source": "$h4-mobile-font-size", "description": "Mobile font size of heading level 4." },
|
|
47
|
-
"h5": { "value": "{typography.font.size.h5}", "type": "dimension", "source": "$h5-mobile-font-size", "description": "Mobile font size of heading level 5." },
|
|
48
|
-
"h6": { "value": "{typography.font.size.h6}", "type": "dimension", "source": "$h6-mobile-font-size", "description": "Mobile font size of heading level 6." }
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"base": {
|
|
33
|
+
"source": "$font-size-base",
|
|
34
|
+
"$value": "1.125rem",
|
|
35
|
+
"$description": "Base font size."
|
|
49
36
|
},
|
|
50
|
-
"
|
|
51
|
-
"value": "calc({typography.font.size.base} * 1.25)",
|
|
52
|
-
"type": "dimension",
|
|
37
|
+
"lg": {
|
|
53
38
|
"source": "$lead-font-size",
|
|
54
|
-
"
|
|
39
|
+
"$value": "calc({typography.font.size.base} * 1.25)",
|
|
40
|
+
"$description": "Lead text font size."
|
|
41
|
+
},
|
|
42
|
+
"sm": {
|
|
43
|
+
"source": "$small-font-size",
|
|
44
|
+
"$value": "87.5%",
|
|
45
|
+
"$description": "Small font size."
|
|
46
|
+
},
|
|
47
|
+
"xs": {
|
|
48
|
+
"source": "$x-small-font-size",
|
|
49
|
+
"$value": "75%",
|
|
50
|
+
"$description": "X-small font size."
|
|
55
51
|
},
|
|
56
52
|
"micro": {
|
|
57
|
-
"value": ".688rem",
|
|
58
|
-
"type": "dimension",
|
|
59
53
|
"source": "$micro-font-size",
|
|
60
|
-
"
|
|
54
|
+
"$value": ".688rem",
|
|
55
|
+
"$type": "dimension",
|
|
56
|
+
"$description": "Micro utils text font size."
|
|
57
|
+
},
|
|
58
|
+
"h1": {
|
|
59
|
+
"base": {
|
|
60
|
+
"source": "$h1-font-size",
|
|
61
|
+
"$value": "2.5rem",
|
|
62
|
+
"$description": "Base font size of heading level 1."
|
|
63
|
+
},
|
|
64
|
+
"mobile": {
|
|
65
|
+
"source": "$h1-mobile-font-size",
|
|
66
|
+
"$value": "2.25rem",
|
|
67
|
+
"$description": "Mobile font size of heading level 1."
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"h2": {
|
|
71
|
+
"base": {
|
|
72
|
+
"source": "$h2-font-size",
|
|
73
|
+
"$value": "2rem",
|
|
74
|
+
"$description": "Font size of heading level 2."
|
|
75
|
+
},
|
|
76
|
+
"mobile": {
|
|
77
|
+
"source": "$h2-mobile-font-size",
|
|
78
|
+
"$value": "{typography.font.size.h2.base}",
|
|
79
|
+
"$description": "Mobile font size of heading level 2."
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"h3": {
|
|
83
|
+
"base": {
|
|
84
|
+
"source": "$h3-font-size",
|
|
85
|
+
"$value": "1.375rem",
|
|
86
|
+
"$description": "Font size of heading level 3."
|
|
87
|
+
},
|
|
88
|
+
"mobile": {
|
|
89
|
+
"source": "$h3-mobile-font-size",
|
|
90
|
+
"$value": "{typography.font.size.h3.base}",
|
|
91
|
+
"$description": "Mobile font size of heading level 3."
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"h4": {
|
|
95
|
+
"base": {
|
|
96
|
+
"source": "$h4-font-size",
|
|
97
|
+
"$value": "1.125rem",
|
|
98
|
+
"$description": "Font size of heading level 4."
|
|
99
|
+
},
|
|
100
|
+
"mobile": {
|
|
101
|
+
"source": "$h4-mobile-font-size",
|
|
102
|
+
"$value": "{typography.font.size.h4.base}",
|
|
103
|
+
"$description": "Mobile font size of heading level 4."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"h5": {
|
|
107
|
+
"base": {
|
|
108
|
+
"source": "$h5-font-size",
|
|
109
|
+
"$value": ".875rem",
|
|
110
|
+
"$description": "Font size of heading level 5."
|
|
111
|
+
},
|
|
112
|
+
"mobile": {
|
|
113
|
+
"source": "$h5-mobile-font-size",
|
|
114
|
+
"$value": "{typography.font.size.h5.base}",
|
|
115
|
+
"$description": "Mobile font size of heading level 5."
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"h6": {
|
|
119
|
+
"base": {
|
|
120
|
+
"source": "$h6-font-size",
|
|
121
|
+
"$value": ".75rem",
|
|
122
|
+
"$description": "Font size of heading level 6."
|
|
123
|
+
},
|
|
124
|
+
"mobile": {
|
|
125
|
+
"source": "$h6-mobile-font-size",
|
|
126
|
+
"$value": "{typography.font.size.h6.base}",
|
|
127
|
+
"$description": "Mobile font size of heading level 6."
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"display": {
|
|
131
|
+
"1": {
|
|
132
|
+
"source": "$display1-size",
|
|
133
|
+
"$value": "3.75rem",
|
|
134
|
+
"$description": "Font size for heading of level 1."
|
|
135
|
+
},
|
|
136
|
+
"2": {
|
|
137
|
+
"source": "$display2-size",
|
|
138
|
+
"$value": "4.875rem",
|
|
139
|
+
"$description": "Font size for heading of level 2."
|
|
140
|
+
},
|
|
141
|
+
"3": {
|
|
142
|
+
"source": "$display3-size",
|
|
143
|
+
"$value": "5.625rem",
|
|
144
|
+
"$description": "Font size for heading of level 3."
|
|
145
|
+
},
|
|
146
|
+
"4": {
|
|
147
|
+
"source": "$display4-size",
|
|
148
|
+
"$value": "7.5rem",
|
|
149
|
+
"$description": "Font size for heading of level 4."
|
|
150
|
+
},
|
|
151
|
+
"mobile": {
|
|
152
|
+
"1": {
|
|
153
|
+
"source": "$display-mobile-size",
|
|
154
|
+
"$value": "3.25rem",
|
|
155
|
+
"$description": "Mobile font size for heading of level 1."
|
|
156
|
+
},
|
|
157
|
+
"2": {
|
|
158
|
+
"$value": "{typography.font.size.display.mobile.1}",
|
|
159
|
+
"$description": "Mobile font size for heading of level 2."
|
|
160
|
+
},
|
|
161
|
+
"3": {
|
|
162
|
+
"$value": "{typography.font.size.display.mobile.1}",
|
|
163
|
+
"$description": "Mobile font size for heading of level 3."
|
|
164
|
+
},
|
|
165
|
+
"4": {
|
|
166
|
+
"$value": "{typography.font.size.display.mobile.1}",
|
|
167
|
+
"$description": "Mobile font size for heading of level 4."
|
|
168
|
+
}
|
|
169
|
+
}
|
|
61
170
|
}
|
|
62
171
|
},
|
|
63
172
|
"weight": {
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
173
|
+
"$type": "fontWeight",
|
|
174
|
+
"lighter": {
|
|
175
|
+
"source": "$font-weight-lighter",
|
|
176
|
+
"$value": "lighter",
|
|
177
|
+
"$description": "Lighter font weight."
|
|
178
|
+
},
|
|
179
|
+
"light": {
|
|
180
|
+
"source": "$font-weight-light",
|
|
181
|
+
"$value": "300",
|
|
182
|
+
"$description": "Light font weight."
|
|
183
|
+
},
|
|
184
|
+
"normal": {
|
|
185
|
+
"source": "$font-weight-normal",
|
|
186
|
+
"$value": "400",
|
|
187
|
+
"$description": "Normal font weight."
|
|
188
|
+
},
|
|
67
189
|
"semi": {
|
|
68
|
-
"bold": {
|
|
190
|
+
"bold": {
|
|
191
|
+
"source": "$font-weight-semi-bold",
|
|
192
|
+
"$value": "500",
|
|
193
|
+
"$description": "Semi-bold font weight."
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"bold": {
|
|
197
|
+
"source": "$font-weight-bold",
|
|
198
|
+
"$value": "700",
|
|
199
|
+
"$description": "Bold font weight."
|
|
200
|
+
},
|
|
201
|
+
"bolder": {
|
|
202
|
+
"source": "$font-weight-bolder",
|
|
203
|
+
"$value": "bolder",
|
|
204
|
+
"$description": "Bolder font weight."
|
|
69
205
|
},
|
|
70
|
-
"bold": { "value": "700", "type": "fontWeight", "source": "$font-weight-bold", "description": "Bold font weight." },
|
|
71
|
-
"bolder": { "value": "bolder", "type": "fontWeight", "source": "$font-weight-bolder", "description": "Bolder font weight." },
|
|
72
206
|
"base": {
|
|
73
|
-
"value": "{typography.font.weight.normal}",
|
|
74
|
-
"type": "fontWeight",
|
|
75
207
|
"source": "$font-weight-base",
|
|
76
|
-
"
|
|
208
|
+
"$value": "{typography.font.weight.normal}",
|
|
209
|
+
"$description": "Basic font weight."
|
|
210
|
+
},
|
|
211
|
+
"lead": {
|
|
212
|
+
"source": "$lead-font-weight",
|
|
213
|
+
"$value": "inherit",
|
|
214
|
+
"$description": "Lead text font weight."
|
|
77
215
|
},
|
|
78
|
-
"
|
|
79
|
-
|
|
216
|
+
"table-th": {
|
|
217
|
+
"source": "$table-th-font-weight",
|
|
218
|
+
"$value": "bold",
|
|
219
|
+
"$description": "Table th font weight."
|
|
220
|
+
},
|
|
221
|
+
"display": {
|
|
222
|
+
"1": {
|
|
223
|
+
"source": "$display1-weight",
|
|
224
|
+
"$value": "{typography.font.weight.bold}",
|
|
225
|
+
"$description": "Font weight of display level 1."
|
|
226
|
+
},
|
|
227
|
+
"2": {
|
|
228
|
+
"source": "$display2-weight",
|
|
229
|
+
"$value": "{typography.font.weight.bold}",
|
|
230
|
+
"$description": "Font weight of display level 2."
|
|
231
|
+
},
|
|
232
|
+
"3": {
|
|
233
|
+
"source": "$display3-weight",
|
|
234
|
+
"$value": "{typography.font.weight.bold}",
|
|
235
|
+
"$description": "Font weight of display level 3."
|
|
236
|
+
},
|
|
237
|
+
"4": {
|
|
238
|
+
"source": "$display4-weight",
|
|
239
|
+
"$value": "{typography.font.weight.bold}",
|
|
240
|
+
"$description": "Font weight of display level 4."
|
|
241
|
+
}
|
|
242
|
+
}
|
|
80
243
|
}
|
|
81
244
|
},
|
|
82
245
|
"line-height": {
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
246
|
+
"$type": "number",
|
|
247
|
+
"base": {
|
|
248
|
+
"source": "$line-height-base",
|
|
249
|
+
"$value": "1.5556",
|
|
250
|
+
"$description": "Basic line height."
|
|
251
|
+
},
|
|
252
|
+
"lg": {
|
|
253
|
+
"source": "$line-height-lg",
|
|
254
|
+
"$value": "1.5",
|
|
255
|
+
"$description": "Large line height."
|
|
256
|
+
},
|
|
257
|
+
"sm": {
|
|
258
|
+
"source": "$line-height-sm",
|
|
259
|
+
"$value": "1.5",
|
|
260
|
+
"$description": "Small line height."
|
|
261
|
+
},
|
|
86
262
|
"micro": {
|
|
87
|
-
"
|
|
263
|
+
"source": "$micro-line-height",
|
|
264
|
+
"$value": ".938rem",
|
|
265
|
+
"$description": "Micro utils line height."
|
|
266
|
+
},
|
|
267
|
+
"display": {
|
|
268
|
+
"base": {
|
|
269
|
+
"source": "$display-line-height",
|
|
270
|
+
"$value": "1",
|
|
271
|
+
"$description": "Standard display line height."
|
|
272
|
+
},
|
|
273
|
+
"mobile": {
|
|
274
|
+
"source": "$display-mobile-line-height",
|
|
275
|
+
"$value": "3.5rem",
|
|
276
|
+
"$description": "Mobile display line height."
|
|
277
|
+
}
|
|
88
278
|
}
|
|
279
|
+
},
|
|
280
|
+
"print-page-size": {
|
|
281
|
+
"source": "$print-page-size",
|
|
282
|
+
"$value": "a3",
|
|
283
|
+
"$type": "dimension"
|
|
89
284
|
}
|
|
90
285
|
}
|
|
91
286
|
}
|
|
@@ -2,11 +2,42 @@
|
|
|
2
2
|
"utilities": [
|
|
3
3
|
{
|
|
4
4
|
"filters": {
|
|
5
|
-
"category": [
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
"category": [
|
|
6
|
+
"color"
|
|
7
|
+
],
|
|
8
|
+
"type": [
|
|
9
|
+
"gray",
|
|
10
|
+
"primary",
|
|
11
|
+
"secondary",
|
|
12
|
+
"brand",
|
|
13
|
+
"success",
|
|
14
|
+
"info",
|
|
15
|
+
"warning",
|
|
16
|
+
"danger",
|
|
17
|
+
"light",
|
|
18
|
+
"dark",
|
|
19
|
+
"accent"
|
|
20
|
+
],
|
|
21
|
+
"item": [
|
|
22
|
+
"base",
|
|
23
|
+
"100",
|
|
24
|
+
"200",
|
|
25
|
+
"300",
|
|
26
|
+
"400",
|
|
27
|
+
"500",
|
|
28
|
+
"600",
|
|
29
|
+
"700",
|
|
30
|
+
"800",
|
|
31
|
+
"900",
|
|
32
|
+
"a",
|
|
33
|
+
"b"
|
|
34
|
+
]
|
|
8
35
|
},
|
|
9
|
-
"utilityFunctionsToApply": [
|
|
36
|
+
"utilityFunctionsToApply": [
|
|
37
|
+
"bgVariant",
|
|
38
|
+
"textEmphasisVariant",
|
|
39
|
+
"borderColor"
|
|
40
|
+
]
|
|
10
41
|
}
|
|
11
42
|
]
|
|
12
43
|
}
|