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