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