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