@redocly/theme 0.18.1 → 0.18.3-patch.0
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/lib/I18n/LanguagePicker.d.ts +7 -2
- package/lib/I18n/LanguagePicker.js +11 -3
- package/lib/I18n/index.d.ts +1 -0
- package/lib/I18n/index.js +15 -0
- package/lib/I18n/styledVariables.d.ts +1 -0
- package/lib/I18n/styledVariables.js +39 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +2 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Breadcrumbs/index.js +1 -0
- package/lib/components/Breadcrumbs/styledVariables.d.ts +1 -0
- package/lib/components/Breadcrumbs/styledVariables.js +19 -0
- package/lib/components/Button/Button.d.ts +6 -3
- package/lib/components/Button/Button.js +40 -42
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/Button/index.js +1 -0
- package/lib/components/Button/styledVariables.d.ts +1 -0
- package/lib/components/Button/styledVariables.js +94 -0
- package/lib/components/Catalog/Catalog.d.ts +1 -0
- package/lib/components/Catalog/Catalog.js +99 -96
- package/lib/components/Catalog/CatalogCard.js +61 -56
- package/lib/components/Catalog/index.d.ts +4 -3
- package/lib/components/Catalog/index.js +4 -3
- package/lib/components/Catalog/styledVariables.d.ts +1 -0
- package/lib/components/Catalog/styledVariables.js +94 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +35 -8
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +3 -4
- package/lib/components/CodeBlock/CodeBlockControlButton.js +5 -19
- package/lib/components/CodeBlock/CodeBlockControls.js +8 -5
- package/lib/components/CodeBlock/index.d.ts +1 -0
- package/lib/components/CodeBlock/index.js +1 -0
- package/lib/components/CodeBlock/styledVariables.d.ts +1 -0
- package/lib/components/CodeBlock/styledVariables.js +90 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +0 -1
- package/lib/components/Dropdown/Dropdown.d.ts +7 -2
- package/lib/components/Dropdown/Dropdown.js +6 -4
- package/lib/components/Dropdown/index.d.ts +1 -0
- package/lib/components/Dropdown/index.js +1 -0
- package/lib/components/Dropdown/styledVariables.d.ts +1 -0
- package/lib/components/Dropdown/styledVariables.js +30 -0
- package/lib/components/Feedback/Reasons.js +1 -1
- package/lib/components/Feedback/Thumbs.js +4 -4
- package/lib/components/Filter/Filter.js +101 -78
- package/lib/components/Filter/FilterContent.d.ts +11 -0
- package/lib/components/Filter/FilterContent.js +50 -0
- package/lib/components/Filter/FilterPopover.d.ts +11 -0
- package/lib/components/Filter/FilterPopover.js +99 -0
- package/lib/components/Filter/FilterTag.d.ts +7 -0
- package/lib/components/Filter/FilterTag.js +33 -0
- package/lib/components/Filter/FilterTags.d.ts +7 -0
- package/lib/components/Filter/FilterTags.js +29 -0
- package/lib/components/Filter/index.d.ts +2 -0
- package/lib/components/Filter/index.js +2 -0
- package/lib/components/Filter/styledVariables.d.ts +1 -0
- package/lib/components/Filter/styledVariables.js +112 -0
- package/lib/components/Footer/CustomFooterNavItem.js +1 -1
- package/lib/components/Footer/Footer.d.ts +4 -3
- package/lib/components/Footer/Footer.js +27 -10
- package/lib/components/Footer/FooterColumn.d.ts +3 -3
- package/lib/components/Footer/FooterColumn.js +53 -63
- package/lib/components/Footer/FooterColumns.js +6 -4
- package/lib/components/Footer/FooterCopyright.js +11 -6
- package/lib/components/Footer/index.d.ts +1 -0
- package/lib/components/Footer/index.js +1 -0
- package/lib/components/Footer/styledVariables.d.ts +1 -0
- package/lib/components/Footer/styledVariables.js +61 -0
- package/lib/components/Image/Image.d.ts +9 -0
- package/lib/components/Image/Image.js +31 -0
- package/lib/components/Image/index.d.ts +1 -0
- package/lib/components/{Tags → Image}/index.js +1 -1
- package/lib/components/JsonViewer/JsonViewer.js +2 -2
- package/lib/components/Markdown/MarkdownWrapper.js +2 -4
- package/lib/components/Markdown/Mermaid.js +1 -1
- package/lib/components/Markdown/index.d.ts +1 -0
- package/lib/components/Markdown/index.js +1 -0
- package/lib/components/Markdown/styledVariables.d.ts +2 -0
- package/lib/components/Markdown/styledVariables.js +221 -0
- package/lib/components/Menu/Menu.js +5 -7
- package/lib/components/Menu/MenuGroup.js +12 -7
- package/lib/components/Menu/MenuItemLabel.js +7 -13
- package/lib/components/Menu/MobileMenu.js +20 -25
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Menu/index.d.ts +1 -0
- package/lib/components/Menu/index.js +1 -0
- package/lib/components/Menu/styledVariables.d.ts +2 -0
- package/lib/components/Menu/styledVariables.js +90 -0
- package/lib/components/Navbar/Navbar.js +10 -11
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +5 -3
- package/lib/components/Navbar/NavbarMenu.js +2 -2
- package/lib/components/Navbar/index.d.ts +1 -0
- package/lib/components/Navbar/index.js +1 -0
- package/lib/components/Navbar/styledVariables.d.ts +1 -0
- package/lib/components/Navbar/styledVariables.js +40 -0
- package/lib/components/NavbarLogo/NavbarLogo.d.ts +4 -1
- package/lib/components/NavbarLogo/NavbarLogo.js +13 -5
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +2 -2
- package/lib/components/OpenApiDocs/Dropdown.js +3 -3
- package/lib/components/Panel/PanelHeader.js +1 -0
- package/lib/components/Panel/PanelHeaderTitle.js +0 -4
- package/lib/components/Panel/index.d.ts +1 -0
- package/lib/components/Panel/index.js +1 -0
- package/lib/components/Panel/styledVariables.d.ts +2 -0
- package/lib/components/Panel/styledVariables.js +489 -0
- package/lib/components/Product/index.d.ts +1 -0
- package/lib/components/Product/index.js +1 -0
- package/lib/components/Product/styledVariables.d.ts +2 -0
- package/lib/components/Product/styledVariables.js +41 -0
- package/lib/components/Profile/LoginLink.js +1 -2
- package/lib/components/{Navbar → Profile}/MobileUserProfile.js +3 -22
- package/lib/components/Profile/Profile.js +3 -22
- package/lib/components/Profile/UserProfile.js +21 -9
- package/lib/components/Profile/UserProfileData.d.ts +9 -0
- package/lib/components/Profile/UserProfileData.js +35 -0
- package/lib/components/Profile/index.d.ts +1 -0
- package/lib/components/Profile/index.js +15 -0
- package/lib/components/Profile/styledVariables.d.ts +2 -0
- package/lib/components/Profile/styledVariables.js +55 -0
- package/lib/components/Search/CancelSearch.js +2 -14
- package/lib/components/Search/ProductTag.js +7 -7
- package/lib/components/Search/RecentSearches.js +5 -5
- package/lib/components/Search/Search.js +10 -4
- package/lib/components/Search/SearchIcon.js +2 -2
- package/lib/components/Search/SearchItem.js +14 -17
- package/lib/components/Search/SearchTrigger.js +4 -5
- package/lib/components/Search/ShortcutKey.js +1 -5
- package/lib/components/Search/SuggestedPages.js +3 -3
- package/lib/components/Search/index.d.ts +1 -0
- package/lib/components/Search/index.js +1 -0
- package/lib/components/Search/styledVariables.d.ts +1 -0
- package/lib/components/Search/styledVariables.js +98 -0
- package/lib/components/Select/Select.d.ts +10 -3
- package/lib/components/Select/Select.js +9 -6
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/index.js +1 -0
- package/lib/components/Select/styledVariables.d.ts +1 -0
- package/lib/components/Select/styledVariables.js +33 -0
- package/lib/components/Separator/SeparatorItem.js +7 -5
- package/lib/components/Sidebar/ApiCallItem.d.ts +2 -6
- package/lib/components/Sidebar/ApiCallItem.js +13 -11
- package/lib/components/Sidebar/FooterWrapper.js +3 -4
- package/lib/components/Sidebar/HeaderWrapper.js +2 -2
- package/lib/components/Sidebar/VersionPicker.d.ts +1 -1
- package/lib/components/Sidebar/index.d.ts +1 -0
- package/lib/components/Sidebar/index.js +1 -0
- package/lib/components/Sidebar/styledVariables.d.ts +2 -0
- package/lib/components/Sidebar/styledVariables.js +210 -0
- package/lib/components/SidebarActions/CollapseSidebarButton.js +37 -1
- package/lib/components/SidebarActions/styled.js +16 -14
- package/lib/components/TableOfContent/TableOfContent.js +2 -3
- package/lib/components/TableOfContent/index.d.ts +1 -0
- package/lib/components/TableOfContent/index.js +1 -0
- package/lib/components/TableOfContent/styledVariables.d.ts +1 -0
- package/lib/components/TableOfContent/styledVariables.js +46 -0
- package/lib/components/Tabs/Tab.js +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -0
- package/lib/components/Tabs/Tabs.js +4 -4
- package/lib/components/Tag/Tag.d.ts +16 -0
- package/lib/components/Tag/Tag.js +39 -0
- package/lib/components/Tag/index.d.ts +2 -0
- package/lib/components/Tag/index.js +19 -0
- package/lib/components/Tag/styledVariables.d.ts +1 -0
- package/lib/components/Tag/styledVariables.js +130 -0
- package/lib/components/Tiles/TileText.js +1 -1
- package/lib/components/Tooltip/index.d.ts +1 -0
- package/lib/components/Tooltip/index.js +1 -0
- package/lib/components/Tooltip/styledVariables.d.ts +1 -0
- package/lib/components/Tooltip/styledVariables.js +21 -0
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/index.d.ts +1 -2
- package/lib/components/index.js +1 -2
- package/lib/config.d.ts +8 -2
- package/lib/config.js +2 -1
- package/lib/globalStyle.js +597 -1967
- package/lib/icons/ArrowIcon/ArrowIcon.js +1 -1
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +6 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +28 -0
- package/lib/icons/CheckboxIcon/index.d.ts +1 -0
- package/lib/icons/CheckboxIcon/index.js +6 -0
- package/lib/icons/CollapseIcon/CollapseIcon.d.ts +1 -1
- package/lib/icons/CollapseIcon/CollapseIcon.js +5 -5
- package/lib/icons/ColorModeIcon/ColorModeIcon.js +1 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +1 -2
- package/lib/icons/CopyIcon/CopyIcon.js +4 -4
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.js +5 -5
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +4 -0
- package/lib/icons/ErrorIcon/ErrorIcon.js +14 -0
- package/lib/icons/ErrorIcon/index.d.ts +1 -0
- package/lib/{components/OperationBadge → icons/ErrorIcon}/index.js +1 -1
- package/lib/icons/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/lib/icons/ExpandIcon/ExpandIcon.js +5 -5
- package/lib/icons/FileIcon/FileIcon.d.ts +1 -2
- package/lib/icons/FileIcon/FileIcon.js +2 -2
- package/lib/icons/LanguageIcon/LanguageIcon.d.ts +4 -0
- package/lib/icons/LanguageIcon/LanguageIcon.js +14 -0
- package/lib/icons/LanguageIcon/index.d.ts +1 -0
- package/lib/icons/LanguageIcon/index.js +18 -0
- package/lib/icons/PlusIcon/PlusIcon.d.ts +5 -0
- package/lib/icons/PlusIcon/PlusIcon.js +16 -0
- package/lib/icons/PlusIcon/index.d.ts +1 -0
- package/lib/icons/PlusIcon/index.js +18 -0
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +4 -0
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +15 -0
- package/lib/icons/PointingArrowIcon/index.d.ts +1 -0
- package/lib/icons/PointingArrowIcon/index.js +18 -0
- package/lib/icons/ReportIcon/ReportIcon.d.ts +1 -2
- package/lib/icons/ReportIcon/ReportIcon.js +3 -3
- package/lib/icons/SelectIcon/SelectIcon.d.ts +1 -2
- package/lib/icons/SelectIcon/SelectIcon.js +5 -5
- package/lib/icons/index.d.ts +4 -0
- package/lib/icons/index.js +4 -0
- package/lib/layouts/Forbidden.js +4 -0
- package/lib/layouts/NotFound.js +4 -0
- package/lib/mocks/telemetry.d.ts +2 -0
- package/lib/mocks/telemetry.js +7 -0
- package/lib/types/portal/src/shared/types/nav.d.ts +5 -0
- package/lib/ui/Burger.js +1 -1
- package/lib/ui/Dropdown.js +7 -7
- package/lib/ui/Jumbotron.js +1 -1
- package/lib/ui/darkColors.js +216 -84
- package/package.json +3 -2
- package/src/I18n/LanguagePicker.tsx +29 -4
- package/src/I18n/index.ts +1 -0
- package/src/I18n/styledVariables.ts +36 -0
- package/src/components/Breadcrumbs/Breadcrumb.tsx +2 -1
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +1 -1
- package/src/components/Breadcrumbs/index.ts +1 -0
- package/src/components/Breadcrumbs/styledVariables.ts +16 -0
- package/src/components/Button/Button.tsx +52 -48
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/styledVariables.ts +91 -0
- package/src/components/Catalog/Catalog.tsx +127 -115
- package/src/components/Catalog/CatalogCard.tsx +74 -59
- package/src/components/Catalog/index.ts +4 -0
- package/src/components/Catalog/styledVariables.ts +91 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +14 -7
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +6 -19
- package/src/components/CodeBlock/CodeBlockControls.tsx +8 -5
- package/src/components/CodeBlock/index.ts +1 -0
- package/src/components/CodeBlock/styledVariables.ts +87 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +0 -1
- package/src/components/Dropdown/Dropdown.tsx +10 -4
- package/src/components/Dropdown/index.ts +1 -0
- package/src/components/Dropdown/styledVariables.ts +27 -0
- package/src/components/Feedback/Reasons.tsx +1 -1
- package/src/components/Feedback/Thumbs.tsx +4 -4
- package/src/components/Filter/Filter.tsx +127 -94
- package/src/components/Filter/FilterContent.tsx +75 -0
- package/src/components/Filter/FilterPopover.tsx +132 -0
- package/src/components/Filter/FilterTag.tsx +37 -0
- package/src/components/Filter/FilterTags.tsx +39 -0
- package/src/components/Filter/index.ts +2 -0
- package/src/components/Filter/styledVariables.ts +109 -0
- package/src/components/Footer/CustomFooterNavItem.tsx +1 -1
- package/src/components/Footer/Footer.tsx +32 -10
- package/src/components/Footer/FooterColumn.tsx +79 -62
- package/src/components/Footer/FooterColumns.tsx +6 -4
- package/src/components/Footer/FooterCopyright.tsx +13 -7
- package/src/components/Footer/index.ts +1 -0
- package/src/components/Footer/styledVariables.ts +58 -0
- package/src/components/Image/Image.tsx +47 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/JsonViewer/JsonViewer.tsx +2 -2
- package/src/components/Markdown/MarkdownWrapper.tsx +2 -4
- package/src/components/Markdown/Mermaid.tsx +1 -1
- package/src/components/Markdown/index.ts +1 -0
- package/src/components/Markdown/styledVariables.ts +219 -0
- package/src/components/Menu/Menu.tsx +5 -7
- package/src/components/Menu/MenuGroup.tsx +15 -7
- package/src/components/Menu/MenuItemLabel.tsx +7 -13
- package/src/components/Menu/MobileMenu.tsx +20 -25
- package/src/components/Menu/MobileMenuGroup.tsx +1 -1
- package/src/components/Menu/index.ts +1 -0
- package/src/components/Menu/styledVariables.ts +88 -0
- package/src/components/Navbar/Navbar.tsx +10 -11
- package/src/components/Navbar/NavbarItem.tsx +6 -3
- package/src/components/Navbar/NavbarMenu.tsx +2 -2
- package/src/components/Navbar/index.ts +1 -0
- package/src/components/Navbar/styledVariables.ts +37 -0
- package/src/components/NavbarLogo/NavbarLogo.tsx +14 -10
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +1 -2
- package/src/components/OpenApiDocs/Dropdown.tsx +3 -3
- package/src/components/Panel/PanelHeader.ts +1 -0
- package/src/components/Panel/PanelHeaderTitle.ts +0 -4
- package/src/components/Panel/index.ts +1 -0
- package/src/components/Panel/styledVariables.ts +487 -0
- package/src/components/Product/index.ts +1 -0
- package/src/components/Product/styledVariables.ts +39 -0
- package/src/components/Profile/LoginLink.tsx +1 -2
- package/src/components/{Navbar → Profile}/MobileUserProfile.tsx +3 -27
- package/src/components/Profile/Profile.tsx +1 -24
- package/src/components/Profile/UserProfile.tsx +20 -8
- package/src/components/Profile/UserProfileData.tsx +40 -0
- package/src/components/Profile/index.ts +1 -0
- package/src/components/Profile/styledVariables.ts +53 -0
- package/src/components/Search/CancelSearch.tsx +2 -15
- package/src/components/Search/ProductTag.tsx +7 -7
- package/src/components/Search/RecentSearches.tsx +5 -5
- package/src/components/Search/Search.tsx +14 -4
- package/src/components/Search/SearchIcon.tsx +10 -5
- package/src/components/Search/SearchItem.tsx +26 -31
- package/src/components/Search/SearchTrigger.tsx +4 -5
- package/src/components/Search/ShortcutKey.tsx +1 -5
- package/src/components/Search/SuggestedPages.tsx +3 -3
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/styledVariables.ts +95 -0
- package/src/components/Select/Select.tsx +20 -7
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/styledVariables.ts +30 -0
- package/src/components/Separator/SeparatorItem.tsx +7 -5
- package/src/components/Sidebar/ApiCallItem.tsx +13 -11
- package/src/components/Sidebar/FooterWrapper.tsx +3 -4
- package/src/components/Sidebar/HeaderWrapper.tsx +2 -2
- package/src/components/Sidebar/index.ts +1 -0
- package/src/components/Sidebar/styledVariables.ts +208 -0
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +18 -2
- package/src/components/SidebarActions/styled.tsx +16 -23
- package/src/components/TableOfContent/TableOfContent.tsx +2 -3
- package/src/components/TableOfContent/index.ts +1 -0
- package/src/components/TableOfContent/styledVariables.ts +43 -0
- package/src/components/Tabs/Tab.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +12 -5
- package/src/components/Tag/Tag.tsx +62 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/Tag/styledVariables.ts +127 -0
- package/src/components/Tiles/TileText.tsx +1 -1
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Tooltip/styledVariables.ts +18 -0
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/index.ts +1 -2
- package/src/config.ts +2 -1
- package/src/globalStyle.ts +591 -1979
- package/src/icons/ArrowIcon/ArrowIcon.tsx +1 -1
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +64 -0
- package/src/icons/CheckboxIcon/index.ts +1 -0
- package/src/icons/CollapseIcon/CollapseIcon.tsx +5 -5
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +1 -1
- package/src/icons/CopyIcon/CopyIcon.tsx +4 -5
- package/src/icons/DeselectIcon/DeselectIcon.tsx +5 -5
- package/src/icons/ErrorIcon/ErrorIcon.tsx +15 -0
- package/src/icons/ErrorIcon/index.ts +1 -0
- package/src/icons/ExpandIcon/ExpandIcon.tsx +5 -6
- package/src/icons/FileIcon/FileIcon.tsx +2 -3
- package/src/icons/LanguageIcon/LanguageIcon.tsx +15 -0
- package/src/icons/LanguageIcon/index.ts +1 -0
- package/src/icons/PlusIcon/PlusIcon.tsx +19 -0
- package/src/icons/PlusIcon/index.ts +1 -0
- package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +16 -0
- package/src/icons/PointingArrowIcon/index.ts +1 -0
- package/src/icons/ReportIcon/ReportIcon.tsx +3 -4
- package/src/icons/SelectIcon/SelectIcon.tsx +5 -6
- package/src/icons/index.ts +4 -0
- package/src/layouts/Forbidden.tsx +4 -0
- package/src/layouts/NotFound.tsx +4 -0
- package/src/mocks/telemetry.ts +5 -0
- package/src/types/portal/src/shared/types/nav.ts +5 -0
- package/src/ui/Burger.tsx +1 -1
- package/src/ui/Dropdown.tsx +7 -7
- package/src/ui/Jumbotron.tsx +1 -1
- package/src/ui/darkColors.tsx +216 -84
- package/lib/components/OperationBadge/OperationBadge.d.ts +0 -6
- package/lib/components/OperationBadge/OperationBadge.js +0 -68
- package/lib/components/OperationBadge/index.d.ts +0 -1
- package/lib/components/Tags/Tags.d.ts +0 -5
- package/lib/components/Tags/Tags.js +0 -32
- package/lib/components/Tags/index.d.ts +0 -1
- package/src/components/Catalog/index.tsx +0 -3
- package/src/components/OperationBadge/OperationBadge.ts +0 -62
- package/src/components/OperationBadge/index.ts +0 -1
- package/src/components/Tags/Tags.tsx +0 -36
- package/src/components/Tags/index.ts +0 -1
- /package/lib/components/{Navbar → Profile}/MobileUserProfile.d.ts +0 -0
package/lib/globalStyle.js
CHANGED
|
@@ -2,1294 +2,451 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GlobalStyle = exports.styles = void 0;
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
|
-
const media_css_1 = require("./mocks/media-css");
|
|
6
5
|
const darkColors_1 = require("./ui/darkColors");
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
--color-secondary-600: #b8c0ca;
|
|
33
|
-
--color-secondary-700: #a9b3c0;
|
|
34
|
-
--color-secondary-800: #9ba6b5;
|
|
35
|
-
--color-secondary-900: #52606d;
|
|
36
|
-
|
|
37
|
-
--color-emphasis-50: #ffffff;
|
|
38
|
-
--color-emphasis-100: #e9eaec;
|
|
39
|
-
--color-emphasis-200: #cdd0d5;
|
|
40
|
-
--color-emphasis-300: #b2b6bd;
|
|
41
|
-
--color-emphasis-400: #969ca6;
|
|
42
|
-
--color-emphasis-500: #7a828f;
|
|
43
|
-
--color-emphasis-600: #626974;
|
|
44
|
-
--color-emphasis-700: #4b5058;
|
|
45
|
-
--color-emphasis-800: #1f2933;
|
|
46
|
-
--color-emphasis-900: #1c1e21;
|
|
47
|
-
|
|
48
|
-
--color-accent-50: #e6eef8;
|
|
49
|
-
--color-accent-100: #b3dcf3;
|
|
50
|
-
--color-accent-200: #a6dfff;
|
|
51
|
-
--color-accent-300: #8cd5ff;
|
|
52
|
-
--color-accent-400: #73ccff;
|
|
53
|
-
--color-accent-500: #59c3ff;
|
|
54
|
-
--color-accent-600: #40baff;
|
|
55
|
-
--color-accent-700: #26b1ff;
|
|
56
|
-
--color-accent-800: #0da7ff;
|
|
57
|
-
--color-accent-900: #009bf2;
|
|
58
|
-
|
|
59
|
-
--color-success-50: #ddffe1;
|
|
60
|
-
--color-success-100: #98eda0;
|
|
61
|
-
--color-success-200: #82e98c;
|
|
62
|
-
--color-success-300: #6ce678;
|
|
63
|
-
--color-success-400: #57e264;
|
|
64
|
-
--color-success-500: #41de50;
|
|
65
|
-
--color-success-600: #2bda3c;
|
|
66
|
-
--color-success-700: #23c933;
|
|
67
|
-
--color-success-800: #1fb32d;
|
|
68
|
-
--color-success-900: #1b9e28;
|
|
69
|
-
|
|
70
|
-
--color-warning-50: #ffeda5;
|
|
71
|
-
--color-warning-100: #ffc966;
|
|
72
|
-
--color-warning-200: #ffc04d;
|
|
73
|
-
--color-warning-300: #ffb733;
|
|
74
|
-
--color-warning-400: #ffae1a;
|
|
75
|
-
--color-warning-500: #ffa500;
|
|
76
|
-
--color-warning-600: #e69400;
|
|
77
|
-
--color-warning-700: #cc8400;
|
|
78
|
-
--color-warning-800: #b37300;
|
|
79
|
-
--color-warning-900: #996300;
|
|
80
|
-
|
|
81
|
-
--color-error-50: #ffeaea;
|
|
82
|
-
--color-error-100: #ffc7c7;
|
|
83
|
-
--color-error-200: #ffaeae;
|
|
84
|
-
--color-error-300: #ff9494;
|
|
85
|
-
--color-error-400: #ff7b7b;
|
|
86
|
-
--color-error-500: #ff6161;
|
|
87
|
-
--color-error-600: #ff4747;
|
|
88
|
-
--color-error-700: #ff2e2e;
|
|
89
|
-
--color-error-800: #ff1414;
|
|
90
|
-
--color-error-900: #ff0000;
|
|
91
|
-
|
|
92
|
-
--colors-translucent: rgb(226 230 236 / 37%);
|
|
93
|
-
|
|
94
|
-
// @tokens End
|
|
95
|
-
`;
|
|
96
|
-
const httpColors = (0, styled_components_1.css) `
|
|
97
|
-
/**
|
|
98
|
-
* @tokens HTTP Colors
|
|
99
|
-
* @presenter Color
|
|
100
|
-
*/
|
|
101
|
-
--color-http-get: #3a9601;
|
|
102
|
-
--color-http-post: #0065fb;
|
|
103
|
-
--color-http-put: #93527b;
|
|
104
|
-
--color-http-options: #947014;
|
|
105
|
-
--color-http-patch: #bf581d;
|
|
106
|
-
--color-http-delete: #c83637;
|
|
107
|
-
--color-http-basic: #707070;
|
|
108
|
-
--color-http-link: #07818f;
|
|
109
|
-
--color-http-head: #a23dad;
|
|
110
|
-
--color-http-hook: #4d5d86;
|
|
111
|
-
|
|
112
|
-
// @tokens End
|
|
113
|
-
`;
|
|
114
|
-
const typography = (0, styled_components_1.css) `
|
|
115
|
-
/* === Typography === */
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @tokens Typography Colors
|
|
6
|
+
const media_css_1 = require("./mocks/media-css");
|
|
7
|
+
const Footer_1 = require("./components/Footer");
|
|
8
|
+
const Sidebar_1 = require("./components/Sidebar");
|
|
9
|
+
const Breadcrumbs_1 = require("./components/Breadcrumbs");
|
|
10
|
+
const Button_1 = require("./components/Button");
|
|
11
|
+
const Tag_1 = require("./components/Tag");
|
|
12
|
+
const TableOfContent_1 = require("./components/TableOfContent");
|
|
13
|
+
const Navbar_1 = require("./components/Navbar");
|
|
14
|
+
const Search_1 = require("./components/Search");
|
|
15
|
+
const Catalog_1 = require("./components/Catalog");
|
|
16
|
+
const Filter_1 = require("./components/Filter");
|
|
17
|
+
const Menu_1 = require("./components/Menu");
|
|
18
|
+
const Panel_1 = require("./components/Panel");
|
|
19
|
+
const CodeBlock_1 = require("./components/CodeBlock");
|
|
20
|
+
const Product_1 = require("./components/Product");
|
|
21
|
+
const I18n_1 = require("./I18n");
|
|
22
|
+
const Select_1 = require("./components/Select");
|
|
23
|
+
const Profile_1 = require("./components/Profile");
|
|
24
|
+
const Dropdown_1 = require("./components/Dropdown");
|
|
25
|
+
const Markdown_1 = require("./components/Markdown");
|
|
26
|
+
const Tooltip_1 = require("./components/Tooltip");
|
|
27
|
+
const themeColors = (0, styled_components_1.css) `
|
|
28
|
+
/* === Palette === */
|
|
29
|
+
/**
|
|
30
|
+
* @tokens Base Colors
|
|
119
31
|
* @presenter Color
|
|
120
32
|
*/
|
|
121
|
-
--text-color: var(--color-emphasis-800);
|
|
122
|
-
--text-color-inverse: var(--color-secondary-100);
|
|
123
|
-
--text-color-secondary: var(--color-emphasis-500);
|
|
124
33
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
--
|
|
130
|
-
--
|
|
34
|
+
--color-red-1: #fff1f0;
|
|
35
|
+
--color-red-2: #ffccc7;
|
|
36
|
+
--color-red-3: #ffa39e;
|
|
37
|
+
--color-red-4: #ff7875;
|
|
38
|
+
--color-red-5: #ff4d4f;
|
|
39
|
+
--color-red-6: #f5222d;
|
|
40
|
+
--color-red-7: #cf1322;
|
|
41
|
+
--color-red-8: #a8071a;
|
|
42
|
+
--color-red-9: #820014;
|
|
43
|
+
--color-red-10: #5c0011;
|
|
44
|
+
|
|
45
|
+
--color-green-1: #f6ffed;
|
|
46
|
+
--color-green-2: #d9f7be;
|
|
47
|
+
--color-green-3: #b7eb8f;
|
|
48
|
+
--color-green-4: #95de64;
|
|
49
|
+
--color-green-5: #73d13d;
|
|
50
|
+
--color-green-6: #49aa19;
|
|
51
|
+
--color-green-7: #389e0d;
|
|
52
|
+
--color-green-8: #237804;
|
|
53
|
+
--color-green-9: #135200;
|
|
54
|
+
--color-green-10: #092b00;
|
|
55
|
+
|
|
56
|
+
--color-gold-1: #fffbe6;
|
|
57
|
+
--color-gold-2: #fff1b8;
|
|
58
|
+
--color-gold-3: #ffe58f;
|
|
59
|
+
--color-gold-4: #ffd666;
|
|
60
|
+
--color-gold-5: #ffc53d;
|
|
61
|
+
--color-gold-6: #faad14;
|
|
62
|
+
--color-gold-7: #d48806;
|
|
63
|
+
--color-gold-8: #ad6800;
|
|
64
|
+
--color-gold-9: #874d00;
|
|
65
|
+
--color-gold-10: #613400;
|
|
66
|
+
|
|
67
|
+
--color-blue-1: #e6f4ff;
|
|
68
|
+
--color-blue-2: #bae0ff;
|
|
69
|
+
--color-blue-3: #91caff;
|
|
70
|
+
--color-blue-4: #69b1ff;
|
|
71
|
+
--color-blue-5: #4096ff;
|
|
72
|
+
--color-blue-6: #1677ff;
|
|
73
|
+
--color-blue-7: #0958d9;
|
|
74
|
+
--color-blue-8: #003eb3;
|
|
75
|
+
--color-blue-9: #002c8c;
|
|
76
|
+
--color-blue-10: #001d66;
|
|
77
|
+
|
|
78
|
+
--color-purple-1: #f9f0ff;
|
|
79
|
+
--color-purple-2: #efdbff;
|
|
80
|
+
--color-purple-3: #d3adf7;
|
|
81
|
+
--color-purple-4: #b37feb;
|
|
82
|
+
--color-purple-5: #9254de;
|
|
83
|
+
--color-purple-6: #722ed1;
|
|
84
|
+
--color-purple-7: #531dab;
|
|
85
|
+
--color-purple-8: #391085;
|
|
86
|
+
--color-purple-9: #22075e;
|
|
87
|
+
--color-purple-10: #120338;
|
|
88
|
+
|
|
89
|
+
--color-magneta-1: #fff0f6;
|
|
90
|
+
--color-magneta-2: #ffd6e7;
|
|
91
|
+
--color-magneta-3: #ffadd2;
|
|
92
|
+
--color-magneta-4: #ff85c0;
|
|
93
|
+
--color-magneta-5: #f759ab;
|
|
94
|
+
--color-magneta-6: #eb2f96;
|
|
95
|
+
--color-magneta-7: #c41d7f;
|
|
96
|
+
--color-magneta-8: #9e1068;
|
|
97
|
+
--color-magneta-9: #780650;
|
|
98
|
+
--color-magneta-10: #520339;
|
|
99
|
+
|
|
100
|
+
--color-cyan-1: #e6fffb;
|
|
101
|
+
--color-cyan-2: #b5f5ec;
|
|
102
|
+
--color-cyan-3: #87e8de;
|
|
103
|
+
--color-cyan-4: #5cdbd3;
|
|
104
|
+
--color-cyan-5: #36cfc9;
|
|
105
|
+
--color-cyan-6: #13c2c2;
|
|
106
|
+
--color-cyan-7: #08979c;
|
|
107
|
+
--color-cyan-8: #006d75;
|
|
108
|
+
--color-cyan-9: #00474f;
|
|
109
|
+
--color-cyan-10: #002329;
|
|
110
|
+
|
|
111
|
+
--color-yellow-1: #feffe6;
|
|
112
|
+
--color-yellow-2: #ffffb8;
|
|
113
|
+
--color-yellow-3: #fffb8f;
|
|
114
|
+
--color-yellow-4: #fff566;
|
|
115
|
+
--color-yellow-5: #ffec3d;
|
|
116
|
+
--color-yellow-6: #d8bd14;
|
|
117
|
+
--color-yellow-7: #d4b106;
|
|
118
|
+
--color-yellow-8: #ad8b00;
|
|
119
|
+
--color-yellow-9: #876800;
|
|
120
|
+
--color-yellow-10: #614700;
|
|
121
|
+
|
|
122
|
+
--color-lime-1: #fcffe6;
|
|
123
|
+
--color-lime-2: #f4ffb8;
|
|
124
|
+
--color-lime-3: #eaff8f;
|
|
125
|
+
--color-lime-4: #d3f261;
|
|
126
|
+
--color-lime-5: #bae637;
|
|
127
|
+
--color-lime-6: #a0d911;
|
|
128
|
+
--color-lime-7: #7cb305;
|
|
129
|
+
--color-lime-8: #5b8c00;
|
|
130
|
+
--color-lime-9: #3f6600;
|
|
131
|
+
--color-lime-10: #254000;
|
|
132
|
+
|
|
133
|
+
--color-geekblue-1: #f0f5ff;
|
|
134
|
+
--color-geekblue-2: #d6e4ff;
|
|
135
|
+
--color-geekblue-3: #adc6ff;
|
|
136
|
+
--color-geekblue-4: #85a5ff;
|
|
137
|
+
--color-geekblue-5: #597ef7;
|
|
138
|
+
--color-geekblue-6: #2f54eb;
|
|
139
|
+
--color-geekblue-7: #1d39c4;
|
|
140
|
+
--color-geekblue-8: #10239e;
|
|
141
|
+
--color-geekblue-9: #061178;
|
|
142
|
+
--color-geekblue-10: #030852;
|
|
143
|
+
|
|
144
|
+
--color-primary-bg: #ebf0ff;
|
|
145
|
+
--color-primary-bg-hover: #d6dfff;
|
|
146
|
+
--color-primary-border: #adbcff;
|
|
147
|
+
--color-primary-border-hover: #8a99ff;
|
|
148
|
+
--color-primary-hover: #6678ff;
|
|
149
|
+
--color-primary-base: #434dfa;
|
|
150
|
+
--color-primary-active: #2f31d4;
|
|
151
|
+
--color-primary-text-hover: #201dad;
|
|
152
|
+
--color-primary-text: #161087;
|
|
153
|
+
--color-primary-text-active: #0d086e;
|
|
154
|
+
|
|
155
|
+
--color-success-bg: var(--color-green-1);
|
|
156
|
+
--color-success-bg-hover: var(--color-green-2);
|
|
157
|
+
--color-success-border: var(--color-green-3);
|
|
158
|
+
--color-success-border-hover: var(--color-green-4);
|
|
159
|
+
--color-success-hover: var(--color-green-5);
|
|
160
|
+
--color-success-base: var(--color-green-6);
|
|
161
|
+
--color-success-active: var(--color-green-7);
|
|
162
|
+
--color-success-text-hover: var(--color-green-8);
|
|
163
|
+
--color-success-text: var(--color-green-9);
|
|
164
|
+
--color-success-text-active: var(--color-green-10);
|
|
165
|
+
|
|
166
|
+
--color-warning-bg: var(--color-gold-1);
|
|
167
|
+
--color-warning-bg-hover: var(--color-gold-2);
|
|
168
|
+
--color-warning-border: var(--color-gold-3);
|
|
169
|
+
--color-warning-border-hover: var(--color-gold-4);
|
|
170
|
+
--color-warning-hover: var(--color-gold-5);
|
|
171
|
+
--color-warning-base: var(--color-gold-6);
|
|
172
|
+
--color-warning-active: var(--color-gold-7);
|
|
173
|
+
--color-warning-text-hover: var(--color-gold-8);
|
|
174
|
+
--color-warning-text: var(--color-gold-9);
|
|
175
|
+
--color-warning-text-active: var(--color-gold-10);
|
|
176
|
+
|
|
177
|
+
--color-error-bg: var(--color-red-1);
|
|
178
|
+
--color-error-bg-hover: var(--color-red-2);
|
|
179
|
+
--color-error-border: var(--color-red-3);
|
|
180
|
+
--color-error-border-hover: var(--color-red-4);
|
|
181
|
+
--color-error-hover: var(--color-red-5);
|
|
182
|
+
--color-error-base: var(--color-red-6);
|
|
183
|
+
--color-error-active: var(--color-red-7);
|
|
184
|
+
--color-error-text-hover: var(--color-red-8);
|
|
185
|
+
--color-error-text: var(--color-red-9);
|
|
186
|
+
--color-error-text-active: var(--color-red-10);
|
|
187
|
+
|
|
188
|
+
--color-info-bg: var(--color-blue-1);
|
|
189
|
+
--color-info-bg-hover: var(--color-blue-2);
|
|
190
|
+
--color-info-border: var(--color-blue-3);
|
|
191
|
+
--color-info-border-hover: var(--color-blue-4);
|
|
192
|
+
--color-info-hover: var(--color-blue-5);
|
|
193
|
+
--color-info-base: var(--color-blue-6);
|
|
194
|
+
--color-info-active: var(--color-blue-7);
|
|
195
|
+
--color-info-text-hover: var(--color-blue-8);
|
|
196
|
+
--color-info-text: var(--color-blue-9);
|
|
197
|
+
--color-info-text-active: var(--color-blue-10);
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @tokens Main colors
|
|
201
|
+
* @presenter Color
|
|
202
|
+
*/
|
|
131
203
|
|
|
204
|
+
--color-primary: var(--color-primary-base);
|
|
205
|
+
--color-error: var(--color-error-base);
|
|
206
|
+
--color-warning: var(--color-warning-base);
|
|
207
|
+
--color-success: var(--color-success-base);
|
|
208
|
+
--color-info: var(--color-info-base);
|
|
209
|
+
|
|
132
210
|
/**
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
--line-height-base: 1.5em;
|
|
211
|
+
* @tokens Elevation Colors
|
|
212
|
+
* @presenter Color
|
|
213
|
+
*/
|
|
137
214
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
--font-weight-regular: 400;
|
|
143
|
-
--font-weight-bold: 600;
|
|
144
|
-
--font-weight-bolder: 700;
|
|
215
|
+
--bg-sunken: #F1F1F1; // Sunken is the lowest elevation available.
|
|
216
|
+
--bg-base: #ffffff; // The default elevation is the baseline with respect to all other layers.
|
|
217
|
+
--bg-raised: #fafafa; // Cards, elements, inputs
|
|
218
|
+
--bg-overlay: #f2f2f2; // Overlay is the highest elevation available. Use for hovers
|
|
145
219
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
*/
|
|
150
|
-
--font-family-base: Source Sans Pro, sans-serif;
|
|
151
|
-
--font-family-monospaced: Source Code Pro, monospace;
|
|
220
|
+
--bg-base-shadow: 0px 3px 5px rgba(51, 51, 51, 0.2), 0px 0px 1px rgba(51, 51, 51, 0.31); // Elements
|
|
221
|
+
--bg-raised-shadow: 0px 8px 12px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31); // Hovers for base. Menu
|
|
222
|
+
--bg-overlay-shadow: 0px 18px 28px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31); // Use for dropdowns
|
|
152
223
|
|
|
153
|
-
|
|
154
|
-
* @tokens Rendering
|
|
155
|
-
*/
|
|
156
|
-
--text-smoothing: antialiased; // text-smoothing
|
|
157
|
-
--text-rendering: optimizeSpeed; // text-rendering
|
|
224
|
+
--background-color: var(--bg-base);
|
|
158
225
|
|
|
159
226
|
// @tokens End
|
|
160
227
|
`;
|
|
161
|
-
const
|
|
162
|
-
|
|
163
|
-
box-sizing: border-box;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @tokens Headings common styles
|
|
168
|
-
*/
|
|
169
|
-
|
|
170
|
-
--heading-font-family: Source Sans Pro, sans-serif; // @presenter FontFamily
|
|
171
|
-
--heading-font-weight: var(--font-weight-bolder); // @presenter FontWeight
|
|
172
|
-
--heading-margin-top: 1.25em; // @presenter Spacing
|
|
173
|
-
--heading-margin-bottom: 0.9em; // @presenter Spacing
|
|
174
|
-
--heading-text-color: var(--text-color); // @presenter Color
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @tokens Typography heading anchor icon
|
|
178
|
-
*/
|
|
179
|
-
|
|
180
|
-
--heading-anchor-offset-right: 4px; // @presenter Spacing
|
|
181
|
-
--heading-anchor-color: var(--color-primary-500); // @presenter Color
|
|
182
|
-
--heading-anchor-icon: none;
|
|
183
|
-
|
|
184
|
-
// TODO: implement a theme config for heading-anchor-location: left right
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* @tokens Heading level 1
|
|
188
|
-
*/
|
|
189
|
-
|
|
190
|
-
--h1-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
191
|
-
--h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
192
|
-
--h1-font-size: 36px; // @presenter FontSize
|
|
193
|
-
--h1-line-height: 36px; // @presenter LineHeight
|
|
194
|
-
--h1-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
195
|
-
--h1-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
196
|
-
--h1-text-color: var(--heading-text-color); // @presenter Color
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @tokens Heading level 2
|
|
200
|
-
*/
|
|
201
|
-
|
|
202
|
-
--h2-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
203
|
-
--h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
204
|
-
--h2-font-size: 28px; // @presenter FontSize
|
|
205
|
-
--h2-line-height: 28px; // @presenter LineHeight
|
|
206
|
-
--h2-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
207
|
-
--h2-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
208
|
-
--h2-text-color: var(--heading-text-color); // @presenter Color
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* @tokens Heading level 3
|
|
212
|
-
*/
|
|
213
|
-
|
|
214
|
-
--h3-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
215
|
-
--h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
216
|
-
--h3-font-size: 18px; // @presenter FontSize
|
|
217
|
-
--h3-line-height: 18px; // @presenter LineHeight
|
|
218
|
-
--h3-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
219
|
-
--h3-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
220
|
-
--h3-text-color: var(--heading-text-color); // @presenter Color
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @tokens Heading level 4
|
|
224
|
-
*/
|
|
225
|
-
|
|
226
|
-
--h4-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
227
|
-
--h4-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
228
|
-
--h4-font-size: 16px; // @presenter FontSize
|
|
229
|
-
--h4-line-height: 16px; // @presenter LineHeight
|
|
230
|
-
--h4-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
231
|
-
--h4-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
232
|
-
--h4-text-color: var(--heading-text-color); // @presenter Color
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* @tokens Heading level 5
|
|
236
|
-
*/
|
|
237
|
-
|
|
238
|
-
--h5-font-family: var(--heading-font-family); /* Token Description Example @presenter FontFamily */
|
|
239
|
-
--h5-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
240
|
-
--h5-font-size: 14px; // @presenter FontSize
|
|
241
|
-
--h5-line-height: 14px; // @presenter LineHeight
|
|
242
|
-
--h5-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
243
|
-
--h5-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
244
|
-
--h5-text-color: var(--heading-text-color); // @presenter Color
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* @tokens Heading level 6
|
|
248
|
-
*/
|
|
249
|
-
|
|
250
|
-
--h6-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
251
|
-
--h6-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
252
|
-
--h6-font-size: 12px; // @presenter FontSize
|
|
253
|
-
--h6-line-height: 12px; // @presenter LineHeight
|
|
254
|
-
--h6-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
255
|
-
--h6-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
256
|
-
--h6-text-color: var(--heading-text-color); // @presenter Color
|
|
228
|
+
const typography = (0, styled_components_1.css) `
|
|
229
|
+
/* === Typography === */
|
|
257
230
|
|
|
258
|
-
// @tokens End
|
|
259
|
-
`;
|
|
260
|
-
const common = (0, styled_components_1.css) `
|
|
261
231
|
/**
|
|
262
|
-
* @tokens
|
|
263
|
-
* @presenter
|
|
232
|
+
* @tokens Font Families
|
|
233
|
+
* @presenter FontFamily
|
|
264
234
|
*/
|
|
265
|
-
--border-width: 1px;
|
|
266
|
-
--border-style: solid;
|
|
267
235
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
* @presenter BorderRadius
|
|
271
|
-
*/
|
|
272
|
-
--border-radius: 4px;
|
|
273
|
-
--border-radius-lg: calc(var(--border-radius) * 2);
|
|
236
|
+
--font-family-base: Source Sans Pro, sans-serif; // Font family of the entire system.
|
|
237
|
+
--font-family-monospaced: Source Code Pro, monospace;
|
|
274
238
|
|
|
275
239
|
/**
|
|
276
|
-
* @tokens
|
|
240
|
+
* @tokens Font Colors
|
|
277
241
|
* @presenter Color
|
|
278
242
|
*/
|
|
279
|
-
--border-color: var(--color-secondary-300);
|
|
280
|
-
--border-color-secondary: var(--color-emphasis-600);
|
|
281
|
-
--background-color: var(--color-secondary-50);
|
|
282
|
-
--box-shadow: 0px 0px 20px 0px var(--color-secondary-500);
|
|
283
|
-
/**
|
|
284
|
-
* @tokens Spacings
|
|
285
|
-
* @presenter Spacing
|
|
286
|
-
*/
|
|
287
|
-
|
|
288
|
-
--spacing-unit: 5px;
|
|
289
|
-
--spacing-horizontal: calc(var(--spacing-unit) * 8);
|
|
290
|
-
--spacing-vertical: calc(var(--spacing-unit) * 4);
|
|
291
|
-
|
|
292
|
-
// @tokens End
|
|
293
|
-
`;
|
|
294
|
-
const buttons = (0, styled_components_1.css) `
|
|
295
|
-
/*
|
|
296
|
-
* Static classnames that can be used to override styles for components:
|
|
297
|
-
* download-specification-button, next-section-button, button-base
|
|
298
|
-
*/
|
|
299
243
|
|
|
244
|
+
--text-base: #000; // The base color of the typography color tokens.
|
|
245
|
+
--text-light-solid: #ffffff; // The color of the objects that need to be white no matter what theme is enabled.
|
|
246
|
+
--text-primary: #161616; // Headers, Icon hover
|
|
247
|
+
--text-secondary: #525252; // Body text
|
|
248
|
+
--text-description: #8d8d8d; // Caption, Description, Icon
|
|
249
|
+
--text-placeholder: #a8a8a8; // Placeholder text, Disabled text
|
|
250
|
+
--text-link: var(--color-blue-6);
|
|
251
|
+
|
|
300
252
|
/**
|
|
301
|
-
* @tokens
|
|
253
|
+
* @tokens Font Weights
|
|
254
|
+
* @presenter FontWeight
|
|
302
255
|
*/
|
|
303
256
|
|
|
304
|
-
--
|
|
305
|
-
--
|
|
306
|
-
--
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
--button-hover-background-color: var(--color-emphasis-500); // @presenter Color
|
|
310
|
-
--button-hover-border-color: var(--color-emphasis-500); // @presenter Color
|
|
311
|
-
|
|
312
|
-
--button-active-color: var(--color-emphasis-900); // @presenter Color
|
|
313
|
-
--button-active-background-color: var(--color-emphasis-600); // @presenter Color
|
|
314
|
-
--button-active-border-color: var(--color-emphasis-600); // @presenter Color
|
|
315
|
-
|
|
316
|
-
--button-disabled-color: var(--button-color); // @presenter Color
|
|
317
|
-
--button-disabled-background-color: var(--color-emphasis-200); // @presenter Color
|
|
318
|
-
|
|
257
|
+
--font-weight-regular: 400; // All normal weight fonts in the entire system.
|
|
258
|
+
--font-weight-bold: 600; // All strong weights in the entire system.
|
|
259
|
+
--font-weight-bolder: 700;
|
|
260
|
+
--font-weight-italic: 'Regular Italic'; // All italic weights in the entire system.
|
|
261
|
+
|
|
319
262
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
--button-color: var(--color-emphasis-50); // @presenter Color
|
|
324
|
-
--button-background-color: var(--color-primary-500); // @presenter Color
|
|
325
|
-
--button-border-color: var(--color-primary-500); // @presenter Color
|
|
326
|
-
|
|
327
|
-
--button-hover-background-color: var(--color-primary-600); // @presenter Color
|
|
328
|
-
--button-hover-border-color: var(--color-primary-600); // @presenter Color
|
|
329
|
-
|
|
330
|
-
--button-active-background-color: var(--color-primary-700); // @presenter Color
|
|
331
|
-
--button-active-border-color: var(--color-primary-700); // @presenter Color
|
|
263
|
+
* @tokens Line Heights
|
|
264
|
+
* @presenter LineHeight
|
|
265
|
+
*/
|
|
332
266
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
267
|
+
--line-height-base: 22px;
|
|
268
|
+
--line-height-xsm: 18px;
|
|
269
|
+
--line-height-sm: 20px;
|
|
270
|
+
--line-height-md: 24px;
|
|
271
|
+
--line-height-lg: 26px;
|
|
272
|
+
--line-height-xlg: 28px;
|
|
273
|
+
--line-height-xxlg: 30px;
|
|
336
274
|
|
|
337
275
|
/**
|
|
338
|
-
* @tokens
|
|
276
|
+
* @tokens Font Sizes
|
|
277
|
+
* @presenter FontSize
|
|
339
278
|
*/
|
|
340
|
-
.button-color-secondary {
|
|
341
|
-
--button-color: var(--color-emphasis-700); // @presenter Color
|
|
342
|
-
--button-background-color: var(--color-secondary-400); // @presenter Color
|
|
343
|
-
--button-border-color: var(--color-secondary-400); // @presenter Color
|
|
344
|
-
|
|
345
|
-
--button-hover-background-color: var(--color-secondary-500); // @presenter Color
|
|
346
|
-
--button-hover-border-color: var(--color-secondary-500); // @presenter Color
|
|
347
|
-
|
|
348
|
-
--button-active-background-color: var(--color-secondary-600); // @presenter Color
|
|
349
|
-
--button-active-border-color: var(--color-secondary-600); // @presenter Color
|
|
350
|
-
|
|
351
|
-
--button-disabled-color: var(--button-color); // @presenter Color
|
|
352
|
-
--button-disabled-background-color: var(--color-secondary-200); // @presenter Color
|
|
353
|
-
}
|
|
354
279
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
--
|
|
359
|
-
--
|
|
360
|
-
--
|
|
361
|
-
--
|
|
362
|
-
--
|
|
280
|
+
--font-size-base: 14px; // Base font size of the entire system.
|
|
281
|
+
--font-size-sm: 12px;
|
|
282
|
+
--font-size-lg: 16px;
|
|
283
|
+
--font-size-xl: 20px;
|
|
284
|
+
--font-size-heading-1: 38px;
|
|
285
|
+
--font-size-heading-2: 30px;
|
|
286
|
+
--font-size-heading-3: 24px;
|
|
287
|
+
--font-size-heading-4: 20px;
|
|
288
|
+
--font-size-heading-5: 16px;
|
|
363
289
|
|
|
364
290
|
/**
|
|
365
|
-
* @tokens
|
|
291
|
+
* @tokens Font Rendering
|
|
366
292
|
*/
|
|
367
|
-
--button-font-family: inherit; // @presenter FontFamily
|
|
368
|
-
--button-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
369
|
-
|
|
370
|
-
--button-small-font-size: 12px; // @presenter FontSize
|
|
371
|
-
--button-small-padding: 8px 10px;
|
|
372
|
-
--button-small-min-width: 90px; // @presenter Spacing
|
|
373
|
-
|
|
374
|
-
--button-medium-font-size: 14px; // @presenter FontSize
|
|
375
|
-
--button-medium-padding: 8px 20px;
|
|
376
|
-
--button-medium-min-width: 120px; // @presenter Spacing
|
|
377
293
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
--button-large-min-width: 150px; // @presenter Spacing
|
|
381
|
-
|
|
382
|
-
--button-xlarge-font-size: 16px; // @presenter FontSize
|
|
383
|
-
--button-xlarge-padding: 20px 24px;
|
|
384
|
-
--button-xlarge-min-width: 200px; // @presenter Spacing
|
|
294
|
+
--text-smoothing: antialiased; // text-smoothing
|
|
295
|
+
--text-rendering: optimizeSpeed; // text-rendering
|
|
385
296
|
|
|
386
297
|
// @tokens End
|
|
387
298
|
`;
|
|
388
|
-
const
|
|
389
|
-
/* ===
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* @tokens Sidebar logo
|
|
393
|
-
*/
|
|
394
|
-
|
|
395
|
-
--sidebar-logo-max-height: 285px;
|
|
396
|
-
--sidebar-logo-max-width: 285px;
|
|
397
|
-
--sidebar-logo-padding: 2px; // @presenter spacing
|
|
398
|
-
|
|
299
|
+
const sizeAndSpace = (0, styled_components_1.css) `
|
|
300
|
+
/* === Size & Space === */
|
|
301
|
+
|
|
399
302
|
/**
|
|
400
|
-
* @tokens
|
|
401
|
-
*/
|
|
402
|
-
--sidebar-word-break: 'inherit';
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @tokens Sidebar colors
|
|
406
|
-
* @presenter Color
|
|
407
|
-
*/
|
|
408
|
-
--sidebar-background-color: var(--background-color);
|
|
409
|
-
--sidebar-border-color: var(--border-color);
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* @tokens Sidebar spacing
|
|
303
|
+
* @tokens Size
|
|
413
304
|
* @presenter Spacing
|
|
414
305
|
*/
|
|
415
|
-
--sidebar-width: 285px; // @presenter NO
|
|
416
|
-
|
|
417
|
-
--sidebar-spacing-unit: 8px;
|
|
418
|
-
--sidebar-offset-top: calc(var(--sidebar-spacing-unit) * 2);
|
|
419
|
-
--sidebar-offset-left: calc(var(--sidebar-spacing-unit) * 2);
|
|
420
|
-
|
|
421
|
-
--sidebar-chevron-size: var(--sidebar-spacing-unit);
|
|
422
|
-
|
|
423
|
-
/* === Sidebar Item === */
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* @tokens Sidebar item typography
|
|
427
|
-
*/
|
|
428
|
-
--sidebar-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
429
|
-
--sidebar-item-font-size: var(--font-size-base); // @presenter FontSize
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* @tokens Sidebar item colors
|
|
433
|
-
* @presenter Color
|
|
434
|
-
*/
|
|
435
|
-
--sidebar-item-text-color: var(--text-color);
|
|
436
|
-
--sidebar-item-background-color: transparent;
|
|
437
|
-
|
|
438
|
-
--sidebar-item-active-color: var(--text-color);
|
|
439
|
-
--sidebar-item-active-background-color: var(--border-color);
|
|
440
306
|
|
|
441
|
-
--
|
|
442
|
-
--sidebar-item-hover-color: var(--text-color);
|
|
307
|
+
--container-width: 1200px;
|
|
443
308
|
|
|
444
309
|
/**
|
|
445
|
-
* @tokens
|
|
310
|
+
* @tokens Space
|
|
446
311
|
* @presenter Spacing
|
|
447
312
|
*/
|
|
448
313
|
|
|
449
|
-
--
|
|
450
|
-
|
|
451
|
-
--
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
--
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
* @tokens Sidebar item icon
|
|
460
|
-
*/
|
|
461
|
-
--sidebar-item-icon-size: 20px;
|
|
462
|
-
--sidebar-item-icon-border-radius: 100%;
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* @tokens Sidebar item sublabel
|
|
466
|
-
*/
|
|
467
|
-
--sidebar-item-sublabel-font-family: inherit; // sublabel is for drilldown only but I would like to support it in general
|
|
468
|
-
--sidebar-item-sublabel-font-size: 0.85rem;
|
|
469
|
-
--sidebar-item-sublabel-font-weight: var(--font-weight-regular);
|
|
470
|
-
--sidebar-item-sublabel-text-color: var(--sidebar-item-text-color);
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* @tokens Sidebar item drilldown
|
|
474
|
-
*/
|
|
475
|
-
|
|
476
|
-
--sidebar-item-drilldown-font-family: var(--sidebar-item-font-family);
|
|
477
|
-
--sidebar-item-drilldown-font-size: var(--sidebar-item-font-size);
|
|
478
|
-
--sidebar-text-drilldown-transform: inherit;
|
|
479
|
-
--sidebar-item-drilldown-text-color: var(--sidebar-item-text-color);
|
|
480
|
-
--sidebar-item-drilldown-background-color: var(--sidebar-background-color);
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* @tokens Sidebar item group
|
|
484
|
-
*/
|
|
485
|
-
--sidebar-item-group-font-family: var(--sidebar-item-font-family);
|
|
486
|
-
--sidebar-item-group-font-size: var(--sidebar-item-font-size);
|
|
487
|
-
--sidebar-text-group-transform: inherit;
|
|
488
|
-
--sidebar-item-group-text-color: var(--sidebar-item-text-color);
|
|
489
|
-
--sidebar-item-group-background-color: var(--sidebar-background-color);
|
|
490
|
-
--sidebar-item-group-active-text-color: var(--sidebar-item-active-color);
|
|
491
|
-
--sidebar-item-group-active-background-color: var(--sidebar-item-active-background-color);
|
|
492
|
-
|
|
493
|
-
// we need a theme config for chevron-location: left (default), right-compact, right, none
|
|
494
|
-
// we need another theme config for chevron-style: up-down, down-up, right-down, down-right
|
|
495
|
-
|
|
496
|
-
--sidebar-group-item-chevron-size: var(--sidebar-spacing-unit);
|
|
497
|
-
--sidebar-group-item-chevron-color: var(--sidebar-item-text-color);
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* @tokens Sidebar item separator
|
|
501
|
-
*/
|
|
502
|
-
// does-separatorn't have active states
|
|
503
|
-
--sidebar-item-separator-font-family: var(--sidebar-item-font-family);
|
|
504
|
-
--sidebar-item-separator-font-size: var(--sidebar-item-font-size);
|
|
505
|
-
--sidebar-item-separator-text-transform: inherit;
|
|
506
|
-
--sidebar-item-separator-text-color: var(--sidebar-item-text-color);
|
|
507
|
-
--sidebar-item-separator-background-color: var(--sidebar-background-color);
|
|
508
|
-
--sidebar-item-separator-line-color: var(--border-color); // but has line color
|
|
509
|
-
--sidebar-item-separator-offset: calc(var(--sidebar-spacing-unit) * 2);
|
|
314
|
+
--spacing-unit: 4px;
|
|
315
|
+
|
|
316
|
+
--spacing-base: calc(var(--spacing-unit) * 4);
|
|
317
|
+
--spacing-xxs: var(--spacing-unit);
|
|
318
|
+
--spacing-xs: calc(var(--spacing-unit) * 2);
|
|
319
|
+
--spacing-sm: calc(var(--spacing-unit) * 3);
|
|
320
|
+
--spacing-md: calc(var(--spacing-unit) * 5);
|
|
321
|
+
--spacing-lg: calc(var(--spacing-unit) * 6);
|
|
322
|
+
--spacing-xl: calc(var(--spacing-unit) * 8);
|
|
323
|
+
--spacing-xxl: calc(var(--spacing-unit) * 12);
|
|
510
324
|
|
|
325
|
+
--spacing-horizontal: var(--spacing-xl);
|
|
326
|
+
--spacing-vertical: var(--spacing-base);
|
|
327
|
+
|
|
511
328
|
/**
|
|
512
|
-
* @tokens
|
|
329
|
+
* @tokens Height
|
|
330
|
+
* @presenter Spacing
|
|
513
331
|
*/
|
|
514
|
-
--
|
|
515
|
-
--
|
|
516
|
-
--
|
|
517
|
-
--
|
|
518
|
-
--sidebar-back-button-background-color: transparent;
|
|
519
|
-
--sidebar-back-button-hover-text-color: var(--sidebar-item-active-color);
|
|
520
|
-
--sidebar-back-button-hover-background-color: transparent;
|
|
521
|
-
--sidebar-back-button-icon-color: var(--sidebar-item-text-color);
|
|
522
|
-
--sidebar-back-button-margin: 0 0 calc(var(--sidebar-spacing-unit) * 3) 0;
|
|
523
|
-
--sidebar-back-button-icon: none;
|
|
524
|
-
|
|
525
|
-
//--sidebar-version-dropdown-* (input settings, see below)
|
|
526
|
-
// @tokens End
|
|
527
|
-
`;
|
|
528
|
-
const admonition = (0, styled_components_1.css) `
|
|
529
|
-
/* === Admonitions === */
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
* @tokens Admonition typography
|
|
533
|
-
*/
|
|
534
|
-
|
|
535
|
-
--admonition-font-size: var(--font-size-base); // @presenter FontSize
|
|
536
|
-
--admonition-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
537
|
-
--admonition-line-height: var(--line-height-base); // @presenter LineHeight
|
|
538
|
-
--admonition-heading-font-size: var(--font-size-base); // @presenter FontSize
|
|
539
|
-
--admonition-heading-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
540
|
-
--admonition-heading-letter-spacing: 0.3px; // @presenter LetterSpacing
|
|
541
|
-
--admonition-heading-transform: uppercase;
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* @tokens Admonition spacing
|
|
545
|
-
* @presenter Spacing
|
|
546
|
-
*/
|
|
547
|
-
|
|
548
|
-
--admonition-margin-horizontal: 0;
|
|
549
|
-
--admonition-margin-vertical: calc(var(--spacing-unit) * 2);
|
|
550
|
-
--admonition-padding-horizontal: calc(var(--spacing-unit) * 4);
|
|
551
|
-
--admonition-padding-vertical: calc(var(--spacing-unit) * 4);
|
|
552
|
-
--admonition-icon-size: 25px;
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* @tokens Admonition border
|
|
556
|
-
*/
|
|
557
|
-
|
|
558
|
-
--admonition-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
559
|
-
--admonition-border-style: var(--border-style);
|
|
560
|
-
--admonition-border-width: var(--border-width);
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* @tokens Admonition type info
|
|
564
|
-
*/
|
|
565
|
-
|
|
566
|
-
--admonition-info-background-color: var(--color-secondary-200); // @presenter Color
|
|
567
|
-
--admonition-info-heading-text-color: var(--text-color); // @presenter Color
|
|
568
|
-
--admonition-info-text-color: var(--text-color); // @presenter Color
|
|
569
|
-
--admonition-info-icon-color: var(--color-accent-900); // @presenter Color
|
|
570
|
-
--admonition-info-border-color: inherit; // @presenter Color
|
|
571
|
-
--admonition-info-border-style: var(--admonition-border-style);
|
|
572
|
-
--admonition-info-border-width: var(--admonition-border-width);
|
|
573
|
-
--admonition-info-border: var(--admonition-info-border-width) var(--admonition-info-border-style)
|
|
574
|
-
var(--admonition-info-border-color); // @presenter Border
|
|
575
|
-
--admonition-info-icon: none;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* @tokens Admonition type attention
|
|
579
|
-
* @presenter Color
|
|
580
|
-
*/
|
|
581
|
-
|
|
582
|
-
--admonition-attention-background-color: var(--color-accent-50); // @presenter Color
|
|
583
|
-
--admonition-attention-text-color: var(--text-color); // @presenter Color
|
|
584
|
-
--admonition-attention-heading-text-color: var(--text-color); // @presenter Color
|
|
585
|
-
--admonition-attention-icon-color: var(--color-accent-900); // @presenter Color
|
|
586
|
-
--admonition-attention-border-color: inherit; // @presenter Color
|
|
587
|
-
--admonition-attention-border-style: var(--admonition-border-style);
|
|
588
|
-
--admonition-attention-border-width: var(--admonition-border-width);
|
|
589
|
-
--admonition-attention-border: var(--admonition-attention-border-width)
|
|
590
|
-
var(--admonition-attention-border-style) var(--admonition-attention-border-color); // @presenter Border
|
|
591
|
-
--admonition-attention-icon: none;
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* @tokens Admonition type warning
|
|
595
|
-
*/
|
|
596
|
-
|
|
597
|
-
/* warning */
|
|
598
|
-
--admonition-warning-background-color: var(--color-warning-50); // @presenter Color
|
|
599
|
-
--admonition-warning-text-color: var(--text-color); // @presenter Color
|
|
600
|
-
--admonition-warning-heading-text-color: var(--text-color); // @presenter Color
|
|
601
|
-
--admonition-warning-icon-color: var(--color-warning-700); // @presenter Color
|
|
602
|
-
--admonition-warning-border-color: inherit; // @presenter Color
|
|
603
|
-
--admonition-warning-border-style: var(--admonition-border-style); // @presenter Color
|
|
604
|
-
--admonition-warning-border-width: var(--admonition-border-width); // @presenter Color
|
|
605
|
-
--admonition-warning-border: var(--admonition-warning-border-width)
|
|
606
|
-
var(--admonition-warning-border-style) var(--admonition-warning-border-color); // @presenter Border
|
|
607
|
-
--admonition-warning-icon: none;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* @tokens Admonition type danger
|
|
611
|
-
*/
|
|
612
|
-
|
|
613
|
-
--admonition-danger-background-color: var(--color-error-50); // @presenter Color
|
|
614
|
-
--admonition-danger-text-color: var(--text-color); // @presenter Color
|
|
615
|
-
--admonition-danger-heading-text-color: var(--text-color); // @presenter Color
|
|
616
|
-
--admonition-danger-icon-color: var(--color-error-800); // @presenter Color
|
|
617
|
-
--admonition-danger-border-color: inherit; // @presenter Color
|
|
618
|
-
--admonition-danger-border-style: var(--admonition-border-style); // @presenter Color
|
|
619
|
-
--admonition-danger-border-width: var(--admonition-border-width); // @presenter Color
|
|
620
|
-
--admonition-danger-border: var(--admonition-danger-border-width)
|
|
621
|
-
var(--admonition-danger-border-style) var(--admonition-danger-border-color); // @presenter Border
|
|
622
|
-
--admonition-danger-icon: none;
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* @tokens Admonition type success
|
|
626
|
-
*/
|
|
627
|
-
|
|
628
|
-
--admonition-success-background-color: var(--color-success-50); // @presenter Color
|
|
629
|
-
--admonition-success-text-color: var(--text-color); // @presenter Color
|
|
630
|
-
--admonition-success-heading-text-color: var(--text-color); // @presenter Color
|
|
631
|
-
--admonition-success-icon-color: var(--color-success-900); // @presenter Color
|
|
632
|
-
--admonition-success-border-color: inherit; // @presenter Color
|
|
633
|
-
--admonition-success-border-style: var(--admonition-border-style); // @presenter Color
|
|
634
|
-
--admonition-success-border-width: var(--admonition-border-width); // @presenter Color
|
|
635
|
-
--admonition-success-border: var(--admonition-success-border-width)
|
|
636
|
-
var(--admonition-success-border-style) var(--admonition-success-border-color); // @presenter Border
|
|
637
|
-
--admonition-success-icon: none;
|
|
638
|
-
|
|
639
|
-
// @tokens End
|
|
640
|
-
`;
|
|
641
|
-
const responsePanelColors = (0, styled_components_1.css) `
|
|
642
|
-
/**
|
|
643
|
-
* @tokens Response Panel Common
|
|
644
|
-
*/
|
|
645
|
-
|
|
646
|
-
--panel-response-heading-padding: 10px 20px;
|
|
647
|
-
--panel-response-heading-font-size: var(--font-size-base);
|
|
648
|
-
--panel-response-heading-line-height: 20px;
|
|
649
|
-
--panel-response-heading-font-weight: var(--font-weight-bold);
|
|
650
|
-
--panel-response-heading-text-color: var(--text-color);
|
|
651
|
-
|
|
652
|
-
--panel-response-body-text-color: var(--text-color);
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* @tokens Response Panel Success colors
|
|
656
|
-
* @presenter Color
|
|
657
|
-
*/
|
|
658
|
-
|
|
659
|
-
--panel-response-success-border-color: var(--color-success-100);
|
|
660
|
-
--panel-response-success-heading-background-color: var(--color-success-50);
|
|
661
|
-
--panel-response-success-heading-text-color: var(--panel-response-heading-text-color);
|
|
662
|
-
--panel-response-success-body-background-color: transparent;
|
|
663
|
-
--panel-response-success-schema-nested-background-color: var(--color-secondary-200);
|
|
664
|
-
--panel-response-success-body-text-color: var(--panel-response-body-text-color);
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* @tokens Response Panel Error colors
|
|
668
|
-
* @presenter Color
|
|
669
|
-
*/
|
|
670
|
-
|
|
671
|
-
--panel-response-error-border-color: var(--color-error-100);
|
|
672
|
-
--panel-response-error-heading-background-color: var(--color-error-50);
|
|
673
|
-
--panel-response-error-heading-text-color: var(--panel-response-heading-text-color);
|
|
674
|
-
--panel-response-error-body-background-color: transparent;
|
|
675
|
-
--panel-response-error-schema-nested-background-color: var(--color-secondary-200);
|
|
676
|
-
--panel-response-error-body-text-color: var(--panel-response-body-text-color);
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* @tokens Response Panel Redirect colors
|
|
680
|
-
* @presenter Color
|
|
681
|
-
*/
|
|
682
|
-
|
|
683
|
-
--panel-response-redirect-border-color: var(--color-warning-100);
|
|
684
|
-
--panel-response-redirect-heading-background-color: var(--color-warning-50);
|
|
685
|
-
--panel-response-redirect-heading-text-color: var(--panel-response-heading-text-color);
|
|
686
|
-
--panel-response-redirect-body-background-color: transparent;
|
|
687
|
-
--panel-response-redirect-schema-nested-background-color: var(--color-secondary-200);
|
|
688
|
-
--panel-response-redirect-body-text-color: var(--panel-response-body-text-color);
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* @tokens Response Panel Info colors
|
|
692
|
-
* @presenter Color
|
|
693
|
-
*/
|
|
694
|
-
|
|
695
|
-
--panel-response-info-border-color: var(--color-accent-100);
|
|
696
|
-
--panel-response-info-heading-background-color: var(--color-accent-50);
|
|
697
|
-
--panel-response-info-heading-text-color: var(--panel-response-heading-text-color);
|
|
698
|
-
--panel-response-info-body-background-color: transparent;
|
|
699
|
-
--panel-response-info-schema-nested-background-color: var(--color-secondary-200);
|
|
700
|
-
--panel-response-info-body-text-color: var(--panel-response-body-text-color);
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* @tokens Response Panel Callback colors
|
|
704
|
-
* @presenter Color
|
|
705
|
-
*/
|
|
706
|
-
|
|
707
|
-
--panel-response-callback-border-color: var(--color-secondary-300);
|
|
708
|
-
--panel-response-callback-heading-background-color: var(--color-secondary-300);
|
|
709
|
-
--panel-response-callback-heading-text-color: var(--panel-response-heading-text-color);
|
|
710
|
-
--panel-response-callback-body-background-color: transparent;
|
|
711
|
-
--panel-response-callback-schema-nested-background-color: var(--color-secondary-200);
|
|
712
|
-
--panel-response-callback-body-text-color: var(--panel-response-body-text-color);
|
|
332
|
+
--control-height-base: 32px; // The height of the default size controls such as buttons and inputs.
|
|
333
|
+
--control-height-xs: 16px; // The height of very small objects such as skeleton line or small multiple select item.
|
|
334
|
+
--control-height-sm: 24px; // The height of the small controls such as buttons or inputs.
|
|
335
|
+
--control-height-lg: 40px; // The height of the large controls such as buttons or inputs.
|
|
713
336
|
|
|
714
337
|
// @tokens End
|
|
715
338
|
`;
|
|
716
|
-
const
|
|
717
|
-
/**
|
|
718
|
-
* @tokens Panels spacing
|
|
719
|
-
* @presenter Spacing
|
|
720
|
-
*/
|
|
721
|
-
|
|
722
|
-
--panel-gap-horizontal: calc(var(--spacing-unit) * 8);
|
|
723
|
-
--panel-gap-vertical: calc(var(--spacing-unit) * 4);
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* @tokens Panel common
|
|
727
|
-
*/
|
|
728
|
-
|
|
729
|
-
--panel-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
730
|
-
--panel-border: 1px solid var(--border-color); // @presenter Border
|
|
731
|
-
|
|
732
|
-
--panel-line-height: var(--line-height-base); // @presenter LineHeight
|
|
733
|
-
--panel-font-size: var(--font-size-base); // @presenter FontSize
|
|
734
|
-
--panel-font-family: var(--font-family-base); // @presenter FontFamily
|
|
735
|
-
--panel-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* @tokens Panel heading common
|
|
739
|
-
*/
|
|
740
|
-
|
|
741
|
-
--panel-heading-font-family: var(--font-family-base); // @presenter FontFamily
|
|
742
|
-
--panel-heading-font-size: 18px; // @presenter FontSize
|
|
743
|
-
--panel-heading-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
744
|
-
--panel-heading-padding: calc(var(--spacing-unit) * 4);
|
|
745
|
-
--panel-heading-line-height: 1; // @presenter LineHeight
|
|
746
|
-
--panel-heading-whit-space: 'nowrap';
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* @tokens Panel body common
|
|
750
|
-
*/
|
|
751
|
-
|
|
752
|
-
--panel-body-font-family: var(--font-family-base); // @presenter FontFamily
|
|
753
|
-
--panel-body-font-size: var(--font-size-base); // @presenter FontSize
|
|
754
|
-
--panel-body-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
755
|
-
--panel-body-padding: calc(var(--spacing-unit) * 4);
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* @tokens Panel schemas common
|
|
759
|
-
*/
|
|
760
|
-
|
|
761
|
-
--panel-schemas-text-color: var(--text-color); // @presenter Color
|
|
762
|
-
--panel-schemas-font-family: var(--panel-font-family); // @presenter FontFamily
|
|
763
|
-
--panel-schemas-font-size: var(--panel-font-size); // @presenter FontSize
|
|
764
|
-
--panel-schemas-font-weight: var(--panel-font-weight); // @presenter
|
|
765
|
-
--panel-schemas-background-color: var(--background-color); // @presenter Color
|
|
766
|
-
--panel-schemas-border: var(--panel-border); // @presenter Border
|
|
767
|
-
--panel-schemas-chevron-icon-color: var(--text-color); // @presenter Color
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* @tokens Panel schemas body common
|
|
771
|
-
*/
|
|
772
|
-
|
|
773
|
-
--panel-schemas-body-text-color: var(--text-color); // @presenter Color
|
|
774
|
-
--panel-schemas-body-font-family: var(--panel-body-font-family); // @presenter FontFamily
|
|
775
|
-
--panel-schemas-body-font-size: var(--panel-body-font-size); // @presenter FontSize
|
|
776
|
-
--panel-schemas-body-font-weight: var(--panel-body-font-weight); // @presenter FontWeight
|
|
777
|
-
--panel-schemas-body-padding: 0 var(--panel-body-padding) var(--panel-body-padding)
|
|
778
|
-
var(--panel-body-padding);
|
|
779
|
-
--panel-schemas-body-background-color: var(--background-color); // @presenter Color
|
|
780
|
-
--panel-schemas-body-border: unset; // @presenter Border
|
|
781
|
-
|
|
339
|
+
const borders = (0, styled_components_1.css) `
|
|
782
340
|
/**
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
--panel-schemas-heading-text-color: var(--text-color); // @presenter Color
|
|
787
|
-
--panel-schemas-heading-font-family: var(--panel-heading-font-family); // @presenter FontFamily
|
|
788
|
-
--panel-schemas-heading-font-size: var(--panel-heading-font-size); // @presenter FontSize
|
|
789
|
-
--panel-schemas-heading-font-weight: var(--panel-heading-font-weight); // @presenter FontWeight
|
|
790
|
-
--panel-schemas-heading-line-height: var(--panel-heading-line-height); // @presenter LineHeight
|
|
791
|
-
--panel-schemas-heading-padding: var(--panel-heading-padding);
|
|
792
|
-
--panel-schemas-heading-background-color: var(--background-color); // @presenter Color
|
|
793
|
-
--panel-schemas-heading-border: unset; // @presenter Border
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* @tokens Panel default, response, callback, security schemas
|
|
797
|
-
*/
|
|
798
|
-
|
|
799
|
-
.panel-request-schemas,
|
|
800
|
-
.panel-response-schemas,
|
|
801
|
-
.panel-callback-schemas,
|
|
802
|
-
.panel-security-schemas,
|
|
803
|
-
.panel-default {
|
|
804
|
-
--panel-text-color: var(--panel-schemas-text-color); // @presenter Color
|
|
805
|
-
--panel-font-family-local: var(--panel-schemas-font-family);
|
|
806
|
-
--panel-font-size-local: var(--panel-schemas-font-size);
|
|
807
|
-
--panel-font-weight-local: var(--panel-schemas-font-weight);
|
|
808
|
-
--panel-background-color: var(--panel-schemas-background-color); // @presenter Color
|
|
809
|
-
--panel-border-local: var(--panel-schemas-border);
|
|
810
|
-
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
811
|
-
--panel-chevron-icon-color: var(--panel-schemas-chevron-icon-color); // @presenter Color
|
|
812
|
-
|
|
813
|
-
--panel-body-text-color: var(--panel-schemas-body-text-color); // @presenter Color
|
|
814
|
-
--panel-body-font-family-local: var(--panel-schemas-body-font-family);
|
|
815
|
-
--panel-body-font-size-local: var(--panel-schemas-body-font-size);
|
|
816
|
-
--panel-body-font-weight-local: var(--panel-schemas-body-font-weight);
|
|
817
|
-
--panel-body-padding-local: var(--panel-schemas-body-padding);
|
|
818
|
-
--panel-body-background-color: var(--panel-schemas-body-background-color); // @presenter Color
|
|
819
|
-
--panel-body-border: var(--panel-schemas-body-border); // @presenter Border
|
|
820
|
-
|
|
821
|
-
--panel-heading-text-color: var(--panel-schemas-heading-text-color); // @presenter Color
|
|
822
|
-
--panel-heading-font-family-local: var(--panel-schemas-heading-font-family);
|
|
823
|
-
--panel-heading-font-size-local: var(--panel-schemas-heading-font-size);
|
|
824
|
-
--panel-heading-font-weight-local: var(--panel-schemas-heading-font-weight);
|
|
825
|
-
--panel-heading-line-height-local: var(--panel-schemas-heading-line-height);
|
|
826
|
-
--panel-heading-padding-local: var(--panel-schemas-heading-padding);
|
|
827
|
-
--panel-heading-background-color: var(--panel-schemas-heading-background-color); // @presenter Color
|
|
828
|
-
--panel-heading-border: var(--panel-schemas-heading-border); // @presenter Border
|
|
829
|
-
--panel-heading-white-space-local: var(--panel-heading-whit-space);
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* @tokens Panel samples common
|
|
834
|
-
*/
|
|
835
|
-
|
|
836
|
-
--panel-samples-block-background-color: var(--background-color); // @presenter Color
|
|
837
|
-
--panel-samples-width: 50%;
|
|
838
|
-
|
|
839
|
-
--panel-samples-text-color: var(--text-color-inverse); // @presenter Color
|
|
840
|
-
--panel-samples-font-family: var(--panel-font-family); // @presenter FontFamily
|
|
841
|
-
--panel-samples-font-size: var(--panel-font-size); // @presenter FontSize
|
|
842
|
-
--panel-samples-font-weight: var(--panel-font-weight); // @presenter FontWight
|
|
843
|
-
--panel-samples-background-color: #52606d; // @presenter Color
|
|
844
|
-
--panel-samples-border: var(--panel-border); // @presenter Border
|
|
845
|
-
--panel-samples-chevron-icon-color: var(--text-color-inverse); // @presenter Color
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* @tokens Panel samples body common
|
|
849
|
-
*/
|
|
850
|
-
|
|
851
|
-
--panel-samples-body-text-color: var(--text-color-inverse); // @presenter Color
|
|
852
|
-
--panel-samples-body-font-family: var(--panel-body-font-family); // @presenter FontFamily
|
|
853
|
-
--panel-samples-body-font-size: var(--panel-body-font-size); // @presenter FontSize
|
|
854
|
-
--panel-samples-body-font-weight: var(--panel-body-font-weight); // @presenter FontWeight
|
|
855
|
-
--panel-samples-body-padding: var(--panel-body-padding);
|
|
856
|
-
--panel-samples-body-background-color: #52606d; // @presenter Color
|
|
857
|
-
--panel-samples-body-border: unset; // @presenter Border
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* @tokens Panel samples heading common
|
|
861
|
-
*/
|
|
862
|
-
|
|
863
|
-
--panel-samples-heading-text-color: var(--text-color-inverse); // @presenter Color
|
|
864
|
-
--panel-samples-heading-font-family: var(--panel-heading-font-family); // @presenter FontFamily
|
|
865
|
-
--panel-samples-heading-font-size: var(--panel-font-size); // @presenter FontSize
|
|
866
|
-
--panel-samples-heading-font-weight: var(--panel-font-weight); // @presenter FontWeight
|
|
867
|
-
--panel-samples-heading-line-height: 30px; // @presenter LineHeight
|
|
868
|
-
--panel-samples-heading-padding: 0 20px;
|
|
869
|
-
--panel-samples-heading-background-color: #323f4b; // @presenter Color
|
|
870
|
-
--panel-samples-heading-border: unset; // @presenter Border
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* @tokens Panel samples default
|
|
874
|
-
*/
|
|
875
|
-
.panel-samples-default {
|
|
876
|
-
--text-color: var(--panel-samples-text-color);
|
|
877
|
-
--panel-text-color: var(--panel-samples-text-color); // @presenter Color
|
|
878
|
-
--panel-font-family-local: var(--panel-samples-font-family);
|
|
879
|
-
--panel-font-size-local: var(--panel-samples-font-size);
|
|
880
|
-
--panel-font-weight-local: var(--panel-samples-font-weight);
|
|
881
|
-
--panel-background-color: var(--panel-samples-background-color); // @presenter Color
|
|
882
|
-
--panel-border-local: var(--panel-samples-border);
|
|
883
|
-
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
884
|
-
--panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color
|
|
885
|
-
|
|
886
|
-
--panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
|
|
887
|
-
--panel-body-background-color: var(--panel-samples-body-background-color); // @presenter Color
|
|
888
|
-
|
|
889
|
-
--panel-body-font-family-local: var(--panel-samples-body-font-family);
|
|
890
|
-
--panel-body-font-size-local: var(--panel-samples-body-font-size);
|
|
891
|
-
--panel-body-font-weight-local: var(--panel-samples-body-font-weight);
|
|
892
|
-
--panel-body-padding-local: 0;
|
|
893
|
-
--panel-body-border-local: var(--panel-samples-body-border);
|
|
894
|
-
|
|
895
|
-
--panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
|
|
896
|
-
--panel-heading-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
897
|
-
|
|
898
|
-
--panel-heading-font-family-local: var(--panel-samples-heading-font-family);
|
|
899
|
-
--panel-heading-font-size-local: var(--panel-samples-heading-font-size);
|
|
900
|
-
--panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
|
|
901
|
-
--panel-heading-line-height-local: var(--panel-samples-heading-line-height);
|
|
902
|
-
--panel-heading-padding-local: var(--panel-samples-heading-padding);
|
|
903
|
-
|
|
904
|
-
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* @tokens Panel try-it, request-samples, response-samples, callback samples
|
|
909
|
-
*/
|
|
910
|
-
|
|
911
|
-
.panel-try-it,
|
|
912
|
-
.panel-pull-right,
|
|
913
|
-
.panel-request-samples,
|
|
914
|
-
.panel-response-samples,
|
|
915
|
-
.panel-callback-samples {
|
|
916
|
-
--text-color: var(--panel-samples-text-color);
|
|
917
|
-
--panel-text-color: var(--panel-samples-text-color); // @presenter Color
|
|
918
|
-
--panel-font-family-local: var(--panel-samples-font-family);
|
|
919
|
-
--panel-font-size-local: var(--panel-samples-font-size);
|
|
920
|
-
--panel-font-weight-local: var(--panel-samples-font-weight);
|
|
921
|
-
--panel-background-color: var(--panel-samples-background-color); // @presenter Color
|
|
922
|
-
--panel-border-local: var(--panel-samples-border);
|
|
923
|
-
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
924
|
-
--panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color
|
|
925
|
-
|
|
926
|
-
--panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
|
|
927
|
-
--panel-body-background-color: var(--panel-samples-body-background-color); // @presenter Color
|
|
928
|
-
|
|
929
|
-
--panel-body-font-family-local: var(--panel-samples-body-font-family);
|
|
930
|
-
--panel-body-font-size-local: var(--panel-samples-body-font-size);
|
|
931
|
-
--panel-body-font-weight-local: var(--panel-samples-body-font-weight);
|
|
932
|
-
--panel-body-padding-local: var(--panel-samples-body-padding);
|
|
933
|
-
--panel-body-border-local: var(--panel-samples-body-border);
|
|
934
|
-
|
|
935
|
-
--panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
|
|
936
|
-
--panel-heading-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
937
|
-
|
|
938
|
-
--panel-heading-font-family-local: var(--panel-samples-heading-font-family);
|
|
939
|
-
--panel-heading-font-size-local: var(--panel-samples-heading-font-size);
|
|
940
|
-
--panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
|
|
941
|
-
--panel-heading-line-height-local: var(--panel-samples-heading-line-height);
|
|
942
|
-
--panel-heading-padding-local: var(--panel-samples-heading-padding);
|
|
943
|
-
|
|
944
|
-
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* @tokens Panel response success, info, error, redirect, callback common
|
|
949
|
-
*/
|
|
950
|
-
|
|
951
|
-
.panel-response-success,
|
|
952
|
-
.panel-response-info,
|
|
953
|
-
.panel-response-error,
|
|
954
|
-
.panel-response-redirect,
|
|
955
|
-
.panel-response-callback {
|
|
956
|
-
--panel-body-text-color: var(--panel-response-body-text-color); // @presenter Color
|
|
957
|
-
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
958
|
-
|
|
959
|
-
--panel-heading-text-color: var(--panel-response-heading-text-color); // @presenter Color
|
|
960
|
-
--panel-heading-font-size-local: var(--panel-response-heading-font-size);
|
|
961
|
-
--panel-heading-font-weight-local: var(--panel-response-heading-font-weight);
|
|
962
|
-
--panel-heading-line-height-local: var(--panel-response-heading-line-height);
|
|
963
|
-
--panel-heading-padding-local: var(--panel-response-heading-padding);
|
|
964
|
-
|
|
965
|
-
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
966
|
-
--panel-heading-white-space-local: normal;
|
|
967
|
-
--panel-body-padding-local: var(--panel-body-padding);
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* @tokens Panel response success colors
|
|
972
|
-
* @presenter Color
|
|
973
|
-
*/
|
|
974
|
-
|
|
975
|
-
.panel-response-success {
|
|
976
|
-
--panel-border-local: 1px solid var(--panel-response-success-border-color); // @presenter Border
|
|
977
|
-
|
|
978
|
-
--panel-body-text-color: var(--panel-response-success-body-text-color);
|
|
979
|
-
--panel-body-background-color: var(--panel-response-success-body-background-color);
|
|
980
|
-
|
|
981
|
-
--panel-heading-background-color: var(--panel-response-success-heading-background-color);
|
|
982
|
-
--panel-heading-text-color: var(--panel-response-success-heading-text-color);
|
|
983
|
-
|
|
984
|
-
--panel-response-schema-nested-background-color: var( --panel-response-success-schema-nested-background-color);
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* @tokens Panel response info colors
|
|
989
|
-
* @presenter Color
|
|
990
|
-
*/
|
|
991
|
-
|
|
992
|
-
.panel-response-info {
|
|
993
|
-
--panel-border-local: 1px solid var(--panel-response-info-border-color); // @presenter Border
|
|
994
|
-
|
|
995
|
-
--panel-body-text-color: var(--panel-response-info-body-text-color);
|
|
996
|
-
--panel-body-background-color: var(--panel-response-info-body-background-color);
|
|
997
|
-
|
|
998
|
-
--panel-heading-background-color: var(--panel-response-info-heading-background-color);
|
|
999
|
-
--panel-heading-text-color: var(--panel-response-info-heading-text-color);
|
|
1000
|
-
|
|
1001
|
-
--panel-response-schema-nested-background-color: var( --panel-response-info-schema-nested-background-color);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* @tokens Panel response error colors
|
|
1006
|
-
* @presenter Color
|
|
1007
|
-
*/
|
|
1008
|
-
|
|
1009
|
-
.panel-response-error {
|
|
1010
|
-
--panel-border-local: 1px solid var(--panel-response-error-border-color); // @presenter Border
|
|
1011
|
-
|
|
1012
|
-
--panel-body-text-color: var(--panel-response-error-body-text-color);
|
|
1013
|
-
--panel-body-background-color: var(--panel-response-error-body-background-color);
|
|
1014
|
-
|
|
1015
|
-
--panel-heading-background-color: var(--panel-response-error-heading-background-color);
|
|
1016
|
-
--panel-heading-text-color: var(--panel-response-error-heading-text-color);
|
|
1017
|
-
|
|
1018
|
-
--panel-response-schema-nested-background-color: var( --panel-response-error-schema-nested-background-color);
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* @tokens Panel response redirect colors
|
|
1023
|
-
* @presenter Color
|
|
1024
|
-
*/
|
|
1025
|
-
|
|
1026
|
-
.panel-response-redirect {
|
|
1027
|
-
--panel-border-local: 1px solid var(--panel-response-redirect-border-color); // @presenter Border
|
|
1028
|
-
--panel-body-text-color: var(--panel-response-redirect-body-text-color);
|
|
1029
|
-
|
|
1030
|
-
--panel-body-background-color: var(--panel-response-redirect-body-background-color);
|
|
1031
|
-
--panel-heading-background-color: var(--panel-response-redirect-heading-background-color);
|
|
1032
|
-
--panel-heading-text-color: var(--panel-response-redirect-heading-text-color);
|
|
1033
|
-
|
|
1034
|
-
--panel-response-schema-nested-background-color: var( --panel-response-redirect-schema-nested-background-color);
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* @tokens Panel response callback colors
|
|
1039
|
-
* @presenter Color
|
|
1040
|
-
*/
|
|
1041
|
-
|
|
1042
|
-
.panel-response-callback {
|
|
1043
|
-
--panel-border-local: 1px solid var(--panel-response-callback-border-color); // @presenter Border
|
|
1044
|
-
|
|
1045
|
-
--panel-body-text-color: var(--panel-response-callback-body-text-color);
|
|
1046
|
-
--panel-body-background-color: var(--panel-response-callback-body-background-color);
|
|
1047
|
-
|
|
1048
|
-
--panel-heading-background-color: var(--panel-response-callback-heading-background-color);
|
|
1049
|
-
--panel-heading-text-color: var(--panel-response-callback-heading-text-color);
|
|
1050
|
-
|
|
1051
|
-
--panel-response-schema-nested-background-color: var( --panel-response-callback-schema-nested-background-color);
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* @tokens Panel try-it nested common
|
|
1056
|
-
* @presenter Color
|
|
1057
|
-
*/
|
|
1058
|
-
|
|
1059
|
-
--panel-try-it-nested-text-color: var(--text-color-inverse);
|
|
1060
|
-
--panel-try-it-nested-chevron-icon-color: var(--text-color-inverse);
|
|
1061
|
-
|
|
1062
|
-
--panel-try-it-nested-body-background-color: #3e4c59;
|
|
1063
|
-
--panel-try-it-nested-body-text-color: var(--text-color-inverse);
|
|
1064
|
-
--panel-try-it-nested-body-padding: var(--panel-body-padding); // @presenter Spacing
|
|
1065
|
-
--panel-try-it-nested-body-border-color: var(--color-secondary-800);
|
|
1066
|
-
|
|
1067
|
-
--panel-try-it-nested-heading-text-color: var(--text-color-inverse);
|
|
1068
|
-
--panel-try-it-nested-heading-background-color: transparent;
|
|
1069
|
-
--panel-try-it-nested-heading-border-color: var(--color-secondary-800);
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* @tokens Panel try-it nested
|
|
1073
|
-
* @presenter Color
|
|
1074
|
-
*/
|
|
1075
|
-
|
|
1076
|
-
.panel-try-it-nested {
|
|
1077
|
-
--panel-text-color: var(--panel-try-it-nested-text-color);
|
|
1078
|
-
--panel-chevron-icon-color: var(--panel-try-it-nested-chevron-icon-color);
|
|
1079
|
-
|
|
1080
|
-
--panel-body-text-color: var(--panel-try-it-nested-body-text-color);
|
|
1081
|
-
--panel-body-background-color: var(--panel-try-it-nested-body-background-color);
|
|
1082
|
-
--panel-body-padding-local: var(--panel-try-it-nested-body-padding); // @presenter Spacing
|
|
1083
|
-
|
|
1084
|
-
--panel-heading-text-color: var(--panel-try-it-nested-heading-text-color);
|
|
1085
|
-
--panel-heading-background-color: var(--panel-try-it-nested-heading-background-color);
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* @tokens Panel samples tabs
|
|
1090
|
-
*/
|
|
1091
|
-
|
|
1092
|
-
--panel-samples-tabs-font-size: var(--panel-font-size); // @presenter FontSize
|
|
1093
|
-
--panel-samples-tabs-text-color: var(--text-color-inverse); // @presenter Color
|
|
1094
|
-
--panel-samples-tabs-font-family: var(--panel-font-family); // @presenter FontFamily
|
|
1095
|
-
--panel-samples-tabs-font-weight: var(--panel-font-weight); // @presenter FontWeight
|
|
1096
|
-
|
|
1097
|
-
--panel-samples-tabs-background-color: transparent; // @presenter Color
|
|
1098
|
-
--panel-samples-tabs-hover-background-color: #3c4c5a; // @presenter Color
|
|
1099
|
-
--panel-samples-tabs-active-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1100
|
-
|
|
1101
|
-
--panel-samples-tabs-border-color: var(--border-color-secondary); // @presenter Color
|
|
1102
|
-
--panel-samples-tabs-hover-border-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1103
|
-
--panel-samples-tabs-active-border-color: var(--color-accent-500); // @presenter Color
|
|
1104
|
-
|
|
1105
|
-
--panel-samples-code-block-background-color: var(--code-block-background-color); // @presenter Color
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* @tokens Panel try-it tabs
|
|
1109
|
-
*/
|
|
1110
|
-
|
|
1111
|
-
--panel-try-it-tabs-font-size: 12px; // @presenter FontSize
|
|
1112
|
-
--panel-try-it-tabs-text-color: var(--text-color-inverse); // @presenter Color
|
|
1113
|
-
--panel-try-it-tabs-font-family: var(--panel-font-family); // @presenter FontFamily
|
|
1114
|
-
--panel-try-it-tabs-font-weight: var(--panel-font-weight); // @presenter FontWeight
|
|
1115
|
-
--panel-try-it-tabs-disabled-text-color: var(--color-secondary-400); // @presenter Color
|
|
1116
|
-
|
|
1117
|
-
--panel-try-it-tabs-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1118
|
-
--panel-try-it-tabs-hover-background-color: var(--panel-samples-tabs-hover-background-color); // @presenter Color
|
|
1119
|
-
--panel-try-it-tabs-active-background-color: #47535e; // @presenter Color
|
|
1120
|
-
--panel-try-it-tabs-disabled-background-color: var(--color-secondary-500); // @presenter Color
|
|
1121
|
-
|
|
1122
|
-
--panel-try-it-tabs-border-color: transparent; // @presenter Color
|
|
1123
|
-
--panel-try-it-tabs-hover-border-color: var(--panel-try-it-tabs-active-border-color); // @presenter Color
|
|
1124
|
-
--panel-try-it-tabs-active-border-color: var(--color-accent-500); // @presenter Color
|
|
1125
|
-
--panel-try-it-tabs-disabled-border-color: transparent; // @presenter Color
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* @tokens Panel try-it action button
|
|
1129
|
-
*/
|
|
1130
|
-
|
|
1131
|
-
--panel-try-it-action-button-width: auto;
|
|
1132
|
-
--panel-try-it-action-button-font-family: var(--panel-font-family); // @presenter FontFamily
|
|
1133
|
-
--panel-try-it-action-button-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
1134
|
-
--panel-try-it-action-button-font-size: var(--panel-font-size); // @presenter FontSize
|
|
1135
|
-
--panel-try-it-action-button-text-color: var(--text-color-inverse); // @presenter Color
|
|
1136
|
-
--panel-try-it-action-button-background-color: var(--color-primary-500); // @presenter Color
|
|
1137
|
-
--panel-try-it-action-button-border-color: transparent; // @presenter Color
|
|
1138
|
-
|
|
1139
|
-
--panel-try-it-action-button-active-text-color: var(--text-color-inverse); // @presenter Color
|
|
1140
|
-
--panel-try-it-action-button-active-background-color: var(--color-primary-700); // @presenter Color
|
|
1141
|
-
--panel-try-it-action-button-active-border-color: var(--color-primary-700); // @presenter Color
|
|
341
|
+
* @tokens Borders
|
|
342
|
+
* @presenter Border
|
|
343
|
+
*/
|
|
1142
344
|
|
|
1143
|
-
--
|
|
1144
|
-
--
|
|
1145
|
-
--panel-try-it-action-button-hover-border-color: var(--color-primary-600); // @presenter Color
|
|
345
|
+
--border-width: 1px;
|
|
346
|
+
--border-style: solid;
|
|
1146
347
|
|
|
1147
348
|
/**
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
--panel-samples-controls-background-color: var(--panel-samples-heading-background-color);
|
|
1152
|
-
|
|
1153
|
-
--panel-samples-icon-controls-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1154
|
-
--panel-samples-text-controls-background-color: var(--color-secondary-900); // @presenter Color
|
|
349
|
+
* @tokens Border Colors
|
|
350
|
+
* @presenter Color
|
|
351
|
+
*/
|
|
1155
352
|
|
|
1156
|
-
--
|
|
1157
|
-
--
|
|
1158
|
-
--panel-samples-controls-border: 1px solid var(--color-secondary-900); // @presenter Color
|
|
353
|
+
--border-primary: #d5d5d5; // 12% opacity. Raised dividers
|
|
354
|
+
--border-secondary: #f0f0f0; // 6% opacity. Default dividers, borders
|
|
1159
355
|
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
356
|
+
/**
|
|
357
|
+
* @tokens Border Radius
|
|
358
|
+
* @presenter BorderRadius
|
|
359
|
+
*/
|
|
1163
360
|
|
|
1164
|
-
--
|
|
361
|
+
--border-radius: 4px;
|
|
362
|
+
--border-radius-md: calc(var(--border-radius) * 1.5);
|
|
363
|
+
--border-radius-lg: calc(var(--border-radius) * 2);
|
|
364
|
+
--border-radius-xlg: calc(var(--border-radius) * 3);
|
|
365
|
+
`;
|
|
366
|
+
const headingsTypography = (0, styled_components_1.css) `
|
|
367
|
+
* {
|
|
368
|
+
box-sizing: border-box;
|
|
369
|
+
}
|
|
1165
370
|
|
|
1166
371
|
/**
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
--panel-try-it-input-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1171
|
-
--panel-try-it-input-text-color: var(--text-color-inverse); // @presenter Color
|
|
1172
|
-
--panel-try-it-input-border: unset; // @presenter Border
|
|
372
|
+
* @tokens Headings common styles
|
|
373
|
+
*/
|
|
1173
374
|
|
|
1174
|
-
--
|
|
1175
|
-
--
|
|
1176
|
-
--
|
|
375
|
+
--heading-font-family: Source Sans Pro, sans-serif; // @presenter FontFamily
|
|
376
|
+
--heading-font-weight: var(--font-weight-bolder); // @presenter FontWeight
|
|
377
|
+
--heading-margin-top: 1.25em; // @presenter Spacing
|
|
378
|
+
--heading-margin-bottom: 0.9em; // @presenter Spacing
|
|
379
|
+
--heading-text-color: var(--text-primary); // @presenter Color
|
|
1177
380
|
|
|
1178
|
-
|
|
381
|
+
/**
|
|
382
|
+
* @tokens Typography heading anchor icon
|
|
383
|
+
*/
|
|
1179
384
|
|
|
1180
|
-
|
|
385
|
+
--heading-anchor-offset-right: 4px; // @presenter Spacing
|
|
386
|
+
--heading-anchor-color: var(--color-primary); // @presenter Color
|
|
387
|
+
--heading-anchor-icon: none;
|
|
1181
388
|
|
|
1182
|
-
--samples-panel-markdown-background-color: #3c4c5a;
|
|
1183
|
-
--samples-panel-markdown-border-color: #46596a;
|
|
1184
389
|
|
|
1185
|
-
--layout-right-rail-width: 50%;
|
|
1186
|
-
--layout-right-rail-background-color: transparent;
|
|
1187
|
-
`;
|
|
1188
|
-
const tooltip = (0, styled_components_1.css) `
|
|
1189
390
|
/**
|
|
1190
|
-
* @tokens
|
|
1191
|
-
* @presenter Color
|
|
391
|
+
* @tokens Heading level 1
|
|
1192
392
|
*/
|
|
1193
|
-
|
|
1194
|
-
--
|
|
393
|
+
|
|
394
|
+
--h1-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
395
|
+
--h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
396
|
+
--h1-font-size: 36px; // @presenter FontSize
|
|
397
|
+
--h1-line-height: 36px; // @presenter LineHeight
|
|
398
|
+
--h1-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
399
|
+
--h1-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
400
|
+
--h1-text-color: var(--heading-text-color); // @presenter Color
|
|
1195
401
|
|
|
1196
402
|
/**
|
|
1197
|
-
* @tokens
|
|
1198
|
-
* @presenter Color
|
|
403
|
+
* @tokens Heading level 2
|
|
1199
404
|
*/
|
|
1200
405
|
|
|
1201
|
-
--
|
|
1202
|
-
--
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
406
|
+
--h2-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
407
|
+
--h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
408
|
+
--h2-font-size: 28px; // @presenter FontSize
|
|
409
|
+
--h2-line-height: 28px; // @presenter LineHeight
|
|
410
|
+
--h2-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
411
|
+
--h2-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
412
|
+
--h2-text-color: var(--heading-text-color); // @presenter Color
|
|
1208
413
|
|
|
1209
|
-
// @tokens End
|
|
1210
|
-
`;
|
|
1211
|
-
const code = (0, styled_components_1.css) `
|
|
1212
414
|
/**
|
|
1213
|
-
* @tokens
|
|
415
|
+
* @tokens Heading level 3
|
|
1214
416
|
*/
|
|
1215
|
-
--code-font-size: 13px; // @presenter FontSize
|
|
1216
|
-
--code-font-family: var(--font-family-monospaced); // @presenter FontFamily
|
|
1217
|
-
--code-font-weight: 400; // @presenter FontWeight
|
|
1218
|
-
--code-line-height: 18px; // @presenter LineHeight
|
|
1219
|
-
--code-wrap: pre;
|
|
1220
|
-
--code-word-break: break-word;
|
|
1221
417
|
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
--
|
|
1226
|
-
--
|
|
1227
|
-
--
|
|
1228
|
-
--
|
|
1229
|
-
--inline-code-border-color: var(--border-color); // @presenter Color
|
|
1230
|
-
--inline-code-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
418
|
+
--h3-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
419
|
+
--h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
420
|
+
--h3-font-size: 18px; // @presenter FontSize
|
|
421
|
+
--h3-line-height: 18px; // @presenter LineHeight
|
|
422
|
+
--h3-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
423
|
+
--h3-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
424
|
+
--h3-text-color: var(--heading-text-color); // @presenter Color
|
|
1231
425
|
|
|
1232
426
|
/**
|
|
1233
|
-
* @tokens
|
|
427
|
+
* @tokens Heading level 4
|
|
1234
428
|
*/
|
|
1235
|
-
|
|
1236
|
-
--
|
|
1237
|
-
--
|
|
1238
|
-
--
|
|
1239
|
-
--
|
|
1240
|
-
--code-block-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1241
|
-
--code-block-padding: calc(var(--spacing-unit) * 2);
|
|
1242
|
-
--code-block-margin: 0;
|
|
1243
|
-
--code-block-max-height: 50vh;
|
|
1244
|
-
--code-block-word-break: initial;
|
|
429
|
+
|
|
430
|
+
--h4-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
431
|
+
--h4-font-size: 16px; // @presenter FontSize
|
|
432
|
+
--h4-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
433
|
+
--h4-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
1245
434
|
|
|
1246
435
|
/**
|
|
1247
|
-
* @tokens
|
|
436
|
+
* @tokens Heading level 5
|
|
1248
437
|
*/
|
|
1249
438
|
|
|
1250
|
-
--
|
|
1251
|
-
--
|
|
1252
|
-
--
|
|
1253
|
-
--code-block-controls-hover-background-color: rgba(255, 255, 255, 0.15); // @presenter Color
|
|
1254
|
-
--code-block-controls-opacity: 0.5;
|
|
1255
|
-
--code-block-controls-active-opacity: 1;
|
|
1256
|
-
--code-block-controls-padding: 0 5px; // @presenter Spacing
|
|
1257
|
-
--code-block-controls-font-size: var(--font-size-base); // @presenter FontSize
|
|
1258
|
-
--code-block-controls-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1259
|
-
--code-block-controls-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
439
|
+
--h5-font-size: 14px; // @presenter FontSize
|
|
440
|
+
--h5-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
441
|
+
--h5-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
1260
442
|
|
|
1261
443
|
/**
|
|
1262
|
-
* @tokens
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
--
|
|
1266
|
-
--
|
|
1267
|
-
--
|
|
1268
|
-
--code-block-tokens-cdata-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
1269
|
-
--code-block-tokens-property-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
1270
|
-
--code-block-tokens-tag-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
1271
|
-
--code-block-tokens-number-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
1272
|
-
--code-block-tokens-constant-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
1273
|
-
--code-block-tokens-symbol-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
1274
|
-
--code-block-tokens-boolean-color: var(--color-error-500); // @presenter Color
|
|
1275
|
-
--code-block-tokens-string-color: #fee39e; // @presenter Color
|
|
1276
|
-
--code-block-tokens-property-string-color: #9efaa7; // @presenter Color
|
|
1277
|
-
--code-block-tokens-selector-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
1278
|
-
--code-block-tokens-attr-name-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
1279
|
-
--code-block-tokens-char-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
1280
|
-
--code-block-tokens-builtin-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
1281
|
-
--code-block-tokens-inserted-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
1282
|
-
--code-block-tokens-link-color: #4ed2ba; // @presenter Color
|
|
1283
|
-
--code-block-tokens-operator-color: #f5b83d; // @presenter Color
|
|
1284
|
-
--code-block-tokens-entity-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
1285
|
-
--code-block-tokens-url-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
1286
|
-
--code-block-tokens-variable-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
1287
|
-
--code-block-tokens-keyword-color: #ffdbf4; // @presenter Color
|
|
1288
|
-
--code-block-tokens-atrule-color: var(--code-block-tokens-keyword-color); // @presenter Color
|
|
1289
|
-
--code-block-tokens-attr-value-color: var(--code-block-tokens-keyword-color); // @presenter Color
|
|
1290
|
-
--code-block-tokens-regex-color: #e90; // @presenter Color
|
|
1291
|
-
--code-block-tokens-important-color: var(--code-block-tokens-regex-color); // @presenter Color
|
|
1292
|
-
--code-block-tokens-deleted-color: red; // @presenter Color
|
|
444
|
+
* @tokens Heading level 6
|
|
445
|
+
*/
|
|
446
|
+
|
|
447
|
+
--h6-font-size: 12px; // @presenter FontSize
|
|
448
|
+
--h6-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
449
|
+
--h6-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
1293
450
|
|
|
1294
451
|
// @tokens End
|
|
1295
452
|
`;
|
|
@@ -1297,17 +454,18 @@ const links = (0, styled_components_1.css) `
|
|
|
1297
454
|
/**
|
|
1298
455
|
* @tokens Links
|
|
1299
456
|
*/
|
|
1300
|
-
|
|
457
|
+
|
|
458
|
+
--link-text-color: var(--color-blue-6); // @presenter Color
|
|
1301
459
|
--link-decoration: none;
|
|
1302
460
|
--link-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
1303
461
|
|
|
1304
|
-
--link-hover-text-color: var(--color-
|
|
462
|
+
--link-hover-text-color: var(--color-blue-5); // @presenter Color
|
|
1305
463
|
--link-hover-decoration: underline;
|
|
1306
464
|
|
|
1307
465
|
--link-active-decoration: none;
|
|
1308
|
-
--link-active-text-color: var(--color-
|
|
466
|
+
--link-active-text-color: var(--color-blue-7); // @presenter Color
|
|
1309
467
|
|
|
1310
|
-
--link-visited-text-color: var(--color-
|
|
468
|
+
--link-visited-text-color: var(--color-blue-7); // @presenter Color
|
|
1311
469
|
--link-visited-decoration: none;
|
|
1312
470
|
|
|
1313
471
|
// @tokens End
|
|
@@ -1316,8 +474,9 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
1316
474
|
/* === ref docs and graphql docs specific === */
|
|
1317
475
|
|
|
1318
476
|
/**
|
|
1319
|
-
|
|
1320
|
-
|
|
477
|
+
* @tokens API Reference Schemas Layout
|
|
478
|
+
*/
|
|
479
|
+
|
|
1321
480
|
--layout-controls-margin: 20px; // @presenter Spacing
|
|
1322
481
|
--layout-controls-height: 36px; // @presenter Spacing
|
|
1323
482
|
--layout-controls-width: 36px; // @presenter Spacing
|
|
@@ -1335,8 +494,8 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
1335
494
|
--layout-panel-schemas-large-max-width: none;
|
|
1336
495
|
|
|
1337
496
|
/**
|
|
1338
|
-
|
|
1339
|
-
|
|
497
|
+
* @tokens API Reference Schemas MimeType Dropdown
|
|
498
|
+
*/
|
|
1340
499
|
|
|
1341
500
|
--schemas-mime-type-dropdown-padding: 0px 26px 0px 4px;
|
|
1342
501
|
--schemas-mime-type-dropdown-border: var(--docs-dropdown-border); // @presenter Border
|
|
@@ -1344,163 +503,169 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
1344
503
|
--schemas-mime-type-dropdown-text-color: var(--docs-dropdown-font-size); // @presenter Color
|
|
1345
504
|
|
|
1346
505
|
/**
|
|
1347
|
-
|
|
1348
|
-
|
|
506
|
+
* @tokens API Reference Schemas Discriminator Dropdown
|
|
507
|
+
*/
|
|
1349
508
|
|
|
1350
509
|
--schemas-discriminator-dropdown-padding: 2px 24px 2px 8px;
|
|
1351
|
-
--schemas-discriminator-dropdown-border: 1px solid var(--border-
|
|
510
|
+
--schemas-discriminator-dropdown-border: 1px solid var(--border-primary); // @presenter Border
|
|
1352
511
|
--schemas-discriminator-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
1353
512
|
--schemas-discriminator-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
1354
513
|
|
|
1355
514
|
/**
|
|
1356
|
-
|
|
1357
|
-
|
|
515
|
+
* @tokens API Reference Schemas Titles
|
|
516
|
+
*/
|
|
1358
517
|
|
|
1359
|
-
--schema-type-title-text-color: var(--text-
|
|
1360
|
-
--schema-type-text-color: var(--text-
|
|
518
|
+
--schema-type-title-text-color: var(--text-secondary); // @presenter Color
|
|
519
|
+
--schema-type-text-color: var(--text-secondary); // @presenter Color
|
|
1361
520
|
--schema-labels-font-size: 1em; // @presenter FontSize
|
|
1362
521
|
|
|
1363
522
|
/**
|
|
1364
|
-
|
|
1365
|
-
|
|
523
|
+
* @tokens API Reference Schemas Lines Color
|
|
524
|
+
*/
|
|
1366
525
|
|
|
1367
|
-
--schemas-lines-color: var(--border-
|
|
526
|
+
--schemas-lines-color: var(--border-primary); // @presenter Color
|
|
1368
527
|
|
|
1369
528
|
/**
|
|
1370
|
-
|
|
1371
|
-
|
|
529
|
+
* @tokens API Reference Schema Inline code typography
|
|
530
|
+
*/
|
|
1372
531
|
|
|
1373
532
|
--schema-inline-code-font-family: var(--inline-code-font-family); // @presenter FontFamily
|
|
1374
533
|
--schema-inline-code-font-size: var(--inline-code-font-size); // @presenter FontSize
|
|
1375
|
-
--schema-inline-code-
|
|
1376
|
-
--schema-inline-
|
|
1377
|
-
--schema-inline-
|
|
534
|
+
--schema-inline-code-font-weight: var(--inline-code-font-weight); // @presenter FontWeight
|
|
535
|
+
--schema-inline-code-text-color: var(--text-secondary); // @presenter Color
|
|
536
|
+
--schema-inline-code-line-height: var(--inline-code-line-height); // @presenter LineHeight
|
|
537
|
+
--schema-inline-background-color: var(--bg-overlay); // @presenter Color
|
|
538
|
+
--schema-inline-border-color: var(--border-primary); // @presenter Color
|
|
1378
539
|
--schema-inline-border: 1px solid var(--schema-inline-border-color); // @presenter Border
|
|
1379
540
|
|
|
1380
541
|
/**
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
542
|
+
* @tokens API Reference Schema Example Label colors
|
|
543
|
+
* @presenter Color
|
|
544
|
+
*/
|
|
1384
545
|
|
|
1385
546
|
--schema-example-text-color: var(--schema-inline-code-text-color);
|
|
1386
547
|
--schema-example-background-color: var(--schema-inline-background-color);
|
|
1387
548
|
--schema-example-border-color: var(--schema-inline-border-color);
|
|
1388
549
|
|
|
1389
550
|
/**
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
551
|
+
* @tokens API Reference Schema Constraint Label colors
|
|
552
|
+
* @presenter Color
|
|
553
|
+
*/
|
|
1393
554
|
|
|
1394
555
|
--schema-constraint-text-color: var(--schema-inline-code-text-color);
|
|
1395
556
|
--schema-constraint-background-color: var(--schema-inline-background-color);
|
|
1396
557
|
--schema-constraint-border-color: var(--schema-inline-border-color);
|
|
1397
558
|
|
|
1398
559
|
/**
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
560
|
+
* @tokens API Reference Schema Enum Label colors
|
|
561
|
+
* @presenter Color
|
|
562
|
+
*/
|
|
1402
563
|
|
|
1403
564
|
--schema-enum-text-color: var(--schema-inline-code-text-color);
|
|
1404
565
|
--schema-enum-background-color: var(--schema-inline-background-color);
|
|
1405
566
|
--schema-enum-border-color: var(--schema-inline-border-color);
|
|
1406
567
|
|
|
1407
568
|
/**
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
569
|
+
* @tokens API Reference Schema Default Label colors
|
|
570
|
+
* @presenter Color
|
|
571
|
+
*/
|
|
1411
572
|
|
|
1412
573
|
--schema-default-text-color: var(--schema-inline-code-text-color);
|
|
1413
574
|
--schema-default-background-color: var(--schema-inline-background-color);
|
|
1414
575
|
--schema-default-border-color: var(--schema-inline-border-color);
|
|
1415
576
|
|
|
1416
577
|
/**
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
578
|
+
* @tokens API Reference Schema Recursive Label colors
|
|
579
|
+
* @presenter Color
|
|
580
|
+
*/
|
|
1420
581
|
|
|
1421
|
-
--schema-recursive-text-color: var(--color-warning
|
|
582
|
+
--schema-recursive-text-color: var(--color-warning);
|
|
1422
583
|
--schema-recursive-background-color: var(--schema-inline-background-color);
|
|
1423
584
|
--schema-recursive-border-color: var(--schema-inline-border-color);
|
|
1424
585
|
|
|
1425
586
|
/**
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
587
|
+
* @tokens GraphQL Docs Reference Schema Non null label
|
|
588
|
+
* @presenter Color
|
|
589
|
+
*/
|
|
1429
590
|
|
|
1430
591
|
--schema-non-null-text-color: var(--schema-inline-code-text-color);
|
|
1431
592
|
--schema-non-null-background-color: var(--schema-inline-background-color);
|
|
1432
593
|
--schema-non-null-border-color: var(--schema-inline-border-color);
|
|
594
|
+
|
|
1433
595
|
/**
|
|
1434
|
-
|
|
1435
|
-
|
|
596
|
+
* @tokens API Reference Schema Nested styles
|
|
597
|
+
*/
|
|
1436
598
|
|
|
1437
599
|
--schema-nested-offset: 1em; // @presenter Spacing
|
|
1438
|
-
--schema-nested-background-color: var(--
|
|
600
|
+
--schema-nested-background-color: var(--bg-overlay); // @presenter Color
|
|
1439
601
|
|
|
1440
602
|
/**
|
|
1441
|
-
|
|
1442
|
-
|
|
603
|
+
* @tokens API Reference Schema Buttons
|
|
604
|
+
*/
|
|
1443
605
|
|
|
1444
606
|
--schema-buttons-font-family: var(--code-font-family); // @presenter FontFamily
|
|
1445
607
|
--schema-buttons-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
1446
608
|
--schema-buttons-font-size: var(--code-font-size); // @presenter FontSize
|
|
1447
609
|
|
|
1448
|
-
--schema-buttons-text-color: var(--
|
|
610
|
+
--schema-buttons-text-color: var(--text-secondary); // @presenter Color
|
|
1449
611
|
--schema-buttons-background-color: transparent; // @presenter Color
|
|
1450
|
-
--schema-buttons-border-color: var(--
|
|
612
|
+
--schema-buttons-border-color: var(--border-primary); // @presenter Color
|
|
1451
613
|
|
|
1452
|
-
--schema-buttons-hover-background-color: var(--
|
|
1453
|
-
--schema-buttons-active-background-color: var(--
|
|
614
|
+
--schema-buttons-hover-background-color: var(--bg-overlay); // @presenter Color
|
|
615
|
+
--schema-buttons-active-background-color: var(--bg-overlay); // @presenter Color
|
|
1454
616
|
|
|
1455
617
|
--schema-buttons-selected-text-color: var(--schema-buttons-text-color); // @presenter Color
|
|
1456
|
-
--schema-buttons-selected-background-color: var(--
|
|
618
|
+
--schema-buttons-selected-background-color: var(--bg-overlay); // @presenter Color
|
|
1457
619
|
--schema-buttons-selected-border-color: var(--schema-buttons-border-color); // @presenter Color
|
|
1458
|
-
--schema-buttons-selected-hover-background-color: var(--
|
|
1459
|
-
--schema-buttons-selected-active-background-color: var(--
|
|
620
|
+
--schema-buttons-selected-hover-background-color: var(--bg-overlay); // @presenter Color
|
|
621
|
+
--schema-buttons-selected-active-background-color: var(--bg-overlay); // @presenter Color
|
|
1460
622
|
|
|
1461
623
|
/**
|
|
1462
|
-
|
|
1463
|
-
|
|
624
|
+
* @tokens API Reference Schema Properties
|
|
625
|
+
*/
|
|
1464
626
|
|
|
1465
|
-
--schemas-property-name-text-color: var(--text-
|
|
627
|
+
--schemas-property-name-text-color: var(--text-primary); //@presenter Color
|
|
1466
628
|
--schemas-property-name-font-size: var(--code-font-size); // @presenter FontSize
|
|
1467
629
|
--schemas-property-name-font-family: var(--code-font-family); // @presenter FontFamily
|
|
630
|
+
--schemas-property-name-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
631
|
+
--schemas-property-name-line-height: var(--line-height-sm); // @presenter LineHeight
|
|
632
|
+
--schemas-property-name-text-transform: none;
|
|
1468
633
|
|
|
1469
|
-
--schemas-property-deprecated-text-color: var(--text-
|
|
634
|
+
--schemas-property-deprecated-text-color: var(--text-primary); // @presenter Color
|
|
1470
635
|
|
|
1471
636
|
--schema-property-labels-font-size: var(--schema-labels-font-size); // @presenter FontSize
|
|
1472
|
-
--schema-property-required-label-text-color: var(--color-error
|
|
1473
|
-
--schema-property-additional-label-text-color: var(--text-
|
|
1474
|
-
--schema-property-access-label-text-color: var(--text-
|
|
637
|
+
--schema-property-required-label-text-color: var(--color-error); // @presenter Color
|
|
638
|
+
--schema-property-additional-label-text-color: var(--text-secondary); // @presenter Color
|
|
639
|
+
--schema-property-access-label-text-color: var(--text-secondary); // @presenter Color
|
|
1475
640
|
|
|
1476
641
|
--schema-property-details-width: 70%;
|
|
1477
642
|
|
|
1478
643
|
/**
|
|
1479
|
-
|
|
1480
|
-
|
|
644
|
+
* @tokens API Reference Schema Icons
|
|
645
|
+
*/
|
|
1481
646
|
|
|
1482
|
-
--schema-chevron-color: var(--text-
|
|
647
|
+
--schema-chevron-color: var(--text-secondary); // @presenter Color
|
|
1483
648
|
--schema-chevron-size: 9px;
|
|
1484
649
|
|
|
1485
|
-
--schema-property-deep-link-icon-color: var(--color-primary
|
|
650
|
+
--schema-property-deep-link-icon-color: var(--color-primary); // @presenter Color
|
|
1486
651
|
--schema-property-deep-link-icon: none;
|
|
1487
652
|
|
|
1488
|
-
|
|
653
|
+
/**
|
|
1489
654
|
* @tokens API Reference Other
|
|
1490
655
|
*/
|
|
1491
656
|
|
|
1492
|
-
--loading-spinner-color: var(--color-primary
|
|
1493
|
-
--linear-progress-color: var(--color-
|
|
1494
|
-
--linear-progress-background-color: var(--color-
|
|
657
|
+
--loading-spinner-color: var(--color-primary); // @presenter Color
|
|
658
|
+
--linear-progress-color: var(--color-info); // @presenter Color
|
|
659
|
+
--linear-progress-background-color: var(--color-info-bg); // @presenter Color
|
|
1495
660
|
|
|
1496
|
-
--fab-background-color: var(--color-primary
|
|
1497
|
-
--fab-box-shadow: var(--
|
|
661
|
+
--fab-background-color: var(--color-primary); // @presenter Color
|
|
662
|
+
--fab-box-shadow: var(--bg-base-shadow); // @presenter Shadow
|
|
1498
663
|
|
|
1499
|
-
--fab-hover-background: var(--color-primary
|
|
1500
|
-
--fab-hover-box-shadow: var(--
|
|
664
|
+
--fab-hover-background: var(--color-primary); // @presenter Color
|
|
665
|
+
--fab-hover-box-shadow: var(--bg-base-shadow); // @presenter Shadow
|
|
1501
666
|
|
|
1502
|
-
--fab-active-background: var(--color-primary
|
|
1503
|
-
--fab-active-box-shadow: var(--
|
|
667
|
+
--fab-active-background: var(--color-primary); // @presenter Color
|
|
668
|
+
--fab-active-box-shadow: var(--bg-base-shadow); // @presenter Shadow
|
|
1504
669
|
|
|
1505
670
|
--fab-icon-color: var(--navbar-text-color); // @presenter Color
|
|
1506
671
|
|
|
@@ -1508,81 +673,25 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
1508
673
|
`;
|
|
1509
674
|
const badges = (0, styled_components_1.css) `
|
|
1510
675
|
/**
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
--badge-
|
|
1515
|
-
--badge-
|
|
676
|
+
* @tokens Default Badge
|
|
677
|
+
*/
|
|
678
|
+
|
|
679
|
+
--badge-text-color: var(--color-primary-text); // @presenter Color
|
|
680
|
+
--badge-background-color: var(--color-primary-bg); // @presenter Color
|
|
681
|
+
--badge-border-color: var(--color-primary-border); // @presenter Color
|
|
1516
682
|
--badge-border: 1px solid var(--badge-border-color); // @presenter Border
|
|
1517
683
|
--badge-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1518
684
|
|
|
1519
685
|
/**
|
|
1520
|
-
|
|
1521
|
-
|
|
686
|
+
* @tokens Deprecated Badge
|
|
687
|
+
*/
|
|
1522
688
|
|
|
1523
|
-
--badge-deprecated-text-color: var(--color-
|
|
1524
|
-
--badge-deprecated-background-color: var(--color-warning-
|
|
1525
|
-
--badge-deprecated-border-color: var(--color-warning-
|
|
689
|
+
--badge-deprecated-text-color: var(--color-warning); // @presenter Color
|
|
690
|
+
--badge-deprecated-background-color: var(--color-warning-bg); // @presenter Color
|
|
691
|
+
--badge-deprecated-border-color: var(--color-warning-border); // @presenter Color
|
|
1526
692
|
--badge-deprecated-border: 1px solid var(--badge-deprecated-border-color); // @presenter Border
|
|
1527
693
|
--badge-deprecated-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1528
694
|
|
|
1529
|
-
/**
|
|
1530
|
-
* @tokens Http Badge
|
|
1531
|
-
*/
|
|
1532
|
-
|
|
1533
|
-
--badge-http-font-size: 12px; // @presenter FontSize
|
|
1534
|
-
--badge-http-line-height: 20px; // @presenter LineHeight
|
|
1535
|
-
--badge-http-text-color: var(--badge-text-color); // @presenter Color
|
|
1536
|
-
--badge-http-font-family: var(--code-font-family); // @presenter FontFamily
|
|
1537
|
-
--badge-http-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
1538
|
-
--badge-http-border-radius: calc(var(--border-radius-lg) * 2); // @presenter BorderRadius
|
|
1539
|
-
|
|
1540
|
-
/**
|
|
1541
|
-
* @tokens Sidebar item badge http
|
|
1542
|
-
*/
|
|
1543
|
-
|
|
1544
|
-
--sidebar-item-badge-http-text-color: var(--badge-text-color); // @presenter Color
|
|
1545
|
-
--sidebar-item-badge-http-font-family: var(--code-font-family); // @presenter FontFamily
|
|
1546
|
-
--sidebar-item-badge-http-font-size: 8px; // @presenter FontSize
|
|
1547
|
-
--sidebar-item-badge-http-font-weight: normal; //@presenter FontWeight
|
|
1548
|
-
--sidebar-item-badge-http-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
1549
|
-
|
|
1550
|
-
// @tokens End
|
|
1551
|
-
`;
|
|
1552
|
-
const footer = (0, styled_components_1.css) `
|
|
1553
|
-
/**
|
|
1554
|
-
* @tokens Footer
|
|
1555
|
-
*/
|
|
1556
|
-
--footer-background-color: var(--color-primary-500); // @presenter Color
|
|
1557
|
-
--footer-text-color: #fff; // @presenter Color
|
|
1558
|
-
|
|
1559
|
-
--footer-padding-vertical: 2em; // @presenter Spacing
|
|
1560
|
-
--footer-padding-horizontal: 20px; // @presenter Spacing
|
|
1561
|
-
|
|
1562
|
-
--footer-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1563
|
-
--footer-font-size: 1rem; // @presenter FontSize
|
|
1564
|
-
--footer-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
1565
|
-
|
|
1566
|
-
--footer-title-text-color: var(--footer-text-color); // @presenter Color
|
|
1567
|
-
--footer-title-font-size: 24px; // @presenter FontSize
|
|
1568
|
-
--footer-title-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
1569
|
-
--footer-title-margin-vertical: 1.5em;
|
|
1570
|
-
|
|
1571
|
-
--footer-link-text-color: var(--footer-text-color); // @presenter Color
|
|
1572
|
-
--footer-link-hover-color: var(--footer-text-color); // @presenter Color
|
|
1573
|
-
|
|
1574
|
-
--footer-item-padding-vertical: 0.5em; // @presenter Spacingv
|
|
1575
|
-
--footer-item-padding-horizontal: 0;
|
|
1576
|
-
|
|
1577
|
-
--footer-item-icon-width: 24px; // @presenter Spacing
|
|
1578
|
-
--footer-item-icon-height: 24px; // @presenter Spacing
|
|
1579
|
-
--footer-item-icon-margin-right: 12px; // @presenter Spacing
|
|
1580
|
-
|
|
1581
|
-
--footer-column-width: 20%; // @presenter Spacing
|
|
1582
|
-
--footer-column-margin-vertical: 20px; // @presenter Spacing
|
|
1583
|
-
--footer-column-margin-horizontal: 0; // @presenter Spacing
|
|
1584
|
-
|
|
1585
|
-
--footer-container-max-width: 1200px; // @presenter Spacing
|
|
1586
695
|
|
|
1587
696
|
// @tokens End
|
|
1588
697
|
`;
|
|
@@ -1599,161 +708,12 @@ const logo = (0, styled_components_1.css) `
|
|
|
1599
708
|
|
|
1600
709
|
// @tokens End
|
|
1601
710
|
`;
|
|
1602
|
-
const navbar = (0, styled_components_1.css) `
|
|
1603
|
-
/**
|
|
1604
|
-
* @tokens Navbar
|
|
1605
|
-
*/
|
|
1606
|
-
--navbar-height: 60px; // @presenter Spacing
|
|
1607
|
-
--navbar-text-color: #fff; // @presenter Color
|
|
1608
|
-
--navbar-background-color: var(--color-primary-500); // @presenter Color
|
|
1609
|
-
--navbar-container-max-width: 100%;
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* @tokens Navbar Item
|
|
1613
|
-
* */
|
|
1614
|
-
--navbar-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1615
|
-
--navbar-item-font-size: 16px; // @presenter FontSize
|
|
1616
|
-
--navbar-item-padding-horizontal: 16px; // @presenter Spacing
|
|
1617
|
-
--navbar-item-padding-vertical: 8px; // @presenter Spacing
|
|
1618
|
-
--navbar-item-gap: 5px;
|
|
1619
|
-
--navbar-item-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1620
|
-
--navbar-item-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
1621
|
-
--navbar-item-hover-background-color: var(--color-primary-300);
|
|
1622
|
-
--navbar-item-active-background-color: var(--color-primary-300); // @presenter Color
|
|
1623
|
-
--navbar-item-hover-text-color: var(--navbar-text-color); // @presenter Color
|
|
1624
|
-
--navbar-item-hover-text-decoration: none;
|
|
1625
|
-
--navbar-item-active-text-color: var(--navbar-text-color); // @presenter Color
|
|
1626
|
-
--navbar-item-active-text-decoration: none;
|
|
1627
|
-
--navbar-item-separator-line-color: var(--border-color); // @presenter Color
|
|
1628
|
-
--navbar-item-icon-width: 1.5em; // @presenter Spacing
|
|
1629
|
-
--navbar-item-icon-height: 1.5em; // @presenter Spacing
|
|
1630
|
-
--navbar-item-icon-margin-right: 0.5em; // @presenter Spacing
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* @tokens Navbar dropdown
|
|
1634
|
-
* */
|
|
1635
|
-
|
|
1636
|
-
--navbar-dropdown-shadow: 4px 4px 15px -2px rgba(0, 0, 0, 0.5); //should be variable
|
|
1637
|
-
--navbar-dropdown-background: var(--navbar-item-active-background-color);
|
|
1638
|
-
--navbar-dropdown-border: none;
|
|
1639
|
-
|
|
1640
|
-
// @tokens End
|
|
1641
|
-
`;
|
|
1642
|
-
const breadcrumbs = (0, styled_components_1.css) `
|
|
1643
|
-
/**
|
|
1644
|
-
* @tokens Breadcrumbs
|
|
1645
|
-
*/
|
|
1646
|
-
|
|
1647
|
-
--breadcrumbs-text-color: var(--text-color-secondary); // @presenter Color
|
|
1648
|
-
--breadcrumbs-font-size: var(--font-size-base); // @presenter FontSize
|
|
1649
|
-
--breadcrumbs-active-text-color: var(--text-color); // @presenter Color
|
|
1650
|
-
--breadcrumbs-hover-text-decoration: underline;
|
|
1651
|
-
--breadcrumbs-padding-horizontal: 8px; // @presenter Spacing
|
|
1652
|
-
--breadcrumbs-margin-bottom: 24px; // @presenter Spacing
|
|
1653
|
-
|
|
1654
|
-
// @tokens End
|
|
1655
|
-
`;
|
|
1656
|
-
const product = (0, styled_components_1.css) `
|
|
1657
|
-
/**
|
|
1658
|
-
* @tokens Product
|
|
1659
|
-
*/
|
|
1660
|
-
--product-padding-horizontal: 8px; // @presenter Spacing
|
|
1661
|
-
--product-padding-vertical: 8px; // @presenter Spacing
|
|
1662
|
-
--product-logo-margin: 10px; // @presenter Spacing
|
|
1663
|
-
|
|
1664
|
-
// @tokens End
|
|
1665
|
-
`;
|
|
1666
|
-
const mobileMenu = (0, styled_components_1.css) `
|
|
1667
|
-
/**
|
|
1668
|
-
* @tokens Mobile Menu icons
|
|
1669
|
-
*/
|
|
1670
|
-
--mobile-menu-icons-size: 20px; // @presenter Spacing
|
|
1671
|
-
--mobile-menu-search-icon-size: 18px; // @presenter Spacing
|
|
1672
|
-
|
|
1673
|
-
/**
|
|
1674
|
-
* @tokens Mobile Menu
|
|
1675
|
-
* */
|
|
1676
|
-
--mobile-menu-padding-top: 13px; // @presenter Spacing
|
|
1677
|
-
--mobile-menu-items-margin-top: 5px; // @presenter Spacing
|
|
1678
|
-
--mobile-menu-burger-button-margin: 8px; // @presenter Spacing
|
|
1679
|
-
--mobile-menu-background: #ffffff; // @presenter Color
|
|
1680
|
-
--mobile-menu-profile-background: #ffffff; // @presenter Color
|
|
1681
|
-
--mobile-menu-profile-border-color: #e3e3e3; // @presenter Color
|
|
1682
|
-
--mobile-menu-group-padding-right: 16px; // @presenter Spacing
|
|
1683
|
-
--mobile-menu-horizontal-margin: 8px; // @presenter Spacing
|
|
1684
|
-
--mobile-menu-item-nested-offset: 8px; // @presenter Spacing
|
|
1685
|
-
--mobile-menu-item-radius: 6px; // @presenter Spacing
|
|
1686
|
-
--mobile-menu-item-text-color: #525252;// @presenter Color
|
|
1687
|
-
--mobile-menu-item-active-color: #FAFAFA; // @presenter Color
|
|
1688
|
-
--mobile-menu-item-active-text-color: #161616; // @presenter Color
|
|
1689
|
-
|
|
1690
|
-
/**
|
|
1691
|
-
* @tokens Mobile Menu control button
|
|
1692
|
-
* */
|
|
1693
|
-
--mobile-menu-control-button-padding-vertical: 0; // @presenter Spacing
|
|
1694
|
-
--mobile-menu-control-button-padding-horizontal: 4px; // @presenter Spacing
|
|
1695
|
-
--mobile-menu-control-button-margin-vertical: 0; // @presenter Spacing
|
|
1696
|
-
--mobile-menu-control-button-margin-horizontal: 8px; // @presenter Spacing
|
|
1697
|
-
--mobile-menu-control-button-font-size: var(--font-size-base); // @presenter FontSize
|
|
1698
|
-
--mobile-menu-control-button-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
1699
|
-
--mobile-menu-control-button-color: var(--mobile-menu-item-text-color); // @presenter Color
|
|
1700
|
-
--mobile-menu-control-button-hover-color: var(--text-color); // @presenter Color
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* @tokens Mobile Menu Login button
|
|
1704
|
-
* */
|
|
1705
|
-
--mobile-menu-login-button-background: #1c1c1c; // @presenter Color
|
|
1706
|
-
--mobile-menu-login-button-color: #ffffff; // @presenter Color
|
|
1707
|
-
|
|
1708
|
-
// @tokens End
|
|
1709
|
-
`;
|
|
1710
|
-
const toc = (0, styled_components_1.css) `
|
|
1711
|
-
/**
|
|
1712
|
-
* @tokens TOC
|
|
1713
|
-
* */
|
|
1714
|
-
|
|
1715
|
-
--toc-width: 240px;
|
|
1716
|
-
--toc-background-color: transparent;
|
|
1717
|
-
--toc-border-color: var(--border-color);
|
|
1718
|
-
|
|
1719
|
-
--toc-spacing-unit: 8px;
|
|
1720
|
-
--toc-offset-top: calc(var(--toc-spacing-unit) * 2);
|
|
1721
|
-
|
|
1722
|
-
/**
|
|
1723
|
-
* @tokens TOC item typography
|
|
1724
|
-
*/
|
|
1725
|
-
--toc-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1726
|
-
--toc-item-font-size: var(--font-size-base); // @presenter FontSize
|
|
1727
|
-
|
|
1728
|
-
/**
|
|
1729
|
-
* @tokens TOC item
|
|
1730
|
-
*/
|
|
1731
|
-
|
|
1732
|
-
--toc-item-text-color: var(--text-color); // @presenter Color
|
|
1733
|
-
--toc-item-active-text-color: var(--text-color); // @presenter Color
|
|
1734
|
-
--toc-item-background-color: transparent; // @presenter Color
|
|
1735
|
-
--toc-item-active-background-color: var(--border-color); // @presenter Color
|
|
1736
|
-
--toc-item-nested-offset: calc(var(--toc-spacing-unit) * 2); // @presenter Spacing
|
|
1737
|
-
--toc-item-padding-vertical: var(--toc-spacing-unit); // @presenter Spacing
|
|
1738
|
-
--toc-item-padding-horizontal: calc(var(--toc-spacing-unit) * 2); // @presenter Spacing
|
|
1739
|
-
|
|
1740
|
-
/**
|
|
1741
|
-
* @tokens TOC header
|
|
1742
|
-
*/
|
|
1743
|
-
|
|
1744
|
-
--toc-heading-font-size: var(--font-size-base); // @presenter FontSize
|
|
1745
|
-
--toc-heading-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1746
|
-
--toc-heading-font-weight: bold; // @presenter FontWeight
|
|
1747
|
-
--toc-heading-text-color: var(--text-color); // @presenter Color
|
|
1748
|
-
|
|
1749
|
-
// @tokens End
|
|
1750
|
-
`;
|
|
1751
711
|
const loadProgressBar = (0, styled_components_1.css) `
|
|
1752
712
|
/**
|
|
1753
713
|
* @tokens Load progress bar
|
|
1754
714
|
*/
|
|
1755
715
|
|
|
1756
|
-
--load-progress-bar-color: var(--color-
|
|
716
|
+
--load-progress-bar-color: var(--color-info); // @presenter Color
|
|
1757
717
|
--load-progress-bar-shadow: 0 0 10px var(--load-progress-bar-color),
|
|
1758
718
|
0 0 5px var(--load-progress-bar-color); // @presenter BoxShadow
|
|
1759
719
|
--load-progress-bar-height: 2px; // @presenter Height
|
|
@@ -1804,485 +764,146 @@ const inputs = (0, styled_components_1.css) `
|
|
|
1804
764
|
/**
|
|
1805
765
|
* @tokens Inputs
|
|
1806
766
|
*/
|
|
1807
|
-
|
|
1808
|
-
--input-
|
|
1809
|
-
--input-
|
|
767
|
+
|
|
768
|
+
--input-text-color: var(--text-secondary); // @presenter Color
|
|
769
|
+
--input-background-color: var(--background-color); // @presenter Color
|
|
770
|
+
--input-border: 1px solid var(--border-primary); // @presenter Border
|
|
771
|
+
--input-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
1810
772
|
--input-font-size: var(--font-size-base); // @presenter FontSize
|
|
1811
773
|
--input-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1812
774
|
--input-line-height: 1.15em; // @presenter LineHeight
|
|
1813
775
|
--input-padding: 8px;
|
|
1814
776
|
|
|
1815
|
-
--input-hover-text-color: var(--text-
|
|
1816
|
-
--input-hover-border:
|
|
1817
|
-
--input-focus-border:
|
|
1818
|
-
--input-focus-text-color: var(--text-
|
|
1819
|
-
--input-placeholder-text-color: var(--text-color-inverse); // @presenter Color
|
|
1820
|
-
|
|
1821
|
-
--checkbox-backround-color: var(--background-color);
|
|
1822
|
-
--checkbox-checked-backround-color: var(--color-primary-500);
|
|
1823
|
-
// @tokens End
|
|
1824
|
-
`;
|
|
1825
|
-
const markdown = (0, styled_components_1.css) `
|
|
1826
|
-
/**
|
|
1827
|
-
* @tokens Markdown Container
|
|
1828
|
-
*/
|
|
1829
|
-
|
|
1830
|
-
--md-container-max-width: 910px;
|
|
1831
|
-
--md-container-padding-vertical: 25px; // @presenter Spacing
|
|
1832
|
-
--md-container-padding-horizontal: 0px; // @presenter Spacing
|
|
1833
|
-
|
|
1834
|
-
/**
|
|
1835
|
-
* @tokens Markdown Blockquote
|
|
1836
|
-
*/
|
|
1837
|
-
|
|
1838
|
-
--md-blockquote-margin-vertical: 1.5em; // @presenter Spacing
|
|
1839
|
-
--md-blockquote-margin-horizontal: 0; // @presenter Spacing
|
|
1840
|
-
--md-blockquote-padding-vertical: 0; // @presenter Spacing
|
|
1841
|
-
--md-blockquote-padding-horizontal: calc(var(--spacing-unit) * 4); // @presenter Spacing
|
|
1842
|
-
--md-blockquote-border-color: var(--border-color); // @presenter Color
|
|
1843
|
-
--md-blockquote-background-color: transparent; // @presenter Color
|
|
1844
|
-
--md-blockquote-border-left: 4px solid var(--md-blockquote-border-color); // @presenter Border
|
|
1845
|
-
--md-blockquote-text-color: var(--text-color); // @presenter Color
|
|
1846
|
-
--md-blockquote-box-shadow: none; // @presenter Shadow
|
|
1847
|
-
|
|
1848
|
-
/**
|
|
1849
|
-
* @tokens Markdown Paragraph
|
|
1850
|
-
*/
|
|
1851
|
-
|
|
1852
|
-
--md-paragraph-margin-vertical: 10px; // @presenter Spacing
|
|
1853
|
-
--md-paragraph-margin-horizontal: 0px; // @presenter Spacing
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* @tokens Markdown Table
|
|
1857
|
-
*/
|
|
1858
|
-
|
|
1859
|
-
--md-table-font-size: 14px; // @presenter FontSize
|
|
1860
|
-
--md-table-margin-vertical: 20px; // @presenter Spacing
|
|
1861
|
-
--md-table-background-color: transparent; // @presenter Color
|
|
1862
|
-
|
|
1863
|
-
--md-table-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
1864
|
-
--md-table-border-width: 1px;
|
|
1865
|
-
--md-table-border-color: var(--border-color); // @presenter Color
|
|
1866
|
-
|
|
1867
|
-
--md-table-stripe-background-color: var(--md-table-background-color); // @presenter Color
|
|
1868
|
-
|
|
1869
|
-
--md-table-cell-text-color: var(--text-color); // @presenter Color
|
|
1870
|
-
--md-table-cell-padding: 12px; // @presenter Spacing
|
|
1871
|
-
|
|
1872
|
-
--md-table-head-background-color: var(--color-secondary-200); // @presenter Color
|
|
1873
|
-
--md-table-head-text-color: var(--text-color); // @presenter Color
|
|
1874
|
-
--md-table-head-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
1875
|
-
|
|
1876
|
-
/**
|
|
1877
|
-
* @tokens Markdown Horizontal Rule
|
|
1878
|
-
*/
|
|
1879
|
-
|
|
1880
|
-
--md-hr-background-color: transparent; // @presenter Color
|
|
1881
|
-
--md-hr-border-color: var(--border-color); // @presenter Color
|
|
1882
|
-
--md-hr-height: unset;
|
|
1883
|
-
--md-hr-margin-vertical: 20px; // @presenter Spacing
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
* @tokens Markdown List
|
|
1887
|
-
*/
|
|
1888
|
-
|
|
1889
|
-
--md-list-left-padding: 2rem; // @presenter Spacing
|
|
1890
|
-
--md-list-margin: 1rem; // @presenter Spacing
|
|
1891
|
-
--md-list-item-margin: 0.25rem; // @presenter Spacing
|
|
1892
|
-
--md-list-item-style: inherit;
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
/**
|
|
1896
|
-
* @tokens Markdown Checkbox List
|
|
1897
|
-
*/
|
|
1898
|
-
|
|
1899
|
-
--md-checkbox-list-item-style: none;
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* @tokens Markdown Numbered List
|
|
1903
|
-
*/
|
|
1904
|
-
|
|
1905
|
-
--md-numbered-list-number-display: none;
|
|
1906
|
-
--md-numbered-list-item-style: var(--md-list-item-style);
|
|
1907
|
-
--md-numbered-list-number-text-color: var(--color-secondary-100); // @presenter Color
|
|
1908
|
-
--md-numbered-list-number-font-size: var(--font-size-base); // @presenter FontSize
|
|
1909
|
-
--md-numbered-list-number-font-family: var(--font-size-base); // @presenter FontFamily
|
|
1910
|
-
--md-numbered-list-number-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
1911
|
-
--md-numbered-list-number-background-color: var(--color-secondary-800); // @presenter Color
|
|
1912
|
-
--md-numbered-list-number-border-radius: 10px; // @presenter BorderRadius
|
|
1913
|
-
--md-numbered-list-number-margin-right: 5px; // @presenter Spacing
|
|
1914
|
-
--md-numbered-list-number-padding: 0 5px; // @presenter Spacing
|
|
1915
|
-
|
|
1916
|
-
// @tokens End
|
|
1917
|
-
|
|
1918
|
-
/**
|
|
1919
|
-
* @tokens Markdown Tabs
|
|
1920
|
-
*/
|
|
1921
|
-
|
|
1922
|
-
--md-tabs-tab-text-color: var(--color-emphasis-600); // @presenter Color
|
|
1923
|
-
--md-tabs-active-tab-border-color: var(--text-color); // @presenter Color
|
|
1924
|
-
--md-tabs-hover-tab-border-color: var(--text-color-secondary); // @presenter Color
|
|
1925
|
-
|
|
1926
|
-
// @tokens End
|
|
1927
|
-
`;
|
|
1928
|
-
const search = (0, styled_components_1.css) `
|
|
1929
|
-
/**
|
|
1930
|
-
* @tokens Search
|
|
1931
|
-
*/
|
|
1932
|
-
|
|
1933
|
-
--search-highlight-background-color: none; // @presenter Color
|
|
1934
|
-
--search-highlight-text-color: #1677FF; // @presenter Color
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* @tokens Portal Search
|
|
1938
|
-
*/
|
|
1939
|
-
|
|
1940
|
-
--search-input-background-color: #fafafa; // @presenter Color
|
|
1941
|
-
--search-input-text-color: var(--text-color); // @presenter Color
|
|
1942
|
-
|
|
1943
|
-
--search-input-border: none;
|
|
1944
|
-
--search-input-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1945
|
-
--search-input-font-size: 14px; // @presenter FontSize
|
|
1946
|
-
--search-input-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1947
|
-
--search-input-line-height: 1.15em; // @presenter LineHeight
|
|
1948
|
-
|
|
1949
|
-
--search-input-hover-background-color: #fafafa; // @presenter Color
|
|
1950
|
-
--search-input-hover-border: none; // @presenter Color
|
|
1951
|
-
--search-input-placeholder-color: #a8a8a8;
|
|
1952
|
-
--search-input-icons-color: #a8a8a8;
|
|
1953
|
-
|
|
1954
|
-
--search-popover-background-color: var(--background-color); // @presenter Color
|
|
1955
|
-
--search-popover-border-radius: var(--search-input-border-radius); // @presenter BorderRadius
|
|
1956
|
-
--search-popover-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12),
|
|
1957
|
-
0 8px 10px -5px rgba(0, 0, 0, 0.4); // @presenter BoxShadow
|
|
1958
|
-
--search-popover-border: none;
|
|
1959
|
-
|
|
1960
|
-
--search-item-padding: 8px 24px;
|
|
1961
|
-
--search-item-text-color: #525252; // @presenter Color
|
|
1962
|
-
--search-item-title-text-color: #161616; // @presenter Color
|
|
1963
|
-
--search-item-path-text-color: #8d8d8d; // @presenter Color
|
|
1964
|
-
--search-item-background-color: transparent; // @presenter Color
|
|
1965
|
-
--search-item-active-text-color: var(--text-color); // @presenter Color
|
|
1966
|
-
--search-item-active-title-text-color: var(--text-color); // @presenter Color
|
|
1967
|
-
--search-item-active-background-color: #fafafa; // @presenter Color
|
|
1968
|
-
|
|
1969
|
-
--search-trigger-background-color: rgba(255, 255, 255, 0.1); // @presenter Color
|
|
1970
|
-
--search-trigger-hover-background-color: var(--navbar-item-hover-background-color); // @presenter Color
|
|
1971
|
-
--search-trigger-border: none; // @presenter Border
|
|
1972
|
-
--search-trigger-border-radius: 6px; // @presenter BorderRadius
|
|
1973
|
-
--search-trigger-text-color: var(--navbar-text-color); // @presenter Color
|
|
1974
|
-
--search-trigger-shortcut-text-color: var(--navbar-text-color); // @presenter Color
|
|
1975
|
-
--search-trigger-font-size: var(--navbar-item-font-size); // @presenter FontSize
|
|
1976
|
-
|
|
1977
|
-
/**
|
|
1978
|
-
* @tokens Sidebar Search
|
|
1979
|
-
*/
|
|
1980
|
-
|
|
1981
|
-
--sidebar-search-button-background-color: transparent; // @presenter Color
|
|
1982
|
-
--sidebar-search-button-text-color: var(--text-color); // @presenter Color
|
|
1983
|
-
--sidebar-search-button-border: var(--border-color);
|
|
1984
|
-
--sidebar-search-button-border-radius: none; // @presenter BorderRadius
|
|
1985
|
-
--sidebar-search-button-font-size: var(--font-size-small); // @presenter FontSize
|
|
1986
|
-
--sidebar-search-button-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1987
|
-
--sidebar-search-button-line-height: 1.15em; // @presenter LineHeight
|
|
1988
|
-
--sidebar-search-button-hover-background-color: transparent; // @presenter Color
|
|
1989
|
-
--sidebar-search-button-hover-border: var(--border-color); // @presenter Color
|
|
1990
|
-
--sidebar-search-button-active-background-color: transparent; // @presenter Color
|
|
1991
|
-
--sidebar-search-button-active-border: var(--border-color); // @presenter Color
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
* @tokens Search results modal
|
|
1995
|
-
* @presenter Color
|
|
1996
|
-
*/
|
|
1997
|
-
|
|
1998
|
-
--search-modal-background: var(--background-color);
|
|
1999
|
-
--search-modal-text-color: var(--text-color);
|
|
2000
|
-
--search-modal-border: none;
|
|
2001
|
-
--search-modal-box-shadow: none;
|
|
777
|
+
--input-hover-text-color: var(--text-secondary); // @presenter Color
|
|
778
|
+
--input-hover-border: 1px solid var(--border-primary); // @presenter Border
|
|
779
|
+
--input-focus-border: 1px solid var(--border-primary); // @presenter Border
|
|
780
|
+
--input-focus-text-color: var(--text-secondary); // @presenter Color
|
|
2002
781
|
|
|
2003
|
-
--
|
|
2004
|
-
--
|
|
2005
|
-
--search-modal-clear-button-background-color: var(--color-secondary-300);
|
|
2006
|
-
--search-modal-clear-button-hover-background-color: var(--color-secondary-500);
|
|
782
|
+
--checkbox-backround-color: var(--bg-base);
|
|
783
|
+
--checkbox-checked-backround-color: var(--color-primary);
|
|
2007
784
|
|
|
2008
785
|
// @tokens End
|
|
2009
786
|
`;
|
|
2010
787
|
const docsDropdown = (0, styled_components_1.css) `
|
|
2011
|
-
--docs-dropdown-font-size:
|
|
2012
|
-
--docs-dropdown-text-color: var(--text-
|
|
788
|
+
--docs-dropdown-font-size: var(--font-size-base);
|
|
789
|
+
--docs-dropdown-text-color: var(--text-secondary);
|
|
2013
790
|
|
|
2014
|
-
--docs-dropdown-padding-vertical:
|
|
791
|
+
--docs-dropdown-padding-vertical: 0;
|
|
2015
792
|
--docs-dropdown-padding-left: 10px;
|
|
2016
793
|
--docs-dropdown-padding-right: 26px;
|
|
2017
|
-
--docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right)
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
--docs-dropdown-border: none;
|
|
2021
|
-
`;
|
|
2022
|
-
const dropdown = (0, styled_components_1.css) `
|
|
2023
|
-
--dropdown-font-size: 16px; // @presenter FontSize
|
|
2024
|
-
--dropdown-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
2025
|
-
--dropdown-line-height: var(--line-height-base); // @presenter LineHeight
|
|
2026
|
-
--dropdown-text-color: var(--text-color); // @presenter Color
|
|
2027
|
-
--dropdown-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
2028
|
-
|
|
2029
|
-
--dropdown-list-min-width: 100px;
|
|
2030
|
-
--dropdown-list-max-width: 300px;
|
|
2031
|
-
--dropdown-list-padding: 4px; // @presenter Spacing
|
|
2032
|
-
--dropdown-list-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
2033
|
-
--dropdown-list-background-color: var(--background-color); // @presenter Color
|
|
2034
|
-
--dropdown-list-box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12); // @presenter Shadow
|
|
2035
|
-
|
|
2036
|
-
--dropdown-list-item-horizontal-padding: 16px; // @presenter Spacing
|
|
2037
|
-
--dropdown-list-item-vertical-padding: 8px; // @presenter Spacing
|
|
2038
|
-
--dropdown-list-item-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
2039
|
-
--dropdown-list-item-active-background-color: #0000000a; // @presenter Color
|
|
2040
|
-
--dropdown-list-item-separator-color: var(--border-color); // @presenter Color
|
|
2041
|
-
|
|
2042
|
-
/**
|
|
2043
|
-
* @tokens User profile menu dropdown
|
|
2044
|
-
* */
|
|
2045
|
-
|
|
2046
|
-
--profile-dropdown-font-size: var(--dropdown-font-size); // @presenter FontSize
|
|
2047
|
-
--profile-dropdown-font-weight: var(--dropdown-font-weight); // @presenter FontWeight
|
|
2048
|
-
--profile-dropdown-line-height: var(--dropdown-line-height); // @presenter LineHeight
|
|
2049
|
-
--profile-dropdown-text-color: var(--dropdown-text-color); // @presenter Color
|
|
2050
|
-
--profile-dropdown-border-radius: var(--dropdown-border-radius); // @presenter BorderRadius
|
|
2051
|
-
|
|
2052
|
-
--profile-dropdown-list-min-width: var(--dropdown-list-min-width);
|
|
2053
|
-
--profile-dropdown-list-max-width: var(--dropdown-list-max-width);
|
|
2054
|
-
--profile-dropdown-list-padding: var(--dropdown-list-padding); // @presenter Spacing
|
|
2055
|
-
--profile-dropdown-list-border-radius: var(--dropdown-list-border-radius); // @presenter BorderRadius
|
|
2056
|
-
--profile-dropdown-list-background-color: var(--dropdown-list-background-color); // @presenter Color
|
|
2057
|
-
--profile-dropdown-list-box-shadow: var(--dropdown-list-box-shadow); // @presenter Shadow
|
|
2058
|
-
|
|
2059
|
-
--profile-dropdown-list-item-horizontal-padding: var(--dropdown-list-item-horizontal-padding); // @presenter Spacing
|
|
2060
|
-
--profile-dropdown-list-item-vertical-padding: var(--dropdown-list-item-vertical-padding); // @presenter Spacing
|
|
2061
|
-
--profile-dropdown-list-item-border-radius: var(--dropdown-list-item-border-radius); // @presenter BorderRadius
|
|
2062
|
-
--profile-dropdown-list-item-active-background-color: var(--dropdown-list-item-active-background-color); // @presenter Color
|
|
2063
|
-
--profile-dropdown-list-item-separator-color: var(--dropdown-list-item-separator-color); // @presenter Color
|
|
2064
|
-
`;
|
|
2065
|
-
const select = (0, styled_components_1.css) `
|
|
2066
|
-
--select-font-size: 16px; // @presenter FontSize
|
|
2067
|
-
--select-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
2068
|
-
--select-line-height: var(--line-height-base); // @presenter LineHeight
|
|
2069
|
-
--select-text-color: var(--text-color); // @presenter Color
|
|
2070
|
-
--select-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
2071
|
-
|
|
2072
|
-
--select-input-padding-horizontal: 16px; // @presenter Spacing
|
|
2073
|
-
--select-input-padding-vertical: 6px; // @presenter Spacing
|
|
2074
|
-
--select-input-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
2075
|
-
|
|
2076
|
-
--select-list-min-width: 100px;
|
|
2077
|
-
--select-list-max-width: 300px;
|
|
2078
|
-
--select-list-padding: 4px; // @presenter Spacing
|
|
2079
|
-
--select-list-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
2080
|
-
--select-list-background-color: var(--background-color); // @presenter Color
|
|
2081
|
-
--select-list-box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
|
|
2082
|
-
|
|
2083
|
-
--select-list-item-horizontal-padding: 16px; // @presenter Spacing
|
|
2084
|
-
--select-list-item-vertical-padding: 8px; // @presenter Spacing
|
|
2085
|
-
--select-list-item-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
2086
|
-
--select-list-item-active-background-color: #0000000a; // @presenter Color
|
|
2087
|
-
|
|
2088
|
-
/**
|
|
2089
|
-
* @tokens Version picker
|
|
2090
|
-
* */
|
|
2091
|
-
|
|
2092
|
-
--version-picker-font-size: var(--font-size-base); // @presenter FontSize
|
|
2093
|
-
--version-picker-font-weight: var(--select-font-weight); // @presenter FontWeight
|
|
2094
|
-
--version-picker-line-height: var(--select-line-height); // @presenter LineHeight
|
|
2095
|
-
--version-picker-text-color: var(--select-text-color); // @presenter Color
|
|
2096
|
-
--version-picker-border-radius: var(--select-border-radius); // @presenter BorderRadius
|
|
2097
|
-
--version-picker-margin-vertical: 10px; // @presenter Spacing
|
|
2098
|
-
--version-picker-margin-horizontal: 15px; // @presenter Spacing
|
|
2099
|
-
|
|
2100
|
-
--version-picker-input-padding-horizontal: var(--select-input-padding-horizontal); // @presenter Spacing
|
|
2101
|
-
--version-picker-input-padding-vertical: var(--select-input-padding-vertical); // @presenter Spacing
|
|
2102
|
-
--version-picker-input-border: 1px solid var(--border-color); // @presenter Border
|
|
2103
|
-
--version-picker-input-border-radius: var(--select-input-border-radius); // @presenter BorderRadius
|
|
2104
|
-
|
|
2105
|
-
--version-picker-list-min-width: var(--select-list-min-width);
|
|
2106
|
-
--version-picker-list-max-width: var(--select-list-max-width);
|
|
2107
|
-
--version-picker-list-padding: var(--select-list-padding); // @presenter Spacing
|
|
2108
|
-
--version-picker-list-border-radius: var(--select-list-border-radius); // @presenter BorderRadius
|
|
2109
|
-
--version-picker-list-background-color: var(--select-list-background-color); // @presenter Color
|
|
2110
|
-
--version-picker-list-box-shadow: var(--select-list-box-shadow); // @presenter Shadow
|
|
2111
|
-
|
|
2112
|
-
--version-picker-list-item-horizontal-padding: var(--select-list-item-horizontal-padding); // @presenter Spacing
|
|
2113
|
-
--version-picker-list-item-vertical-padding: var(--select-list-item-vertical-padding); // @presenter Spacing
|
|
2114
|
-
--version-picker-list-item-border-radius: var(--select-list-item-border-radius); // @presenter BorderRadius
|
|
2115
|
-
--version-picker-list-item-active-background-color: var(--select-list-item-active-background-color); // @presenter Color
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* @tokens Language picker
|
|
2120
|
-
* */
|
|
2121
|
-
|
|
2122
|
-
--language-picker-font-size: var(--select-font-size); // @presenter FontSize
|
|
2123
|
-
--language-picker-font-weight: var(--select-font-weight); // @presenter FontWeight
|
|
2124
|
-
--language-picker-line-height: var(--select-line-height); // @presenter LineHeight
|
|
2125
|
-
--language-picker-text-color: var(--select-text-color); // @presenter Color
|
|
2126
|
-
--language-picker-border-radius: var(--select-border-radius); // @presenter BorderRadius
|
|
2127
|
-
|
|
2128
|
-
--language-picker-input-padding-horizontal: var(--select-input-padding-horizontal); // @presenter Spacing
|
|
2129
|
-
--language-picker-input-padding-vertical: var(--select-input-padding-vertical); // @presenter Spacing
|
|
2130
|
-
--language-picker-input-border-radius: var(--select-input-border-radius); // @presenter BorderRadius
|
|
2131
|
-
|
|
2132
|
-
--language-picker-list-min-width: var(--select-list-min-width);
|
|
2133
|
-
--language-picker-list-max-width: var(--select-list-max-width);
|
|
2134
|
-
--language-picker-list-padding: var(--select-list-padding); // @presenter Spacing
|
|
2135
|
-
--language-picker-list-border-radius: var(--select-list-border-radius); // @presenter BorderRadius
|
|
2136
|
-
--language-picker-list-background-color: var(--select-list-background-color); // @presenter Color
|
|
2137
|
-
--language-picker-list-box-shadow: var(--select-list-box-shadow); // @presenter Shadow
|
|
2138
|
-
|
|
2139
|
-
--language-picker-list-item-horizontal-padding: var(--select-list-item-horizontal-padding); // @presenter Spacing
|
|
2140
|
-
--language-picker-list-item-vertical-padding: var(--select-list-item-vertical-padding); // @presenter Spacing
|
|
2141
|
-
--language-picker-list-item-border-radius: var(--select-list-item-border-radius); // @presenter BorderRadius
|
|
2142
|
-
--language-picker-list-item-active-background-color: var(--select-list-item-active-background-color); // @presenter Color
|
|
2143
|
-
|
|
2144
|
-
/**
|
|
2145
|
-
* @tokens Product picker
|
|
2146
|
-
* */
|
|
2147
|
-
|
|
2148
|
-
--product-picker-font-size: var(--select-font-size); // @presenter FontSize
|
|
2149
|
-
--product-picker-font-weight: var(--select-font-weight); // @presenter FontWeight
|
|
2150
|
-
--product-picker-line-height: var(--select-line-height); // @presenter LineHeight
|
|
2151
|
-
--product-picker-text-color: var(--select-text-color); // @presenter Color
|
|
2152
|
-
--product-picker-border-radius: var(--select-border-radius); // @presenter BorderRadius
|
|
2153
|
-
|
|
2154
|
-
--product-picker-input-padding-horizontal: var(--select-input-padding-horizontal); // @presenter Spacing
|
|
2155
|
-
--product-picker-input-padding-vertical: var(--select-input-padding-vertical); // @presenter Spacing
|
|
2156
|
-
--product-picker-input-border-radius: var(--select-input-border-radius); // @presenter BorderRadius
|
|
2157
|
-
|
|
2158
|
-
--product-picker-list-min-width: var(--select-list-min-width);
|
|
2159
|
-
--product-picker-list-max-width: var(--select-list-max-width);
|
|
2160
|
-
--product-picker-list-padding: var(--select-list-padding); // @presenter Spacing
|
|
2161
|
-
--product-picker-list-border-radius: var(--select-list-border-radius); // @presenter BorderRadius
|
|
2162
|
-
--product-picker-list-background-color: var(--select-list-background-color); // @presenter Color
|
|
2163
|
-
--product-picker-list-box-shadow: var(--select-list-box-shadow); // @presenter Shadow
|
|
2164
|
-
|
|
2165
|
-
--product-picker-list-item-horizontal-padding: var(--select-list-item-horizontal-padding); // @presenter Spacing
|
|
2166
|
-
--product-picker-list-item-vertical-padding: var(--select-list-item-vertical-padding); // @presenter Spacing
|
|
2167
|
-
--product-picker-list-item-border-radius: var(--select-list-item-border-radius); // @presenter BorderRadius
|
|
2168
|
-
--product-picker-list-item-active-background-color: var(--select-list-item-active-background-color); // @presenter Color
|
|
794
|
+
--docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right) var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-left);
|
|
795
|
+
--docs-dropdown-border: 1px solid var(--border-primary);
|
|
2169
796
|
`;
|
|
2170
797
|
const lastUpdated = (0, styled_components_1.css) `
|
|
2171
|
-
--last-updated-text-color: var(--text-
|
|
2172
|
-
--last-updated-font-size: var(--font-size-
|
|
798
|
+
--last-updated-text-color: var(--text-secondary);
|
|
799
|
+
--last-updated-font-size: var(--font-size-sm);
|
|
2173
800
|
--last-updated-font-family: var(--font-family-base);
|
|
2174
801
|
--last-updated-line-height: var(--line-height-base);
|
|
2175
802
|
`;
|
|
2176
803
|
const tile = (0, styled_components_1.css) `
|
|
2177
|
-
--wide-tile-background-color: var(--
|
|
2178
|
-
--thin-tile-background-color: var(--
|
|
804
|
+
--wide-tile-background-color: var(--bg-raised);
|
|
805
|
+
--thin-tile-background-color: var(--bg-raised);
|
|
2179
806
|
`;
|
|
2180
807
|
const pages = (0, styled_components_1.css) `
|
|
2181
808
|
/**
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
809
|
+
* @tokens 404 Page
|
|
810
|
+
* @presenter Color
|
|
811
|
+
*/
|
|
2185
812
|
|
|
2186
813
|
--page-404-font-family: var(--font-family-base); // @presenter FontFamily
|
|
2187
814
|
|
|
2188
|
-
--page-404-header-text-color:
|
|
2189
|
-
--page-404-header-font-size:
|
|
2190
|
-
--page-404-header-font-weight:
|
|
2191
|
-
--page-404-header-line-height:
|
|
2192
|
-
--page-404-header-margin:
|
|
815
|
+
--page-404-header-text-color: var(--h1-text-color);
|
|
816
|
+
--page-404-header-font-size: var(--h1-font-size); // @presenter FontSize
|
|
817
|
+
--page-404-header-font-weight: var(--h1-font-weight); // @presenter FontWeight
|
|
818
|
+
--page-404-header-line-height: var(--h1-line-height); // @presenter LineHeight
|
|
819
|
+
--page-404-header-margin: 0px; // @presenter Spacing
|
|
2193
820
|
|
|
2194
|
-
--page-404-description-text-color:
|
|
2195
|
-
--page-404-description-font-size:
|
|
2196
|
-
--page-404-description-font-weight:
|
|
2197
|
-
--page-404-description-line-height: 1
|
|
2198
|
-
--page-404-description-margin:
|
|
821
|
+
--page-404-description-text-color: var(--text-secondary);
|
|
822
|
+
--page-404-description-font-size: 1.5em; // @presenter FontSize
|
|
823
|
+
--page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
824
|
+
--page-404-description-line-height: 1 // @presenter LineHeight
|
|
825
|
+
--page-404-description-margin: 0px; // @presenter Spacing
|
|
2199
826
|
|
|
2200
827
|
--page-404-button-margin: 4em; // @presenter Spacing
|
|
2201
828
|
|
|
2202
829
|
// @tokens End
|
|
2203
830
|
|
|
2204
831
|
/**
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
832
|
+
* @tokens 403 Page
|
|
833
|
+
* @presenter Color
|
|
834
|
+
*/
|
|
2208
835
|
|
|
2209
|
-
|
|
836
|
+
--page-403-font-family: var(--font-family-base); // @presenter FontFamily
|
|
2210
837
|
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
838
|
+
--page-403-header-text-color: var(--h1-text-color);
|
|
839
|
+
--page-403-header-font-size: var(--h1-font-size); // @presenter FontSize
|
|
840
|
+
--page-403-header-font-weight: var(--h1-font-weight); // @presenter FontWeight
|
|
841
|
+
--page-403-header-line-height: var(--h1-line-height); // @presenter LineHeight
|
|
842
|
+
--page-403-header-margin: 0; // @presenter Spacing
|
|
2216
843
|
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
844
|
+
--page-403-description-text-color: var(--text-secondary);
|
|
845
|
+
--page-403-description-font-size: 1em; // @presenter FontSize
|
|
846
|
+
--page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
847
|
+
--page-403-description-line-height: 1; // @presenter LineHeight
|
|
848
|
+
--page-403-description-margin: 0; // @presenter Spacing
|
|
2222
849
|
|
|
2223
|
-
|
|
850
|
+
--page-403-button-margin: 4em; // @presenter Spacing
|
|
2224
851
|
|
|
2225
852
|
// @tokens End
|
|
2226
853
|
`;
|
|
2227
|
-
const
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
--profile-menu-item-active-text-decoration: none;
|
|
2281
|
-
|
|
2282
|
-
--profile-menu-item-separator-line-color: var(--border-color); // @presenter Color
|
|
2283
|
-
|
|
2284
|
-
// @tokens End
|
|
2285
|
-
|
|
854
|
+
const error = (0, styled_components_1.css) `
|
|
855
|
+
--error-bubble-padding: var(--spacing-md);
|
|
856
|
+
--error-bubble-bottom: var(--spacing-md);
|
|
857
|
+
--error-bubble-right: var(--spacing-md);
|
|
858
|
+
--error-bubble-max-width: 20%;
|
|
859
|
+
--error-bubble-mobile-max-width: 50%;
|
|
860
|
+
--error-bubble-text-overflow: ellipsis;
|
|
861
|
+
--error-bubble-gap: var(--spacing-base);
|
|
862
|
+
--error-bubble-font-family: var(--font-family-base);
|
|
863
|
+
--error-bubble-z-index: var(--z-index-popover);
|
|
864
|
+
|
|
865
|
+
--error-card-border-radius: calc(var(--spacing-xxs) * 1.5);
|
|
866
|
+
--error-card-background: var(--bg-raised);
|
|
867
|
+
--error-card-padding: var(--spacing-xs) var(--spacing-base);
|
|
868
|
+
--error-card-text-color: var(--text-primary);
|
|
869
|
+
--error-card-font-size: var(--font-size-base);
|
|
870
|
+
--error-card-font-style: normal;
|
|
871
|
+
--error-card-font-weight: var(--font-weight-normal);
|
|
872
|
+
--error-card-line-height: var(--line-height-base);
|
|
873
|
+
--error-card-box-shadow: var(--bg-raised-shadow);
|
|
874
|
+
--error-card-icon-margin: 0 var(--spacing-xs) 0 0;
|
|
875
|
+
|
|
876
|
+
--detailed-error-overlay-background: #4f4f4f;
|
|
877
|
+
--detailed-error-overlay-opacity: 0.9;
|
|
878
|
+
--detailed-error-overlay-z-index: var(--z-index-raised);
|
|
879
|
+
|
|
880
|
+
--detailed-error-modal-width: 70%;
|
|
881
|
+
--detailed-error-modal-height: calc(100vh - 100px - var(--navbar-height));
|
|
882
|
+
--detailed-error-modal-top: calc(50px + var(--navbar-height));
|
|
883
|
+
--detailed-error-modal-left: 15%;
|
|
884
|
+
--detailed-error-modal-border-radius: var(--border-radius-md);
|
|
885
|
+
--detailed-error-modal-background: var(--bg-base);
|
|
886
|
+
--detailed-error-modal-color: var(--text-primary);
|
|
887
|
+
--detailed-error-modal-box-shadow: var(--bg-overlay-shadow);
|
|
888
|
+
--detailed-error-modal-z-index: var(--z-index-popover);
|
|
889
|
+
--detailed-error-modal-font-family: var(--font-family-base);
|
|
890
|
+
--detailed-error-modal-padding: var(--spacing-md);
|
|
891
|
+
--detailed-error-modal-wapper-text-align: right;
|
|
892
|
+
|
|
893
|
+
--detailed-error-content-margin-top: var(--spacing-md);
|
|
894
|
+
--detailed-error-content-height: 100%;
|
|
895
|
+
|
|
896
|
+
--detailed-error-close-button-color: var(--text-description);
|
|
897
|
+
--detailed-error-close-button-text-transform: uppercase;
|
|
898
|
+
|
|
899
|
+
--detailed-error-message-margin: var(--spacing-base) auto var(--spacing-lg);
|
|
900
|
+
--detailed-error-message-padding: var(--spacing-base);
|
|
901
|
+
--detailed-error-message-border-radius: var(--border-radius);
|
|
902
|
+
--detailed-error-message-color: var(--code-block-text-color);
|
|
903
|
+
--detailed-error-message-background: var(--code-block-background-color);
|
|
904
|
+
--detailed-error-message-width: 100%;
|
|
905
|
+
--detailed-error-message-font-size: var(--font-size-base);
|
|
906
|
+
--detailed-error-message-font-family: var(--code-block-controls-font-family);
|
|
2286
907
|
`;
|
|
2287
908
|
const modal = (0, styled_components_1.css) `
|
|
2288
909
|
body:has(.modal) {
|
|
@@ -2291,7 +912,7 @@ const modal = (0, styled_components_1.css) `
|
|
|
2291
912
|
|
|
2292
913
|
--modal-box-shadow: 0px 8px 12px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31);
|
|
2293
914
|
--modal-overlay-background-color: rgba(206, 206, 206, 0.49);
|
|
2294
|
-
--modal-background-color: var(--
|
|
915
|
+
--modal-background-color: var(--bg-base);
|
|
2295
916
|
`;
|
|
2296
917
|
const zIndexDepth = (0, styled_components_1.css) `
|
|
2297
918
|
--z-index-surface: 10;
|
|
@@ -2301,47 +922,56 @@ const zIndexDepth = (0, styled_components_1.css) `
|
|
|
2301
922
|
`;
|
|
2302
923
|
exports.styles = (0, styled_components_1.css) `
|
|
2303
924
|
:root {
|
|
2304
|
-
${
|
|
2305
|
-
${
|
|
2306
|
-
${
|
|
2307
|
-
${typography}
|
|
2308
|
-
${headingsTypography}
|
|
2309
|
-
${common}
|
|
2310
|
-
${admonition}
|
|
2311
|
-
${buttons}
|
|
2312
|
-
${sidebar}
|
|
2313
|
-
${navbar}
|
|
2314
|
-
${mobileMenu}
|
|
2315
|
-
${footer}
|
|
2316
|
-
${logo}
|
|
925
|
+
${Markdown_1.admonition}
|
|
926
|
+
${apiReferenceDocs}
|
|
927
|
+
${Panel_1.apiReferencePanels}
|
|
2317
928
|
${badges}
|
|
2318
|
-
${
|
|
2319
|
-
${
|
|
2320
|
-
${
|
|
2321
|
-
${
|
|
2322
|
-
${
|
|
2323
|
-
${code}
|
|
2324
|
-
${links}
|
|
2325
|
-
${markdown}
|
|
2326
|
-
${search}
|
|
2327
|
-
${dropdown}
|
|
929
|
+
${borders}
|
|
930
|
+
${Breadcrumbs_1.breadcrumbs}
|
|
931
|
+
${Button_1.button}
|
|
932
|
+
${Catalog_1.catalog}
|
|
933
|
+
${CodeBlock_1.code}
|
|
2328
934
|
${docsDropdown}
|
|
2329
|
-
${
|
|
2330
|
-
${
|
|
2331
|
-
${
|
|
935
|
+
${Dropdown_1.dropdown}
|
|
936
|
+
${error}
|
|
937
|
+
${Filter_1.filter}
|
|
938
|
+
${Footer_1.footer}
|
|
939
|
+
${headingsTypography}
|
|
940
|
+
${inputs}
|
|
941
|
+
${I18n_1.languagePicker}
|
|
2332
942
|
${lastUpdated}
|
|
2333
|
-
${
|
|
943
|
+
${links}
|
|
2334
944
|
${loadProgressBar}
|
|
2335
|
-
${
|
|
945
|
+
${logo}
|
|
946
|
+
${Markdown_1.markdown}
|
|
947
|
+
${Menu_1.menu}
|
|
948
|
+
${Menu_1.mobileMenu}
|
|
2336
949
|
${modal}
|
|
2337
|
-
${
|
|
950
|
+
${Navbar_1.navbar}
|
|
951
|
+
${pages}
|
|
952
|
+
${Product_1.product}
|
|
953
|
+
${Product_1.productPicker}
|
|
954
|
+
${Panel_1.responsePanelColors}
|
|
955
|
+
${Search_1.search}
|
|
956
|
+
${Select_1.select}
|
|
957
|
+
${Sidebar_1.sidebar}
|
|
958
|
+
${sizeAndSpace}
|
|
959
|
+
${Tag_1.tag}
|
|
960
|
+
${themeColors}
|
|
961
|
+
${tile}
|
|
962
|
+
${TableOfContent_1.toc}
|
|
963
|
+
${Tooltip_1.tooltip}
|
|
964
|
+
${typography}
|
|
965
|
+
${Profile_1.userProfile}
|
|
966
|
+
${Profile_1.userProfileDropdown}
|
|
967
|
+
${Sidebar_1.versionPicker}
|
|
2338
968
|
${zIndexDepth}
|
|
2339
969
|
|
|
2340
970
|
--api-onboarding-table-text-color: #4e5356;
|
|
2341
971
|
--api-catalog-card-min-width: 250px;
|
|
2342
972
|
|
|
2343
|
-
background-color: var(--
|
|
2344
|
-
color: var(--text-
|
|
973
|
+
background-color: var(--bg-base);
|
|
974
|
+
color: var(--text-base);
|
|
2345
975
|
font-family: var(--font-family-base);
|
|
2346
976
|
}
|
|
2347
977
|
|