@redocly/theme 0.18.3-patch.0 → 0.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/I18n/LanguagePicker.d.ts +2 -7
- package/lib/I18n/LanguagePicker.js +3 -11
- package/lib/I18n/index.d.ts +0 -1
- package/lib/I18n/index.js +0 -15
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +1 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +3 -4
- package/lib/components/Breadcrumbs/Breadcrumbs.js +9 -2
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/Breadcrumbs/index.js +0 -1
- package/lib/components/Button/Button.d.ts +3 -6
- package/lib/components/Button/Button.js +42 -40
- package/lib/components/Button/index.d.ts +0 -1
- package/lib/components/Button/index.js +0 -1
- package/lib/components/Catalog/Catalog.d.ts +0 -1
- package/lib/components/Catalog/Catalog.js +96 -99
- package/lib/components/Catalog/CatalogCard.js +58 -62
- package/lib/components/Catalog/index.d.ts +3 -4
- package/lib/components/Catalog/index.js +3 -4
- package/lib/components/Catalog/useCatalog.js +12 -1
- package/lib/components/CodeBlock/CodeBlockContainer.js +8 -35
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +4 -3
- package/lib/components/CodeBlock/CodeBlockControlButton.js +19 -5
- package/lib/components/CodeBlock/CodeBlockControls.js +11 -10
- package/lib/components/CodeBlock/index.d.ts +0 -1
- package/lib/components/CodeBlock/index.js +0 -1
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +3 -0
- package/lib/components/Dropdown/Dropdown.d.ts +2 -7
- package/lib/components/Dropdown/Dropdown.js +4 -6
- package/lib/components/Dropdown/index.d.ts +0 -1
- package/lib/components/Dropdown/index.js +0 -1
- package/lib/components/EditPageButton/EditPageButton.js +2 -1
- package/lib/components/Feedback/Feedback.js +13 -3
- package/lib/components/Feedback/Reasons.js +1 -1
- package/lib/components/Feedback/Sentiment.js +6 -2
- package/lib/components/Feedback/Thumbs.js +4 -4
- package/lib/components/Filter/Filter.js +78 -101
- package/lib/components/Filter/index.d.ts +0 -2
- package/lib/components/Filter/index.js +0 -2
- package/lib/components/Footer/CustomFooterNavItem.js +1 -1
- package/lib/components/Footer/Footer.d.ts +3 -4
- package/lib/components/Footer/Footer.js +10 -27
- package/lib/components/Footer/FooterColumn.d.ts +3 -3
- package/lib/components/Footer/FooterColumn.js +64 -53
- package/lib/components/Footer/FooterColumns.js +4 -6
- package/lib/components/Footer/FooterCopyright.js +6 -11
- package/lib/components/Footer/index.d.ts +0 -1
- package/lib/components/Footer/index.js +0 -1
- package/lib/components/JsonViewer/JsonViewer.js +2 -2
- package/lib/components/Markdown/MarkdownWrapper.js +4 -2
- package/lib/components/Markdown/Mermaid.js +1 -1
- package/lib/components/Markdown/index.d.ts +0 -1
- package/lib/components/Markdown/index.js +0 -1
- package/lib/components/Menu/Menu.js +7 -5
- package/lib/components/Menu/MenuGroup.js +7 -12
- package/lib/components/Menu/MenuItemLabel.js +13 -7
- package/lib/components/Menu/MenuLinkItem.js +2 -1
- package/lib/components/Menu/MobileMenu.js +25 -20
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Menu/index.d.ts +0 -1
- package/lib/components/Menu/index.js +0 -1
- package/lib/components/{Profile → Navbar}/MobileUserProfile.js +28 -5
- package/lib/components/Navbar/Navbar.js +11 -10
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +6 -7
- package/lib/components/Navbar/NavbarMenu.js +2 -2
- package/lib/components/Navbar/index.d.ts +0 -1
- package/lib/components/Navbar/index.js +0 -1
- package/lib/components/NavbarLogo/NavbarLogo.d.ts +1 -4
- package/lib/components/NavbarLogo/NavbarLogo.js +6 -13
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +2 -2
- package/lib/components/OpenApiDocs/Dropdown.js +3 -3
- package/lib/components/OperationBadge/OperationBadge.d.ts +6 -0
- package/lib/components/OperationBadge/OperationBadge.js +68 -0
- package/lib/components/OperationBadge/index.d.ts +1 -0
- package/lib/{icons/ErrorIcon → components/OperationBadge}/index.js +1 -1
- package/lib/components/Panel/PanelHeader.js +0 -1
- package/lib/components/Panel/PanelHeaderTitle.js +4 -0
- package/lib/components/Panel/index.d.ts +0 -1
- package/lib/components/Panel/index.js +0 -1
- package/lib/components/Product/index.d.ts +0 -1
- package/lib/components/Product/index.js +0 -1
- package/lib/components/Profile/LoginLink.js +6 -2
- package/lib/components/Profile/Profile.js +22 -3
- package/lib/components/Profile/UserProfile.js +13 -21
- package/lib/components/Profile/index.d.ts +0 -1
- package/lib/components/Profile/index.js +0 -15
- package/lib/components/Search/CancelSearch.js +14 -2
- package/lib/components/Search/ProductTag.js +7 -7
- package/lib/components/Search/RecentSearches.js +5 -5
- package/lib/components/Search/Search.js +2 -0
- package/lib/components/Search/SearchIcon.js +2 -2
- package/lib/components/Search/SearchItem.js +4 -4
- package/lib/components/Search/SearchTrigger.js +5 -4
- package/lib/components/Search/ShortcutKey.js +5 -1
- package/lib/components/Search/SuggestedPages.js +3 -3
- package/lib/components/Search/index.d.ts +0 -1
- package/lib/components/Search/index.js +0 -1
- package/lib/components/Select/Select.d.ts +3 -10
- package/lib/components/Select/Select.js +6 -9
- package/lib/components/Select/index.d.ts +0 -1
- package/lib/components/Select/index.js +0 -1
- package/lib/components/Separator/SeparatorItem.js +5 -7
- package/lib/components/Sidebar/ApiCallItem.d.ts +6 -2
- package/lib/components/Sidebar/ApiCallItem.js +11 -13
- package/lib/components/Sidebar/FooterWrapper.js +4 -3
- package/lib/components/Sidebar/HeaderWrapper.js +2 -2
- package/lib/components/Sidebar/SidebarLayout.js +2 -1
- package/lib/components/Sidebar/VersionPicker.d.ts +1 -1
- package/lib/components/Sidebar/index.d.ts +0 -1
- package/lib/components/Sidebar/index.js +0 -1
- package/lib/components/SidebarActions/CollapseSidebarButton.js +1 -37
- package/lib/components/SidebarActions/SidebarActions.js +15 -3
- package/lib/components/SidebarActions/styled.js +14 -16
- package/lib/components/TableOfContent/TableOfContent.js +5 -3
- package/lib/components/TableOfContent/index.d.ts +0 -1
- package/lib/components/TableOfContent/index.js +0 -1
- package/lib/components/Tabs/Tab.js +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tags/Tags.d.ts +5 -0
- package/lib/components/Tags/Tags.js +32 -0
- package/lib/components/Tags/index.d.ts +1 -0
- package/lib/components/{Image → Tags}/index.js +1 -1
- package/lib/components/Tiles/TileText.js +1 -1
- package/lib/components/Tooltip/index.d.ts +0 -1
- package/lib/components/Tooltip/index.js +0 -1
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +2 -1
- package/lib/config.d.ts +0 -6
- package/lib/config.js +0 -1
- package/lib/globalStyle.js +1967 -597
- package/lib/icons/ArrowIcon/ArrowIcon.js +1 -1
- package/lib/icons/CollapseIcon/CollapseIcon.d.ts +1 -1
- package/lib/icons/CollapseIcon/CollapseIcon.js +5 -5
- package/lib/icons/ColorModeIcon/ColorModeIcon.js +1 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +2 -1
- package/lib/icons/CopyIcon/CopyIcon.js +4 -4
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.js +5 -5
- package/lib/icons/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/lib/icons/ExpandIcon/ExpandIcon.js +5 -5
- package/lib/icons/FileIcon/FileIcon.d.ts +2 -1
- package/lib/icons/FileIcon/FileIcon.js +2 -2
- package/lib/icons/ReportIcon/ReportIcon.d.ts +2 -1
- package/lib/icons/ReportIcon/ReportIcon.js +3 -3
- package/lib/icons/SelectIcon/SelectIcon.d.ts +2 -1
- package/lib/icons/SelectIcon/SelectIcon.js +5 -5
- package/lib/icons/index.d.ts +0 -4
- package/lib/icons/index.js +0 -4
- package/lib/layouts/Forbidden.js +0 -4
- package/lib/layouts/NotFound.js +0 -4
- package/lib/types/portal/src/shared/types/nav.d.ts +0 -5
- package/lib/ui/Burger.js +1 -1
- package/lib/ui/Dropdown.js +7 -7
- package/lib/ui/Jumbotron.js +1 -1
- package/lib/ui/darkColors.js +84 -216
- package/package.json +2 -2
- package/src/I18n/LanguagePicker.tsx +4 -29
- package/src/I18n/index.ts +0 -1
- package/src/components/Breadcrumbs/Breadcrumb.tsx +9 -4
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +14 -2
- package/src/components/Breadcrumbs/index.ts +0 -1
- package/src/components/Button/Button.tsx +48 -52
- package/src/components/Button/index.ts +0 -1
- package/src/components/Catalog/Catalog.tsx +115 -127
- package/src/components/Catalog/CatalogCard.tsx +61 -75
- package/src/components/Catalog/index.tsx +3 -0
- package/src/components/Catalog/useCatalog.ts +13 -1
- package/src/components/CodeBlock/CodeBlockContainer.tsx +7 -14
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +19 -6
- package/src/components/CodeBlock/CodeBlockControls.tsx +11 -9
- package/src/components/CodeBlock/index.ts +0 -1
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +4 -0
- package/src/components/Dropdown/Dropdown.tsx +4 -10
- package/src/components/Dropdown/index.ts +0 -1
- package/src/components/EditPageButton/EditPageButton.tsx +2 -1
- package/src/components/Feedback/Feedback.tsx +13 -3
- package/src/components/Feedback/Reasons.tsx +1 -1
- package/src/components/Feedback/Sentiment.tsx +10 -2
- package/src/components/Feedback/Thumbs.tsx +4 -4
- package/src/components/Filter/Filter.tsx +94 -127
- package/src/components/Filter/index.ts +0 -2
- package/src/components/Footer/CustomFooterNavItem.tsx +1 -1
- package/src/components/Footer/Footer.tsx +10 -32
- package/src/components/Footer/FooterColumn.tsx +64 -79
- package/src/components/Footer/FooterColumns.tsx +4 -6
- package/src/components/Footer/FooterCopyright.tsx +7 -13
- package/src/components/Footer/index.ts +0 -1
- package/src/components/JsonViewer/JsonViewer.tsx +2 -2
- package/src/components/Markdown/MarkdownWrapper.tsx +4 -2
- package/src/components/Markdown/Mermaid.tsx +1 -1
- package/src/components/Markdown/index.ts +0 -1
- package/src/components/Menu/Menu.tsx +7 -5
- package/src/components/Menu/MenuGroup.tsx +7 -15
- package/src/components/Menu/MenuItemLabel.tsx +13 -7
- package/src/components/Menu/MenuLinkItem.tsx +6 -1
- package/src/components/Menu/MobileMenu.tsx +25 -20
- package/src/components/Menu/MobileMenuGroup.tsx +1 -1
- package/src/components/Menu/index.ts +0 -1
- package/src/components/{Profile → Navbar}/MobileUserProfile.tsx +39 -5
- package/src/components/Navbar/Navbar.tsx +11 -10
- package/src/components/Navbar/NavbarItem.tsx +6 -6
- package/src/components/Navbar/NavbarMenu.tsx +2 -2
- package/src/components/Navbar/index.ts +0 -1
- package/src/components/NavbarLogo/NavbarLogo.tsx +12 -14
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +2 -1
- package/src/components/OpenApiDocs/Dropdown.tsx +3 -3
- package/src/components/OperationBadge/OperationBadge.ts +62 -0
- package/src/components/OperationBadge/index.ts +1 -0
- package/src/components/Panel/PanelHeader.ts +0 -1
- package/src/components/Panel/PanelHeaderTitle.ts +4 -0
- package/src/components/Panel/index.ts +0 -1
- package/src/components/Product/index.ts +0 -1
- package/src/components/Profile/LoginLink.tsx +10 -2
- package/src/components/Profile/Profile.tsx +24 -1
- package/src/components/Profile/UserProfile.tsx +13 -21
- package/src/components/Profile/index.ts +0 -1
- package/src/components/Search/CancelSearch.tsx +15 -2
- package/src/components/Search/ProductTag.tsx +7 -7
- package/src/components/Search/RecentSearches.tsx +5 -5
- package/src/components/Search/Search.tsx +2 -0
- package/src/components/Search/SearchIcon.tsx +5 -10
- package/src/components/Search/SearchItem.tsx +4 -4
- package/src/components/Search/SearchTrigger.tsx +5 -4
- package/src/components/Search/ShortcutKey.tsx +5 -1
- package/src/components/Search/SuggestedPages.tsx +3 -3
- package/src/components/Search/index.ts +0 -1
- package/src/components/Select/Select.tsx +7 -20
- package/src/components/Select/index.ts +0 -1
- package/src/components/Separator/SeparatorItem.tsx +5 -7
- package/src/components/Sidebar/ApiCallItem.tsx +11 -13
- package/src/components/Sidebar/FooterWrapper.tsx +4 -3
- package/src/components/Sidebar/HeaderWrapper.tsx +2 -2
- package/src/components/Sidebar/SidebarLayout.tsx +6 -1
- package/src/components/Sidebar/index.ts +0 -1
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +2 -18
- package/src/components/SidebarActions/SidebarActions.tsx +18 -3
- package/src/components/SidebarActions/styled.tsx +23 -16
- package/src/components/TableOfContent/TableOfContent.tsx +5 -2
- package/src/components/TableOfContent/index.ts +0 -1
- package/src/components/Tabs/Tab.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tags/Tags.tsx +36 -0
- package/src/components/Tags/index.ts +1 -0
- package/src/components/Tiles/TileText.tsx +1 -1
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/index.ts +2 -1
- package/src/config.ts +0 -1
- package/src/globalStyle.ts +1976 -588
- package/src/icons/ArrowIcon/ArrowIcon.tsx +1 -1
- package/src/icons/CollapseIcon/CollapseIcon.tsx +5 -5
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +1 -1
- package/src/icons/CopyIcon/CopyIcon.tsx +5 -4
- package/src/icons/DeselectIcon/DeselectIcon.tsx +5 -5
- package/src/icons/ExpandIcon/ExpandIcon.tsx +6 -5
- package/src/icons/FileIcon/FileIcon.tsx +3 -2
- package/src/icons/ReportIcon/ReportIcon.tsx +4 -3
- package/src/icons/SelectIcon/SelectIcon.tsx +6 -5
- package/src/icons/index.ts +0 -4
- package/src/layouts/Forbidden.tsx +0 -4
- package/src/layouts/NotFound.tsx +0 -4
- package/src/types/portal/src/shared/types/nav.ts +0 -5
- package/src/ui/Burger.tsx +1 -1
- package/src/ui/Dropdown.tsx +7 -7
- package/src/ui/Jumbotron.tsx +1 -1
- package/src/ui/darkColors.tsx +84 -216
- package/lib/I18n/styledVariables.d.ts +0 -1
- package/lib/I18n/styledVariables.js +0 -39
- package/lib/components/Breadcrumbs/styledVariables.d.ts +0 -1
- package/lib/components/Breadcrumbs/styledVariables.js +0 -19
- package/lib/components/Button/styledVariables.d.ts +0 -1
- package/lib/components/Button/styledVariables.js +0 -94
- package/lib/components/Catalog/styledVariables.d.ts +0 -1
- package/lib/components/Catalog/styledVariables.js +0 -94
- package/lib/components/CodeBlock/styledVariables.d.ts +0 -1
- package/lib/components/CodeBlock/styledVariables.js +0 -90
- package/lib/components/Dropdown/styledVariables.d.ts +0 -1
- package/lib/components/Dropdown/styledVariables.js +0 -30
- package/lib/components/Filter/FilterContent.d.ts +0 -11
- package/lib/components/Filter/FilterContent.js +0 -50
- package/lib/components/Filter/FilterPopover.d.ts +0 -11
- package/lib/components/Filter/FilterPopover.js +0 -99
- package/lib/components/Filter/FilterTag.d.ts +0 -7
- package/lib/components/Filter/FilterTag.js +0 -33
- package/lib/components/Filter/FilterTags.d.ts +0 -7
- package/lib/components/Filter/FilterTags.js +0 -29
- package/lib/components/Filter/styledVariables.d.ts +0 -1
- package/lib/components/Filter/styledVariables.js +0 -112
- package/lib/components/Footer/styledVariables.d.ts +0 -1
- package/lib/components/Footer/styledVariables.js +0 -61
- package/lib/components/Image/Image.d.ts +0 -9
- package/lib/components/Image/Image.js +0 -31
- package/lib/components/Image/index.d.ts +0 -1
- package/lib/components/Markdown/styledVariables.d.ts +0 -2
- package/lib/components/Markdown/styledVariables.js +0 -221
- package/lib/components/Menu/styledVariables.d.ts +0 -2
- package/lib/components/Menu/styledVariables.js +0 -90
- package/lib/components/Navbar/styledVariables.d.ts +0 -1
- package/lib/components/Navbar/styledVariables.js +0 -40
- package/lib/components/Panel/styledVariables.d.ts +0 -2
- package/lib/components/Panel/styledVariables.js +0 -489
- package/lib/components/Product/styledVariables.d.ts +0 -2
- package/lib/components/Product/styledVariables.js +0 -41
- package/lib/components/Profile/UserProfileData.d.ts +0 -9
- package/lib/components/Profile/UserProfileData.js +0 -35
- package/lib/components/Profile/styledVariables.d.ts +0 -2
- package/lib/components/Profile/styledVariables.js +0 -55
- package/lib/components/Search/styledVariables.d.ts +0 -1
- package/lib/components/Search/styledVariables.js +0 -98
- package/lib/components/Select/styledVariables.d.ts +0 -1
- package/lib/components/Select/styledVariables.js +0 -33
- package/lib/components/Sidebar/styledVariables.d.ts +0 -2
- package/lib/components/Sidebar/styledVariables.js +0 -210
- package/lib/components/TableOfContent/styledVariables.d.ts +0 -1
- package/lib/components/TableOfContent/styledVariables.js +0 -46
- package/lib/components/Tag/Tag.d.ts +0 -16
- package/lib/components/Tag/Tag.js +0 -39
- package/lib/components/Tag/index.d.ts +0 -2
- package/lib/components/Tag/index.js +0 -19
- package/lib/components/Tag/styledVariables.d.ts +0 -1
- package/lib/components/Tag/styledVariables.js +0 -130
- package/lib/components/Tooltip/styledVariables.d.ts +0 -1
- package/lib/components/Tooltip/styledVariables.js +0 -21
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +0 -6
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +0 -28
- package/lib/icons/CheckboxIcon/index.d.ts +0 -1
- package/lib/icons/CheckboxIcon/index.js +0 -6
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +0 -4
- package/lib/icons/ErrorIcon/ErrorIcon.js +0 -14
- package/lib/icons/ErrorIcon/index.d.ts +0 -1
- package/lib/icons/LanguageIcon/LanguageIcon.d.ts +0 -4
- package/lib/icons/LanguageIcon/LanguageIcon.js +0 -14
- package/lib/icons/LanguageIcon/index.d.ts +0 -1
- package/lib/icons/LanguageIcon/index.js +0 -18
- package/lib/icons/PlusIcon/PlusIcon.d.ts +0 -5
- package/lib/icons/PlusIcon/PlusIcon.js +0 -16
- package/lib/icons/PlusIcon/index.d.ts +0 -1
- package/lib/icons/PlusIcon/index.js +0 -18
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +0 -4
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +0 -15
- package/lib/icons/PointingArrowIcon/index.d.ts +0 -1
- package/lib/icons/PointingArrowIcon/index.js +0 -18
- package/src/I18n/styledVariables.ts +0 -36
- package/src/components/Breadcrumbs/styledVariables.ts +0 -16
- package/src/components/Button/styledVariables.ts +0 -91
- package/src/components/Catalog/index.ts +0 -4
- package/src/components/Catalog/styledVariables.ts +0 -91
- package/src/components/CodeBlock/styledVariables.ts +0 -87
- package/src/components/Dropdown/styledVariables.ts +0 -27
- package/src/components/Filter/FilterContent.tsx +0 -75
- package/src/components/Filter/FilterPopover.tsx +0 -132
- package/src/components/Filter/FilterTag.tsx +0 -37
- package/src/components/Filter/FilterTags.tsx +0 -39
- package/src/components/Filter/styledVariables.ts +0 -109
- package/src/components/Footer/styledVariables.ts +0 -58
- package/src/components/Image/Image.tsx +0 -47
- package/src/components/Image/index.ts +0 -1
- package/src/components/Markdown/styledVariables.ts +0 -219
- package/src/components/Menu/styledVariables.ts +0 -88
- package/src/components/Navbar/styledVariables.ts +0 -37
- package/src/components/Panel/styledVariables.ts +0 -487
- package/src/components/Product/styledVariables.ts +0 -39
- package/src/components/Profile/UserProfileData.tsx +0 -40
- package/src/components/Profile/styledVariables.ts +0 -53
- package/src/components/Search/styledVariables.ts +0 -95
- package/src/components/Select/styledVariables.ts +0 -30
- package/src/components/Sidebar/styledVariables.ts +0 -208
- package/src/components/TableOfContent/styledVariables.ts +0 -43
- package/src/components/Tag/Tag.tsx +0 -62
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Tag/styledVariables.ts +0 -127
- package/src/components/Tooltip/styledVariables.ts +0 -18
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +0 -64
- package/src/icons/CheckboxIcon/index.ts +0 -1
- package/src/icons/ErrorIcon/ErrorIcon.tsx +0 -15
- package/src/icons/ErrorIcon/index.ts +0 -1
- package/src/icons/LanguageIcon/LanguageIcon.tsx +0 -15
- package/src/icons/LanguageIcon/index.ts +0 -1
- package/src/icons/PlusIcon/PlusIcon.tsx +0 -19
- package/src/icons/PlusIcon/index.ts +0 -1
- package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +0 -16
- package/src/icons/PointingArrowIcon/index.ts +0 -1
- /package/lib/components/{Profile → Navbar}/MobileUserProfile.d.ts +0 -0
package/lib/globalStyle.js
CHANGED
|
@@ -2,451 +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
|
-
|
|
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
|
|
31
99
|
* @presenter Color
|
|
32
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;
|
|
33
111
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
--color-red-5: #ff4d4f;
|
|
39
|
-
--color-red-6: #f5222d;
|
|
40
|
-
--color-red-7: #cf1322;
|
|
41
|
-
--color-red-8: #a8071a;
|
|
42
|
-
--color-red-9: #820014;
|
|
43
|
-
--color-red-10: #5c0011;
|
|
44
|
-
|
|
45
|
-
--color-green-1: #f6ffed;
|
|
46
|
-
--color-green-2: #d9f7be;
|
|
47
|
-
--color-green-3: #b7eb8f;
|
|
48
|
-
--color-green-4: #95de64;
|
|
49
|
-
--color-green-5: #73d13d;
|
|
50
|
-
--color-green-6: #49aa19;
|
|
51
|
-
--color-green-7: #389e0d;
|
|
52
|
-
--color-green-8: #237804;
|
|
53
|
-
--color-green-9: #135200;
|
|
54
|
-
--color-green-10: #092b00;
|
|
55
|
-
|
|
56
|
-
--color-gold-1: #fffbe6;
|
|
57
|
-
--color-gold-2: #fff1b8;
|
|
58
|
-
--color-gold-3: #ffe58f;
|
|
59
|
-
--color-gold-4: #ffd666;
|
|
60
|
-
--color-gold-5: #ffc53d;
|
|
61
|
-
--color-gold-6: #faad14;
|
|
62
|
-
--color-gold-7: #d48806;
|
|
63
|
-
--color-gold-8: #ad6800;
|
|
64
|
-
--color-gold-9: #874d00;
|
|
65
|
-
--color-gold-10: #613400;
|
|
66
|
-
|
|
67
|
-
--color-blue-1: #e6f4ff;
|
|
68
|
-
--color-blue-2: #bae0ff;
|
|
69
|
-
--color-blue-3: #91caff;
|
|
70
|
-
--color-blue-4: #69b1ff;
|
|
71
|
-
--color-blue-5: #4096ff;
|
|
72
|
-
--color-blue-6: #1677ff;
|
|
73
|
-
--color-blue-7: #0958d9;
|
|
74
|
-
--color-blue-8: #003eb3;
|
|
75
|
-
--color-blue-9: #002c8c;
|
|
76
|
-
--color-blue-10: #001d66;
|
|
77
|
-
|
|
78
|
-
--color-purple-1: #f9f0ff;
|
|
79
|
-
--color-purple-2: #efdbff;
|
|
80
|
-
--color-purple-3: #d3adf7;
|
|
81
|
-
--color-purple-4: #b37feb;
|
|
82
|
-
--color-purple-5: #9254de;
|
|
83
|
-
--color-purple-6: #722ed1;
|
|
84
|
-
--color-purple-7: #531dab;
|
|
85
|
-
--color-purple-8: #391085;
|
|
86
|
-
--color-purple-9: #22075e;
|
|
87
|
-
--color-purple-10: #120338;
|
|
88
|
-
|
|
89
|
-
--color-magneta-1: #fff0f6;
|
|
90
|
-
--color-magneta-2: #ffd6e7;
|
|
91
|
-
--color-magneta-3: #ffadd2;
|
|
92
|
-
--color-magneta-4: #ff85c0;
|
|
93
|
-
--color-magneta-5: #f759ab;
|
|
94
|
-
--color-magneta-6: #eb2f96;
|
|
95
|
-
--color-magneta-7: #c41d7f;
|
|
96
|
-
--color-magneta-8: #9e1068;
|
|
97
|
-
--color-magneta-9: #780650;
|
|
98
|
-
--color-magneta-10: #520339;
|
|
99
|
-
|
|
100
|
-
--color-cyan-1: #e6fffb;
|
|
101
|
-
--color-cyan-2: #b5f5ec;
|
|
102
|
-
--color-cyan-3: #87e8de;
|
|
103
|
-
--color-cyan-4: #5cdbd3;
|
|
104
|
-
--color-cyan-5: #36cfc9;
|
|
105
|
-
--color-cyan-6: #13c2c2;
|
|
106
|
-
--color-cyan-7: #08979c;
|
|
107
|
-
--color-cyan-8: #006d75;
|
|
108
|
-
--color-cyan-9: #00474f;
|
|
109
|
-
--color-cyan-10: #002329;
|
|
110
|
-
|
|
111
|
-
--color-yellow-1: #feffe6;
|
|
112
|
-
--color-yellow-2: #ffffb8;
|
|
113
|
-
--color-yellow-3: #fffb8f;
|
|
114
|
-
--color-yellow-4: #fff566;
|
|
115
|
-
--color-yellow-5: #ffec3d;
|
|
116
|
-
--color-yellow-6: #d8bd14;
|
|
117
|
-
--color-yellow-7: #d4b106;
|
|
118
|
-
--color-yellow-8: #ad8b00;
|
|
119
|
-
--color-yellow-9: #876800;
|
|
120
|
-
--color-yellow-10: #614700;
|
|
121
|
-
|
|
122
|
-
--color-lime-1: #fcffe6;
|
|
123
|
-
--color-lime-2: #f4ffb8;
|
|
124
|
-
--color-lime-3: #eaff8f;
|
|
125
|
-
--color-lime-4: #d3f261;
|
|
126
|
-
--color-lime-5: #bae637;
|
|
127
|
-
--color-lime-6: #a0d911;
|
|
128
|
-
--color-lime-7: #7cb305;
|
|
129
|
-
--color-lime-8: #5b8c00;
|
|
130
|
-
--color-lime-9: #3f6600;
|
|
131
|
-
--color-lime-10: #254000;
|
|
132
|
-
|
|
133
|
-
--color-geekblue-1: #f0f5ff;
|
|
134
|
-
--color-geekblue-2: #d6e4ff;
|
|
135
|
-
--color-geekblue-3: #adc6ff;
|
|
136
|
-
--color-geekblue-4: #85a5ff;
|
|
137
|
-
--color-geekblue-5: #597ef7;
|
|
138
|
-
--color-geekblue-6: #2f54eb;
|
|
139
|
-
--color-geekblue-7: #1d39c4;
|
|
140
|
-
--color-geekblue-8: #10239e;
|
|
141
|
-
--color-geekblue-9: #061178;
|
|
142
|
-
--color-geekblue-10: #030852;
|
|
143
|
-
|
|
144
|
-
--color-primary-bg: #ebf0ff;
|
|
145
|
-
--color-primary-bg-hover: #d6dfff;
|
|
146
|
-
--color-primary-border: #adbcff;
|
|
147
|
-
--color-primary-border-hover: #8a99ff;
|
|
148
|
-
--color-primary-hover: #6678ff;
|
|
149
|
-
--color-primary-base: #434dfa;
|
|
150
|
-
--color-primary-active: #2f31d4;
|
|
151
|
-
--color-primary-text-hover: #201dad;
|
|
152
|
-
--color-primary-text: #161087;
|
|
153
|
-
--color-primary-text-active: #0d086e;
|
|
154
|
-
|
|
155
|
-
--color-success-bg: var(--color-green-1);
|
|
156
|
-
--color-success-bg-hover: var(--color-green-2);
|
|
157
|
-
--color-success-border: var(--color-green-3);
|
|
158
|
-
--color-success-border-hover: var(--color-green-4);
|
|
159
|
-
--color-success-hover: var(--color-green-5);
|
|
160
|
-
--color-success-base: var(--color-green-6);
|
|
161
|
-
--color-success-active: var(--color-green-7);
|
|
162
|
-
--color-success-text-hover: var(--color-green-8);
|
|
163
|
-
--color-success-text: var(--color-green-9);
|
|
164
|
-
--color-success-text-active: var(--color-green-10);
|
|
165
|
-
|
|
166
|
-
--color-warning-bg: var(--color-gold-1);
|
|
167
|
-
--color-warning-bg-hover: var(--color-gold-2);
|
|
168
|
-
--color-warning-border: var(--color-gold-3);
|
|
169
|
-
--color-warning-border-hover: var(--color-gold-4);
|
|
170
|
-
--color-warning-hover: var(--color-gold-5);
|
|
171
|
-
--color-warning-base: var(--color-gold-6);
|
|
172
|
-
--color-warning-active: var(--color-gold-7);
|
|
173
|
-
--color-warning-text-hover: var(--color-gold-8);
|
|
174
|
-
--color-warning-text: var(--color-gold-9);
|
|
175
|
-
--color-warning-text-active: var(--color-gold-10);
|
|
176
|
-
|
|
177
|
-
--color-error-bg: var(--color-red-1);
|
|
178
|
-
--color-error-bg-hover: var(--color-red-2);
|
|
179
|
-
--color-error-border: var(--color-red-3);
|
|
180
|
-
--color-error-border-hover: var(--color-red-4);
|
|
181
|
-
--color-error-hover: var(--color-red-5);
|
|
182
|
-
--color-error-base: var(--color-red-6);
|
|
183
|
-
--color-error-active: var(--color-red-7);
|
|
184
|
-
--color-error-text-hover: var(--color-red-8);
|
|
185
|
-
--color-error-text: var(--color-red-9);
|
|
186
|
-
--color-error-text-active: var(--color-red-10);
|
|
187
|
-
|
|
188
|
-
--color-info-bg: var(--color-blue-1);
|
|
189
|
-
--color-info-bg-hover: var(--color-blue-2);
|
|
190
|
-
--color-info-border: var(--color-blue-3);
|
|
191
|
-
--color-info-border-hover: var(--color-blue-4);
|
|
192
|
-
--color-info-hover: var(--color-blue-5);
|
|
193
|
-
--color-info-base: var(--color-blue-6);
|
|
194
|
-
--color-info-active: var(--color-blue-7);
|
|
195
|
-
--color-info-text-hover: var(--color-blue-8);
|
|
196
|
-
--color-info-text: var(--color-blue-9);
|
|
197
|
-
--color-info-text-active: var(--color-blue-10);
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* @tokens Main colors
|
|
201
|
-
* @presenter Color
|
|
202
|
-
*/
|
|
112
|
+
// @tokens End
|
|
113
|
+
`;
|
|
114
|
+
const typography = (0, styled_components_1.css) `
|
|
115
|
+
/* === Typography === */
|
|
203
116
|
|
|
204
|
-
--color-primary: var(--color-primary-base);
|
|
205
|
-
--color-error: var(--color-error-base);
|
|
206
|
-
--color-warning: var(--color-warning-base);
|
|
207
|
-
--color-success: var(--color-success-base);
|
|
208
|
-
--color-info: var(--color-info-base);
|
|
209
|
-
|
|
210
117
|
/**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @tokens Font Sizes
|
|
127
|
+
* @presenter FontSize
|
|
128
|
+
*/
|
|
129
|
+
--font-size-base: 14px;
|
|
130
|
+
--font-size-small: 12px;
|
|
214
131
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
132
|
+
/**
|
|
133
|
+
* @tokens Line Heights
|
|
134
|
+
* @presenter LineHeight
|
|
135
|
+
*/
|
|
136
|
+
--line-height-base: 1.5em;
|
|
219
137
|
|
|
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
|
-
|
|
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;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @tokens Rendering
|
|
155
|
+
*/
|
|
156
|
+
--text-smoothing: antialiased; // text-smoothing
|
|
157
|
+
--text-rendering: optimizeSpeed; // text-rendering
|
|
225
158
|
|
|
226
159
|
// @tokens End
|
|
227
160
|
`;
|
|
228
|
-
const
|
|
229
|
-
|
|
161
|
+
const headingsTypography = (0, styled_components_1.css) `
|
|
162
|
+
* {
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
}
|
|
230
165
|
|
|
231
166
|
/**
|
|
232
|
-
* @tokens
|
|
233
|
-
* @presenter FontFamily
|
|
167
|
+
* @tokens Headings common styles
|
|
234
168
|
*/
|
|
235
169
|
|
|
236
|
-
--font-family
|
|
237
|
-
--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;
|
|
238
267
|
|
|
239
268
|
/**
|
|
240
|
-
* @tokens
|
|
269
|
+
* @tokens Border Radius
|
|
270
|
+
* @presenter BorderRadius
|
|
271
|
+
*/
|
|
272
|
+
--border-radius: 4px;
|
|
273
|
+
--border-radius-lg: calc(var(--border-radius) * 2);
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @tokens Border Colors
|
|
241
277
|
* @presenter Color
|
|
242
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
|
+
*/
|
|
287
|
+
|
|
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
|
+
*/
|
|
243
299
|
|
|
244
|
-
--text-base: #000; // The base color of the typography color tokens.
|
|
245
|
-
--text-light-solid: #ffffff; // The color of the objects that need to be white no matter what theme is enabled.
|
|
246
|
-
--text-primary: #161616; // Headers, Icon hover
|
|
247
|
-
--text-secondary: #525252; // Body text
|
|
248
|
-
--text-description: #8d8d8d; // Caption, Description, Icon
|
|
249
|
-
--text-placeholder: #a8a8a8; // Placeholder text, Disabled text
|
|
250
|
-
--text-link: var(--color-blue-6);
|
|
251
|
-
|
|
252
300
|
/**
|
|
253
|
-
* @tokens
|
|
254
|
-
* @presenter FontWeight
|
|
301
|
+
* @tokens Button default colors
|
|
255
302
|
*/
|
|
256
303
|
|
|
257
|
-
--
|
|
258
|
-
--
|
|
259
|
-
--
|
|
260
|
-
|
|
261
|
-
|
|
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
|
|
318
|
+
|
|
262
319
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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
|
|
266
329
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
--line-height-xxlg: 30px;
|
|
330
|
+
--button-active-background-color: var(--color-primary-700); // @presenter Color
|
|
331
|
+
--button-active-border-color: var(--color-primary-700); // @presenter Color
|
|
332
|
+
|
|
333
|
+
--button-disabled-color: var(--button-color); // @presenter Color
|
|
334
|
+
--button-disabled-background-color: var(--color-primary-100); // @presenter Color
|
|
335
|
+
}
|
|
274
336
|
|
|
275
337
|
/**
|
|
276
|
-
* @tokens
|
|
277
|
-
* @presenter FontSize
|
|
338
|
+
* @tokens Button secondary colors
|
|
278
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
|
|
344
|
+
|
|
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
|
+
}
|
|
279
354
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
--
|
|
284
|
-
--
|
|
285
|
-
--
|
|
286
|
-
--
|
|
287
|
-
--
|
|
288
|
-
--font-size-heading-5: 16px;
|
|
355
|
+
/**
|
|
356
|
+
* @tokens Button borders
|
|
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
|
|
289
363
|
|
|
290
364
|
/**
|
|
291
|
-
* @tokens
|
|
365
|
+
* @tokens Button typography
|
|
292
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
|
|
293
377
|
|
|
294
|
-
|
|
295
|
-
|
|
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
|
|
296
385
|
|
|
297
386
|
// @tokens End
|
|
298
387
|
`;
|
|
299
|
-
const
|
|
300
|
-
/* ===
|
|
301
|
-
|
|
388
|
+
const sidebar = (0, styled_components_1.css) `
|
|
389
|
+
/* === Sidebar === */
|
|
390
|
+
|
|
302
391
|
/**
|
|
303
|
-
* @tokens
|
|
304
|
-
* @presenter Spacing
|
|
392
|
+
* @tokens Sidebar logo
|
|
305
393
|
*/
|
|
306
394
|
|
|
307
|
-
--
|
|
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';
|
|
308
403
|
|
|
309
404
|
/**
|
|
310
|
-
* @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
|
|
311
413
|
* @presenter Spacing
|
|
312
414
|
*/
|
|
415
|
+
--sidebar-width: 285px; // @presenter NO
|
|
416
|
+
|
|
417
|
+
--sidebar-spacing-unit: 8px;
|
|
418
|
+
--sidebar-offset-top: calc(var(--sidebar-spacing-unit) * 2);
|
|
419
|
+
--sidebar-offset-left: calc(var(--sidebar-spacing-unit) * 2);
|
|
313
420
|
|
|
314
|
-
--spacing-unit
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
--
|
|
322
|
-
--
|
|
323
|
-
|
|
421
|
+
--sidebar-chevron-size: var(--sidebar-spacing-unit);
|
|
422
|
+
|
|
423
|
+
/* === Sidebar Item === */
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @tokens Sidebar item typography
|
|
427
|
+
*/
|
|
428
|
+
--sidebar-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
429
|
+
--sidebar-item-font-size: var(--font-size-base); // @presenter FontSize
|
|
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);
|
|
324
443
|
|
|
325
|
-
--spacing-horizontal: var(--spacing-xl);
|
|
326
|
-
--spacing-vertical: var(--spacing-base);
|
|
327
|
-
|
|
328
444
|
/**
|
|
329
|
-
* @tokens
|
|
445
|
+
* @tokens Sidebar item spacing
|
|
330
446
|
* @presenter Spacing
|
|
331
447
|
*/
|
|
332
|
-
--control-height-base: 32px; // The height of the default size controls such as buttons and inputs.
|
|
333
|
-
--control-height-xs: 16px; // The height of very small objects such as skeleton line or small multiple select item.
|
|
334
|
-
--control-height-sm: 24px; // The height of the small controls such as buttons or inputs.
|
|
335
|
-
--control-height-lg: 40px; // The height of the large controls such as buttons or inputs.
|
|
336
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)
|
|
337
526
|
// @tokens End
|
|
338
527
|
`;
|
|
339
|
-
const
|
|
528
|
+
const admonition = (0, styled_components_1.css) `
|
|
529
|
+
/* === Admonitions === */
|
|
530
|
+
|
|
340
531
|
/**
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
532
|
+
* @tokens Admonition typography
|
|
533
|
+
*/
|
|
534
|
+
|
|
535
|
+
--admonition-font-size: var(--font-size-base); // @presenter FontSize
|
|
536
|
+
--admonition-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
537
|
+
--admonition-line-height: var(--line-height-base); // @presenter LineHeight
|
|
538
|
+
--admonition-heading-font-size: var(--font-size-base); // @presenter FontSize
|
|
539
|
+
--admonition-heading-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
540
|
+
--admonition-heading-letter-spacing: 0.3px; // @presenter LetterSpacing
|
|
541
|
+
--admonition-heading-transform: uppercase;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* @tokens Admonition spacing
|
|
545
|
+
* @presenter Spacing
|
|
546
|
+
*/
|
|
547
|
+
|
|
548
|
+
--admonition-margin-horizontal: 0;
|
|
549
|
+
--admonition-margin-vertical: calc(var(--spacing-unit) * 2);
|
|
550
|
+
--admonition-padding-horizontal: calc(var(--spacing-unit) * 4);
|
|
551
|
+
--admonition-padding-vertical: calc(var(--spacing-unit) * 4);
|
|
552
|
+
--admonition-icon-size: 25px;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* @tokens Admonition border
|
|
556
|
+
*/
|
|
557
|
+
|
|
558
|
+
--admonition-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
559
|
+
--admonition-border-style: var(--border-style);
|
|
560
|
+
--admonition-border-width: var(--border-width);
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @tokens Admonition type info
|
|
564
|
+
*/
|
|
565
|
+
|
|
566
|
+
--admonition-info-background-color: var(--color-secondary-200); // @presenter Color
|
|
567
|
+
--admonition-info-heading-text-color: var(--text-color); // @presenter Color
|
|
568
|
+
--admonition-info-text-color: var(--text-color); // @presenter Color
|
|
569
|
+
--admonition-info-icon-color: var(--color-accent-900); // @presenter Color
|
|
570
|
+
--admonition-info-border-color: inherit; // @presenter Color
|
|
571
|
+
--admonition-info-border-style: var(--admonition-border-style);
|
|
572
|
+
--admonition-info-border-width: var(--admonition-border-width);
|
|
573
|
+
--admonition-info-border: var(--admonition-info-border-width) var(--admonition-info-border-style)
|
|
574
|
+
var(--admonition-info-border-color); // @presenter Border
|
|
575
|
+
--admonition-info-icon: none;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @tokens Admonition type attention
|
|
579
|
+
* @presenter Color
|
|
580
|
+
*/
|
|
581
|
+
|
|
582
|
+
--admonition-attention-background-color: var(--color-accent-50); // @presenter Color
|
|
583
|
+
--admonition-attention-text-color: var(--text-color); // @presenter Color
|
|
584
|
+
--admonition-attention-heading-text-color: var(--text-color); // @presenter Color
|
|
585
|
+
--admonition-attention-icon-color: var(--color-accent-900); // @presenter Color
|
|
586
|
+
--admonition-attention-border-color: inherit; // @presenter Color
|
|
587
|
+
--admonition-attention-border-style: var(--admonition-border-style);
|
|
588
|
+
--admonition-attention-border-width: var(--admonition-border-width);
|
|
589
|
+
--admonition-attention-border: var(--admonition-attention-border-width)
|
|
590
|
+
var(--admonition-attention-border-style) var(--admonition-attention-border-color); // @presenter Border
|
|
591
|
+
--admonition-attention-icon: none;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* @tokens Admonition type warning
|
|
595
|
+
*/
|
|
596
|
+
|
|
597
|
+
/* warning */
|
|
598
|
+
--admonition-warning-background-color: var(--color-warning-50); // @presenter Color
|
|
599
|
+
--admonition-warning-text-color: var(--text-color); // @presenter Color
|
|
600
|
+
--admonition-warning-heading-text-color: var(--text-color); // @presenter Color
|
|
601
|
+
--admonition-warning-icon-color: var(--color-warning-700); // @presenter Color
|
|
602
|
+
--admonition-warning-border-color: inherit; // @presenter Color
|
|
603
|
+
--admonition-warning-border-style: var(--admonition-border-style); // @presenter Color
|
|
604
|
+
--admonition-warning-border-width: var(--admonition-border-width); // @presenter Color
|
|
605
|
+
--admonition-warning-border: var(--admonition-warning-border-width)
|
|
606
|
+
var(--admonition-warning-border-style) var(--admonition-warning-border-color); // @presenter Border
|
|
607
|
+
--admonition-warning-icon: none;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @tokens Admonition type danger
|
|
611
|
+
*/
|
|
612
|
+
|
|
613
|
+
--admonition-danger-background-color: var(--color-error-50); // @presenter Color
|
|
614
|
+
--admonition-danger-text-color: var(--text-color); // @presenter Color
|
|
615
|
+
--admonition-danger-heading-text-color: var(--text-color); // @presenter Color
|
|
616
|
+
--admonition-danger-icon-color: var(--color-error-800); // @presenter Color
|
|
617
|
+
--admonition-danger-border-color: inherit; // @presenter Color
|
|
618
|
+
--admonition-danger-border-style: var(--admonition-border-style); // @presenter Color
|
|
619
|
+
--admonition-danger-border-width: var(--admonition-border-width); // @presenter Color
|
|
620
|
+
--admonition-danger-border: var(--admonition-danger-border-width)
|
|
621
|
+
var(--admonition-danger-border-style) var(--admonition-danger-border-color); // @presenter Border
|
|
622
|
+
--admonition-danger-icon: none;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @tokens Admonition type success
|
|
626
|
+
*/
|
|
627
|
+
|
|
628
|
+
--admonition-success-background-color: var(--color-success-50); // @presenter Color
|
|
629
|
+
--admonition-success-text-color: var(--text-color); // @presenter Color
|
|
630
|
+
--admonition-success-heading-text-color: var(--text-color); // @presenter Color
|
|
631
|
+
--admonition-success-icon-color: var(--color-success-900); // @presenter Color
|
|
632
|
+
--admonition-success-border-color: inherit; // @presenter Color
|
|
633
|
+
--admonition-success-border-style: var(--admonition-border-style); // @presenter Color
|
|
634
|
+
--admonition-success-border-width: var(--admonition-border-width); // @presenter Color
|
|
635
|
+
--admonition-success-border: var(--admonition-success-border-width)
|
|
636
|
+
var(--admonition-success-border-style) var(--admonition-success-border-color); // @presenter Border
|
|
637
|
+
--admonition-success-icon: none;
|
|
638
|
+
|
|
639
|
+
// @tokens End
|
|
640
|
+
`;
|
|
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);
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* @tokens Panel samples common
|
|
834
|
+
*/
|
|
835
|
+
|
|
836
|
+
--panel-samples-block-background-color: var(--background-color); // @presenter Color
|
|
837
|
+
--panel-samples-width: 50%;
|
|
838
|
+
|
|
839
|
+
--panel-samples-text-color: var(--text-color-inverse); // @presenter Color
|
|
840
|
+
--panel-samples-font-family: var(--panel-font-family); // @presenter FontFamily
|
|
841
|
+
--panel-samples-font-size: var(--panel-font-size); // @presenter FontSize
|
|
842
|
+
--panel-samples-font-weight: var(--panel-font-weight); // @presenter FontWight
|
|
843
|
+
--panel-samples-background-color: #52606d; // @presenter Color
|
|
844
|
+
--panel-samples-border: var(--panel-border); // @presenter Border
|
|
845
|
+
--panel-samples-chevron-icon-color: var(--text-color-inverse); // @presenter Color
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* @tokens Panel samples body common
|
|
849
|
+
*/
|
|
850
|
+
|
|
851
|
+
--panel-samples-body-text-color: var(--text-color-inverse); // @presenter Color
|
|
852
|
+
--panel-samples-body-font-family: var(--panel-body-font-family); // @presenter FontFamily
|
|
853
|
+
--panel-samples-body-font-size: var(--panel-body-font-size); // @presenter FontSize
|
|
854
|
+
--panel-samples-body-font-weight: var(--panel-body-font-weight); // @presenter FontWeight
|
|
855
|
+
--panel-samples-body-padding: var(--panel-body-padding);
|
|
856
|
+
--panel-samples-body-background-color: #52606d; // @presenter Color
|
|
857
|
+
--panel-samples-body-border: unset; // @presenter Border
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* @tokens Panel samples heading common
|
|
861
|
+
*/
|
|
862
|
+
|
|
863
|
+
--panel-samples-heading-text-color: var(--text-color-inverse); // @presenter Color
|
|
864
|
+
--panel-samples-heading-font-family: var(--panel-heading-font-family); // @presenter FontFamily
|
|
865
|
+
--panel-samples-heading-font-size: var(--panel-font-size); // @presenter FontSize
|
|
866
|
+
--panel-samples-heading-font-weight: var(--panel-font-weight); // @presenter FontWeight
|
|
867
|
+
--panel-samples-heading-line-height: 30px; // @presenter LineHeight
|
|
868
|
+
--panel-samples-heading-padding: 0 20px;
|
|
869
|
+
--panel-samples-heading-background-color: #323f4b; // @presenter Color
|
|
870
|
+
--panel-samples-heading-border: unset; // @presenter Border
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* @tokens Panel samples default
|
|
874
|
+
*/
|
|
875
|
+
.panel-samples-default {
|
|
876
|
+
--text-color: var(--panel-samples-text-color);
|
|
877
|
+
--panel-text-color: var(--panel-samples-text-color); // @presenter Color
|
|
878
|
+
--panel-font-family-local: var(--panel-samples-font-family);
|
|
879
|
+
--panel-font-size-local: var(--panel-samples-font-size);
|
|
880
|
+
--panel-font-weight-local: var(--panel-samples-font-weight);
|
|
881
|
+
--panel-background-color: var(--panel-samples-background-color); // @presenter Color
|
|
882
|
+
--panel-border-local: var(--panel-samples-border);
|
|
883
|
+
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
884
|
+
--panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color
|
|
885
|
+
|
|
886
|
+
--panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
|
|
887
|
+
--panel-body-background-color: var(--panel-samples-body-background-color); // @presenter Color
|
|
888
|
+
|
|
889
|
+
--panel-body-font-family-local: var(--panel-samples-body-font-family);
|
|
890
|
+
--panel-body-font-size-local: var(--panel-samples-body-font-size);
|
|
891
|
+
--panel-body-font-weight-local: var(--panel-samples-body-font-weight);
|
|
892
|
+
--panel-body-padding-local: 0;
|
|
893
|
+
--panel-body-border-local: var(--panel-samples-body-border);
|
|
894
|
+
|
|
895
|
+
--panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
|
|
896
|
+
--panel-heading-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
897
|
+
|
|
898
|
+
--panel-heading-font-family-local: var(--panel-samples-heading-font-family);
|
|
899
|
+
--panel-heading-font-size-local: var(--panel-samples-heading-font-size);
|
|
900
|
+
--panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
|
|
901
|
+
--panel-heading-line-height-local: var(--panel-samples-heading-line-height);
|
|
902
|
+
--panel-heading-padding-local: var(--panel-samples-heading-padding);
|
|
903
|
+
|
|
904
|
+
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* @tokens Panel try-it, request-samples, response-samples, callback samples
|
|
909
|
+
*/
|
|
910
|
+
|
|
911
|
+
.panel-try-it,
|
|
912
|
+
.panel-pull-right,
|
|
913
|
+
.panel-request-samples,
|
|
914
|
+
.panel-response-samples,
|
|
915
|
+
.panel-callback-samples {
|
|
916
|
+
--text-color: var(--panel-samples-text-color);
|
|
917
|
+
--panel-text-color: var(--panel-samples-text-color); // @presenter Color
|
|
918
|
+
--panel-font-family-local: var(--panel-samples-font-family);
|
|
919
|
+
--panel-font-size-local: var(--panel-samples-font-size);
|
|
920
|
+
--panel-font-weight-local: var(--panel-samples-font-weight);
|
|
921
|
+
--panel-background-color: var(--panel-samples-background-color); // @presenter Color
|
|
922
|
+
--panel-border-local: var(--panel-samples-border);
|
|
923
|
+
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
924
|
+
--panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color
|
|
925
|
+
|
|
926
|
+
--panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
|
|
927
|
+
--panel-body-background-color: var(--panel-samples-body-background-color); // @presenter Color
|
|
928
|
+
|
|
929
|
+
--panel-body-font-family-local: var(--panel-samples-body-font-family);
|
|
930
|
+
--panel-body-font-size-local: var(--panel-samples-body-font-size);
|
|
931
|
+
--panel-body-font-weight-local: var(--panel-samples-body-font-weight);
|
|
932
|
+
--panel-body-padding-local: var(--panel-samples-body-padding);
|
|
933
|
+
--panel-body-border-local: var(--panel-samples-body-border);
|
|
934
|
+
|
|
935
|
+
--panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
|
|
936
|
+
--panel-heading-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
937
|
+
|
|
938
|
+
--panel-heading-font-family-local: var(--panel-samples-heading-font-family);
|
|
939
|
+
--panel-heading-font-size-local: var(--panel-samples-heading-font-size);
|
|
940
|
+
--panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
|
|
941
|
+
--panel-heading-line-height-local: var(--panel-samples-heading-line-height);
|
|
942
|
+
--panel-heading-padding-local: var(--panel-samples-heading-padding);
|
|
943
|
+
|
|
944
|
+
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* @tokens Panel response success, info, error, redirect, callback common
|
|
949
|
+
*/
|
|
950
|
+
|
|
951
|
+
.panel-response-success,
|
|
952
|
+
.panel-response-info,
|
|
953
|
+
.panel-response-error,
|
|
954
|
+
.panel-response-redirect,
|
|
955
|
+
.panel-response-callback {
|
|
956
|
+
--panel-body-text-color: var(--panel-response-body-text-color); // @presenter Color
|
|
957
|
+
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
958
|
+
|
|
959
|
+
--panel-heading-text-color: var(--panel-response-heading-text-color); // @presenter Color
|
|
960
|
+
--panel-heading-font-size-local: var(--panel-response-heading-font-size);
|
|
961
|
+
--panel-heading-font-weight-local: var(--panel-response-heading-font-weight);
|
|
962
|
+
--panel-heading-line-height-local: var(--panel-response-heading-line-height);
|
|
963
|
+
--panel-heading-padding-local: var(--panel-response-heading-padding);
|
|
964
|
+
|
|
965
|
+
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
966
|
+
--panel-heading-white-space-local: normal;
|
|
967
|
+
--panel-body-padding-local: var(--panel-body-padding);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @tokens Panel response success colors
|
|
972
|
+
* @presenter Color
|
|
973
|
+
*/
|
|
974
|
+
|
|
975
|
+
.panel-response-success {
|
|
976
|
+
--panel-border-local: 1px solid var(--panel-response-success-border-color); // @presenter Border
|
|
977
|
+
|
|
978
|
+
--panel-body-text-color: var(--panel-response-success-body-text-color);
|
|
979
|
+
--panel-body-background-color: var(--panel-response-success-body-background-color);
|
|
980
|
+
|
|
981
|
+
--panel-heading-background-color: var(--panel-response-success-heading-background-color);
|
|
982
|
+
--panel-heading-text-color: var(--panel-response-success-heading-text-color);
|
|
983
|
+
|
|
984
|
+
--panel-response-schema-nested-background-color: var( --panel-response-success-schema-nested-background-color);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @tokens Panel response info colors
|
|
989
|
+
* @presenter Color
|
|
990
|
+
*/
|
|
991
|
+
|
|
992
|
+
.panel-response-info {
|
|
993
|
+
--panel-border-local: 1px solid var(--panel-response-info-border-color); // @presenter Border
|
|
994
|
+
|
|
995
|
+
--panel-body-text-color: var(--panel-response-info-body-text-color);
|
|
996
|
+
--panel-body-background-color: var(--panel-response-info-body-background-color);
|
|
997
|
+
|
|
998
|
+
--panel-heading-background-color: var(--panel-response-info-heading-background-color);
|
|
999
|
+
--panel-heading-text-color: var(--panel-response-info-heading-text-color);
|
|
1000
|
+
|
|
1001
|
+
--panel-response-schema-nested-background-color: var( --panel-response-info-schema-nested-background-color);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* @tokens Panel response error colors
|
|
1006
|
+
* @presenter Color
|
|
1007
|
+
*/
|
|
1008
|
+
|
|
1009
|
+
.panel-response-error {
|
|
1010
|
+
--panel-border-local: 1px solid var(--panel-response-error-border-color); // @presenter Border
|
|
1011
|
+
|
|
1012
|
+
--panel-body-text-color: var(--panel-response-error-body-text-color);
|
|
1013
|
+
--panel-body-background-color: var(--panel-response-error-body-background-color);
|
|
1014
|
+
|
|
1015
|
+
--panel-heading-background-color: var(--panel-response-error-heading-background-color);
|
|
1016
|
+
--panel-heading-text-color: var(--panel-response-error-heading-text-color);
|
|
1017
|
+
|
|
1018
|
+
--panel-response-schema-nested-background-color: var( --panel-response-error-schema-nested-background-color);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* @tokens Panel response redirect colors
|
|
1023
|
+
* @presenter Color
|
|
1024
|
+
*/
|
|
1025
|
+
|
|
1026
|
+
.panel-response-redirect {
|
|
1027
|
+
--panel-border-local: 1px solid var(--panel-response-redirect-border-color); // @presenter Border
|
|
1028
|
+
--panel-body-text-color: var(--panel-response-redirect-body-text-color);
|
|
1029
|
+
|
|
1030
|
+
--panel-body-background-color: var(--panel-response-redirect-body-background-color);
|
|
1031
|
+
--panel-heading-background-color: var(--panel-response-redirect-heading-background-color);
|
|
1032
|
+
--panel-heading-text-color: var(--panel-response-redirect-heading-text-color);
|
|
1033
|
+
|
|
1034
|
+
--panel-response-schema-nested-background-color: var( --panel-response-redirect-schema-nested-background-color);
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @tokens Panel response callback colors
|
|
1039
|
+
* @presenter Color
|
|
1040
|
+
*/
|
|
1041
|
+
|
|
1042
|
+
.panel-response-callback {
|
|
1043
|
+
--panel-border-local: 1px solid var(--panel-response-callback-border-color); // @presenter Border
|
|
1044
|
+
|
|
1045
|
+
--panel-body-text-color: var(--panel-response-callback-body-text-color);
|
|
1046
|
+
--panel-body-background-color: var(--panel-response-callback-body-background-color);
|
|
1047
|
+
|
|
1048
|
+
--panel-heading-background-color: var(--panel-response-callback-heading-background-color);
|
|
1049
|
+
--panel-heading-text-color: var(--panel-response-callback-heading-text-color);
|
|
1050
|
+
|
|
1051
|
+
--panel-response-schema-nested-background-color: var( --panel-response-callback-schema-nested-background-color);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* @tokens Panel try-it nested common
|
|
1056
|
+
* @presenter Color
|
|
1057
|
+
*/
|
|
1058
|
+
|
|
1059
|
+
--panel-try-it-nested-text-color: var(--text-color-inverse);
|
|
1060
|
+
--panel-try-it-nested-chevron-icon-color: var(--text-color-inverse);
|
|
1061
|
+
|
|
1062
|
+
--panel-try-it-nested-body-background-color: #3e4c59;
|
|
1063
|
+
--panel-try-it-nested-body-text-color: var(--text-color-inverse);
|
|
1064
|
+
--panel-try-it-nested-body-padding: var(--panel-body-padding); // @presenter Spacing
|
|
1065
|
+
--panel-try-it-nested-body-border-color: var(--color-secondary-800);
|
|
1066
|
+
|
|
1067
|
+
--panel-try-it-nested-heading-text-color: var(--text-color-inverse);
|
|
1068
|
+
--panel-try-it-nested-heading-background-color: transparent;
|
|
1069
|
+
--panel-try-it-nested-heading-border-color: var(--color-secondary-800);
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* @tokens Panel try-it nested
|
|
1073
|
+
* @presenter Color
|
|
1074
|
+
*/
|
|
1075
|
+
|
|
1076
|
+
.panel-try-it-nested {
|
|
1077
|
+
--panel-text-color: var(--panel-try-it-nested-text-color);
|
|
1078
|
+
--panel-chevron-icon-color: var(--panel-try-it-nested-chevron-icon-color);
|
|
1079
|
+
|
|
1080
|
+
--panel-body-text-color: var(--panel-try-it-nested-body-text-color);
|
|
1081
|
+
--panel-body-background-color: var(--panel-try-it-nested-body-background-color);
|
|
1082
|
+
--panel-body-padding-local: var(--panel-try-it-nested-body-padding); // @presenter Spacing
|
|
1083
|
+
|
|
1084
|
+
--panel-heading-text-color: var(--panel-try-it-nested-heading-text-color);
|
|
1085
|
+
--panel-heading-background-color: var(--panel-try-it-nested-heading-background-color);
|
|
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
|
|
344
1142
|
|
|
345
|
-
--
|
|
346
|
-
--
|
|
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
|
|
347
1146
|
|
|
348
1147
|
/**
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
*/
|
|
1148
|
+
* @tokens Panel samples other styles
|
|
1149
|
+
*/
|
|
352
1150
|
|
|
353
|
-
--
|
|
354
|
-
--border-secondary: #f0f0f0; // 6% opacity. Default dividers, borders
|
|
1151
|
+
--panel-samples-controls-background-color: var(--panel-samples-heading-background-color);
|
|
355
1152
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
* @presenter BorderRadius
|
|
359
|
-
*/
|
|
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
|
|
360
1155
|
|
|
361
|
-
--
|
|
362
|
-
--
|
|
363
|
-
--
|
|
364
|
-
--border-radius-xlg: calc(var(--border-radius) * 3);
|
|
365
|
-
`;
|
|
366
|
-
const headingsTypography = (0, styled_components_1.css) `
|
|
367
|
-
* {
|
|
368
|
-
box-sizing: border-box;
|
|
369
|
-
}
|
|
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
|
|
370
1159
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
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
|
|
374
1163
|
|
|
375
|
-
--
|
|
376
|
-
--heading-font-weight: var(--font-weight-bolder); // @presenter FontWeight
|
|
377
|
-
--heading-margin-top: 1.25em; // @presenter Spacing
|
|
378
|
-
--heading-margin-bottom: 0.9em; // @presenter Spacing
|
|
379
|
-
--heading-text-color: var(--text-primary); // @presenter Color
|
|
1164
|
+
--panel-samples-input-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
380
1165
|
|
|
381
1166
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
1167
|
+
* @tokens Panel try-it other styles
|
|
1168
|
+
*/
|
|
384
1169
|
|
|
385
|
-
--
|
|
386
|
-
--
|
|
387
|
-
--
|
|
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
|
|
388
1173
|
|
|
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
|
|
389
1177
|
|
|
390
|
-
|
|
391
|
-
* @tokens Heading level 1
|
|
392
|
-
*/
|
|
1178
|
+
// @tokens End
|
|
393
1179
|
|
|
394
|
-
|
|
395
|
-
--h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
396
|
-
--h1-font-size: 36px; // @presenter FontSize
|
|
397
|
-
--h1-line-height: 36px; // @presenter LineHeight
|
|
398
|
-
--h1-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
399
|
-
--h1-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
400
|
-
--h1-text-color: var(--heading-text-color); // @presenter Color
|
|
1180
|
+
// TODO PUL RIGHT section - related to pull right - fix later
|
|
401
1181
|
|
|
1182
|
+
--samples-panel-markdown-background-color: #3c4c5a;
|
|
1183
|
+
--samples-panel-markdown-border-color: #46596a;
|
|
1184
|
+
|
|
1185
|
+
--layout-right-rail-width: 50%;
|
|
1186
|
+
--layout-right-rail-background-color: transparent;
|
|
1187
|
+
`;
|
|
1188
|
+
const tooltip = (0, styled_components_1.css) `
|
|
402
1189
|
/**
|
|
403
|
-
* @tokens
|
|
1190
|
+
* @tokens Tooltip Base
|
|
1191
|
+
* @presenter Color
|
|
404
1192
|
*/
|
|
405
|
-
|
|
406
|
-
--
|
|
407
|
-
--h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
408
|
-
--h2-font-size: 28px; // @presenter FontSize
|
|
409
|
-
--h2-line-height: 28px; // @presenter LineHeight
|
|
410
|
-
--h2-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
411
|
-
--h2-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
412
|
-
--h2-text-color: var(--heading-text-color); // @presenter Color
|
|
1193
|
+
--tooltip-text-color: var(--color-secondary-200);
|
|
1194
|
+
--tooltip-background-color: var(--color-emphasis-600);
|
|
413
1195
|
|
|
414
1196
|
/**
|
|
415
|
-
* @tokens
|
|
1197
|
+
* @tokens Tooltip Copy Button
|
|
1198
|
+
* @presenter Color
|
|
416
1199
|
*/
|
|
417
1200
|
|
|
418
|
-
--
|
|
419
|
-
--
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
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
|
+
}
|
|
425
1208
|
|
|
1209
|
+
// @tokens End
|
|
1210
|
+
`;
|
|
1211
|
+
const code = (0, styled_components_1.css) `
|
|
426
1212
|
/**
|
|
427
|
-
* @tokens
|
|
1213
|
+
* @tokens Code base styles
|
|
428
1214
|
*/
|
|
429
|
-
|
|
430
|
-
--
|
|
431
|
-
--
|
|
432
|
-
--
|
|
433
|
-
--
|
|
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;
|
|
434
1221
|
|
|
435
1222
|
/**
|
|
436
|
-
* @tokens
|
|
1223
|
+
* @tokens Inline Code
|
|
437
1224
|
*/
|
|
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
|
|
438
1231
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
1232
|
+
/**
|
|
1233
|
+
* @tokens Code Block
|
|
1234
|
+
*/
|
|
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;
|
|
442
1245
|
|
|
443
1246
|
/**
|
|
444
|
-
* @tokens
|
|
1247
|
+
* @tokens Code Block controls
|
|
445
1248
|
*/
|
|
446
1249
|
|
|
447
|
-
--
|
|
448
|
-
--
|
|
449
|
-
--
|
|
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
|
|
450
1293
|
|
|
451
1294
|
// @tokens End
|
|
452
1295
|
`;
|
|
@@ -454,18 +1297,17 @@ const links = (0, styled_components_1.css) `
|
|
|
454
1297
|
/**
|
|
455
1298
|
* @tokens Links
|
|
456
1299
|
*/
|
|
457
|
-
|
|
458
|
-
--link-text-color: var(--color-blue-6); // @presenter Color
|
|
1300
|
+
--link-text-color: var(--color-primary-500); // @presenter Color
|
|
459
1301
|
--link-decoration: none;
|
|
460
1302
|
--link-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
461
1303
|
|
|
462
|
-
--link-hover-text-color: var(--color-
|
|
1304
|
+
--link-hover-text-color: var(--color-primary-100); // @presenter Color
|
|
463
1305
|
--link-hover-decoration: underline;
|
|
464
1306
|
|
|
465
1307
|
--link-active-decoration: none;
|
|
466
|
-
--link-active-text-color: var(--color-
|
|
1308
|
+
--link-active-text-color: var(--color-primary-500); // @presenter Color
|
|
467
1309
|
|
|
468
|
-
--link-visited-text-color: var(--color-
|
|
1310
|
+
--link-visited-text-color: var(--color-primary-500); // @presenter Color
|
|
469
1311
|
--link-visited-decoration: none;
|
|
470
1312
|
|
|
471
1313
|
// @tokens End
|
|
@@ -474,9 +1316,8 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
474
1316
|
/* === ref docs and graphql docs specific === */
|
|
475
1317
|
|
|
476
1318
|
/**
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
1319
|
+
* @tokens API Reference Schemas Layout
|
|
1320
|
+
*/
|
|
480
1321
|
--layout-controls-margin: 20px; // @presenter Spacing
|
|
481
1322
|
--layout-controls-height: 36px; // @presenter Spacing
|
|
482
1323
|
--layout-controls-width: 36px; // @presenter Spacing
|
|
@@ -494,8 +1335,8 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
494
1335
|
--layout-panel-schemas-large-max-width: none;
|
|
495
1336
|
|
|
496
1337
|
/**
|
|
497
|
-
|
|
498
|
-
|
|
1338
|
+
* @tokens API Reference Schemas MimeType Dropdown
|
|
1339
|
+
*/
|
|
499
1340
|
|
|
500
1341
|
--schemas-mime-type-dropdown-padding: 0px 26px 0px 4px;
|
|
501
1342
|
--schemas-mime-type-dropdown-border: var(--docs-dropdown-border); // @presenter Border
|
|
@@ -503,169 +1344,163 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
503
1344
|
--schemas-mime-type-dropdown-text-color: var(--docs-dropdown-font-size); // @presenter Color
|
|
504
1345
|
|
|
505
1346
|
/**
|
|
506
|
-
|
|
507
|
-
|
|
1347
|
+
* @tokens API Reference Schemas Discriminator Dropdown
|
|
1348
|
+
*/
|
|
508
1349
|
|
|
509
1350
|
--schemas-discriminator-dropdown-padding: 2px 24px 2px 8px;
|
|
510
|
-
--schemas-discriminator-dropdown-border: 1px solid var(--border-
|
|
1351
|
+
--schemas-discriminator-dropdown-border: 1px solid var(--border-color); // @presenter Border
|
|
511
1352
|
--schemas-discriminator-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
512
1353
|
--schemas-discriminator-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
513
1354
|
|
|
514
1355
|
/**
|
|
515
|
-
|
|
516
|
-
|
|
1356
|
+
* @tokens API Reference Schemas Titles
|
|
1357
|
+
*/
|
|
517
1358
|
|
|
518
|
-
--schema-type-title-text-color: var(--text-secondary); // @presenter Color
|
|
519
|
-
--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
|
|
520
1361
|
--schema-labels-font-size: 1em; // @presenter FontSize
|
|
521
1362
|
|
|
522
1363
|
/**
|
|
523
|
-
|
|
524
|
-
|
|
1364
|
+
* @tokens API Reference Schemas Lines Color
|
|
1365
|
+
*/
|
|
525
1366
|
|
|
526
|
-
--schemas-lines-color: var(--border-
|
|
1367
|
+
--schemas-lines-color: var(--border-color); // @presenter Color
|
|
527
1368
|
|
|
528
1369
|
/**
|
|
529
|
-
|
|
530
|
-
|
|
1370
|
+
* @tokens API Reference Schema Inline code typography
|
|
1371
|
+
*/
|
|
531
1372
|
|
|
532
1373
|
--schema-inline-code-font-family: var(--inline-code-font-family); // @presenter FontFamily
|
|
533
1374
|
--schema-inline-code-font-size: var(--inline-code-font-size); // @presenter FontSize
|
|
534
|
-
--schema-inline-code-
|
|
535
|
-
--schema-inline-
|
|
536
|
-
--schema-inline-
|
|
537
|
-
--schema-inline-background-color: var(--bg-overlay); // @presenter Color
|
|
538
|
-
--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
|
|
539
1378
|
--schema-inline-border: 1px solid var(--schema-inline-border-color); // @presenter Border
|
|
540
1379
|
|
|
541
1380
|
/**
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
1381
|
+
* @tokens API Reference Schema Example Label colors
|
|
1382
|
+
* @presenter Color
|
|
1383
|
+
*/
|
|
545
1384
|
|
|
546
1385
|
--schema-example-text-color: var(--schema-inline-code-text-color);
|
|
547
1386
|
--schema-example-background-color: var(--schema-inline-background-color);
|
|
548
1387
|
--schema-example-border-color: var(--schema-inline-border-color);
|
|
549
1388
|
|
|
550
1389
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
1390
|
+
* @tokens API Reference Schema Constraint Label colors
|
|
1391
|
+
* @presenter Color
|
|
1392
|
+
*/
|
|
554
1393
|
|
|
555
1394
|
--schema-constraint-text-color: var(--schema-inline-code-text-color);
|
|
556
1395
|
--schema-constraint-background-color: var(--schema-inline-background-color);
|
|
557
1396
|
--schema-constraint-border-color: var(--schema-inline-border-color);
|
|
558
1397
|
|
|
559
1398
|
/**
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
1399
|
+
* @tokens API Reference Schema Enum Label colors
|
|
1400
|
+
* @presenter Color
|
|
1401
|
+
*/
|
|
563
1402
|
|
|
564
1403
|
--schema-enum-text-color: var(--schema-inline-code-text-color);
|
|
565
1404
|
--schema-enum-background-color: var(--schema-inline-background-color);
|
|
566
1405
|
--schema-enum-border-color: var(--schema-inline-border-color);
|
|
567
1406
|
|
|
568
1407
|
/**
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
1408
|
+
* @tokens API Reference Schema Default Label colors
|
|
1409
|
+
* @presenter Color
|
|
1410
|
+
*/
|
|
572
1411
|
|
|
573
1412
|
--schema-default-text-color: var(--schema-inline-code-text-color);
|
|
574
1413
|
--schema-default-background-color: var(--schema-inline-background-color);
|
|
575
1414
|
--schema-default-border-color: var(--schema-inline-border-color);
|
|
576
1415
|
|
|
577
1416
|
/**
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
1417
|
+
* @tokens API Reference Schema Recursive Label colors
|
|
1418
|
+
* @presenter Color
|
|
1419
|
+
*/
|
|
581
1420
|
|
|
582
|
-
--schema-recursive-text-color: var(--color-warning);
|
|
1421
|
+
--schema-recursive-text-color: var(--color-warning-600);
|
|
583
1422
|
--schema-recursive-background-color: var(--schema-inline-background-color);
|
|
584
1423
|
--schema-recursive-border-color: var(--schema-inline-border-color);
|
|
585
1424
|
|
|
586
1425
|
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
1426
|
+
* @tokens GraphQL Docs Reference Schema Non null label
|
|
1427
|
+
* @presenter Color
|
|
1428
|
+
*/
|
|
590
1429
|
|
|
591
1430
|
--schema-non-null-text-color: var(--schema-inline-code-text-color);
|
|
592
1431
|
--schema-non-null-background-color: var(--schema-inline-background-color);
|
|
593
1432
|
--schema-non-null-border-color: var(--schema-inline-border-color);
|
|
594
|
-
|
|
595
1433
|
/**
|
|
596
|
-
|
|
597
|
-
|
|
1434
|
+
* @tokens API Reference Schema Nested styles
|
|
1435
|
+
*/
|
|
598
1436
|
|
|
599
1437
|
--schema-nested-offset: 1em; // @presenter Spacing
|
|
600
|
-
--schema-nested-background-color: var(--
|
|
1438
|
+
--schema-nested-background-color: var(--colors-translucent); // @presenter Color
|
|
601
1439
|
|
|
602
1440
|
/**
|
|
603
|
-
|
|
604
|
-
|
|
1441
|
+
* @tokens API Reference Schema Buttons
|
|
1442
|
+
*/
|
|
605
1443
|
|
|
606
1444
|
--schema-buttons-font-family: var(--code-font-family); // @presenter FontFamily
|
|
607
1445
|
--schema-buttons-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
608
1446
|
--schema-buttons-font-size: var(--code-font-size); // @presenter FontSize
|
|
609
1447
|
|
|
610
|
-
--schema-buttons-text-color: var(--
|
|
1448
|
+
--schema-buttons-text-color: var(--color-emphasis-700); // @presenter Color
|
|
611
1449
|
--schema-buttons-background-color: transparent; // @presenter Color
|
|
612
|
-
--schema-buttons-border-color: var(--
|
|
1450
|
+
--schema-buttons-border-color: var(--color-secondary-500); // @presenter Color
|
|
613
1451
|
|
|
614
|
-
--schema-buttons-hover-background-color: var(--
|
|
615
|
-
--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
|
|
616
1454
|
|
|
617
1455
|
--schema-buttons-selected-text-color: var(--schema-buttons-text-color); // @presenter Color
|
|
618
|
-
--schema-buttons-selected-background-color: var(--
|
|
1456
|
+
--schema-buttons-selected-background-color: var(--color-secondary-300); // @presenter Color
|
|
619
1457
|
--schema-buttons-selected-border-color: var(--schema-buttons-border-color); // @presenter Color
|
|
620
|
-
--schema-buttons-selected-hover-background-color: var(--
|
|
621
|
-
--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
|
|
622
1460
|
|
|
623
1461
|
/**
|
|
624
|
-
|
|
625
|
-
|
|
1462
|
+
* @tokens API Reference Schema Properties
|
|
1463
|
+
*/
|
|
626
1464
|
|
|
627
|
-
--schemas-property-name-text-color: var(--text-
|
|
1465
|
+
--schemas-property-name-text-color: var(--text-color); //@presenter Color
|
|
628
1466
|
--schemas-property-name-font-size: var(--code-font-size); // @presenter FontSize
|
|
629
1467
|
--schemas-property-name-font-family: var(--code-font-family); // @presenter FontFamily
|
|
630
|
-
--schemas-property-name-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
631
|
-
--schemas-property-name-line-height: var(--line-height-sm); // @presenter LineHeight
|
|
632
|
-
--schemas-property-name-text-transform: none;
|
|
633
1468
|
|
|
634
|
-
--schemas-property-deprecated-text-color: var(--text-
|
|
1469
|
+
--schemas-property-deprecated-text-color: var(--text-color); // @presenter Color
|
|
635
1470
|
|
|
636
1471
|
--schema-property-labels-font-size: var(--schema-labels-font-size); // @presenter FontSize
|
|
637
|
-
--schema-property-required-label-text-color: var(--color-error); // @presenter Color
|
|
638
|
-
--schema-property-additional-label-text-color: var(--text-secondary); // @presenter Color
|
|
639
|
-
--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
|
|
640
1475
|
|
|
641
1476
|
--schema-property-details-width: 70%;
|
|
642
1477
|
|
|
643
1478
|
/**
|
|
644
|
-
|
|
645
|
-
|
|
1479
|
+
* @tokens API Reference Schema Icons
|
|
1480
|
+
*/
|
|
646
1481
|
|
|
647
|
-
--schema-chevron-color: var(--text-
|
|
1482
|
+
--schema-chevron-color: var(--text-color); // @presenter Color
|
|
648
1483
|
--schema-chevron-size: 9px;
|
|
649
1484
|
|
|
650
|
-
--schema-property-deep-link-icon-color: var(--color-primary); // @presenter Color
|
|
1485
|
+
--schema-property-deep-link-icon-color: var(--color-primary-500); // @presenter Color
|
|
651
1486
|
--schema-property-deep-link-icon: none;
|
|
652
1487
|
|
|
653
|
-
|
|
1488
|
+
/*
|
|
654
1489
|
* @tokens API Reference Other
|
|
655
1490
|
*/
|
|
656
1491
|
|
|
657
|
-
--loading-spinner-color: var(--color-primary); // @presenter Color
|
|
658
|
-
--linear-progress-color: var(--color-
|
|
659
|
-
--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
|
|
660
1495
|
|
|
661
|
-
--fab-background-color: var(--color-primary); // @presenter Color
|
|
662
|
-
--fab-box-shadow: var(--
|
|
1496
|
+
--fab-background-color: var(--color-primary-500); // @presenter Color
|
|
1497
|
+
--fab-box-shadow: var(--box-shadow); // @presenter Shadow
|
|
663
1498
|
|
|
664
|
-
--fab-hover-background: var(--color-primary); // @presenter Color
|
|
665
|
-
--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
|
|
666
1501
|
|
|
667
|
-
--fab-active-background: var(--color-primary); // @presenter Color
|
|
668
|
-
--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
|
|
669
1504
|
|
|
670
1505
|
--fab-icon-color: var(--navbar-text-color); // @presenter Color
|
|
671
1506
|
|
|
@@ -673,25 +1508,81 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
673
1508
|
`;
|
|
674
1509
|
const badges = (0, styled_components_1.css) `
|
|
675
1510
|
/**
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
--badge-
|
|
680
|
-
--badge-
|
|
681
|
-
--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
|
|
682
1516
|
--badge-border: 1px solid var(--badge-border-color); // @presenter Border
|
|
683
1517
|
--badge-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
684
1518
|
|
|
685
1519
|
/**
|
|
686
|
-
|
|
687
|
-
|
|
1520
|
+
* @tokens Deprecated Badge
|
|
1521
|
+
*/
|
|
688
1522
|
|
|
689
|
-
--badge-deprecated-text-color: var(--color-
|
|
690
|
-
--badge-deprecated-background-color: var(--color-warning-
|
|
691
|
-
--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
|
|
692
1526
|
--badge-deprecated-border: 1px solid var(--badge-deprecated-border-color); // @presenter Border
|
|
693
1527
|
--badge-deprecated-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
694
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
|
|
695
1586
|
|
|
696
1587
|
// @tokens End
|
|
697
1588
|
`;
|
|
@@ -708,12 +1599,161 @@ const logo = (0, styled_components_1.css) `
|
|
|
708
1599
|
|
|
709
1600
|
// @tokens End
|
|
710
1601
|
`;
|
|
1602
|
+
const navbar = (0, styled_components_1.css) `
|
|
1603
|
+
/**
|
|
1604
|
+
* @tokens Navbar
|
|
1605
|
+
*/
|
|
1606
|
+
--navbar-height: 60px; // @presenter Spacing
|
|
1607
|
+
--navbar-text-color: #fff; // @presenter Color
|
|
1608
|
+
--navbar-background-color: var(--color-primary-500); // @presenter Color
|
|
1609
|
+
--navbar-container-max-width: 100%;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* @tokens Navbar Item
|
|
1613
|
+
* */
|
|
1614
|
+
--navbar-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1615
|
+
--navbar-item-font-size: 16px; // @presenter FontSize
|
|
1616
|
+
--navbar-item-padding-horizontal: 16px; // @presenter Spacing
|
|
1617
|
+
--navbar-item-padding-vertical: 8px; // @presenter Spacing
|
|
1618
|
+
--navbar-item-gap: 5px;
|
|
1619
|
+
--navbar-item-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1620
|
+
--navbar-item-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
1621
|
+
--navbar-item-hover-background-color: var(--color-primary-300);
|
|
1622
|
+
--navbar-item-active-background-color: var(--color-primary-300); // @presenter Color
|
|
1623
|
+
--navbar-item-hover-text-color: var(--navbar-text-color); // @presenter Color
|
|
1624
|
+
--navbar-item-hover-text-decoration: none;
|
|
1625
|
+
--navbar-item-active-text-color: var(--navbar-text-color); // @presenter Color
|
|
1626
|
+
--navbar-item-active-text-decoration: none;
|
|
1627
|
+
--navbar-item-separator-line-color: var(--border-color); // @presenter Color
|
|
1628
|
+
--navbar-item-icon-width: 1.5em; // @presenter Spacing
|
|
1629
|
+
--navbar-item-icon-height: 1.5em; // @presenter Spacing
|
|
1630
|
+
--navbar-item-icon-margin-right: 0.5em; // @presenter Spacing
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* @tokens Navbar dropdown
|
|
1634
|
+
* */
|
|
1635
|
+
|
|
1636
|
+
--navbar-dropdown-shadow: 4px 4px 15px -2px rgba(0, 0, 0, 0.5); //should be variable
|
|
1637
|
+
--navbar-dropdown-background: var(--navbar-item-active-background-color);
|
|
1638
|
+
--navbar-dropdown-border: none;
|
|
1639
|
+
|
|
1640
|
+
// @tokens End
|
|
1641
|
+
`;
|
|
1642
|
+
const breadcrumbs = (0, styled_components_1.css) `
|
|
1643
|
+
/**
|
|
1644
|
+
* @tokens Breadcrumbs
|
|
1645
|
+
*/
|
|
1646
|
+
|
|
1647
|
+
--breadcrumbs-text-color: var(--text-color-secondary); // @presenter Color
|
|
1648
|
+
--breadcrumbs-font-size: var(--font-size-base); // @presenter FontSize
|
|
1649
|
+
--breadcrumbs-active-text-color: var(--text-color); // @presenter Color
|
|
1650
|
+
--breadcrumbs-hover-text-decoration: underline;
|
|
1651
|
+
--breadcrumbs-padding-horizontal: 8px; // @presenter Spacing
|
|
1652
|
+
--breadcrumbs-margin-bottom: 24px; // @presenter Spacing
|
|
1653
|
+
|
|
1654
|
+
// @tokens End
|
|
1655
|
+
`;
|
|
1656
|
+
const product = (0, styled_components_1.css) `
|
|
1657
|
+
/**
|
|
1658
|
+
* @tokens Product
|
|
1659
|
+
*/
|
|
1660
|
+
--product-padding-horizontal: 8px; // @presenter Spacing
|
|
1661
|
+
--product-padding-vertical: 8px; // @presenter Spacing
|
|
1662
|
+
--product-logo-margin: 10px; // @presenter Spacing
|
|
1663
|
+
|
|
1664
|
+
// @tokens End
|
|
1665
|
+
`;
|
|
1666
|
+
const mobileMenu = (0, styled_components_1.css) `
|
|
1667
|
+
/**
|
|
1668
|
+
* @tokens Mobile Menu icons
|
|
1669
|
+
*/
|
|
1670
|
+
--mobile-menu-icons-size: 20px; // @presenter Spacing
|
|
1671
|
+
--mobile-menu-search-icon-size: 18px; // @presenter Spacing
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* @tokens Mobile Menu
|
|
1675
|
+
* */
|
|
1676
|
+
--mobile-menu-padding-top: 13px; // @presenter Spacing
|
|
1677
|
+
--mobile-menu-items-margin-top: 5px; // @presenter Spacing
|
|
1678
|
+
--mobile-menu-burger-button-margin: 8px; // @presenter Spacing
|
|
1679
|
+
--mobile-menu-background: #ffffff; // @presenter Color
|
|
1680
|
+
--mobile-menu-profile-background: #ffffff; // @presenter Color
|
|
1681
|
+
--mobile-menu-profile-border-color: #e3e3e3; // @presenter Color
|
|
1682
|
+
--mobile-menu-group-padding-right: 16px; // @presenter Spacing
|
|
1683
|
+
--mobile-menu-horizontal-margin: 8px; // @presenter Spacing
|
|
1684
|
+
--mobile-menu-item-nested-offset: 8px; // @presenter Spacing
|
|
1685
|
+
--mobile-menu-item-radius: 6px; // @presenter Spacing
|
|
1686
|
+
--mobile-menu-item-text-color: #525252;// @presenter Color
|
|
1687
|
+
--mobile-menu-item-active-color: #FAFAFA; // @presenter Color
|
|
1688
|
+
--mobile-menu-item-active-text-color: #161616; // @presenter Color
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* @tokens Mobile Menu control button
|
|
1692
|
+
* */
|
|
1693
|
+
--mobile-menu-control-button-padding-vertical: 0; // @presenter Spacing
|
|
1694
|
+
--mobile-menu-control-button-padding-horizontal: 4px; // @presenter Spacing
|
|
1695
|
+
--mobile-menu-control-button-margin-vertical: 0; // @presenter Spacing
|
|
1696
|
+
--mobile-menu-control-button-margin-horizontal: 8px; // @presenter Spacing
|
|
1697
|
+
--mobile-menu-control-button-font-size: var(--font-size-base); // @presenter FontSize
|
|
1698
|
+
--mobile-menu-control-button-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
1699
|
+
--mobile-menu-control-button-color: var(--mobile-menu-item-text-color); // @presenter Color
|
|
1700
|
+
--mobile-menu-control-button-hover-color: var(--text-color); // @presenter Color
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* @tokens Mobile Menu Login button
|
|
1704
|
+
* */
|
|
1705
|
+
--mobile-menu-login-button-background: #1c1c1c; // @presenter Color
|
|
1706
|
+
--mobile-menu-login-button-color: #ffffff; // @presenter Color
|
|
1707
|
+
|
|
1708
|
+
// @tokens End
|
|
1709
|
+
`;
|
|
1710
|
+
const toc = (0, styled_components_1.css) `
|
|
1711
|
+
/**
|
|
1712
|
+
* @tokens TOC
|
|
1713
|
+
* */
|
|
1714
|
+
|
|
1715
|
+
--toc-width: 240px;
|
|
1716
|
+
--toc-background-color: transparent;
|
|
1717
|
+
--toc-border-color: var(--border-color);
|
|
1718
|
+
|
|
1719
|
+
--toc-spacing-unit: 8px;
|
|
1720
|
+
--toc-offset-top: calc(var(--toc-spacing-unit) * 2);
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* @tokens TOC item typography
|
|
1724
|
+
*/
|
|
1725
|
+
--toc-item-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1726
|
+
--toc-item-font-size: var(--font-size-base); // @presenter FontSize
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* @tokens TOC item
|
|
1730
|
+
*/
|
|
1731
|
+
|
|
1732
|
+
--toc-item-text-color: var(--text-color); // @presenter Color
|
|
1733
|
+
--toc-item-active-text-color: var(--text-color); // @presenter Color
|
|
1734
|
+
--toc-item-background-color: transparent; // @presenter Color
|
|
1735
|
+
--toc-item-active-background-color: var(--border-color); // @presenter Color
|
|
1736
|
+
--toc-item-nested-offset: calc(var(--toc-spacing-unit) * 2); // @presenter Spacing
|
|
1737
|
+
--toc-item-padding-vertical: var(--toc-spacing-unit); // @presenter Spacing
|
|
1738
|
+
--toc-item-padding-horizontal: calc(var(--toc-spacing-unit) * 2); // @presenter Spacing
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* @tokens TOC header
|
|
1742
|
+
*/
|
|
1743
|
+
|
|
1744
|
+
--toc-heading-font-size: var(--font-size-base); // @presenter FontSize
|
|
1745
|
+
--toc-heading-font-family: var(--font-family-base); // @presenter FontFamily
|
|
1746
|
+
--toc-heading-font-weight: bold; // @presenter FontWeight
|
|
1747
|
+
--toc-heading-text-color: var(--text-color); // @presenter Color
|
|
1748
|
+
|
|
1749
|
+
// @tokens End
|
|
1750
|
+
`;
|
|
711
1751
|
const loadProgressBar = (0, styled_components_1.css) `
|
|
712
1752
|
/**
|
|
713
1753
|
* @tokens Load progress bar
|
|
714
1754
|
*/
|
|
715
1755
|
|
|
716
|
-
--load-progress-bar-color: var(--color-
|
|
1756
|
+
--load-progress-bar-color: var(--color-secondary-500); // @presenter Color
|
|
717
1757
|
--load-progress-bar-shadow: 0 0 10px var(--load-progress-bar-color),
|
|
718
1758
|
0 0 5px var(--load-progress-bar-color); // @presenter BoxShadow
|
|
719
1759
|
--load-progress-bar-height: 2px; // @presenter Height
|
|
@@ -764,146 +1804,485 @@ const inputs = (0, styled_components_1.css) `
|
|
|
764
1804
|
/**
|
|
765
1805
|
* @tokens Inputs
|
|
766
1806
|
*/
|
|
767
|
-
|
|
768
|
-
--input-
|
|
769
|
-
--input-
|
|
770
|
-
--input-border: 1px solid var(--border-primary); // @presenter Border
|
|
771
|
-
--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
|
|
772
1810
|
--input-font-size: var(--font-size-base); // @presenter FontSize
|
|
773
1811
|
--input-font-family: var(--font-family-base); // @presenter FontFamily
|
|
774
1812
|
--input-line-height: 1.15em; // @presenter LineHeight
|
|
775
1813
|
--input-padding: 8px;
|
|
776
1814
|
|
|
777
|
-
--input-hover-text-color: var(--text-
|
|
778
|
-
--input-hover-border:
|
|
779
|
-
--input-focus-border:
|
|
780
|
-
--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
|
|
1925
|
+
|
|
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;
|
|
781
2002
|
|
|
782
|
-
--
|
|
783
|
-
--
|
|
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);
|
|
784
2007
|
|
|
785
2008
|
// @tokens End
|
|
786
2009
|
`;
|
|
787
2010
|
const docsDropdown = (0, styled_components_1.css) `
|
|
788
|
-
--docs-dropdown-font-size:
|
|
789
|
-
--docs-dropdown-text-color: var(--text-
|
|
2011
|
+
--docs-dropdown-font-size: 14px;
|
|
2012
|
+
--docs-dropdown-text-color: var(--text-color);
|
|
790
2013
|
|
|
791
|
-
--docs-dropdown-padding-vertical:
|
|
2014
|
+
--docs-dropdown-padding-vertical: 8px;
|
|
792
2015
|
--docs-dropdown-padding-left: 10px;
|
|
793
2016
|
--docs-dropdown-padding-right: 26px;
|
|
794
|
-
--docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right)
|
|
795
|
-
|
|
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
|
|
796
2169
|
`;
|
|
797
2170
|
const lastUpdated = (0, styled_components_1.css) `
|
|
798
|
-
--last-updated-text-color: var(--text-
|
|
799
|
-
--last-updated-font-size: var(--font-size-
|
|
2171
|
+
--last-updated-text-color: var(--text-color);
|
|
2172
|
+
--last-updated-font-size: var(--font-size-small);
|
|
800
2173
|
--last-updated-font-family: var(--font-family-base);
|
|
801
2174
|
--last-updated-line-height: var(--line-height-base);
|
|
802
2175
|
`;
|
|
803
2176
|
const tile = (0, styled_components_1.css) `
|
|
804
|
-
--wide-tile-background-color: var(--
|
|
805
|
-
--thin-tile-background-color: var(--
|
|
2177
|
+
--wide-tile-background-color: var(--color-secondary-100);
|
|
2178
|
+
--thin-tile-background-color: var(--color-secondary-100);
|
|
806
2179
|
`;
|
|
807
2180
|
const pages = (0, styled_components_1.css) `
|
|
808
2181
|
/**
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
2182
|
+
* @tokens 404 Page
|
|
2183
|
+
* @presenter Color
|
|
2184
|
+
*/
|
|
812
2185
|
|
|
813
2186
|
--page-404-font-family: var(--font-family-base); // @presenter FontFamily
|
|
814
2187
|
|
|
815
|
-
--page-404-header-text-color:
|
|
816
|
-
--page-404-header-font-size:
|
|
817
|
-
--page-404-header-font-weight:
|
|
818
|
-
--page-404-header-line-height:
|
|
819
|
-
--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
|
|
820
2193
|
|
|
821
|
-
--page-404-description-text-color:
|
|
822
|
-
--page-404-description-font-size:
|
|
823
|
-
--page-404-description-font-weight:
|
|
824
|
-
--page-404-description-line-height: 1 // @presenter LineHeight
|
|
825
|
-
--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
|
|
826
2199
|
|
|
827
2200
|
--page-404-button-margin: 4em; // @presenter Spacing
|
|
828
2201
|
|
|
829
2202
|
// @tokens End
|
|
830
2203
|
|
|
831
2204
|
/**
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
2205
|
+
* @tokens 403 Page
|
|
2206
|
+
* @presenter Color
|
|
2207
|
+
*/
|
|
835
2208
|
|
|
836
|
-
|
|
2209
|
+
--page-403-font-family: var(--font-family-base); // @presenter FontFamily
|
|
837
2210
|
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
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
|
|
843
2216
|
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
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
|
|
849
2222
|
|
|
850
|
-
|
|
2223
|
+
--page-403-button-margin: 4em; // @presenter Spacing
|
|
851
2224
|
|
|
852
2225
|
// @tokens End
|
|
853
2226
|
`;
|
|
854
|
-
const
|
|
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
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
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
|
+
|
|
907
2286
|
`;
|
|
908
2287
|
const modal = (0, styled_components_1.css) `
|
|
909
2288
|
body:has(.modal) {
|
|
@@ -912,7 +2291,7 @@ const modal = (0, styled_components_1.css) `
|
|
|
912
2291
|
|
|
913
2292
|
--modal-box-shadow: 0px 8px 12px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31);
|
|
914
2293
|
--modal-overlay-background-color: rgba(206, 206, 206, 0.49);
|
|
915
|
-
--modal-background-color: var(--
|
|
2294
|
+
--modal-background-color: var(--background-color);
|
|
916
2295
|
`;
|
|
917
2296
|
const zIndexDepth = (0, styled_components_1.css) `
|
|
918
2297
|
--z-index-surface: 10;
|
|
@@ -922,56 +2301,47 @@ const zIndexDepth = (0, styled_components_1.css) `
|
|
|
922
2301
|
`;
|
|
923
2302
|
exports.styles = (0, styled_components_1.css) `
|
|
924
2303
|
:root {
|
|
925
|
-
${
|
|
926
|
-
${
|
|
927
|
-
${
|
|
928
|
-
${
|
|
929
|
-
${borders}
|
|
930
|
-
${Breadcrumbs_1.breadcrumbs}
|
|
931
|
-
${Button_1.button}
|
|
932
|
-
${Catalog_1.catalog}
|
|
933
|
-
${CodeBlock_1.code}
|
|
934
|
-
${docsDropdown}
|
|
935
|
-
${Dropdown_1.dropdown}
|
|
936
|
-
${error}
|
|
937
|
-
${Filter_1.filter}
|
|
938
|
-
${Footer_1.footer}
|
|
2304
|
+
${baseColors}
|
|
2305
|
+
${httpColors}
|
|
2306
|
+
${responsePanelColors}
|
|
2307
|
+
${typography}
|
|
939
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}
|
|
940
2321
|
${inputs}
|
|
941
|
-
${
|
|
942
|
-
${
|
|
2322
|
+
${tooltip}
|
|
2323
|
+
${code}
|
|
943
2324
|
${links}
|
|
2325
|
+
${markdown}
|
|
2326
|
+
${search}
|
|
2327
|
+
${dropdown}
|
|
2328
|
+
${docsDropdown}
|
|
2329
|
+
${select}
|
|
2330
|
+
${apiReferencePanels}
|
|
2331
|
+
${apiReferenceDocs}
|
|
2332
|
+
${lastUpdated}
|
|
2333
|
+
${tile}
|
|
944
2334
|
${loadProgressBar}
|
|
945
|
-
${logo}
|
|
946
|
-
${Markdown_1.markdown}
|
|
947
|
-
${Menu_1.menu}
|
|
948
|
-
${Menu_1.mobileMenu}
|
|
949
|
-
${modal}
|
|
950
|
-
${Navbar_1.navbar}
|
|
951
2335
|
${pages}
|
|
952
|
-
${
|
|
953
|
-
${
|
|
954
|
-
${Panel_1.responsePanelColors}
|
|
955
|
-
${Search_1.search}
|
|
956
|
-
${Select_1.select}
|
|
957
|
-
${Sidebar_1.sidebar}
|
|
958
|
-
${sizeAndSpace}
|
|
959
|
-
${Tag_1.tag}
|
|
960
|
-
${themeColors}
|
|
961
|
-
${tile}
|
|
962
|
-
${TableOfContent_1.toc}
|
|
963
|
-
${Tooltip_1.tooltip}
|
|
964
|
-
${typography}
|
|
965
|
-
${Profile_1.userProfile}
|
|
966
|
-
${Profile_1.userProfileDropdown}
|
|
967
|
-
${Sidebar_1.versionPicker}
|
|
2336
|
+
${modal}
|
|
2337
|
+
${userProfile}
|
|
968
2338
|
${zIndexDepth}
|
|
969
2339
|
|
|
970
2340
|
--api-onboarding-table-text-color: #4e5356;
|
|
971
2341
|
--api-catalog-card-min-width: 250px;
|
|
972
2342
|
|
|
973
|
-
background-color: var(--
|
|
974
|
-
color: var(--text-
|
|
2343
|
+
background-color: var(--background-color);
|
|
2344
|
+
color: var(--text-color);
|
|
975
2345
|
font-family: var(--font-family-base);
|
|
976
2346
|
}
|
|
977
2347
|
|