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