@redocly/theme 0.18.3-patch.0 → 0.18.3
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 +2 -7
- package/lib/I18n/LanguagePicker.js +3 -11
- package/lib/I18n/index.d.ts +0 -1
- package/lib/I18n/index.js +0 -15
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +1 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +3 -4
- package/lib/components/Breadcrumbs/Breadcrumbs.js +9 -2
- 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 +42 -40
- 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 -1
- package/lib/components/Catalog/Catalog.js +96 -99
- package/lib/components/Catalog/CatalogCard.js +58 -62
- package/lib/components/Catalog/index.d.ts +3 -4
- package/lib/components/Catalog/index.js +3 -4
- package/lib/components/Catalog/useCatalog.js +12 -1
- package/lib/components/CodeBlock/CodeBlockContainer.js +8 -35
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +4 -3
- package/lib/components/CodeBlock/CodeBlockControlButton.js +19 -5
- package/lib/components/CodeBlock/CodeBlockControls.js +11 -10
- package/lib/components/CodeBlock/index.d.ts +0 -1
- package/lib/components/CodeBlock/index.js +0 -1
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +3 -0
- package/lib/components/Dropdown/Dropdown.d.ts +2 -7
- package/lib/components/Dropdown/Dropdown.js +4 -6
- package/lib/components/Dropdown/index.d.ts +0 -1
- package/lib/components/Dropdown/index.js +0 -1
- package/lib/components/EditPageButton/EditPageButton.js +2 -1
- package/lib/components/Feedback/Feedback.js +13 -3
- package/lib/components/Feedback/Reasons.js +1 -1
- package/lib/components/Feedback/Sentiment.js +6 -2
- package/lib/components/Feedback/Thumbs.js +4 -4
- package/lib/components/Filter/Filter.js +78 -101
- 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 -27
- package/lib/components/Footer/FooterColumn.d.ts +3 -3
- package/lib/components/Footer/FooterColumn.js +64 -53
- 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/Markdown/MarkdownWrapper.js +4 -2
- package/lib/components/Markdown/Mermaid.js +1 -1
- 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/MenuItemLabel.js +13 -7
- package/lib/components/Menu/MenuLinkItem.js +2 -1
- 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 +28 -5
- package/lib/components/Navbar/Navbar.js +11 -10
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +6 -7
- 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 +6 -13
- 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/Panel/PanelHeader.js +0 -1
- 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/index.d.ts +0 -1
- package/lib/components/Product/index.js +0 -1
- package/lib/components/Profile/LoginLink.js +6 -2
- package/lib/components/Profile/Profile.js +22 -3
- package/lib/components/Profile/UserProfile.js +13 -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 +7 -7
- 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 +3 -10
- package/lib/components/Select/Select.js +6 -9
- package/lib/components/Select/index.d.ts +0 -1
- package/lib/components/Select/index.js +0 -1
- package/lib/components/Separator/SeparatorItem.js +5 -7
- package/lib/components/Sidebar/ApiCallItem.d.ts +6 -2
- package/lib/components/Sidebar/ApiCallItem.js +11 -13
- package/lib/components/Sidebar/FooterWrapper.js +4 -3
- package/lib/components/Sidebar/HeaderWrapper.js +2 -2
- package/lib/components/Sidebar/SidebarLayout.js +2 -1
- package/lib/components/Sidebar/VersionPicker.d.ts +1 -1
- package/lib/components/Sidebar/index.d.ts +0 -1
- package/lib/components/Sidebar/index.js +0 -1
- package/lib/components/SidebarActions/CollapseSidebarButton.js +1 -37
- package/lib/components/SidebarActions/SidebarActions.js +15 -3
- package/lib/components/SidebarActions/styled.js +14 -16
- package/lib/components/TableOfContent/TableOfContent.js +5 -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/TileText.js +1 -1
- package/lib/components/Tooltip/index.d.ts +0 -1
- package/lib/components/Tooltip/index.js +0 -1
- 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 +0 -6
- package/lib/config.js +0 -1
- package/lib/globalStyle.js +1967 -597
- 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/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 -4
- package/lib/icons/index.js +0 -4
- package/lib/layouts/Forbidden.js +0 -4
- package/lib/layouts/NotFound.js +0 -4
- package/lib/types/portal/src/shared/types/nav.d.ts +0 -5
- package/lib/ui/Burger.js +1 -1
- package/lib/ui/Dropdown.js +7 -7
- package/lib/ui/Jumbotron.js +1 -1
- package/lib/ui/darkColors.js +84 -216
- package/package.json +2 -2
- package/src/I18n/LanguagePicker.tsx +4 -29
- package/src/I18n/index.ts +0 -1
- package/src/components/Breadcrumbs/Breadcrumb.tsx +9 -4
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +14 -2
- package/src/components/Breadcrumbs/index.ts +0 -1
- package/src/components/Button/Button.tsx +48 -52
- package/src/components/Button/index.ts +0 -1
- package/src/components/Catalog/Catalog.tsx +115 -127
- package/src/components/Catalog/CatalogCard.tsx +61 -75
- package/src/components/Catalog/index.tsx +3 -0
- package/src/components/Catalog/useCatalog.ts +13 -1
- package/src/components/CodeBlock/CodeBlockContainer.tsx +7 -14
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +19 -6
- package/src/components/CodeBlock/CodeBlockControls.tsx +11 -9
- package/src/components/CodeBlock/index.ts +0 -1
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +4 -0
- package/src/components/Dropdown/Dropdown.tsx +4 -10
- package/src/components/Dropdown/index.ts +0 -1
- package/src/components/EditPageButton/EditPageButton.tsx +2 -1
- package/src/components/Feedback/Feedback.tsx +13 -3
- package/src/components/Feedback/Reasons.tsx +1 -1
- package/src/components/Feedback/Sentiment.tsx +10 -2
- package/src/components/Feedback/Thumbs.tsx +4 -4
- package/src/components/Filter/Filter.tsx +94 -127
- 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 +64 -79
- 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/Markdown/MarkdownWrapper.tsx +4 -2
- package/src/components/Markdown/Mermaid.tsx +1 -1
- 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/MenuItemLabel.tsx +13 -7
- package/src/components/Menu/MenuLinkItem.tsx +6 -1
- 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 +39 -5
- package/src/components/Navbar/Navbar.tsx +11 -10
- package/src/components/Navbar/NavbarItem.tsx +6 -6
- package/src/components/Navbar/NavbarMenu.tsx +2 -2
- package/src/components/Navbar/index.ts +0 -1
- package/src/components/NavbarLogo/NavbarLogo.tsx +12 -14
- 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/Panel/PanelHeader.ts +0 -1
- package/src/components/Panel/PanelHeaderTitle.ts +4 -0
- package/src/components/Panel/index.ts +0 -1
- package/src/components/Product/index.ts +0 -1
- package/src/components/Profile/LoginLink.tsx +10 -2
- package/src/components/Profile/Profile.tsx +24 -1
- package/src/components/Profile/UserProfile.tsx +13 -21
- package/src/components/Profile/index.ts +0 -1
- package/src/components/Search/CancelSearch.tsx +15 -2
- package/src/components/Search/ProductTag.tsx +7 -7
- 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 +7 -20
- package/src/components/Select/index.ts +0 -1
- package/src/components/Separator/SeparatorItem.tsx +5 -7
- package/src/components/Sidebar/ApiCallItem.tsx +11 -13
- package/src/components/Sidebar/FooterWrapper.tsx +4 -3
- package/src/components/Sidebar/HeaderWrapper.tsx +2 -2
- package/src/components/Sidebar/SidebarLayout.tsx +6 -1
- package/src/components/Sidebar/index.ts +0 -1
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +2 -18
- package/src/components/SidebarActions/SidebarActions.tsx +18 -3
- package/src/components/SidebarActions/styled.tsx +23 -16
- package/src/components/TableOfContent/TableOfContent.tsx +5 -2
- 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/TileText.tsx +1 -1
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/index.ts +2 -1
- package/src/config.ts +0 -1
- package/src/globalStyle.ts +1976 -588
- 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/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 -4
- package/src/layouts/Forbidden.tsx +0 -4
- package/src/layouts/NotFound.tsx +0 -4
- package/src/types/portal/src/shared/types/nav.ts +0 -5
- package/src/ui/Burger.tsx +1 -1
- package/src/ui/Dropdown.tsx +7 -7
- package/src/ui/Jumbotron.tsx +1 -1
- package/src/ui/darkColors.tsx +84 -216
- package/lib/I18n/styledVariables.d.ts +0 -1
- package/lib/I18n/styledVariables.js +0 -39
- package/lib/components/Breadcrumbs/styledVariables.d.ts +0 -1
- package/lib/components/Breadcrumbs/styledVariables.js +0 -19
- package/lib/components/Button/styledVariables.d.ts +0 -1
- package/lib/components/Button/styledVariables.js +0 -94
- package/lib/components/Catalog/styledVariables.d.ts +0 -1
- package/lib/components/Catalog/styledVariables.js +0 -94
- package/lib/components/CodeBlock/styledVariables.d.ts +0 -1
- package/lib/components/CodeBlock/styledVariables.js +0 -90
- 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 -11
- package/lib/components/Filter/FilterContent.js +0 -50
- package/lib/components/Filter/FilterPopover.d.ts +0 -11
- package/lib/components/Filter/FilterPopover.js +0 -99
- 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/Markdown/styledVariables.d.ts +0 -2
- package/lib/components/Markdown/styledVariables.js +0 -221
- package/lib/components/Menu/styledVariables.d.ts +0 -2
- package/lib/components/Menu/styledVariables.js +0 -90
- package/lib/components/Navbar/styledVariables.d.ts +0 -1
- package/lib/components/Navbar/styledVariables.js +0 -40
- package/lib/components/Panel/styledVariables.d.ts +0 -2
- package/lib/components/Panel/styledVariables.js +0 -489
- package/lib/components/Product/styledVariables.d.ts +0 -2
- package/lib/components/Product/styledVariables.js +0 -41
- 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 -33
- package/lib/components/Sidebar/styledVariables.d.ts +0 -2
- package/lib/components/Sidebar/styledVariables.js +0 -210
- package/lib/components/TableOfContent/styledVariables.d.ts +0 -1
- package/lib/components/TableOfContent/styledVariables.js +0 -46
- package/lib/components/Tag/Tag.d.ts +0 -16
- package/lib/components/Tag/Tag.js +0 -39
- 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 -130
- package/lib/components/Tooltip/styledVariables.d.ts +0 -1
- package/lib/components/Tooltip/styledVariables.js +0 -21
- 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/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/src/I18n/styledVariables.ts +0 -36
- package/src/components/Breadcrumbs/styledVariables.ts +0 -16
- package/src/components/Button/styledVariables.ts +0 -91
- package/src/components/Catalog/index.ts +0 -4
- package/src/components/Catalog/styledVariables.ts +0 -91
- package/src/components/CodeBlock/styledVariables.ts +0 -87
- package/src/components/Dropdown/styledVariables.ts +0 -27
- package/src/components/Filter/FilterContent.tsx +0 -75
- package/src/components/Filter/FilterPopover.tsx +0 -132
- 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/Markdown/styledVariables.ts +0 -219
- package/src/components/Menu/styledVariables.ts +0 -88
- package/src/components/Navbar/styledVariables.ts +0 -37
- package/src/components/Panel/styledVariables.ts +0 -487
- package/src/components/Product/styledVariables.ts +0 -39
- 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 -30
- package/src/components/Sidebar/styledVariables.ts +0 -208
- package/src/components/TableOfContent/styledVariables.ts +0 -43
- package/src/components/Tag/Tag.tsx +0 -62
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Tag/styledVariables.ts +0 -127
- package/src/components/Tooltip/styledVariables.ts +0 -18
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +0 -64
- package/src/icons/CheckboxIcon/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 -19
- 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/lib/components/{Profile → Navbar}/MobileUserProfile.d.ts +0 -0
package/src/globalStyle.ts
CHANGED
|
@@ -1,226 +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 } from '@theme/components/Markdown';
|
|
24
|
-
import { tooltip } from '@theme/components/Tooltip';
|
|
25
|
-
|
|
26
|
-
const themeColors = css`
|
|
27
|
-
/* === Palette === */
|
|
28
|
-
/**
|
|
29
|
-
* @tokens Base Colors
|
|
30
|
-
* @presenter Color
|
|
31
|
-
*/
|
|
32
4
|
|
|
33
|
-
|
|
34
|
-
--color-red-2: #ffccc7;
|
|
35
|
-
--color-red-3: #ffa39e;
|
|
36
|
-
--color-red-4: #ff7875;
|
|
37
|
-
--color-red-5: #ff4d4f;
|
|
38
|
-
--color-red-6: #f5222d;
|
|
39
|
-
--color-red-7: #cf1322;
|
|
40
|
-
--color-red-8: #a8071a;
|
|
41
|
-
--color-red-9: #820014;
|
|
42
|
-
--color-red-10: #5c0011;
|
|
43
|
-
|
|
44
|
-
--color-green-1: #f6ffed;
|
|
45
|
-
--color-green-2: #d9f7be;
|
|
46
|
-
--color-green-3: #b7eb8f;
|
|
47
|
-
--color-green-4: #95de64;
|
|
48
|
-
--color-green-5: #73d13d;
|
|
49
|
-
--color-green-6: #49aa19;
|
|
50
|
-
--color-green-7: #389e0d;
|
|
51
|
-
--color-green-8: #237804;
|
|
52
|
-
--color-green-9: #135200;
|
|
53
|
-
--color-green-10: #092b00;
|
|
54
|
-
|
|
55
|
-
--color-gold-1: #fffbe6;
|
|
56
|
-
--color-gold-2: #fff1b8;
|
|
57
|
-
--color-gold-3: #ffe58f;
|
|
58
|
-
--color-gold-4: #ffd666;
|
|
59
|
-
--color-gold-5: #ffc53d;
|
|
60
|
-
--color-gold-6: #faad14;
|
|
61
|
-
--color-gold-7: #d48806;
|
|
62
|
-
--color-gold-8: #ad6800;
|
|
63
|
-
--color-gold-9: #874d00;
|
|
64
|
-
--color-gold-10: #613400;
|
|
65
|
-
|
|
66
|
-
--color-blue-1: #e6f4ff;
|
|
67
|
-
--color-blue-2: #bae0ff;
|
|
68
|
-
--color-blue-3: #91caff;
|
|
69
|
-
--color-blue-4: #69b1ff;
|
|
70
|
-
--color-blue-5: #4096ff;
|
|
71
|
-
--color-blue-6: #1677ff;
|
|
72
|
-
--color-blue-7: #0958d9;
|
|
73
|
-
--color-blue-8: #003eb3;
|
|
74
|
-
--color-blue-9: #002c8c;
|
|
75
|
-
--color-blue-10: #001d66;
|
|
76
|
-
|
|
77
|
-
--color-purple-1: #f9f0ff;
|
|
78
|
-
--color-purple-2: #efdbff;
|
|
79
|
-
--color-purple-3: #d3adf7;
|
|
80
|
-
--color-purple-4: #b37feb;
|
|
81
|
-
--color-purple-5: #9254de;
|
|
82
|
-
--color-purple-6: #722ed1;
|
|
83
|
-
--color-purple-7: #531dab;
|
|
84
|
-
--color-purple-8: #391085;
|
|
85
|
-
--color-purple-9: #22075e;
|
|
86
|
-
--color-purple-10: #120338;
|
|
87
|
-
|
|
88
|
-
--color-magneta-1: #fff0f6;
|
|
89
|
-
--color-magneta-2: #ffd6e7;
|
|
90
|
-
--color-magneta-3: #ffadd2;
|
|
91
|
-
--color-magneta-4: #ff85c0;
|
|
92
|
-
--color-magneta-5: #f759ab;
|
|
93
|
-
--color-magneta-6: #eb2f96;
|
|
94
|
-
--color-magneta-7: #c41d7f;
|
|
95
|
-
--color-magneta-8: #9e1068;
|
|
96
|
-
--color-magneta-9: #780650;
|
|
97
|
-
--color-magneta-10: #520339;
|
|
98
|
-
|
|
99
|
-
--color-cyan-1: #e6fffb;
|
|
100
|
-
--color-cyan-2: #b5f5ec;
|
|
101
|
-
--color-cyan-3: #87e8de;
|
|
102
|
-
--color-cyan-4: #5cdbd3;
|
|
103
|
-
--color-cyan-5: #36cfc9;
|
|
104
|
-
--color-cyan-6: #13c2c2;
|
|
105
|
-
--color-cyan-7: #08979c;
|
|
106
|
-
--color-cyan-8: #006d75;
|
|
107
|
-
--color-cyan-9: #00474f;
|
|
108
|
-
--color-cyan-10: #002329;
|
|
109
|
-
|
|
110
|
-
--color-yellow-1: #feffe6;
|
|
111
|
-
--color-yellow-2: #ffffb8;
|
|
112
|
-
--color-yellow-3: #fffb8f;
|
|
113
|
-
--color-yellow-4: #fff566;
|
|
114
|
-
--color-yellow-5: #ffec3d;
|
|
115
|
-
--color-yellow-6: #d8bd14;
|
|
116
|
-
--color-yellow-7: #d4b106;
|
|
117
|
-
--color-yellow-8: #ad8b00;
|
|
118
|
-
--color-yellow-9: #876800;
|
|
119
|
-
--color-yellow-10: #614700;
|
|
120
|
-
|
|
121
|
-
--color-lime-1: #fcffe6;
|
|
122
|
-
--color-lime-2: #f4ffb8;
|
|
123
|
-
--color-lime-3: #eaff8f;
|
|
124
|
-
--color-lime-4: #d3f261;
|
|
125
|
-
--color-lime-5: #bae637;
|
|
126
|
-
--color-lime-6: #a0d911;
|
|
127
|
-
--color-lime-7: #7cb305;
|
|
128
|
-
--color-lime-8: #5b8c00;
|
|
129
|
-
--color-lime-9: #3f6600;
|
|
130
|
-
--color-lime-10: #254000;
|
|
131
|
-
|
|
132
|
-
--color-geekblue-1: #f0f5ff;
|
|
133
|
-
--color-geekblue-2: #d6e4ff;
|
|
134
|
-
--color-geekblue-3: #adc6ff;
|
|
135
|
-
--color-geekblue-4: #85a5ff;
|
|
136
|
-
--color-geekblue-5: #597ef7;
|
|
137
|
-
--color-geekblue-6: #2f54eb;
|
|
138
|
-
--color-geekblue-7: #1d39c4;
|
|
139
|
-
--color-geekblue-8: #10239e;
|
|
140
|
-
--color-geekblue-9: #061178;
|
|
141
|
-
--color-geekblue-10: #030852;
|
|
142
|
-
|
|
143
|
-
--color-primary-bg: #ebf0ff;
|
|
144
|
-
--color-primary-bg-hover: #d6dfff;
|
|
145
|
-
--color-primary-border: #adbcff;
|
|
146
|
-
--color-primary-border-hover: #8a99ff;
|
|
147
|
-
--color-primary-hover: #6678ff;
|
|
148
|
-
--color-primary-base: #434dfa;
|
|
149
|
-
--color-primary-active: #2f31d4;
|
|
150
|
-
--color-primary-text-hover: #201dad;
|
|
151
|
-
--color-primary-text: #161087;
|
|
152
|
-
--color-primary-text-active: #0d086e;
|
|
153
|
-
|
|
154
|
-
--color-success-bg: var(--color-green-1);
|
|
155
|
-
--color-success-bg-hover: var(--color-green-2);
|
|
156
|
-
--color-success-border: var(--color-green-3);
|
|
157
|
-
--color-success-border-hover: var(--color-green-4);
|
|
158
|
-
--color-success-hover: var(--color-green-5);
|
|
159
|
-
--color-success-base: var(--color-green-6);
|
|
160
|
-
--color-success-active: var(--color-green-7);
|
|
161
|
-
--color-success-text-hover: var(--color-green-8);
|
|
162
|
-
--color-success-text: var(--color-green-9);
|
|
163
|
-
--color-success-text-active: var(--color-green-10);
|
|
164
|
-
|
|
165
|
-
--color-warning-bg: var(--color-gold-1);
|
|
166
|
-
--color-warning-bg-hover: var(--color-gold-2);
|
|
167
|
-
--color-warning-border: var(--color-gold-3);
|
|
168
|
-
--color-warning-border-hover: var(--color-gold-4);
|
|
169
|
-
--color-warning-hover: var(--color-gold-5);
|
|
170
|
-
--color-warning-base: var(--color-gold-6);
|
|
171
|
-
--color-warning-active: var(--color-gold-7);
|
|
172
|
-
--color-warning-text-hover: var(--color-gold-8);
|
|
173
|
-
--color-warning-text: var(--color-gold-9);
|
|
174
|
-
--color-warning-text-active: var(--color-gold-10);
|
|
175
|
-
|
|
176
|
-
--color-error-bg: var(--color-red-1);
|
|
177
|
-
--color-error-bg-hover: var(--color-red-2);
|
|
178
|
-
--color-error-border: var(--color-red-3);
|
|
179
|
-
--color-error-border-hover: var(--color-red-4);
|
|
180
|
-
--color-error-hover: var(--color-red-5);
|
|
181
|
-
--color-error-base: var(--color-red-6);
|
|
182
|
-
--color-error-active: var(--color-red-7);
|
|
183
|
-
--color-error-text-hover: var(--color-red-8);
|
|
184
|
-
--color-error-text: var(--color-red-9);
|
|
185
|
-
--color-error-text-active: var(--color-red-10);
|
|
186
|
-
|
|
187
|
-
--color-info-bg: var(--color-blue-1);
|
|
188
|
-
--color-info-bg-hover: var(--color-blue-2);
|
|
189
|
-
--color-info-border: var(--color-blue-3);
|
|
190
|
-
--color-info-border-hover: var(--color-blue-4);
|
|
191
|
-
--color-info-hover: var(--color-blue-5);
|
|
192
|
-
--color-info-base: var(--color-blue-6);
|
|
193
|
-
--color-info-active: var(--color-blue-7);
|
|
194
|
-
--color-info-text-hover: var(--color-blue-8);
|
|
195
|
-
--color-info-text: var(--color-blue-9);
|
|
196
|
-
--color-info-text-active: var(--color-blue-10);
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @tokens Main colors
|
|
200
|
-
* @presenter Color
|
|
201
|
-
*/
|
|
5
|
+
import { darkMode } from './ui/darkColors';
|
|
202
6
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
--color-warning: var(--color-warning-base);
|
|
206
|
-
--color-success: var(--color-success-base);
|
|
207
|
-
--color-info: var(--color-info-base);
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* @tokens Elevation Colors
|
|
211
|
-
* @presenter Color
|
|
212
|
-
*/
|
|
7
|
+
const baseColors = css`
|
|
8
|
+
/* === Palette === */
|
|
213
9
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
10
|
+
/**
|
|
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%);
|
|
218
93
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
--bg-overlay-shadow: 0px 18px 28px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31); // Use for dropdowns
|
|
94
|
+
// @tokens End
|
|
95
|
+
`;
|
|
222
96
|
|
|
223
|
-
|
|
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;
|
|
224
112
|
|
|
225
113
|
// @tokens End
|
|
226
114
|
`;
|
|
@@ -229,248 +117,1209 @@ const typography = css`
|
|
|
229
117
|
/* === Typography === */
|
|
230
118
|
|
|
231
119
|
/**
|
|
232
|
-
* @tokens
|
|
233
|
-
* @presenter
|
|
120
|
+
* @tokens Typography Colors
|
|
121
|
+
* @presenter Color
|
|
234
122
|
*/
|
|
123
|
+
--text-color: var(--color-emphasis-800);
|
|
124
|
+
--text-color-inverse: var(--color-secondary-100);
|
|
125
|
+
--text-color-secondary: var(--color-emphasis-500);
|
|
235
126
|
|
|
236
|
-
|
|
237
|
-
|
|
127
|
+
/**
|
|
128
|
+
* @tokens Font Sizes
|
|
129
|
+
* @presenter FontSize
|
|
130
|
+
*/
|
|
131
|
+
--font-size-base: 14px;
|
|
132
|
+
--font-size-small: 12px;
|
|
238
133
|
|
|
239
134
|
/**
|
|
240
|
-
* @tokens
|
|
241
|
-
* @presenter
|
|
135
|
+
* @tokens Line Heights
|
|
136
|
+
* @presenter LineHeight
|
|
242
137
|
*/
|
|
138
|
+
--line-height-base: 1.5em;
|
|
243
139
|
|
|
244
|
-
--text-base: #000; // The base color of the typography color tokens.
|
|
245
|
-
--text-light-solid: #ffffff; // The color of the objects that need to be white no matter what theme is enabled.
|
|
246
|
-
--text-primary: #161616; // Headers, Icon hover
|
|
247
|
-
--text-secondary: #525252; // Body text
|
|
248
|
-
--text-description: #8d8d8d; // Caption, Description, Icon
|
|
249
|
-
--text-placeholder: #a8a8a8; // Placeholder text, Disabled text
|
|
250
|
-
--text-link: var(--color-blue-6);
|
|
251
|
-
|
|
252
140
|
/**
|
|
253
141
|
* @tokens Font Weights
|
|
254
142
|
* @presenter FontWeight
|
|
255
143
|
*/
|
|
256
|
-
|
|
257
|
-
--font-weight-
|
|
258
|
-
--font-weight-bold: 600; // All strong weights in the entire system.
|
|
144
|
+
--font-weight-regular: 400;
|
|
145
|
+
--font-weight-bold: 600;
|
|
259
146
|
--font-weight-bolder: 700;
|
|
260
|
-
|
|
261
|
-
|
|
147
|
+
|
|
262
148
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @tokens Rendering
|
|
157
|
+
*/
|
|
158
|
+
--text-smoothing: antialiased; // text-smoothing
|
|
159
|
+
--text-rendering: optimizeSpeed; // text-rendering
|
|
266
160
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
161
|
+
// @tokens End
|
|
162
|
+
`;
|
|
163
|
+
|
|
164
|
+
const headingsTypography = css`
|
|
165
|
+
* {
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
}
|
|
274
168
|
|
|
275
169
|
/**
|
|
276
|
-
* @tokens
|
|
277
|
-
* @presenter FontSize
|
|
170
|
+
* @tokens Headings common styles
|
|
278
171
|
*/
|
|
279
172
|
|
|
280
|
-
--font-
|
|
281
|
-
--font-
|
|
282
|
-
--
|
|
283
|
-
--
|
|
284
|
-
--
|
|
285
|
-
--font-size-heading-2: 30px;
|
|
286
|
-
--font-size-heading-3: 24px;
|
|
287
|
-
--font-size-heading-4: 20px;
|
|
288
|
-
--font-size-heading-5: 16px;
|
|
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
|
|
289
178
|
|
|
290
179
|
/**
|
|
291
|
-
|
|
292
|
-
|
|
180
|
+
* @tokens Typography heading anchor icon
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
--heading-anchor-offset-right: 4px; // @presenter Spacing
|
|
184
|
+
--heading-anchor-color: var(--color-primary-500); // @presenter Color
|
|
185
|
+
--heading-anchor-icon: none;
|
|
186
|
+
|
|
187
|
+
// TODO: implement a theme config for heading-anchor-location: left right
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @tokens Heading level 1
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
--h1-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
194
|
+
--h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
195
|
+
--h1-font-size: 36px; // @presenter FontSize
|
|
196
|
+
--h1-line-height: 36px; // @presenter LineHeight
|
|
197
|
+
--h1-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
198
|
+
--h1-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
199
|
+
--h1-text-color: var(--heading-text-color); // @presenter Color
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @tokens Heading level 2
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
--h2-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
206
|
+
--h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
207
|
+
--h2-font-size: 28px; // @presenter FontSize
|
|
208
|
+
--h2-line-height: 28px; // @presenter LineHeight
|
|
209
|
+
--h2-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
210
|
+
--h2-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
211
|
+
--h2-text-color: var(--heading-text-color); // @presenter Color
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @tokens Heading level 3
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
--h3-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
218
|
+
--h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
219
|
+
--h3-font-size: 18px; // @presenter FontSize
|
|
220
|
+
--h3-line-height: 18px; // @presenter LineHeight
|
|
221
|
+
--h3-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
222
|
+
--h3-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
223
|
+
--h3-text-color: var(--heading-text-color); // @presenter Color
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @tokens Heading level 4
|
|
227
|
+
*/
|
|
228
|
+
|
|
229
|
+
--h4-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
230
|
+
--h4-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
231
|
+
--h4-font-size: 16px; // @presenter FontSize
|
|
232
|
+
--h4-line-height: 16px; // @presenter LineHeight
|
|
233
|
+
--h4-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
234
|
+
--h4-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
235
|
+
--h4-text-color: var(--heading-text-color); // @presenter Color
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @tokens Heading level 5
|
|
239
|
+
*/
|
|
240
|
+
|
|
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
|
+
*/
|
|
293
252
|
|
|
294
|
-
|
|
295
|
-
|
|
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
|
|
296
260
|
|
|
297
261
|
// @tokens End
|
|
298
262
|
`;
|
|
299
263
|
|
|
300
|
-
const
|
|
301
|
-
/* === Size & Space === */
|
|
302
|
-
|
|
264
|
+
const common = css`
|
|
303
265
|
/**
|
|
304
|
-
* @tokens
|
|
305
|
-
* @presenter
|
|
266
|
+
* @tokens Borders
|
|
267
|
+
* @presenter Border
|
|
306
268
|
*/
|
|
269
|
+
--border-width: 1px;
|
|
270
|
+
--border-style: solid;
|
|
307
271
|
|
|
308
|
-
|
|
272
|
+
/**
|
|
273
|
+
* @tokens Border Radius
|
|
274
|
+
* @presenter BorderRadius
|
|
275
|
+
*/
|
|
276
|
+
--border-radius: 4px;
|
|
277
|
+
--border-radius-lg: calc(var(--border-radius) * 2);
|
|
309
278
|
|
|
310
279
|
/**
|
|
311
|
-
* @tokens
|
|
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
|
|
312
289
|
* @presenter Spacing
|
|
313
290
|
*/
|
|
314
291
|
|
|
315
|
-
--spacing-unit:
|
|
316
|
-
|
|
317
|
-
--spacing-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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
|
+
*/
|
|
325
304
|
|
|
326
|
-
--spacing-horizontal: var(--spacing-xl);
|
|
327
|
-
--spacing-vertical: var(--spacing-base);
|
|
328
|
-
|
|
329
305
|
/**
|
|
330
|
-
* @tokens
|
|
331
|
-
|
|
306
|
+
* @tokens Button default colors
|
|
307
|
+
*/
|
|
308
|
+
|
|
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
|
|
316
|
+
|
|
317
|
+
--button-active-color: var(--color-emphasis-900); // @presenter Color
|
|
318
|
+
--button-active-background-color: var(--color-emphasis-600); // @presenter Color
|
|
319
|
+
--button-active-border-color: var(--color-emphasis-600); // @presenter Color
|
|
320
|
+
|
|
321
|
+
--button-disabled-color: var(--button-color); // @presenter Color
|
|
322
|
+
--button-disabled-background-color: var(--color-emphasis-200); // @presenter Color
|
|
323
|
+
|
|
324
|
+
/**
|
|
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
|
|
332
344
|
*/
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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
|
|
371
|
+
*/
|
|
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
|
|
337
390
|
|
|
338
391
|
// @tokens End
|
|
339
392
|
`;
|
|
340
393
|
|
|
341
|
-
const
|
|
394
|
+
const sidebar = css`
|
|
395
|
+
/* === Sidebar === */
|
|
396
|
+
|
|
342
397
|
/**
|
|
343
|
-
* @tokens
|
|
344
|
-
* @presenter Border
|
|
398
|
+
* @tokens Sidebar logo
|
|
345
399
|
*/
|
|
346
400
|
|
|
347
|
-
--
|
|
348
|
-
--
|
|
401
|
+
--sidebar-logo-max-height: 285px;
|
|
402
|
+
--sidebar-logo-max-width: 285px;
|
|
403
|
+
--sidebar-logo-padding: 2px; // @presenter spacing
|
|
349
404
|
|
|
350
405
|
/**
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
406
|
+
* @tokens Sidebar typography
|
|
407
|
+
*/
|
|
408
|
+
--sidebar-word-break: 'inherit';
|
|
354
409
|
|
|
355
|
-
|
|
356
|
-
|
|
410
|
+
/**
|
|
411
|
+
* @tokens Sidebar colors
|
|
412
|
+
* @presenter Color
|
|
413
|
+
*/
|
|
414
|
+
--sidebar-background-color: var(--background-color);
|
|
415
|
+
--sidebar-border-color: var(--border-color);
|
|
357
416
|
|
|
358
417
|
/**
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
418
|
+
* @tokens Sidebar spacing
|
|
419
|
+
* @presenter Spacing
|
|
420
|
+
*/
|
|
421
|
+
--sidebar-width: 285px; // @presenter NO
|
|
362
422
|
|
|
363
|
-
--
|
|
364
|
-
--
|
|
365
|
-
--
|
|
366
|
-
--border-radius-xlg: calc(var(--border-radius) * 3);
|
|
367
|
-
`
|
|
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);
|
|
368
426
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
427
|
+
--sidebar-chevron-size: var(--sidebar-spacing-unit);
|
|
428
|
+
|
|
429
|
+
/* === Sidebar Item === */
|
|
373
430
|
|
|
374
431
|
/**
|
|
375
|
-
* @tokens
|
|
432
|
+
* @tokens Sidebar item typography
|
|
376
433
|
*/
|
|
434
|
+
--sidebar-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
435
|
+
--sidebar-item-font-size: var(--font-size-base); // @presenter FontSize
|
|
377
436
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
--
|
|
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);
|
|
383
449
|
|
|
384
450
|
/**
|
|
385
|
-
* @tokens
|
|
451
|
+
* @tokens Sidebar item spacing
|
|
452
|
+
* @presenter Spacing
|
|
386
453
|
*/
|
|
387
454
|
|
|
388
|
-
--
|
|
389
|
-
--
|
|
390
|
-
--
|
|
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);
|
|
391
458
|
|
|
459
|
+
/**
|
|
460
|
+
* @tokens Sidebar item border
|
|
461
|
+
*/
|
|
462
|
+
--sidebar-item-border-radius: var(--border-radius) 0 0 var(--border-radius); // @presenter BorderRadius
|
|
392
463
|
|
|
393
464
|
/**
|
|
394
|
-
* @tokens
|
|
465
|
+
* @tokens Sidebar item icon
|
|
395
466
|
*/
|
|
467
|
+
--sidebar-item-icon-size: 20px;
|
|
468
|
+
--sidebar-item-icon-border-radius: 100%;
|
|
396
469
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
--
|
|
401
|
-
--
|
|
402
|
-
--
|
|
403
|
-
--
|
|
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);
|
|
404
477
|
|
|
405
478
|
/**
|
|
406
|
-
* @tokens
|
|
479
|
+
* @tokens Sidebar item drilldown
|
|
407
480
|
*/
|
|
408
481
|
|
|
409
|
-
--
|
|
410
|
-
--
|
|
411
|
-
--
|
|
412
|
-
--
|
|
413
|
-
--
|
|
414
|
-
|
|
415
|
-
|
|
482
|
+
--sidebar-item-drilldown-font-family: var(--sidebar-item-font-family);
|
|
483
|
+
--sidebar-item-drilldown-font-size: var(--sidebar-item-font-size);
|
|
484
|
+
--sidebar-text-drilldown-transform: inherit;
|
|
485
|
+
--sidebar-item-drilldown-text-color: var(--sidebar-item-text-color);
|
|
486
|
+
--sidebar-item-drilldown-background-color: var(--sidebar-background-color);
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @tokens Sidebar item group
|
|
490
|
+
*/
|
|
491
|
+
--sidebar-item-group-font-family: var(--sidebar-item-font-family);
|
|
492
|
+
--sidebar-item-group-font-size: var(--sidebar-item-font-size);
|
|
493
|
+
--sidebar-text-group-transform: inherit;
|
|
494
|
+
--sidebar-item-group-text-color: var(--sidebar-item-text-color);
|
|
495
|
+
--sidebar-item-group-background-color: var(--sidebar-background-color);
|
|
496
|
+
--sidebar-item-group-active-text-color: var(--sidebar-item-active-color);
|
|
497
|
+
--sidebar-item-group-active-background-color: var(--sidebar-item-active-background-color);
|
|
498
|
+
|
|
499
|
+
// we need a theme config for chevron-location: left (default), right-compact, right, none
|
|
500
|
+
// we need another theme config for chevron-style: up-down, down-up, right-down, down-right
|
|
501
|
+
|
|
502
|
+
--sidebar-group-item-chevron-size: var(--sidebar-spacing-unit);
|
|
503
|
+
--sidebar-group-item-chevron-color: var(--sidebar-item-text-color);
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @tokens Sidebar item separator
|
|
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;
|
|
416
1193
|
|
|
1194
|
+
--layout-right-rail-width: 50%;
|
|
1195
|
+
--layout-right-rail-background-color: transparent;
|
|
1196
|
+
`;
|
|
1197
|
+
|
|
1198
|
+
const tooltip = css`
|
|
417
1199
|
/**
|
|
418
|
-
* @tokens
|
|
1200
|
+
* @tokens Tooltip Base
|
|
1201
|
+
* @presenter Color
|
|
419
1202
|
*/
|
|
420
|
-
|
|
421
|
-
--
|
|
422
|
-
--h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
423
|
-
--h3-font-size: 18px; // @presenter FontSize
|
|
424
|
-
--h3-line-height: 18px; // @presenter LineHeight
|
|
425
|
-
--h3-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
426
|
-
--h3-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
427
|
-
--h3-text-color: var(--heading-text-color); // @presenter Color
|
|
1203
|
+
--tooltip-text-color: var(--color-secondary-200);
|
|
1204
|
+
--tooltip-background-color: var(--color-emphasis-600);
|
|
428
1205
|
|
|
429
1206
|
/**
|
|
430
|
-
* @tokens
|
|
1207
|
+
* @tokens Tooltip Copy Button
|
|
1208
|
+
* @presenter Color
|
|
431
1209
|
*/
|
|
432
1210
|
|
|
433
|
-
--
|
|
434
|
-
--
|
|
435
|
-
--h4-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
436
|
-
--h4-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
1211
|
+
--copy-button-tooltip-text-color: #000;
|
|
1212
|
+
--copy-button-tooltip-background-color: var(--background-color);
|
|
437
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`
|
|
438
1223
|
/**
|
|
439
|
-
* @tokens
|
|
1224
|
+
* @tokens Code base styles
|
|
440
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;
|
|
441
1232
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
1233
|
+
/**
|
|
1234
|
+
* @tokens Inline Code
|
|
1235
|
+
*/
|
|
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
|
|
445
1242
|
|
|
446
1243
|
/**
|
|
447
|
-
* @tokens
|
|
1244
|
+
* @tokens Code Block
|
|
448
1245
|
*/
|
|
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;
|
|
449
1256
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
1257
|
+
/**
|
|
1258
|
+
* @tokens Code Block controls
|
|
1259
|
+
*/
|
|
1260
|
+
|
|
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
|
|
453
1304
|
|
|
454
1305
|
// @tokens End
|
|
455
1306
|
`;
|
|
456
1307
|
|
|
457
|
-
|
|
458
1308
|
const links = css`
|
|
459
1309
|
/**
|
|
460
1310
|
* @tokens Links
|
|
461
1311
|
*/
|
|
462
|
-
|
|
463
|
-
--link-text-color: var(--color-blue-6); // @presenter Color
|
|
1312
|
+
--link-text-color: var(--color-primary-500); // @presenter Color
|
|
464
1313
|
--link-decoration: none;
|
|
465
1314
|
--link-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
466
1315
|
|
|
467
|
-
--link-hover-text-color: var(--color-
|
|
1316
|
+
--link-hover-text-color: var(--color-primary-100); // @presenter Color
|
|
468
1317
|
--link-hover-decoration: underline;
|
|
469
1318
|
|
|
470
1319
|
--link-active-decoration: none;
|
|
471
|
-
--link-active-text-color: var(--color-
|
|
1320
|
+
--link-active-text-color: var(--color-primary-500); // @presenter Color
|
|
472
1321
|
|
|
473
|
-
--link-visited-text-color: var(--color-
|
|
1322
|
+
--link-visited-text-color: var(--color-primary-500); // @presenter Color
|
|
474
1323
|
--link-visited-decoration: none;
|
|
475
1324
|
|
|
476
1325
|
// @tokens End
|
|
@@ -480,9 +1329,8 @@ const apiReferenceDocs = css`
|
|
|
480
1329
|
/* === ref docs and graphql docs specific === */
|
|
481
1330
|
|
|
482
1331
|
/**
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
1332
|
+
* @tokens API Reference Schemas Layout
|
|
1333
|
+
*/
|
|
486
1334
|
--layout-controls-margin: 20px; // @presenter Spacing
|
|
487
1335
|
--layout-controls-height: 36px; // @presenter Spacing
|
|
488
1336
|
--layout-controls-width: 36px; // @presenter Spacing
|
|
@@ -500,8 +1348,8 @@ const apiReferenceDocs = css`
|
|
|
500
1348
|
--layout-panel-schemas-large-max-width: none;
|
|
501
1349
|
|
|
502
1350
|
/**
|
|
503
|
-
|
|
504
|
-
|
|
1351
|
+
* @tokens API Reference Schemas MimeType Dropdown
|
|
1352
|
+
*/
|
|
505
1353
|
|
|
506
1354
|
--schemas-mime-type-dropdown-padding: 0px 26px 0px 4px;
|
|
507
1355
|
--schemas-mime-type-dropdown-border: var(--docs-dropdown-border); // @presenter Border
|
|
@@ -509,169 +1357,163 @@ const apiReferenceDocs = css`
|
|
|
509
1357
|
--schemas-mime-type-dropdown-text-color: var(--docs-dropdown-font-size); // @presenter Color
|
|
510
1358
|
|
|
511
1359
|
/**
|
|
512
|
-
|
|
513
|
-
|
|
1360
|
+
* @tokens API Reference Schemas Discriminator Dropdown
|
|
1361
|
+
*/
|
|
514
1362
|
|
|
515
1363
|
--schemas-discriminator-dropdown-padding: 2px 24px 2px 8px;
|
|
516
|
-
--schemas-discriminator-dropdown-border: 1px solid var(--border-
|
|
1364
|
+
--schemas-discriminator-dropdown-border: 1px solid var(--border-color); // @presenter Border
|
|
517
1365
|
--schemas-discriminator-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
518
1366
|
--schemas-discriminator-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
519
1367
|
|
|
520
1368
|
/**
|
|
521
|
-
|
|
522
|
-
|
|
1369
|
+
* @tokens API Reference Schemas Titles
|
|
1370
|
+
*/
|
|
523
1371
|
|
|
524
|
-
--schema-type-title-text-color: var(--text-secondary); // @presenter Color
|
|
525
|
-
--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
|
|
526
1374
|
--schema-labels-font-size: 1em; // @presenter FontSize
|
|
527
1375
|
|
|
528
1376
|
/**
|
|
529
|
-
|
|
530
|
-
|
|
1377
|
+
* @tokens API Reference Schemas Lines Color
|
|
1378
|
+
*/
|
|
531
1379
|
|
|
532
|
-
--schemas-lines-color: var(--border-
|
|
1380
|
+
--schemas-lines-color: var(--border-color); // @presenter Color
|
|
533
1381
|
|
|
534
1382
|
/**
|
|
535
|
-
|
|
536
|
-
|
|
1383
|
+
* @tokens API Reference Schema Inline code typography
|
|
1384
|
+
*/
|
|
537
1385
|
|
|
538
1386
|
--schema-inline-code-font-family: var(--inline-code-font-family); // @presenter FontFamily
|
|
539
1387
|
--schema-inline-code-font-size: var(--inline-code-font-size); // @presenter FontSize
|
|
540
|
-
--schema-inline-code-
|
|
541
|
-
--schema-inline-
|
|
542
|
-
--schema-inline-
|
|
543
|
-
--schema-inline-background-color: var(--bg-overlay); // @presenter Color
|
|
544
|
-
--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
|
|
545
1391
|
--schema-inline-border: 1px solid var(--schema-inline-border-color); // @presenter Border
|
|
546
1392
|
|
|
547
1393
|
/**
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
1394
|
+
* @tokens API Reference Schema Example Label colors
|
|
1395
|
+
* @presenter Color
|
|
1396
|
+
*/
|
|
551
1397
|
|
|
552
1398
|
--schema-example-text-color: var(--schema-inline-code-text-color);
|
|
553
1399
|
--schema-example-background-color: var(--schema-inline-background-color);
|
|
554
1400
|
--schema-example-border-color: var(--schema-inline-border-color);
|
|
555
1401
|
|
|
556
1402
|
/**
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
1403
|
+
* @tokens API Reference Schema Constraint Label colors
|
|
1404
|
+
* @presenter Color
|
|
1405
|
+
*/
|
|
560
1406
|
|
|
561
1407
|
--schema-constraint-text-color: var(--schema-inline-code-text-color);
|
|
562
1408
|
--schema-constraint-background-color: var(--schema-inline-background-color);
|
|
563
1409
|
--schema-constraint-border-color: var(--schema-inline-border-color);
|
|
564
1410
|
|
|
565
1411
|
/**
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
1412
|
+
* @tokens API Reference Schema Enum Label colors
|
|
1413
|
+
* @presenter Color
|
|
1414
|
+
*/
|
|
569
1415
|
|
|
570
1416
|
--schema-enum-text-color: var(--schema-inline-code-text-color);
|
|
571
1417
|
--schema-enum-background-color: var(--schema-inline-background-color);
|
|
572
1418
|
--schema-enum-border-color: var(--schema-inline-border-color);
|
|
573
1419
|
|
|
574
1420
|
/**
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
1421
|
+
* @tokens API Reference Schema Default Label colors
|
|
1422
|
+
* @presenter Color
|
|
1423
|
+
*/
|
|
578
1424
|
|
|
579
1425
|
--schema-default-text-color: var(--schema-inline-code-text-color);
|
|
580
1426
|
--schema-default-background-color: var(--schema-inline-background-color);
|
|
581
1427
|
--schema-default-border-color: var(--schema-inline-border-color);
|
|
582
1428
|
|
|
583
1429
|
/**
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
1430
|
+
* @tokens API Reference Schema Recursive Label colors
|
|
1431
|
+
* @presenter Color
|
|
1432
|
+
*/
|
|
587
1433
|
|
|
588
|
-
--schema-recursive-text-color: var(--color-warning);
|
|
1434
|
+
--schema-recursive-text-color: var(--color-warning-600);
|
|
589
1435
|
--schema-recursive-background-color: var(--schema-inline-background-color);
|
|
590
1436
|
--schema-recursive-border-color: var(--schema-inline-border-color);
|
|
591
1437
|
|
|
592
1438
|
/**
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
1439
|
+
* @tokens GraphQL Docs Reference Schema Non null label
|
|
1440
|
+
* @presenter Color
|
|
1441
|
+
*/
|
|
596
1442
|
|
|
597
1443
|
--schema-non-null-text-color: var(--schema-inline-code-text-color);
|
|
598
1444
|
--schema-non-null-background-color: var(--schema-inline-background-color);
|
|
599
1445
|
--schema-non-null-border-color: var(--schema-inline-border-color);
|
|
600
|
-
|
|
601
1446
|
/**
|
|
602
|
-
|
|
603
|
-
|
|
1447
|
+
* @tokens API Reference Schema Nested styles
|
|
1448
|
+
*/
|
|
604
1449
|
|
|
605
1450
|
--schema-nested-offset: 1em; // @presenter Spacing
|
|
606
|
-
--schema-nested-background-color: var(--
|
|
1451
|
+
--schema-nested-background-color: var(--colors-translucent); // @presenter Color
|
|
607
1452
|
|
|
608
1453
|
/**
|
|
609
|
-
|
|
610
|
-
|
|
1454
|
+
* @tokens API Reference Schema Buttons
|
|
1455
|
+
*/
|
|
611
1456
|
|
|
612
1457
|
--schema-buttons-font-family: var(--code-font-family); // @presenter FontFamily
|
|
613
1458
|
--schema-buttons-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
614
1459
|
--schema-buttons-font-size: var(--code-font-size); // @presenter FontSize
|
|
615
1460
|
|
|
616
|
-
--schema-buttons-text-color: var(--
|
|
1461
|
+
--schema-buttons-text-color: var(--color-emphasis-700); // @presenter Color
|
|
617
1462
|
--schema-buttons-background-color: transparent; // @presenter Color
|
|
618
|
-
--schema-buttons-border-color: var(--
|
|
1463
|
+
--schema-buttons-border-color: var(--color-secondary-500); // @presenter Color
|
|
619
1464
|
|
|
620
|
-
--schema-buttons-hover-background-color: var(--
|
|
621
|
-
--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
|
|
622
1467
|
|
|
623
1468
|
--schema-buttons-selected-text-color: var(--schema-buttons-text-color); // @presenter Color
|
|
624
|
-
--schema-buttons-selected-background-color: var(--
|
|
1469
|
+
--schema-buttons-selected-background-color: var(--color-secondary-300); // @presenter Color
|
|
625
1470
|
--schema-buttons-selected-border-color: var(--schema-buttons-border-color); // @presenter Color
|
|
626
|
-
--schema-buttons-selected-hover-background-color: var(--
|
|
627
|
-
--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
|
|
628
1473
|
|
|
629
1474
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
1475
|
+
* @tokens API Reference Schema Properties
|
|
1476
|
+
*/
|
|
632
1477
|
|
|
633
|
-
--schemas-property-name-text-color: var(--text-
|
|
1478
|
+
--schemas-property-name-text-color: var(--text-color); //@presenter Color
|
|
634
1479
|
--schemas-property-name-font-size: var(--code-font-size); // @presenter FontSize
|
|
635
1480
|
--schemas-property-name-font-family: var(--code-font-family); // @presenter FontFamily
|
|
636
|
-
--schemas-property-name-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
637
|
-
--schemas-property-name-line-height: var(--line-height-sm); // @presenter LineHeight
|
|
638
|
-
--schemas-property-name-text-transform: none;
|
|
639
1481
|
|
|
640
|
-
--schemas-property-deprecated-text-color: var(--text-
|
|
1482
|
+
--schemas-property-deprecated-text-color: var(--text-color); // @presenter Color
|
|
641
1483
|
|
|
642
1484
|
--schema-property-labels-font-size: var(--schema-labels-font-size); // @presenter FontSize
|
|
643
|
-
--schema-property-required-label-text-color: var(--color-error); // @presenter Color
|
|
644
|
-
--schema-property-additional-label-text-color: var(--text-secondary); // @presenter Color
|
|
645
|
-
--schema-property-access-label-text-color: var(--text-secondary); // @presenter Color
|
|
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
|
|
646
1488
|
|
|
647
1489
|
--schema-property-details-width: 70%;
|
|
648
1490
|
|
|
649
1491
|
/**
|
|
650
|
-
|
|
651
|
-
|
|
1492
|
+
* @tokens API Reference Schema Icons
|
|
1493
|
+
*/
|
|
652
1494
|
|
|
653
|
-
--schema-chevron-color: var(--text-
|
|
1495
|
+
--schema-chevron-color: var(--text-color); // @presenter Color
|
|
654
1496
|
--schema-chevron-size: 9px;
|
|
655
1497
|
|
|
656
|
-
--schema-property-deep-link-icon-color: var(--color-primary); // @presenter Color
|
|
1498
|
+
--schema-property-deep-link-icon-color: var(--color-primary-500); // @presenter Color
|
|
657
1499
|
--schema-property-deep-link-icon: none;
|
|
658
1500
|
|
|
659
|
-
|
|
1501
|
+
/*
|
|
660
1502
|
* @tokens API Reference Other
|
|
661
1503
|
*/
|
|
662
1504
|
|
|
663
|
-
--loading-spinner-color: var(--color-primary); // @presenter Color
|
|
664
|
-
--linear-progress-color: var(--color-
|
|
665
|
-
--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
|
|
666
1508
|
|
|
667
|
-
--fab-background-color: var(--color-primary); // @presenter Color
|
|
668
|
-
--fab-box-shadow: var(--
|
|
1509
|
+
--fab-background-color: var(--color-primary-500); // @presenter Color
|
|
1510
|
+
--fab-box-shadow: var(--box-shadow); // @presenter Shadow
|
|
669
1511
|
|
|
670
|
-
--fab-hover-background: var(--color-primary); // @presenter Color
|
|
671
|
-
--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
|
|
672
1514
|
|
|
673
|
-
--fab-active-background: var(--color-primary); // @presenter Color
|
|
674
|
-
--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
|
|
675
1517
|
|
|
676
1518
|
--fab-icon-color: var(--navbar-text-color); // @presenter Color
|
|
677
1519
|
|
|
@@ -680,25 +1522,82 @@ const apiReferenceDocs = css`
|
|
|
680
1522
|
|
|
681
1523
|
const badges = css`
|
|
682
1524
|
/**
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
--badge-
|
|
687
|
-
--badge-
|
|
688
|
-
--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
|
|
689
1530
|
--badge-border: 1px solid var(--badge-border-color); // @presenter Border
|
|
690
1531
|
--badge-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
691
1532
|
|
|
692
1533
|
/**
|
|
693
|
-
|
|
694
|
-
|
|
1534
|
+
* @tokens Deprecated Badge
|
|
1535
|
+
*/
|
|
695
1536
|
|
|
696
|
-
--badge-deprecated-text-color: var(--color-
|
|
697
|
-
--badge-deprecated-background-color: var(--color-warning-
|
|
698
|
-
--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
|
|
699
1540
|
--badge-deprecated-border: 1px solid var(--badge-deprecated-border-color); // @presenter Border
|
|
700
1541
|
--badge-deprecated-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
701
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
|
|
702
1601
|
|
|
703
1602
|
// @tokens End
|
|
704
1603
|
`;
|
|
@@ -717,12 +1616,166 @@ const logo = css`
|
|
|
717
1616
|
// @tokens End
|
|
718
1617
|
`;
|
|
719
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
|
|
1769
|
+
|
|
1770
|
+
// @tokens End
|
|
1771
|
+
`;
|
|
1772
|
+
|
|
720
1773
|
const loadProgressBar = css`
|
|
721
1774
|
/**
|
|
722
1775
|
* @tokens Load progress bar
|
|
723
1776
|
*/
|
|
724
1777
|
|
|
725
|
-
--load-progress-bar-color: var(--color-
|
|
1778
|
+
--load-progress-bar-color: var(--color-secondary-500); // @presenter Color
|
|
726
1779
|
--load-progress-bar-shadow: 0 0 10px var(--load-progress-bar-color),
|
|
727
1780
|
0 0 5px var(--load-progress-bar-color); // @presenter BoxShadow
|
|
728
1781
|
--load-progress-bar-height: 2px; // @presenter Height
|
|
@@ -774,151 +1827,495 @@ const inputs = css`
|
|
|
774
1827
|
/**
|
|
775
1828
|
* @tokens Inputs
|
|
776
1829
|
*/
|
|
777
|
-
|
|
778
|
-
--input-
|
|
779
|
-
--input-
|
|
780
|
-
--input-border: 1px solid var(--border-primary); // @presenter Border
|
|
781
|
-
--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
|
|
782
1833
|
--input-font-size: var(--font-size-base); // @presenter FontSize
|
|
783
1834
|
--input-font-family: var(--font-family-base); // @presenter FontFamily
|
|
784
1835
|
--input-line-height: 1.15em; // @presenter LineHeight
|
|
785
1836
|
--input-padding: 8px;
|
|
786
1837
|
|
|
787
|
-
--input-hover-text-color: var(--text-
|
|
788
|
-
--input-hover-border:
|
|
789
|
-
--input-focus-border:
|
|
790
|
-
--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
|
+
*/
|
|
791
2022
|
|
|
792
|
-
--
|
|
793
|
-
--
|
|
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;
|
|
2027
|
+
|
|
2028
|
+
--search-modal-header-border-radius: 8px;
|
|
2029
|
+
--search-modal-header-background-color: var(--color-secondary-100);
|
|
2030
|
+
--search-modal-clear-button-background-color: var(--color-secondary-300);
|
|
2031
|
+
--search-modal-clear-button-hover-background-color: var(--color-secondary-500);
|
|
794
2032
|
|
|
795
2033
|
// @tokens End
|
|
796
2034
|
`;
|
|
797
2035
|
|
|
798
2036
|
const docsDropdown = css`
|
|
799
|
-
--docs-dropdown-font-size:
|
|
800
|
-
--docs-dropdown-text-color: var(--text-
|
|
2037
|
+
--docs-dropdown-font-size: 14px;
|
|
2038
|
+
--docs-dropdown-text-color: var(--text-color);
|
|
801
2039
|
|
|
802
|
-
--docs-dropdown-padding-vertical:
|
|
2040
|
+
--docs-dropdown-padding-vertical: 8px;
|
|
803
2041
|
--docs-dropdown-padding-left: 10px;
|
|
804
2042
|
--docs-dropdown-padding-right: 26px;
|
|
805
|
-
--docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right)
|
|
806
|
-
|
|
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
|
|
807
2197
|
`;
|
|
808
2198
|
|
|
2199
|
+
|
|
809
2200
|
const lastUpdated = css`
|
|
810
|
-
--last-updated-text-color: var(--text-
|
|
811
|
-
--last-updated-font-size: var(--font-size-
|
|
2201
|
+
--last-updated-text-color: var(--text-color);
|
|
2202
|
+
--last-updated-font-size: var(--font-size-small);
|
|
812
2203
|
--last-updated-font-family: var(--font-family-base);
|
|
813
2204
|
--last-updated-line-height: var(--line-height-base);
|
|
814
2205
|
`;
|
|
815
2206
|
|
|
816
2207
|
const tile = css`
|
|
817
|
-
--wide-tile-background-color: var(--
|
|
818
|
-
--thin-tile-background-color: var(--
|
|
2208
|
+
--wide-tile-background-color: var(--color-secondary-100);
|
|
2209
|
+
--thin-tile-background-color: var(--color-secondary-100);
|
|
819
2210
|
`;
|
|
820
2211
|
|
|
821
2212
|
const pages = css`
|
|
822
2213
|
/**
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
2214
|
+
* @tokens 404 Page
|
|
2215
|
+
* @presenter Color
|
|
2216
|
+
*/
|
|
826
2217
|
|
|
827
2218
|
--page-404-font-family: var(--font-family-base); // @presenter FontFamily
|
|
828
2219
|
|
|
829
|
-
--page-404-header-text-color:
|
|
830
|
-
--page-404-header-font-size:
|
|
831
|
-
--page-404-header-font-weight:
|
|
832
|
-
--page-404-header-line-height:
|
|
833
|
-
--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
|
|
834
2225
|
|
|
835
|
-
--page-404-description-text-color:
|
|
836
|
-
--page-404-description-font-size:
|
|
837
|
-
--page-404-description-font-weight:
|
|
838
|
-
--page-404-description-line-height: 1 // @presenter LineHeight
|
|
839
|
-
--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
|
|
840
2231
|
|
|
841
2232
|
--page-404-button-margin: 4em; // @presenter Spacing
|
|
842
2233
|
|
|
843
2234
|
// @tokens End
|
|
844
2235
|
|
|
845
2236
|
/**
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
2237
|
+
* @tokens 403 Page
|
|
2238
|
+
* @presenter Color
|
|
2239
|
+
*/
|
|
849
2240
|
|
|
850
|
-
|
|
2241
|
+
--page-403-font-family: var(--font-family-base); // @presenter FontFamily
|
|
851
2242
|
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
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
|
|
857
2248
|
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
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
|
|
863
2254
|
|
|
864
|
-
|
|
2255
|
+
--page-403-button-margin: 4em; // @presenter Spacing
|
|
865
2256
|
|
|
866
2257
|
// @tokens End
|
|
867
2258
|
`
|
|
868
2259
|
|
|
869
|
-
const
|
|
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
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
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
|
+
|
|
922
2319
|
`;
|
|
923
2320
|
|
|
924
2321
|
const modal = css`
|
|
@@ -928,7 +2325,7 @@ const modal = css`
|
|
|
928
2325
|
|
|
929
2326
|
--modal-box-shadow: 0px 8px 12px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31);
|
|
930
2327
|
--modal-overlay-background-color: rgba(206, 206, 206, 0.49);
|
|
931
|
-
--modal-background-color: var(--
|
|
2328
|
+
--modal-background-color: var(--background-color);
|
|
932
2329
|
`;
|
|
933
2330
|
|
|
934
2331
|
const zIndexDepth = css`
|
|
@@ -940,56 +2337,47 @@ const zIndexDepth = css`
|
|
|
940
2337
|
|
|
941
2338
|
export const styles = css`
|
|
942
2339
|
:root {
|
|
2340
|
+
${baseColors}
|
|
2341
|
+
${httpColors}
|
|
2342
|
+
${responsePanelColors}
|
|
2343
|
+
${typography}
|
|
2344
|
+
${headingsTypography}
|
|
2345
|
+
${common}
|
|
943
2346
|
${admonition}
|
|
944
|
-
${
|
|
945
|
-
${
|
|
2347
|
+
${buttons}
|
|
2348
|
+
${sidebar}
|
|
2349
|
+
${navbar}
|
|
2350
|
+
${mobileMenu}
|
|
2351
|
+
${footer}
|
|
2352
|
+
${logo}
|
|
946
2353
|
${badges}
|
|
947
|
-
${borders}
|
|
948
2354
|
${breadcrumbs}
|
|
949
|
-
${
|
|
950
|
-
${
|
|
951
|
-
${code}
|
|
952
|
-
${docsDropdown}
|
|
953
|
-
${dropdown}
|
|
954
|
-
${error}
|
|
955
|
-
${filter}
|
|
956
|
-
${footer}
|
|
957
|
-
${headingsTypography}
|
|
2355
|
+
${product}
|
|
2356
|
+
${toc}
|
|
958
2357
|
${inputs}
|
|
959
|
-
${
|
|
960
|
-
${
|
|
2358
|
+
${tooltip}
|
|
2359
|
+
${code}
|
|
961
2360
|
${links}
|
|
962
|
-
${loadProgressBar}
|
|
963
|
-
${logo}
|
|
964
2361
|
${markdown}
|
|
965
|
-
${menu}
|
|
966
|
-
${mobileMenu}
|
|
967
|
-
${modal}
|
|
968
|
-
${navbar}
|
|
969
|
-
${pages}
|
|
970
|
-
${product}
|
|
971
|
-
${productPicker}
|
|
972
|
-
${responsePanelColors}
|
|
973
2362
|
${search}
|
|
2363
|
+
${dropdown}
|
|
2364
|
+
${docsDropdown}
|
|
974
2365
|
${select}
|
|
975
|
-
${
|
|
976
|
-
${
|
|
977
|
-
${
|
|
978
|
-
${themeColors}
|
|
2366
|
+
${apiReferencePanels}
|
|
2367
|
+
${apiReferenceDocs}
|
|
2368
|
+
${lastUpdated}
|
|
979
2369
|
${tile}
|
|
980
|
-
${
|
|
981
|
-
${
|
|
982
|
-
${
|
|
2370
|
+
${loadProgressBar}
|
|
2371
|
+
${pages}
|
|
2372
|
+
${modal}
|
|
983
2373
|
${userProfile}
|
|
984
|
-
${userProfileDropdown}
|
|
985
|
-
${versionPicker}
|
|
986
2374
|
${zIndexDepth}
|
|
987
2375
|
|
|
988
2376
|
--api-onboarding-table-text-color: #4e5356;
|
|
989
2377
|
--api-catalog-card-min-width: 250px;
|
|
990
2378
|
|
|
991
|
-
background-color: var(--
|
|
992
|
-
color: var(--text-
|
|
2379
|
+
background-color: var(--background-color);
|
|
2380
|
+
color: var(--text-color);
|
|
993
2381
|
font-family: var(--font-family-base);
|
|
994
2382
|
}
|
|
995
2383
|
|