@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
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"image": {
|
|
4
|
-
"figure-caption": { "
|
|
5
|
+
"figure-caption": { "source": "$figure-caption-color", "$value": "{color.gray.500}" },
|
|
5
6
|
"thumbnail": {
|
|
6
|
-
"bg": { "
|
|
7
|
-
"border": { "
|
|
7
|
+
"bg": { "source": "$thumbnail-bg", "$value": "{color.body.bg}" },
|
|
8
|
+
"border": { "source": "$thumbnail-border-color", "$value": "{color.gray.200}"
|
|
9
|
+
}
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
},
|
|
11
13
|
"elevation": {
|
|
14
|
+
"$type": "shadow",
|
|
12
15
|
"image": {
|
|
13
16
|
"thumbnail": {
|
|
14
|
-
"box-shadow": { "
|
|
17
|
+
"box-shadow": { "source": "$thumbnail-box-shadow", "$value": "none" }
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"elevation": {
|
|
3
|
+
"$type": "shadow",
|
|
3
4
|
"menu": {
|
|
4
|
-
"box-shadow": { "
|
|
5
|
+
"box-shadow": { "source": "$menu-box-shadow", "$value": "{elevation.box-shadow.base}" }
|
|
5
6
|
}
|
|
6
7
|
},
|
|
7
8
|
"color": {
|
|
9
|
+
"$type": "color",
|
|
8
10
|
"menu": {
|
|
9
|
-
"bg": { "
|
|
11
|
+
"bg": { "source": "$menu-bg", "$value": "{color.white}" },
|
|
10
12
|
"item": {
|
|
11
|
-
"color": { "
|
|
12
|
-
"bg": { "
|
|
13
|
-
"border": { "
|
|
13
|
+
"color": { "source": "$menu-item-color", "$value": "{color.body.base}" },
|
|
14
|
+
"bg": { "source": "$menu-item-bg", "$value": "transparent" },
|
|
15
|
+
"border": { "source": "$menu-item-border-color", "$value": "{color.menu.item.bg}" },
|
|
14
16
|
"hover": {
|
|
15
|
-
"color": { "value": "{color.btn.text.tertiary}"
|
|
16
|
-
"bg": { "
|
|
17
|
-
"border": { "
|
|
17
|
+
"color": { "source": "$menu-item-hover-color", "$value": "{color.btn.text.tertiary}" },
|
|
18
|
+
"bg": { "source": "$menu-item-hover-bg", "$value": "{color.btn.hover.bg.tertiary}" },
|
|
19
|
+
"border": { "source": "$menu-item-hover-border-color", "$value": "{color.menu.item.bg}" }
|
|
18
20
|
},
|
|
19
21
|
"focus": {
|
|
20
|
-
"bg": { "value": "{color.btn.active.bg.tertiary}"
|
|
22
|
+
"bg": { "source": "$menu-item-focus-bg", "$value": "{color.btn.active.bg.tertiary}" }
|
|
21
23
|
}
|
|
22
24
|
},
|
|
23
25
|
"select": {
|
|
24
26
|
"btn-link": {
|
|
25
|
-
"color": { "
|
|
27
|
+
"color": { "source": "$menu-select-btn-link-color", "$value": "{color.primary.500}" }
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -1,29 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"modal": {
|
|
4
5
|
"content": {
|
|
5
|
-
"bg": { "
|
|
6
|
+
"bg": { "source": "$modal-content-bg", "$value": "{color.bg.base}" },
|
|
6
7
|
"border": {
|
|
7
|
-
"value": "{color.black}",
|
|
8
|
-
"type": "color",
|
|
9
8
|
"source": "$modal-content-border-color",
|
|
10
|
-
"modify": [{
|
|
11
|
-
|
|
12
|
-
"amount": 0.2
|
|
13
|
-
}]
|
|
9
|
+
"modify": [{ "type": "alpha", "amount": 0.2 }],
|
|
10
|
+
"$value": "{color.black}"
|
|
14
11
|
}
|
|
15
12
|
},
|
|
16
|
-
"backdrop-bg": { "
|
|
13
|
+
"backdrop-bg": { "source": "$modal-backdrop-bg", "$value": "{color.black}" }
|
|
17
14
|
}
|
|
18
15
|
},
|
|
19
16
|
"elevation": {
|
|
17
|
+
"$type": "shadow",
|
|
20
18
|
"modal": {
|
|
21
19
|
"content": {
|
|
22
20
|
"box-shadow": {
|
|
23
21
|
"sm-up": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
22
|
+
"source": "$modal-content-box-shadow-sm-up",
|
|
23
|
+
"$value": [
|
|
24
|
+
{
|
|
25
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
26
|
+
"offsetX": "0",
|
|
27
|
+
"offsetY": "10px",
|
|
28
|
+
"blur": "20px"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"color": "rgba(0, 0, 0, .15)",
|
|
32
|
+
"offsetX": "0",
|
|
33
|
+
"offsetY": "8px",
|
|
34
|
+
"blur": "20px"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
27
37
|
}
|
|
28
38
|
}
|
|
29
39
|
}
|
|
@@ -31,7 +41,7 @@
|
|
|
31
41
|
},
|
|
32
42
|
"other": {
|
|
33
43
|
"modal": {
|
|
34
|
-
"opacity": { "
|
|
44
|
+
"opacity": { "source": "$modal-backdrop-opacity", "$value": ".5" }
|
|
35
45
|
}
|
|
36
46
|
}
|
|
37
47
|
}
|
|
@@ -1,84 +1,99 @@
|
|
|
1
1
|
{
|
|
2
2
|
"border-color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"nav": {
|
|
4
5
|
"tabs-link": {
|
|
5
6
|
"border": {
|
|
6
|
-
"active": {
|
|
7
|
-
"value": "{color.primary.500}",
|
|
8
|
-
"type": "color",
|
|
9
|
-
"source": "$nav-tabs-link-active-border-color"
|
|
10
|
-
},
|
|
7
|
+
"active": { "source": "$nav-tabs-link-active-border-color", "$value": "{color.primary.500}" },
|
|
11
8
|
"hover": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
9
|
+
"source": "$nav-tabs-link-hover-border-color",
|
|
10
|
+
"$value": {
|
|
11
|
+
"top": "transparent",
|
|
12
|
+
"right": "transparent",
|
|
13
|
+
"bottom": "{color.nav.tabs.base.border.base}",
|
|
14
|
+
"left": "transparent"
|
|
15
|
+
}
|
|
15
16
|
},
|
|
16
17
|
"focus": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"source": "$nav-tabs-link-focus-border-color"
|
|
18
|
+
"source": "$nav-tabs-link-focus-border-color",
|
|
19
|
+
"$value": "{color.nav.tabs.base.link.active.text}"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"color": {
|
|
26
|
+
"$type": "color",
|
|
26
27
|
"nav": {
|
|
27
28
|
"link": {
|
|
28
29
|
"text": {
|
|
29
|
-
"base": { "
|
|
30
|
-
"disabled": { "
|
|
30
|
+
"base": { "source": "$nav-link-color", "$value": "{color.gray.700}" },
|
|
31
|
+
"disabled": { "source": "$nav-link-disabled-color", "$value": "{color.gray.300}" }
|
|
31
32
|
},
|
|
32
|
-
"border": { "
|
|
33
|
+
"border": { "source": "$nav-tabs-link-border-color", "$value": "transparent" }
|
|
33
34
|
},
|
|
34
35
|
"tabs": {
|
|
35
36
|
"base": {
|
|
36
37
|
"text": {
|
|
37
|
-
"disabled": { "
|
|
38
|
-
},
|
|
39
|
-
"bg": {
|
|
40
|
-
"hover": { "value": "transparent", "type": "color", "source": "$nav-tabs-hover-bg" }
|
|
38
|
+
"disabled": { "source": "$nav-tabs-disabled-bg", "$value": "{color.nav.tabs.base.bg.hover}" }
|
|
41
39
|
},
|
|
40
|
+
"bg": { "hover": { "source": "$nav-tabs-hover-bg", "$value": "transparent" } },
|
|
42
41
|
"border": {
|
|
43
|
-
"base": { "
|
|
44
|
-
"focus": { "value": "{color.nav.tabs.base.bg.hover}"
|
|
42
|
+
"base": { "source": "$nav-tabs-border-color", "$value": "{color.light.400}" },
|
|
43
|
+
"focus": { "source": "$nav-tabs-focus-border-color", "$value": "{color.nav.tabs.base.bg.hover}" }
|
|
45
44
|
},
|
|
46
45
|
"link": {
|
|
47
|
-
"hover": {
|
|
48
|
-
"bg": { "value": "{color.light.400}", "type": "color", "source": "$nav-tabs-link-hover-bg" }
|
|
49
|
-
},
|
|
46
|
+
"hover": { "bg": { "source": "$nav-tabs-link-hover-bg", "$value": "{color.light.400}" } },
|
|
50
47
|
"active": {
|
|
51
|
-
"text": { "
|
|
52
|
-
"bg": { "
|
|
48
|
+
"text": { "source": "$nav-tabs-link-active-color", "$value": "{color.primary.500}" },
|
|
49
|
+
"bg": { "source": "$nav-tabs-link-active-bg", "$value": "transparent" }
|
|
53
50
|
},
|
|
54
51
|
"disabled": {
|
|
55
|
-
"border": { "
|
|
52
|
+
"border": { "source": "$nav-tabs-link-disabled-border-color", "$value": "{color.nav.link.border}" }
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
55
|
},
|
|
59
56
|
"inverse": {
|
|
60
57
|
"link": {
|
|
61
|
-
"text": {
|
|
62
|
-
"base": { "value": "{color.white}", "type": "color", "source": "$nav-inverse-tabs-link-color" }
|
|
63
|
-
},
|
|
58
|
+
"text": { "base": { "source": "$nav-inverse-tabs-link-color", "$value": "{color.white}" } },
|
|
64
59
|
"border": {
|
|
65
|
-
"bottom": {
|
|
66
|
-
|
|
60
|
+
"bottom": {
|
|
61
|
+
"source": "$nav-inverse-tabs-link-border-bottom-color",
|
|
62
|
+
"$value": "{color.dark.300}"
|
|
63
|
+
},
|
|
64
|
+
"active": {
|
|
65
|
+
"source": "$nav-inverse-tabs-link-active-border-color",
|
|
66
|
+
"$value": "{color.nav.tabs.inverse.link.text.base}"
|
|
67
|
+
}
|
|
67
68
|
},
|
|
68
69
|
"bg": {
|
|
69
|
-
"hover": {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
"hover": {
|
|
71
|
+
"source": "$nav-inverse-tabs-link-hover-bg",
|
|
72
|
+
"$value": "{color.nav.tabs.inverse.link.border.bottom}"
|
|
73
|
+
},
|
|
74
|
+
"active": {
|
|
75
|
+
"source": "$nav-inverse-tabs-link-active-bg",
|
|
76
|
+
"$value": "{color.nav.tabs.inverse.link.bg.hover}"
|
|
77
|
+
},
|
|
78
|
+
"focus": {
|
|
79
|
+
"source": "$nav-inverse-tabs-link-focus-bg",
|
|
80
|
+
"$value": "{color.nav.tabs.inverse.link.text.base}"
|
|
81
|
+
},
|
|
72
82
|
"active-hover": {
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"source": "$nav-inverse-tabs-link-active-hover-bg"
|
|
83
|
+
"source": "$nav-inverse-tabs-link-active-hover-bg",
|
|
84
|
+
"$value": "transparent"
|
|
76
85
|
}
|
|
77
86
|
},
|
|
78
|
-
|
|
87
|
+
"tab-content-color": {
|
|
88
|
+
"source": "$nav-inverse-tabs-tab-content-color",
|
|
89
|
+
"$value": "{color.nav.tabs.inverse.link.text.base}"
|
|
90
|
+
}
|
|
79
91
|
},
|
|
80
92
|
"dropdown": {
|
|
81
|
-
"border": {
|
|
93
|
+
"border": {
|
|
94
|
+
"source": "$nav-inverse-tabs-dropdown-border-color",
|
|
95
|
+
"$value": "{color.nav.tabs.inverse.link.bg.active-hover}"
|
|
96
|
+
}
|
|
82
97
|
}
|
|
83
98
|
}
|
|
84
99
|
},
|
|
@@ -86,80 +101,53 @@
|
|
|
86
101
|
"base": {
|
|
87
102
|
"link": {
|
|
88
103
|
"active": {
|
|
89
|
-
"text": { "
|
|
90
|
-
"bg": { "
|
|
91
|
-
"border": { "
|
|
104
|
+
"text": { "source": "$nav-pills-link-active-color", "$value": "{color.active}" },
|
|
105
|
+
"bg": { "source": "$nav-pills-link-active-bg", "$value": "{color.bg.active}" },
|
|
106
|
+
"border": { "source": "$nav-pills-link-active-border-color", "$value": "{color.white}" }
|
|
92
107
|
},
|
|
93
|
-
"border": { "value": "{color.nav.tabs.base.border.base}"
|
|
108
|
+
"border": { "source": "$nav-pills-link-border-color", "$value": "{color.nav.tabs.base.border.base}" }
|
|
94
109
|
}
|
|
95
110
|
},
|
|
96
111
|
"inverse": {
|
|
97
112
|
"link": {
|
|
98
113
|
"text": {
|
|
99
|
-
"base": { "
|
|
100
|
-
"focus": { "value": "{color.nav.pills.inverse.link.text.base}"
|
|
101
|
-
"active": { "
|
|
102
|
-
"hover": { "value": "{color.nav.pills.inverse.link.text.base}"
|
|
103
|
-
"active-focus": {
|
|
104
|
-
|
|
105
|
-
"type": "color",
|
|
106
|
-
"source": "$nav-inverse-pills-link-active-focus-color"
|
|
107
|
-
},
|
|
108
|
-
"active-hover": {
|
|
109
|
-
"value": "{color.nav.pills.inverse.link.text.base}",
|
|
110
|
-
"type": "color",
|
|
111
|
-
"source": "$nav-inverse-pills-link-active-hover-color"
|
|
112
|
-
}
|
|
114
|
+
"base": { "source": "$nav-inverse-pills-link-color", "$value": "{color.white}" },
|
|
115
|
+
"focus": { "source": "$nav-inverse-pills-link-focus-color", "$value": "{color.nav.pills.inverse.link.text.base}" },
|
|
116
|
+
"active": { "source": "$nav-inverse-pills-link-active-color", "$value": "{color.primary.500}" },
|
|
117
|
+
"hover": { "source": "$nav-inverse-pills-link-hover-color", "$value": "{color.nav.pills.inverse.link.text.base}" },
|
|
118
|
+
"active-focus": { "source": "$nav-inverse-pills-link-active-focus-color", "$value": "{color.nav.pills.inverse.link.text.active}" },
|
|
119
|
+
"active-hover": { "source": "$nav-inverse-pills-link-active-hover-color", "$value": "{color.nav.pills.inverse.link.text.base}" }
|
|
113
120
|
},
|
|
114
121
|
"border": {
|
|
115
|
-
"base": { "
|
|
116
|
-
"active": { "value": "{color.nav.pills.inverse.link.text.base}"
|
|
117
|
-
"active-hover": {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"source": "$nav-inverse-pills-link-active-hover-border-color"
|
|
121
|
-
},
|
|
122
|
-
"active-focus": {
|
|
123
|
-
"value": "{color.primary.base}",
|
|
124
|
-
"type": "color",
|
|
125
|
-
"source": "$nav-inverse-pills-link-active-focus-border-color"
|
|
126
|
-
},
|
|
127
|
-
"focus-hover": {
|
|
128
|
-
"value": "{color.nav.pills.inverse.link.border.active-focus}",
|
|
129
|
-
"type": "color",
|
|
130
|
-
"source": "$nav-inverse-pills-link-active-focus-hover-border-color"
|
|
131
|
-
}
|
|
122
|
+
"base": { "source": "$nav-inverse-pills-link-border-color", "$value": "{color.dark.300}" },
|
|
123
|
+
"active": { "source": "$nav-inverse-pills-link-active-border-color", "$value": "{color.nav.pills.inverse.link.text.base}" },
|
|
124
|
+
"active-hover": { "source": "$nav-inverse-pills-link-active-hover-border-color", "$value": "{color.nav.pills.inverse.link.border.base}" },
|
|
125
|
+
"active-focus": { "source": "$nav-inverse-pills-link-active-focus-border-color", "$value": "{color.primary.base}" },
|
|
126
|
+
"focus-hover": { "source": "$nav-inverse-pills-link-active-focus-hover-border-color", "$value": "{color.nav.pills.inverse.link.border.active-focus}" }
|
|
132
127
|
},
|
|
133
128
|
"bg": {
|
|
134
|
-
"hover": { "value": "{color.nav.pills.inverse.link.border.base}"
|
|
135
|
-
"active": { "value": "{color.nav.pills.inverse.link.text.base}"
|
|
136
|
-
"active-hover": {
|
|
137
|
-
|
|
138
|
-
"type": "color",
|
|
139
|
-
"source": "$nav-inverse-pills-link-active-hover-bg"
|
|
140
|
-
},
|
|
141
|
-
"active-focus-hover": {
|
|
142
|
-
"value": "{color.nav.pills.inverse.link.text.base}",
|
|
143
|
-
"type": "color",
|
|
144
|
-
"source": "$nav-inverse-pills-link-active-focus-hover-bg"
|
|
145
|
-
}
|
|
129
|
+
"hover": { "source": "$nav-inverse-pills-link-hover-bg", "$value": "{color.nav.pills.inverse.link.border.base}" },
|
|
130
|
+
"active": { "source": "$nav-inverse-pills-link-active-bg", "$value": "{color.nav.pills.inverse.link.text.base}" },
|
|
131
|
+
"active-hover": { "source": "$nav-inverse-pills-link-active-hover-bg", "$value": "{color.nav.pills.inverse.link.border.base}" },
|
|
132
|
+
"active-focus-hover": { "source": "$nav-inverse-pills-link-active-focus-hover-bg", "$value": "{color.nav.pills.inverse.link.text.base}" }
|
|
146
133
|
}
|
|
147
134
|
},
|
|
148
|
-
"tab-content-color": {
|
|
135
|
+
"tab-content-color": {
|
|
136
|
+
"source": "$nav-inverse-pills-tab-content-color",
|
|
137
|
+
"$value": "{color.nav.pills.inverse.link.text.base}"
|
|
138
|
+
}
|
|
149
139
|
}
|
|
150
140
|
},
|
|
151
|
-
"divider": { "
|
|
141
|
+
"divider": { "source": "$nav-divider-color", "$value": "{color.gray.100}" },
|
|
152
142
|
"dark": {
|
|
153
|
-
"value": "{color.white}",
|
|
154
|
-
"type": "color",
|
|
155
143
|
"source": "$navbar-dark-color",
|
|
156
|
-
"modify": [{ "type": "alpha", "amount": 0.5 }]
|
|
144
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
145
|
+
"$value": "{color.white}"
|
|
157
146
|
},
|
|
158
147
|
"light": {
|
|
159
|
-
"value": "{color.black}",
|
|
160
|
-
"type": "color",
|
|
161
148
|
"source": "$navbar-light-color",
|
|
162
|
-
"modify": [{ "type": "alpha", "amount": 0.5 }]
|
|
149
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
150
|
+
"$value": "{color.black}"
|
|
163
151
|
}
|
|
164
152
|
}
|
|
165
153
|
}
|
|
@@ -1,133 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"navbar": {
|
|
4
5
|
"dark": {
|
|
5
6
|
"text": {
|
|
6
|
-
"value": "{color.white}",
|
|
7
|
-
"type": "color",
|
|
8
7
|
"source": "$navbar-dark-color",
|
|
9
|
-
"modify": [{
|
|
10
|
-
|
|
11
|
-
"amount": 0.5
|
|
12
|
-
}]
|
|
8
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
9
|
+
"$value": "{color.white}"
|
|
13
10
|
},
|
|
14
11
|
"hover": {
|
|
15
|
-
"value": "{color.white}",
|
|
16
|
-
"type": "color",
|
|
17
12
|
"source": "$navbar-dark-hover-color",
|
|
18
|
-
"modify": [{
|
|
19
|
-
|
|
20
|
-
"amount": 0.75
|
|
21
|
-
}]
|
|
13
|
+
"modify": [{ "type": "alpha", "amount": 0.75 }],
|
|
14
|
+
"$value": "{color.white}"
|
|
22
15
|
},
|
|
23
|
-
"active": { "
|
|
16
|
+
"active": { "source": "$navbar-dark-active-color", "$value": "{color.active}" },
|
|
24
17
|
"disabled": {
|
|
25
|
-
"value": "{color.white}",
|
|
26
|
-
"type": "color",
|
|
27
18
|
"source": "$navbar-dark-disabled-color",
|
|
28
|
-
"modify": [{
|
|
29
|
-
|
|
30
|
-
"amount": 0.25
|
|
31
|
-
}]
|
|
19
|
+
"modify": [{ "type": "alpha", "amount": 0.25 }],
|
|
20
|
+
"$value": "{color.white}"
|
|
32
21
|
},
|
|
33
22
|
"toggler": {
|
|
34
23
|
"border": {
|
|
35
|
-
"value": "{color.white}",
|
|
36
|
-
"type": "color",
|
|
37
24
|
"source": "$navbar-dark-toggler-border-color",
|
|
38
|
-
"modify": [{
|
|
39
|
-
|
|
40
|
-
"amount": 0.1
|
|
41
|
-
}]
|
|
25
|
+
"modify": [{ "type": "alpha", "amount": 0.1 }],
|
|
26
|
+
"$value": "{color.white}"
|
|
42
27
|
}
|
|
43
28
|
},
|
|
44
29
|
"brand": {
|
|
45
|
-
"text": { "
|
|
46
|
-
"hover": { "
|
|
30
|
+
"text": { "source": "$navbar-dark-brand-color", "$value": "{color.navbar.dark.active}" },
|
|
31
|
+
"hover": { "source": "$navbar-dark-brand-hover-color", "$value": "{color.navbar.dark.active}" }
|
|
47
32
|
}
|
|
48
33
|
},
|
|
49
34
|
"light": {
|
|
50
35
|
"text": {
|
|
51
|
-
"value": "{color.black}",
|
|
52
|
-
"type": "color",
|
|
53
36
|
"source": "$navbar-light-color",
|
|
54
|
-
"modify": [{
|
|
55
|
-
|
|
56
|
-
"amount": 0.5
|
|
57
|
-
}]
|
|
37
|
+
"modify": [{ "type": "alpha", "amount": 0.5 }],
|
|
38
|
+
"$value": "{color.black}"
|
|
58
39
|
},
|
|
59
|
-
"hover": {
|
|
60
|
-
"value": "{color.black}",
|
|
61
|
-
"type": "color",
|
|
40
|
+
"hover": {
|
|
62
41
|
"source": "$navbar-light-hover-color",
|
|
63
|
-
"modify": [{
|
|
64
|
-
|
|
65
|
-
"amount": 0.7
|
|
66
|
-
}]
|
|
42
|
+
"modify": [{ "type": "alpha", "amount": 0.7 }],
|
|
43
|
+
"$value": "{color.black}"
|
|
67
44
|
},
|
|
68
|
-
"active": {
|
|
69
|
-
"value": "{color.black}",
|
|
70
|
-
"type": "color",
|
|
45
|
+
"active": {
|
|
71
46
|
"source": "$navbar-light-active-color",
|
|
72
|
-
"modify": [{
|
|
73
|
-
|
|
74
|
-
"amount": 0.9
|
|
75
|
-
}]
|
|
47
|
+
"modify": [{ "type": "alpha", "amount": 0.9 }],
|
|
48
|
+
"$value": "{color.black}"
|
|
76
49
|
},
|
|
77
|
-
"disabled": {
|
|
78
|
-
"value": "{color.black}",
|
|
79
|
-
"type": "color",
|
|
50
|
+
"disabled": {
|
|
80
51
|
"source": "$navbar-light-disabled-color",
|
|
81
|
-
"modify": [{
|
|
82
|
-
|
|
83
|
-
"amount": 0.3
|
|
84
|
-
}]
|
|
52
|
+
"modify": [{ "type": "alpha", "amount": 0.3 }],
|
|
53
|
+
"$value": "{color.black}"
|
|
85
54
|
},
|
|
86
55
|
"toggler": {
|
|
87
56
|
"border": {
|
|
88
|
-
"value": "{color.black}",
|
|
89
|
-
"type": "color",
|
|
90
57
|
"source": "$navbar-light-toggler-border-color",
|
|
91
|
-
"modify": [{
|
|
92
|
-
|
|
93
|
-
"amount": 0.1
|
|
94
|
-
}]
|
|
58
|
+
"modify": [{ "type": "alpha", "amount": 0.1 }],
|
|
59
|
+
"$value": "{color.black}"
|
|
95
60
|
}
|
|
96
61
|
},
|
|
97
62
|
"brand": {
|
|
98
|
-
"text": { "
|
|
99
|
-
"hover": { "
|
|
63
|
+
"text": { "source": "$navbar-light-brand-color", "$value": "{color.navbar.light.active}" },
|
|
64
|
+
"hover": { "source": "$navbar-light-brand-hover-color", "$value": "{color.navbar.light.active}" }
|
|
100
65
|
}
|
|
101
66
|
}
|
|
102
67
|
}
|
|
103
68
|
},
|
|
104
69
|
"content": {
|
|
70
|
+
"$type": "file",
|
|
105
71
|
"navbar": {
|
|
106
72
|
"toggler": {
|
|
107
73
|
"dark": {
|
|
108
74
|
"icon-bg": {
|
|
109
|
-
"value": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='{color.navbar.dark.text}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")",
|
|
110
|
-
"type": "file",
|
|
111
75
|
"source": "$navbar-dark-toggler-icon-bg",
|
|
112
76
|
"outputReferences": false,
|
|
113
|
-
"modify": [{
|
|
114
|
-
|
|
115
|
-
"toReplace": "#",
|
|
116
|
-
"replaceWith": "%23"
|
|
117
|
-
}]
|
|
77
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
78
|
+
"$value": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='{color.navbar.dark.text}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")"
|
|
118
79
|
}
|
|
119
80
|
},
|
|
120
81
|
"light": {
|
|
121
82
|
"icon-bg": {
|
|
122
|
-
"value": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='{color.navbar.light.text}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")",
|
|
123
|
-
"type": "file",
|
|
124
83
|
"source": "$navbar-light-toggler-icon-bg",
|
|
125
84
|
"outputReferences": false,
|
|
126
|
-
"modify": [{
|
|
127
|
-
|
|
128
|
-
"toReplace": "#",
|
|
129
|
-
"replaceWith": "%23"
|
|
130
|
-
}]
|
|
85
|
+
"modify": [{ "type": "str-replace", "toReplace": "#", "replaceWith": "%23" }],
|
|
86
|
+
"$value": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='{color.navbar.light.text}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\")"
|
|
131
87
|
}
|
|
132
88
|
}
|
|
133
89
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"overflow-scroll": {
|
|
4
5
|
"opacity-mask-transparent": {
|
|
5
|
-
"
|
|
6
|
+
"source": "$overflow-scroll-opacity-mask-transparent",
|
|
7
|
+
"$value": "rgba(0, 0, 0, .4)"
|
|
6
8
|
}
|
|
7
9
|
}
|
|
8
10
|
}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"color": {
|
|
3
|
+
"$type": "color",
|
|
3
4
|
"page-banner": {
|
|
4
5
|
"bg": {
|
|
5
|
-
"dark": { "value": "{color.dark.500}"
|
|
6
|
-
"light": { "value": "{color.light.400}"
|
|
6
|
+
"dark": { "$value": "{color.dark.500}" },
|
|
7
|
+
"light": { "$value": "{color.light.400}" },
|
|
7
8
|
"accent": {
|
|
8
|
-
"a": { "value": "{color.accent.a}"
|
|
9
|
-
"b": { "value": "{color.accent.b}"
|
|
9
|
+
"a": { "$value": "{color.accent.a}" },
|
|
10
|
+
"b": { "$value": "{color.accent.b}" }
|
|
10
11
|
},
|
|
11
|
-
"warning": { "value": "{color.warning.100}"
|
|
12
|
+
"warning": { "$value": "{color.warning.100}" }
|
|
12
13
|
},
|
|
13
14
|
"text": {
|
|
14
|
-
"dark": { "value": "{color.white}"
|
|
15
|
-
"light": { "value": "{color.black}"
|
|
15
|
+
"dark": { "$value": "{color.white}" },
|
|
16
|
+
"light": { "$value": "{color.black}" },
|
|
16
17
|
"accent": {
|
|
17
|
-
"a": { "value": "{color.black}"
|
|
18
|
-
"b": { "value": "{color.black}"
|
|
18
|
+
"a": { "$value": "{color.black}" },
|
|
19
|
+
"b": { "$value": "{color.black}" }
|
|
19
20
|
},
|
|
20
|
-
"warning": { "value": "{color.black}"
|
|
21
|
+
"warning": { "$value": "{color.black}" }
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
}
|