@redocly/theme 0.64.0-next.1 → 0.64.0-next.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/components/Admonition/Admonition.d.ts +1 -1
- package/lib/components/Admonition/Admonition.js +2 -0
- package/lib/components/Admonition/variables.dark.js +3 -0
- package/lib/components/Admonition/variables.js +13 -0
- package/lib/components/Banner/Banner.js +3 -3
- package/lib/components/Button/variables.dark.js +2 -2
- package/lib/components/Button/variables.js +3 -3
- package/lib/components/Catalog/CatalogActionsRow.d.ts +3 -3
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +4 -6
- package/lib/components/Catalog/CatalogEntities.d.ts +2 -2
- package/lib/components/Catalog/CatalogEntities.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +1 -8
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.js +3 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +1 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.js +2 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +2 -6
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +5 -5
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +15 -7
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.js +4 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +14 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +13 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +4 -3
- package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +3 -2
- package/lib/components/Catalog/CatalogEntityTypeIcon.js +9 -9
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +2 -3
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +2 -3
- package/lib/components/Catalog/CatalogPageDescription.js +1 -1
- package/lib/components/Catalog/CatalogSortButton.d.ts +4 -5
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +6 -2
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.js +2 -2
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +5 -0
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.js +45 -0
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.js +5 -3
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +2 -3
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +3 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +1 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +15 -5
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.js +3 -2
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.js +2 -2
- package/lib/components/Catalog/CatalogTags.d.ts +11 -0
- package/lib/components/Catalog/CatalogTags.js +62 -0
- package/lib/components/Catalog/variables.js +22 -14
- package/lib/components/Filter/variables.js +1 -1
- package/lib/components/Link/Link.js +2 -2
- package/lib/components/Menu/MenuItem.js +1 -0
- package/lib/components/Menu/variables.dark.js +2 -0
- package/lib/components/Menu/variables.js +4 -3
- package/lib/components/Search/SearchDialog.js +118 -116
- package/lib/components/SvgViewer/variables.dark.js +1 -1
- package/lib/components/Switch/variables.dark.js +2 -2
- package/lib/components/Switch/variables.js +1 -1
- package/lib/components/TableOfContent/TableOfContent.js +1 -0
- package/lib/components/TableOfContent/variables.js +3 -2
- package/lib/components/Toast/Toast.d.ts +14 -0
- package/lib/components/Toast/Toast.js +239 -0
- package/lib/components/Toast/variables.d.ts +1 -0
- package/lib/components/Toast/variables.js +64 -0
- package/lib/components/Tooltip/JsTooltip.js +1 -1
- package/lib/core/constants/catalog.d.ts +1 -1
- package/lib/core/constants/catalog.js +1 -1
- package/lib/core/constants/toast.d.ts +1 -0
- package/lib/core/constants/toast.js +5 -0
- package/lib/core/contexts/Toast/ToastContext.d.ts +2 -0
- package/lib/core/contexts/Toast/ToastContext.js +6 -0
- package/lib/core/contexts/Toast/ToastProvider.d.ts +3 -0
- package/lib/core/contexts/Toast/ToastProvider.js +156 -0
- package/lib/core/contexts/index.d.ts +2 -0
- package/lib/core/contexts/index.js +2 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.d.ts +8 -0
- package/lib/core/hooks/catalog/use-catalog-entity-link.js +42 -0
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +2 -1
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.js +5 -3
- package/lib/core/hooks/index.d.ts +3 -0
- package/lib/core/hooks/index.js +3 -0
- package/lib/core/hooks/use-toast-logic.d.ts +18 -0
- package/lib/core/hooks/use-toast-logic.js +141 -0
- package/lib/core/hooks/use-toast.d.ts +11 -0
- package/lib/core/hooks/use-toast.js +17 -0
- package/lib/core/styles/dark.d.ts +3 -1
- package/lib/core/styles/dark.js +37 -33
- package/lib/core/styles/global.d.ts +6 -2
- package/lib/core/styles/global.js +56 -46
- package/lib/core/styles/palette.d.ts +6 -0
- package/lib/core/styles/palette.dark.d.ts +3 -0
- package/lib/core/styles/palette.dark.js +201 -0
- package/lib/core/styles/palette.js +175 -0
- package/lib/core/types/catalog.d.ts +23 -7
- package/lib/core/types/hooks.d.ts +6 -4
- package/lib/core/types/index.d.ts +1 -0
- package/lib/core/types/search.d.ts +1 -0
- package/lib/core/types/toast.d.ts +23 -0
- package/lib/core/types/toast.js +3 -0
- package/lib/core/utils/get-auto-dismiss-duration.d.ts +2 -0
- package/lib/core/utils/get-auto-dismiss-duration.js +15 -0
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/core/utils/index.js +1 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +6 -4
- package/lib/icons/CheckboxIcon/variables.dark.js +2 -1
- package/lib/icons/CheckboxIcon/variables.js +3 -3
- package/lib/icons/IdeaIcon/IdeaIcon.d.ts +9 -0
- package/lib/icons/IdeaIcon/IdeaIcon.js +24 -0
- package/lib/icons/NewChatIcon/NewChatIcon.d.ts +11 -0
- package/lib/icons/NewChatIcon/NewChatIcon.js +25 -0
- package/lib/index.d.ts +5 -1
- package/lib/index.js +5 -1
- package/lib/markdoc/components/Heading/Heading.js +2 -2
- package/lib/markdoc/components/Mermaid/Mermaid.js +0 -2
- package/lib/markdoc/components/Tabs/variables.js +3 -3
- package/lib/markdoc/components/default.d.ts +0 -1
- package/lib/markdoc/components/default.js +0 -1
- package/lib/markdoc/tags/admonition.js +1 -1
- package/package.json +2 -2
- package/src/components/Admonition/Admonition.tsx +3 -1
- package/src/components/Admonition/variables.dark.ts +3 -0
- package/src/components/Admonition/variables.ts +13 -0
- package/src/components/Banner/Banner.tsx +7 -7
- package/src/components/Button/variables.dark.ts +2 -2
- package/src/components/Button/variables.ts +3 -3
- package/src/components/Catalog/CatalogActionsRow.tsx +3 -3
- package/src/components/Catalog/CatalogCardView/CatalogCard.tsx +4 -6
- package/src/components/Catalog/CatalogEntities.tsx +3 -3
- package/src/components/Catalog/CatalogEntity/CatalogEntity.tsx +3 -24
- package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.tsx +3 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityMetadata.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.tsx +1 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.tsx +2 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.tsx +8 -10
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.tsx +13 -8
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.tsx +1 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.tsx +27 -15
- package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.tsx +2 -2
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.tsx +9 -9
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.tsx +17 -9
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +4 -8
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.tsx +2 -2
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.tsx +16 -10
- package/src/components/Catalog/CatalogEntity/CatalogEntitySchema.tsx +4 -3
- package/src/components/Catalog/CatalogEntityTypeIcon.tsx +18 -11
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.tsx +3 -3
- package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.tsx +2 -3
- package/src/components/Catalog/CatalogPageDescription.tsx +1 -1
- package/src/components/Catalog/CatalogSortButton.tsx +5 -6
- package/src/components/Catalog/CatalogTableView/CatalogDomainsCell.tsx +6 -2
- package/src/components/Catalog/CatalogTableView/CatalogEntityCell.tsx +2 -2
- package/src/components/Catalog/CatalogTableView/CatalogLastUpdateCell.tsx +54 -0
- package/src/components/Catalog/CatalogTableView/CatalogOwnersCell.tsx +5 -2
- package/src/components/Catalog/CatalogTableView/CatalogTableHeaderCell.tsx +4 -3
- package/src/components/Catalog/CatalogTableView/CatalogTableView.tsx +17 -7
- package/src/components/Catalog/CatalogTableView/CatalogTagsCell.tsx +3 -2
- package/src/components/Catalog/CatalogTableView/CatalogUserEntityCell.tsx +2 -2
- package/src/components/Catalog/CatalogTags.tsx +115 -0
- package/src/components/Catalog/variables.ts +22 -14
- package/src/components/Filter/variables.ts +1 -1
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/Menu/MenuItem.tsx +5 -1
- package/src/components/Menu/variables.dark.ts +2 -0
- package/src/components/Menu/variables.ts +4 -3
- package/src/components/Search/SearchDialog.tsx +299 -293
- package/src/components/SvgViewer/variables.dark.ts +1 -1
- package/src/components/Switch/variables.dark.ts +2 -2
- package/src/components/Switch/variables.ts +1 -1
- package/src/components/TableOfContent/TableOfContent.tsx +1 -0
- package/src/components/TableOfContent/variables.ts +3 -2
- package/src/components/Toast/Toast.tsx +289 -0
- package/src/components/Toast/variables.ts +61 -0
- package/src/components/Tooltip/JsTooltip.tsx +1 -1
- package/src/core/constants/catalog.ts +1 -1
- package/src/core/constants/toast.ts +1 -0
- package/src/core/contexts/Toast/ToastContext.tsx +5 -0
- package/src/core/contexts/Toast/ToastProvider.tsx +206 -0
- package/src/core/contexts/index.ts +2 -0
- package/src/core/hooks/catalog/use-catalog-entity-link.ts +46 -0
- package/src/core/hooks/catalog/use-catalog-table-header-cell-actions.ts +10 -2
- package/src/core/hooks/index.ts +3 -0
- package/src/core/hooks/use-toast-logic.ts +203 -0
- package/src/core/hooks/use-toast.ts +47 -0
- package/src/core/styles/dark.ts +9 -4
- package/src/core/styles/global.ts +30 -20
- package/src/core/styles/palette.dark.ts +199 -0
- package/src/core/styles/palette.ts +173 -0
- package/src/core/types/catalog.ts +24 -8
- package/src/core/types/hooks.ts +5 -10
- package/src/core/types/index.ts +1 -0
- package/src/core/types/search.ts +1 -0
- package/src/core/types/toast.ts +28 -0
- package/src/core/utils/get-auto-dismiss-duration.ts +20 -0
- package/src/core/utils/index.ts +1 -0
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +26 -17
- package/src/icons/CheckboxIcon/variables.dark.ts +2 -1
- package/src/icons/CheckboxIcon/variables.ts +3 -3
- package/src/icons/IdeaIcon/IdeaIcon.tsx +32 -0
- package/src/icons/NewChatIcon/NewChatIcon.tsx +39 -0
- package/src/index.ts +5 -1
- package/src/markdoc/components/Heading/Heading.tsx +2 -1
- package/src/markdoc/components/Mermaid/Mermaid.tsx +0 -2
- package/src/markdoc/components/Tabs/variables.ts +3 -3
- package/src/markdoc/components/default.ts +0 -1
- package/src/markdoc/tags/admonition.ts +1 -1
- package/lib/components/Catalog/CatalogTagsWithTooltip.d.ts +0 -10
- package/lib/components/Catalog/CatalogTagsWithTooltip.js +0 -57
- package/lib/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.d.ts +0 -7
- package/lib/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.js +0 -95
- package/lib/markdoc/components/ExcalidrawDiagram/variables.d.ts +0 -1
- package/lib/markdoc/components/ExcalidrawDiagram/variables.dark.d.ts +0 -1
- package/lib/markdoc/components/ExcalidrawDiagram/variables.dark.js +0 -8
- package/lib/markdoc/components/ExcalidrawDiagram/variables.js +0 -15
- package/src/components/Catalog/CatalogTagsWithTooltip.tsx +0 -101
- package/src/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.tsx +0 -85
- package/src/markdoc/components/ExcalidrawDiagram/variables.dark.ts +0 -5
- package/src/markdoc/components/ExcalidrawDiagram/variables.ts +0 -12
package/lib/core/styles/dark.js
CHANGED
|
@@ -4,22 +4,22 @@ exports.darkMode = void 0;
|
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
5
|
const variables_dark_1 = require("../../components/Scorecard/variables.dark");
|
|
6
6
|
const variables_dark_2 = require("../../markdoc/components/Mermaid/variables.dark");
|
|
7
|
-
const variables_dark_3 = require("../../
|
|
8
|
-
const variables_dark_4 = require("../../components/
|
|
9
|
-
const variables_dark_5 = require("../../components/
|
|
10
|
-
const variables_dark_6 = require("../../components/
|
|
11
|
-
const variables_dark_7 = require("../../
|
|
12
|
-
const variables_dark_8 = require("../../
|
|
13
|
-
const variables_dark_9 = require("../../components/
|
|
14
|
-
const variables_dark_10 = require("../../components/
|
|
15
|
-
const variables_dark_11 = require("../../components/
|
|
16
|
-
const variables_dark_12 = require("../../
|
|
17
|
-
const variables_dark_13 = require("../../components/
|
|
18
|
-
const variables_dark_14 = require("../../components/
|
|
19
|
-
const variables_dark_15 = require("../../components/
|
|
20
|
-
const variables_dark_16 = require("../../components/
|
|
21
|
-
const variables_dark_17 = require("../../components/
|
|
22
|
-
const
|
|
7
|
+
const variables_dark_3 = require("../../components/Menu/variables.dark");
|
|
8
|
+
const variables_dark_4 = require("../../components/Button/variables.dark");
|
|
9
|
+
const variables_dark_5 = require("../../components/Buttons/variables.dark");
|
|
10
|
+
const variables_dark_6 = require("../../components/Segmented/variables.dark");
|
|
11
|
+
const variables_dark_7 = require("../../icons/CheckboxIcon/variables.dark");
|
|
12
|
+
const variables_dark_8 = require("../../components/Tag/variables.dark");
|
|
13
|
+
const variables_dark_9 = require("../../components/StatusCode/variables.dark");
|
|
14
|
+
const variables_dark_10 = require("../../components/Switch/variables.dark");
|
|
15
|
+
const variables_dark_11 = require("../../markdoc/components/Cards/variables.dark");
|
|
16
|
+
const variables_dark_12 = require("../../components/Catalog/variables.dark");
|
|
17
|
+
const variables_dark_13 = require("../../components/PageActions/variables.dark");
|
|
18
|
+
const variables_dark_14 = require("../../components/Tooltip/variables.dark");
|
|
19
|
+
const variables_dark_15 = require("../../components/Banner/variables.dark");
|
|
20
|
+
const variables_dark_16 = require("../../components/Admonition/variables.dark");
|
|
21
|
+
const variables_dark_17 = require("../../components/SvgViewer/variables.dark");
|
|
22
|
+
const palette_dark_1 = require("./palette.dark");
|
|
23
23
|
const replayDarkMode = (0, styled_components_1.css) `
|
|
24
24
|
/**
|
|
25
25
|
* @tokens Replay Colors
|
|
@@ -265,6 +265,11 @@ exports.darkMode = (0, styled_components_1.css) `
|
|
|
265
265
|
--layer-accent-hover: var(--color-warm-grey-10);
|
|
266
266
|
--layer-color-raised: var(--color-warm-grey-3);
|
|
267
267
|
|
|
268
|
+
--color-brand-subtle-bg: var(--color-brand-subtle-1);
|
|
269
|
+
--color-brand-subtle-bg-hover: var(--color-brand-subtle-2);
|
|
270
|
+
--color-brand-subtle-border: var(--color-brand-subtle-3);
|
|
271
|
+
--color-brand-subtle-border-hover: var(--color-brand-subtle-4);
|
|
272
|
+
|
|
268
273
|
/**
|
|
269
274
|
* @tokens Border Colors
|
|
270
275
|
* @presenter Color
|
|
@@ -328,27 +333,26 @@ exports.darkMode = (0, styled_components_1.css) `
|
|
|
328
333
|
--plus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H4.6875V6.79687C4.6875 6.83984 4.72266 6.875 4.76562 6.875H5.23438C5.27734 6.875 5.3125 6.83984 5.3125 6.79687V5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H5.3125V3.20312C5.3125 3.16016 5.27734 3.125 5.23438 3.125H4.76562C4.72266 3.125 4.6875 3.16016 4.6875 3.20312V4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
|
|
329
334
|
--minus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
|
|
330
335
|
|
|
331
|
-
${
|
|
332
|
-
${
|
|
333
|
-
${
|
|
334
|
-
${
|
|
335
|
-
${
|
|
336
|
-
${
|
|
337
|
-
${
|
|
336
|
+
${variables_dark_6.segmentedButtonsDarkMode}
|
|
337
|
+
${variables_dark_4.buttonDarkMode}
|
|
338
|
+
${variables_dark_5.aiAssistantButtonDarkMode}
|
|
339
|
+
${variables_dark_7.checkboxDarkMode}
|
|
340
|
+
${variables_dark_8.tagDarkMode}
|
|
341
|
+
${variables_dark_9.statusCodeDarkMode}
|
|
342
|
+
${variables_dark_3.menuDarkMode}
|
|
338
343
|
${variables_dark_2.mermaidDarkMode}
|
|
339
|
-
${variables_dark_3.excalidrawDarkMode}
|
|
340
344
|
${variables_dark_1.scorecardDarkMode}
|
|
341
345
|
${replayDarkMode}
|
|
342
|
-
${
|
|
343
|
-
${
|
|
344
|
-
${
|
|
345
|
-
${
|
|
346
|
-
${
|
|
347
|
-
${
|
|
348
|
-
${
|
|
349
|
-
${
|
|
346
|
+
${variables_dark_10.switcherDarkMode}
|
|
347
|
+
${variables_dark_11.cardsDarkMode}
|
|
348
|
+
${variables_dark_12.catalogDarkMode}
|
|
349
|
+
${variables_dark_13.pageActionsDarkMode}
|
|
350
|
+
${variables_dark_14.tooltipDarkMode}
|
|
351
|
+
${variables_dark_15.bannerDarkMode}
|
|
352
|
+
${variables_dark_16.admonitionDarkMode}
|
|
353
|
+
${variables_dark_17.svgViewerDarkMode}
|
|
350
354
|
${badgesDarkMode}
|
|
351
|
-
|
|
355
|
+
${palette_dark_1.activeBrandPaletteDark}
|
|
352
356
|
/**
|
|
353
357
|
* @tokens Dark Theme Scrollbar Config
|
|
354
358
|
* @presenter Color
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export declare const styles: import("styled-components").
|
|
2
|
-
|
|
1
|
+
export declare const styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
|
|
2
|
+
palette?: string;
|
|
3
|
+
}, any>>;
|
|
4
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
|
|
5
|
+
palette?: string;
|
|
6
|
+
}, import("styled-components").DefaultTheme>;
|
|
@@ -31,21 +31,22 @@ const variables_26 = require("../../components/Markdown/variables");
|
|
|
31
31
|
const variables_27 = require("../../components/Banner/variables");
|
|
32
32
|
const variables_28 = require("../../markdoc/components/Tabs/variables");
|
|
33
33
|
const variables_29 = require("../../markdoc/components/Mermaid/variables");
|
|
34
|
-
const variables_30 = require("../../
|
|
35
|
-
const variables_31 = require("../../components/
|
|
36
|
-
const variables_32 = require("../../components/
|
|
37
|
-
const variables_33 = require("../../components/
|
|
38
|
-
const variables_34 = require("../../components/
|
|
39
|
-
const variables_35 = require("../../components/
|
|
40
|
-
const variables_36 = require("../../components/
|
|
41
|
-
const variables_37 = require("../../components/
|
|
42
|
-
const variables_38 = require("../../components/
|
|
43
|
-
const variables_39 = require("../../components/
|
|
44
|
-
const variables_40 = require("../../markdoc/components/
|
|
45
|
-
const variables_41 = require("../../
|
|
46
|
-
const variables_42 = require("../../components/
|
|
47
|
-
const variables_43 = require("../../components/
|
|
48
|
-
const variables_44 = require("../../components/
|
|
34
|
+
const variables_30 = require("../../components/LastUpdated/variables");
|
|
35
|
+
const variables_31 = require("../../components/Logo/variables");
|
|
36
|
+
const variables_32 = require("../../components/StatusCode/variables");
|
|
37
|
+
const variables_33 = require("../../components/Segmented/variables");
|
|
38
|
+
const variables_34 = require("../../components/UserMenu/variables");
|
|
39
|
+
const variables_35 = require("../../components/Tags/variables");
|
|
40
|
+
const variables_36 = require("../../components/VersionPicker/variables");
|
|
41
|
+
const variables_37 = require("../../components/DatePicker/variables");
|
|
42
|
+
const variables_38 = require("../../components/Switch/variables");
|
|
43
|
+
const variables_39 = require("../../markdoc/components/Cards/variables");
|
|
44
|
+
const variables_40 = require("../../markdoc/components/CodeWalkthrough/variables");
|
|
45
|
+
const variables_41 = require("../../components/SkipContent/variables");
|
|
46
|
+
const variables_42 = require("../../components/PageActions/variables");
|
|
47
|
+
const variables_43 = require("../../components/SvgViewer/variables");
|
|
48
|
+
const variables_44 = require("../../components/Toast/variables");
|
|
49
|
+
const palette_1 = require("./palette");
|
|
49
50
|
const dark_1 = require("./dark");
|
|
50
51
|
const themeColors = (0, styled_components_1.css) `
|
|
51
52
|
/* === Palette === */
|
|
@@ -226,17 +227,6 @@ const themeColors = (0, styled_components_1.css) `
|
|
|
226
227
|
--color-white: #ffffff;
|
|
227
228
|
--color-static-white: #ffffff;
|
|
228
229
|
|
|
229
|
-
--color-primary-bg: var(--color-blueberry-1);
|
|
230
|
-
--color-primary-bg-hover: var(--color-blueberry-2);
|
|
231
|
-
--color-primary-border: var(--color-blueberry-3);
|
|
232
|
-
--color-primary-border-hover: var(--color-blueberry-4);
|
|
233
|
-
--color-primary-hover: var(--color-blueberry-5);
|
|
234
|
-
--color-primary-base: var(--color-blueberry-6);
|
|
235
|
-
--color-primary-active: var(--color-blueberry-7);
|
|
236
|
-
--color-primary-text-hover: var(--color-blueberry-8);
|
|
237
|
-
--color-primary-text: var(--color-blueberry-9);
|
|
238
|
-
--color-primary-text-active: var(--color-blueberry-10);
|
|
239
|
-
|
|
240
230
|
--color-success-bg: var(--color-green-1);
|
|
241
231
|
--color-success-bg-hover: var(--color-green-2);
|
|
242
232
|
--color-success-border: var(--color-green-3);
|
|
@@ -281,6 +271,18 @@ const themeColors = (0, styled_components_1.css) `
|
|
|
281
271
|
--color-info-text: var(--color-blue-9);
|
|
282
272
|
--color-info-text-active: var(--color-blue-10);
|
|
283
273
|
|
|
274
|
+
--color-primary-bg: var(--color-brand-1); // @presenter Color
|
|
275
|
+
--color-primary-bg-hover: var(--color-brand-2); // @presenter Color
|
|
276
|
+
--color-primary-border: var(--color-brand-3); // @presenter Color
|
|
277
|
+
--color-primary-border-hover: var(--color-brand-4); // @presenter Color
|
|
278
|
+
--color-primary-hover: var(--color-brand-8); // @presenter Color
|
|
279
|
+
--color-primary-base: var(--color-brand-6); // @presenter Color
|
|
280
|
+
--color-primary-active: var(--color-brand-7); // @presenter Color
|
|
281
|
+
--color-primary-text-hover: var(--color-brand-9); // @presenter Color
|
|
282
|
+
--color-primary-text: var(--color-brand-8); // @presenter Color
|
|
283
|
+
--color-primary-text-active: var(--color-brand-7); // @presenter Color
|
|
284
|
+
--color-primary-text-on-color: var(--text-color-on-color); // @presenter Color
|
|
285
|
+
|
|
284
286
|
/**
|
|
285
287
|
* @tokens Elevation Colors
|
|
286
288
|
* @presenter Color
|
|
@@ -756,24 +758,24 @@ const apiReferenceDocs = (0, styled_components_1.css) `
|
|
|
756
758
|
--schema-chevron-color: var(--text-color-secondary); // @presenter Color
|
|
757
759
|
--schema-chevron-size: 9px;
|
|
758
760
|
|
|
759
|
-
--schema-property-deep-link-icon-color: var(--color-primary-base); // @presenter Color
|
|
761
|
+
--schema-property-deep-link-icon-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
|
|
760
762
|
--schema-property-deep-link-icon: none;
|
|
761
763
|
|
|
762
764
|
/**
|
|
763
765
|
* @tokens API Reference Other
|
|
764
766
|
*/
|
|
765
767
|
|
|
766
|
-
--loading-spinner-color: var(--color-primary-base); // @presenter Color
|
|
768
|
+
--loading-spinner-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
|
|
767
769
|
--linear-progress-color: var(--color-info-base); // @presenter Color
|
|
768
770
|
--linear-progress-bg-color: var(--color-info-bg); // @presenter Color
|
|
769
771
|
|
|
770
|
-
--fab-bg-color: var(--color-primary-base); // @presenter Color
|
|
772
|
+
--fab-bg-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
|
|
771
773
|
--fab-box-shadow: var(--bg-raised-shadow); // @presenter Shadow
|
|
772
774
|
|
|
773
|
-
--fab-bg-color-hover: var(--color-primary-base); // @presenter Color
|
|
775
|
+
--fab-bg-color-hover: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
|
|
774
776
|
--fab-box-shadow-hover: var(--bg-raised-shadow); // @presenter Shadow
|
|
775
777
|
|
|
776
|
-
--fab-bg-color-active: var(--color-primary-base); // @presenter Color
|
|
778
|
+
--fab-bg-color-active: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
|
|
777
779
|
--fab-box-shadow-active: var(--bg-raised-shadow); // @presenter Shadow
|
|
778
780
|
|
|
779
781
|
--fab-icon-color: var(--navbar-text-color); // @presenter Color
|
|
@@ -1236,6 +1238,13 @@ const replay = (0, styled_components_1.css) `
|
|
|
1236
1238
|
--replay-ai-user-message-gradient: linear-gradient(73.52deg, rgba(113, 94, 254, 0.08) 10.13%, rgba(255, 92, 220, 0.08) 87.29%);
|
|
1237
1239
|
|
|
1238
1240
|
--replay-ai-send-button-disabled-border: 1px solid #ffffff33;
|
|
1241
|
+
|
|
1242
|
+
--replay-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1243
|
+
--replay-transition-duration: 300ms;
|
|
1244
|
+
|
|
1245
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1246
|
+
--replay-transition-duration: 0s;
|
|
1247
|
+
}
|
|
1239
1248
|
// @tokens End
|
|
1240
1249
|
`;
|
|
1241
1250
|
exports.styles = (0, styled_components_1.css) `
|
|
@@ -1251,28 +1260,27 @@ exports.styles = (0, styled_components_1.css) `
|
|
|
1251
1260
|
${variables_19.button}
|
|
1252
1261
|
${variables_20.aiAssistantButton}
|
|
1253
1262
|
${variables_20.connectMCPButton}
|
|
1254
|
-
${
|
|
1263
|
+
${variables_39.cards}
|
|
1255
1264
|
${variables_8.catalog}
|
|
1256
1265
|
${variables_10.catalogClassic}
|
|
1257
1266
|
${variables_24.code}
|
|
1258
|
-
${
|
|
1267
|
+
${variables_40.codeWalkthrough}
|
|
1259
1268
|
${docsDropdown}
|
|
1260
1269
|
${variables_14.dropdown}
|
|
1261
1270
|
${error}
|
|
1262
1271
|
${variables_9.filter}
|
|
1263
1272
|
${variables_18.footer}
|
|
1264
1273
|
${headingsTypography}
|
|
1265
|
-
${
|
|
1274
|
+
${variables_35.httpTag}
|
|
1266
1275
|
${inputs}
|
|
1267
1276
|
${variables_1.languagePicker}
|
|
1268
|
-
${
|
|
1277
|
+
${variables_30.lastUpdated}
|
|
1269
1278
|
${links}
|
|
1270
1279
|
${loadProgressBar}
|
|
1271
|
-
${
|
|
1280
|
+
${variables_31.logo}
|
|
1272
1281
|
${variables_26.markdown}
|
|
1273
1282
|
${variables_28.markdownTabs}
|
|
1274
1283
|
${variables_29.mermaid}
|
|
1275
|
-
${variables_30.excalidraw}
|
|
1276
1284
|
${variables_23.menu}
|
|
1277
1285
|
${variables_23.mobileMenu}
|
|
1278
1286
|
${modal}
|
|
@@ -1286,28 +1294,30 @@ exports.styles = (0, styled_components_1.css) `
|
|
|
1286
1294
|
${sizeAndSpace}
|
|
1287
1295
|
${variables_6.tag}
|
|
1288
1296
|
${themeColors}
|
|
1297
|
+
${palette_1.activeBrandPaletteLight}
|
|
1289
1298
|
${tile}
|
|
1290
1299
|
${variables_7.toc}
|
|
1291
1300
|
${variables_15.tooltip}
|
|
1292
1301
|
${typography}
|
|
1293
|
-
${
|
|
1294
|
-
${
|
|
1302
|
+
${variables_34.userMenu}
|
|
1303
|
+
${variables_36.versionPicker}
|
|
1295
1304
|
${zIndexDepth}
|
|
1296
1305
|
${scorecardColors}
|
|
1297
|
-
${
|
|
1306
|
+
${variables_32.statusCode}
|
|
1298
1307
|
${tab}
|
|
1299
1308
|
${icon}
|
|
1300
1309
|
${tree}
|
|
1301
|
-
${
|
|
1302
|
-
${
|
|
1310
|
+
${variables_33.segmented}
|
|
1311
|
+
${variables_38.switcher}
|
|
1303
1312
|
${variables_16.checkbox}
|
|
1304
1313
|
${variables_3.feedback}
|
|
1305
1314
|
${variables_2.scorecard}
|
|
1306
|
-
${
|
|
1315
|
+
${variables_37.datePicker}
|
|
1307
1316
|
${replay}
|
|
1308
|
-
${
|
|
1309
|
-
${
|
|
1310
|
-
${
|
|
1317
|
+
${variables_41.skipContent}
|
|
1318
|
+
${variables_42.pageActions}
|
|
1319
|
+
${variables_43.svgViewer}
|
|
1320
|
+
${variables_44.toast}
|
|
1311
1321
|
|
|
1312
1322
|
background-color: var(--bg-color);
|
|
1313
1323
|
color: var(--text-color-primary);
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.activeBrandPaletteDark = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
function brandPaletteDark(palette) {
|
|
6
|
+
switch (palette) {
|
|
7
|
+
case 'slate':
|
|
8
|
+
return (0, styled_components_1.css) `
|
|
9
|
+
--color-brand-1: #2a2b33;
|
|
10
|
+
--color-brand-2: #3b3c45;
|
|
11
|
+
--color-brand-3: #555761;
|
|
12
|
+
--color-brand-4: #6e6f7a;
|
|
13
|
+
--color-brand-5: #9b9ca8;
|
|
14
|
+
--color-brand-6: #fbfbfc;
|
|
15
|
+
--color-brand-7: #ededf2;
|
|
16
|
+
--color-brand-8: #dcdde5;
|
|
17
|
+
--color-brand-9: #c4c6d1;
|
|
18
|
+
--color-brand-10: #9b9ca8;
|
|
19
|
+
--color-brand-11: #6e6f7a;
|
|
20
|
+
--color-brand-subtle-1: #2a2b3366;
|
|
21
|
+
--color-brand-subtle-2: #3b3c4566;
|
|
22
|
+
--color-brand-subtle-3: #55576166;
|
|
23
|
+
--color-brand-subtle-4: #6e6f7a66;
|
|
24
|
+
--text-color-on-color: #000000;
|
|
25
|
+
`;
|
|
26
|
+
case 'pink':
|
|
27
|
+
return (0, styled_components_1.css) `
|
|
28
|
+
--color-brand-1: #4f2841;
|
|
29
|
+
--color-brand-2: #6a3055;
|
|
30
|
+
--color-brand-3: #853668;
|
|
31
|
+
--color-brand-4: #a03a7b;
|
|
32
|
+
--color-brand-5: #bb3d8d;
|
|
33
|
+
--color-brand-6: #d6409f;
|
|
34
|
+
--color-brand-7: #de59ad;
|
|
35
|
+
--color-brand-8: #e677bd;
|
|
36
|
+
--color-brand-9: #ef99cf;
|
|
37
|
+
--color-brand-10: #f7bfe2;
|
|
38
|
+
--color-brand-11: #ffe8f7;
|
|
39
|
+
--color-brand-subtle-1: #4f284166;
|
|
40
|
+
--color-brand-subtle-2: #6a305566;
|
|
41
|
+
--color-brand-subtle-3: #85366866;
|
|
42
|
+
--color-brand-subtle-4: #a03a7b66;
|
|
43
|
+
--text-color-on-color: #ffffff;
|
|
44
|
+
`;
|
|
45
|
+
case 'coral':
|
|
46
|
+
return (0, styled_components_1.css) `
|
|
47
|
+
--color-brand-1: #4f282b;
|
|
48
|
+
--color-brand-2: #6d3338;
|
|
49
|
+
--color-brand-3: #8b3c42;
|
|
50
|
+
--color-brand-4: #a9434c;
|
|
51
|
+
--color-brand-5: #c74b55;
|
|
52
|
+
--color-brand-6: #e5535f;
|
|
53
|
+
--color-brand-7: #ea6a75;
|
|
54
|
+
--color-brand-8: #ef858d;
|
|
55
|
+
--color-brand-9: #f5a3aa;
|
|
56
|
+
--color-brand-10: #fac5c9;
|
|
57
|
+
--color-brand-11: #ffe8ea;
|
|
58
|
+
--color-brand-subtle-1: #4f282b66;
|
|
59
|
+
--color-brand-subtle-2: #6d333866;
|
|
60
|
+
--color-brand-subtle-3: #8b3c4266;
|
|
61
|
+
--color-brand-subtle-4: #a9434c66;
|
|
62
|
+
--text-color-on-color: #ffffff;
|
|
63
|
+
`;
|
|
64
|
+
case 'amber':
|
|
65
|
+
return (0, styled_components_1.css) `
|
|
66
|
+
--color-brand-1: #4f3c28;
|
|
67
|
+
--color-brand-2: #71512e;
|
|
68
|
+
--color-brand-3: #93632f;
|
|
69
|
+
--color-brand-4: #b6732a;
|
|
70
|
+
--color-brand-5: #d88121;
|
|
71
|
+
--color-brand-6: #fa8d15;
|
|
72
|
+
--color-brand-7: #fb9f3a;
|
|
73
|
+
--color-brand-8: #fcb261;
|
|
74
|
+
--color-brand-9: #fdc78c;
|
|
75
|
+
--color-brand-10: #feddba;
|
|
76
|
+
--color-brand-11: #fff4e8;
|
|
77
|
+
--color-brand-subtle-1: #4f3c2866;
|
|
78
|
+
--color-brand-subtle-2: #71512e66;
|
|
79
|
+
--color-brand-subtle-3: #93632f66;
|
|
80
|
+
--color-brand-subtle-4: #b6732a66;
|
|
81
|
+
--text-color-on-color: #ffffff;
|
|
82
|
+
`;
|
|
83
|
+
case 'jade':
|
|
84
|
+
return (0, styled_components_1.css) `
|
|
85
|
+
--color-brand-1: #284f45;
|
|
86
|
+
--color-brand-2: #2a6052;
|
|
87
|
+
--color-brand-3: #2b715e;
|
|
88
|
+
--color-brand-4: #2b816b;
|
|
89
|
+
--color-brand-5: #2a9277;
|
|
90
|
+
--color-brand-6: #29a383;
|
|
91
|
+
--color-brand-7: #42b597;
|
|
92
|
+
--color-brand-8: #61c8ad;
|
|
93
|
+
--color-brand-9: #88dac4;
|
|
94
|
+
--color-brand-10: #b5edde;
|
|
95
|
+
--color-brand-11: #e8fff9;
|
|
96
|
+
--color-brand-subtle-1: #284f4566;
|
|
97
|
+
--color-brand-subtle-2: #2a605266;
|
|
98
|
+
--color-brand-subtle-3: #2b715e66;
|
|
99
|
+
--color-brand-subtle-4: #2b816b66;
|
|
100
|
+
--text-color-on-color: #ffffff;
|
|
101
|
+
`;
|
|
102
|
+
case 'cyan':
|
|
103
|
+
return (0, styled_components_1.css) `
|
|
104
|
+
--color-brand-1: #28484f;
|
|
105
|
+
--color-brand-2: #285c67;
|
|
106
|
+
--color-brand-3: #246e7f;
|
|
107
|
+
--color-brand-4: #1b8097;
|
|
108
|
+
--color-brand-5: #0f91af;
|
|
109
|
+
--color-brand-6: #00a2c7;
|
|
110
|
+
--color-brand-7: #22b2d2;
|
|
111
|
+
--color-brand-8: #4ac2dd;
|
|
112
|
+
--color-brand-9: #79d4e9;
|
|
113
|
+
--color-brand-10: #aee7f4;
|
|
114
|
+
--color-brand-11: #e8fbff;
|
|
115
|
+
--color-brand-subtle-1: #28484f66;
|
|
116
|
+
--color-brand-subtle-2: #285c6766;
|
|
117
|
+
--color-brand-subtle-3: #246e7f66;
|
|
118
|
+
--color-brand-subtle-4: #1b809766;
|
|
119
|
+
--text-color-on-color: #ffffff;
|
|
120
|
+
`;
|
|
121
|
+
case 'ocean':
|
|
122
|
+
return (0, styled_components_1.css) `
|
|
123
|
+
--color-brand-1: #283e4f;
|
|
124
|
+
--color-brand-2: #2d5472;
|
|
125
|
+
--color-brand-3: #2a6795;
|
|
126
|
+
--color-brand-4: #2277b9;
|
|
127
|
+
--color-brand-5: #1384dc;
|
|
128
|
+
--color-brand-6: #0090ff;
|
|
129
|
+
--color-brand-7: #29a2ff;
|
|
130
|
+
--color-brand-8: #56b5ff;
|
|
131
|
+
--color-brand-9: #85caff;
|
|
132
|
+
--color-brand-10: #b6dfff;
|
|
133
|
+
--color-brand-11: #e8f5ff;
|
|
134
|
+
--color-brand-subtle-1: #283e4f66;
|
|
135
|
+
--color-brand-subtle-2: #2d547266;
|
|
136
|
+
--color-brand-subtle-3: #2a679566;
|
|
137
|
+
--color-brand-subtle-4: #2277b966;
|
|
138
|
+
--text-color-on-color: #ffffff;
|
|
139
|
+
`;
|
|
140
|
+
case 'indigo':
|
|
141
|
+
return (0, styled_components_1.css) `
|
|
142
|
+
--color-brand-1: #28314f;
|
|
143
|
+
--color-brand-2: #303e6b;
|
|
144
|
+
--color-brand-3: #364988;
|
|
145
|
+
--color-brand-4: #3952a4;
|
|
146
|
+
--color-brand-5: #3c5bc1;
|
|
147
|
+
--color-brand-6: #3e63dd;
|
|
148
|
+
--color-brand-7: #5879e4;
|
|
149
|
+
--color-brand-8: #7691eb;
|
|
150
|
+
--color-brand-9: #99aef1;
|
|
151
|
+
--color-brand-10: #bfcdf8;
|
|
152
|
+
--color-brand-11: #e8edff;
|
|
153
|
+
--color-brand-subtle-1: #28314f66;
|
|
154
|
+
--color-brand-subtle-2: #303e6b66;
|
|
155
|
+
--color-brand-subtle-3: #36498866;
|
|
156
|
+
--color-brand-subtle-4: #3952a466;
|
|
157
|
+
--text-color-on-color: #ffffff;
|
|
158
|
+
`;
|
|
159
|
+
case 'iris':
|
|
160
|
+
return (0, styled_components_1.css) `
|
|
161
|
+
--color-brand-1: #2e2e4f;
|
|
162
|
+
--color-brand-2: #3a3a6a;
|
|
163
|
+
--color-brand-3: #434385;
|
|
164
|
+
--color-brand-4: #4c4ca0;
|
|
165
|
+
--color-brand-5: #5353bb;
|
|
166
|
+
--color-brand-6: #5b5bd6;
|
|
167
|
+
--color-brand-7: #7070de;
|
|
168
|
+
--color-brand-8: #8a8ae6;
|
|
169
|
+
--color-brand-9: #a7a7ef;
|
|
170
|
+
--color-brand-10: #c8c8f7;
|
|
171
|
+
--color-brand-11: #ebebff;
|
|
172
|
+
--color-brand-subtle-1: #2e2e4f80;
|
|
173
|
+
--color-brand-subtle-2: #3a3a6a80;
|
|
174
|
+
--color-brand-subtle-3: #43438580;
|
|
175
|
+
--color-brand-subtle-4: #4c4ca080;
|
|
176
|
+
--text-color-on-color: #ffffff;
|
|
177
|
+
`;
|
|
178
|
+
default:
|
|
179
|
+
return (0, styled_components_1.css) `
|
|
180
|
+
--button-bg-color-primary-hover-legacy: var(--color-blue-5);
|
|
181
|
+
--button-bg-color-primary-pressed-legacy: var(--color-blue-4);
|
|
182
|
+
|
|
183
|
+
--toc-item-text-color-active-legacy: var(--text-color-primary);
|
|
184
|
+
--toc-item-border-color-active-legacy: var(--border-color-invers);
|
|
185
|
+
|
|
186
|
+
--checkbox-border-color-legacy: var(--border-color-primary);
|
|
187
|
+
|
|
188
|
+
--switch-bg-color-selected-legacy: var(--color-warm-grey-7);
|
|
189
|
+
--switch-border-color-selected-legacy: var(--color-warm-grey-7);
|
|
190
|
+
|
|
191
|
+
--md-tabs-active-tab-bg-color-legacy: var(--bg-color-active);
|
|
192
|
+
|
|
193
|
+
--admonition-default-bg-color-legacy: var(--color-warm-grey-3);
|
|
194
|
+
--admonition-default-border-color-legacy: var(--color-warm-grey-5);
|
|
195
|
+
`;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
exports.activeBrandPaletteDark = (0, styled_components_1.css) `
|
|
199
|
+
${({ palette }) => brandPaletteDark(palette)}
|
|
200
|
+
`;
|
|
201
|
+
//# sourceMappingURL=palette.dark.js.map
|