@leed-ai/cli 0.0.0 → 6.19.0
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/LICENSE.md +57 -0
- package/README.md +120 -3
- package/dist/LICENSE.md +57 -0
- package/dist/acorn-DAgDT1om.js +5087 -0
- package/dist/angular-l0_4PK8N.js +3598 -0
- package/dist/authShared-Dray38Ls.js +1161 -0
- package/dist/babel-CJeRQd5u.js +10038 -0
- package/dist/buildResults-tiq1nugP.js +21180 -0
- package/dist/chunk-1VJ9lAw7.js +42 -0
- package/dist/cliAuth-38JjD6hw.js +15 -0
- package/dist/env-B0bHiXJJ.js +29 -0
- package/dist/errors-CqKamGCu.js +481 -0
- package/dist/estree-E8WG8UHj.js +6930 -0
- package/dist/flow-6xaRIbPQ.js +52255 -0
- package/dist/glimmer-aJPjsfbT.js +7272 -0
- package/dist/graphql-mcgtPEiZ.js +1901 -0
- package/dist/html--eeea3Kl.js +6553 -0
- package/dist/leed.eleventy.mjs +6525 -0
- package/dist/leed.mjs +88952 -0
- package/dist/leed.sources.json +798 -0
- package/dist/leedLogger-Zkada5aO.js +78 -0
- package/dist/markdown-D73jNKwx.js +6836 -0
- package/dist/meriyah-CMp1nDDW.js +8932 -0
- package/dist/package.json +101 -0
- package/dist/postcss-h4fBr2Fn.js +6760 -0
- package/dist/prettier-CwFSKxfN.js +16821 -0
- package/dist/static/customer-site-worker/package.json +9 -0
- package/dist/static/customer-site-worker/src/assetsHydration.ts +55 -0
- package/dist/static/customer-site-worker/src/constants.ts +20 -0
- package/dist/static/customer-site-worker/src/cors.ts +120 -0
- package/dist/static/customer-site-worker/src/index.ts +242 -0
- package/dist/static/customer-site-worker/src/mcp-proxy.ts +98 -0
- package/dist/static/customer-site-worker/src/proxy.ts +92 -0
- package/dist/static/customer-site-worker/src/proxyHeaders.ts +47 -0
- package/dist/static/customer-site-worker/src/tier.ts +40 -0
- package/dist/static/customer-site-worker/src/types.ts +82 -0
- package/dist/static/customer-site-worker/test/functions-mock.worker.js +50 -0
- package/dist/static/customer-site-worker/tsconfig.json +19 -0
- package/dist/static/customer-site-worker/vitest.workers.config.ts +61 -0
- package/dist/static/install/husky/colors.mjs +5 -0
- package/dist/static/install/husky/hooks/commit-msg +1 -0
- package/dist/static/install/husky/hooks/pre-commit +1 -0
- package/dist/static/install/husky/hooks/pre-push +1 -0
- package/dist/static/install/husky/valid-command.mjs +29 -0
- package/dist/static/install/husky/valid-commit-msg.mjs +20 -0
- package/dist/static/install/package.json +10 -0
- package/dist/static/install/packages.txt +4 -0
- package/dist/static/install/tasks.json +111 -0
- package/dist/static/javascript/detectIncognito.js +195 -0
- package/dist/static/javascript/documentation.js +2781 -0
- package/dist/static/javascript/fp/fp.esm.js +2896 -0
- package/dist/static/javascript/fp/fp.js +3067 -0
- package/dist/static/javascript/live-search.js +986 -0
- package/dist/static/javascript/lunr-search.js +843 -0
- package/dist/static/javascript/timeme.js +451 -0
- package/dist/static/javascript/tracker/webmcp.js +67 -0
- package/dist/static/javascript/tracker/whisper.js +1 -0
- package/dist/static/javascript/utilities.js +819 -0
- package/dist/static/javascript/versions.json +74 -0
- package/dist/static/javascript/zoomable.js +488 -0
- package/dist/static/site/_data/eleventyComputed.js +228 -0
- package/dist/static/site/_data/leed-form-data.json +253 -0
- package/dist/static/site/_includes/leed/api/bits/array-type.hbs +24 -0
- package/dist/static/site/_includes/leed/api/bits/badges.hbs +9 -0
- package/dist/static/site/_includes/leed/api/bits/description.hbs +9 -0
- package/dist/static/site/_includes/leed/api/bits/examples.hbs +42 -0
- package/dist/static/site/_includes/leed/api/bits/scopes.hbs +28 -0
- package/dist/static/site/_includes/leed/api/object.hbs +110 -0
- package/dist/static/site/_includes/leed/api/parameters.hbs +11 -0
- package/dist/static/site/_includes/leed/api/property.hbs +153 -0
- package/dist/static/site/_includes/leed/api/request-body.hbs +51 -0
- package/dist/static/site/_includes/leed/api/responses.hbs +89 -0
- package/dist/static/site/_includes/leed/api/security-constraints.hbs +59 -0
- package/dist/static/site/_includes/leed/api/security.hbs +75 -0
- package/dist/static/site/_includes/leed/components/pagination.hbs +45 -0
- package/dist/static/site/_includes/leed/components/scroll-status-indicator-horizontal.hbs +22 -0
- package/dist/static/site/_includes/leed/docs/alpha/api.hbs +6 -0
- package/dist/static/site/_includes/leed/docs/alpha/base.hbs +26 -0
- package/dist/static/site/_includes/leed/docs/alpha/documentation.hbs +7 -0
- package/dist/static/site/_includes/leed/docs/api-article.hbs +75 -0
- package/dist/static/site/_includes/leed/docs/bravo/api.hbs +5 -0
- package/dist/static/site/_includes/leed/docs/bravo/base.hbs +31 -0
- package/dist/static/site/_includes/leed/docs/bravo/documentation.hbs +7 -0
- package/dist/static/site/_includes/leed/docs/charlie/api.hbs +6 -0
- package/dist/static/site/_includes/leed/docs/charlie/base.hbs +27 -0
- package/dist/static/site/_includes/leed/docs/charlie/documentation.hbs +10 -0
- package/dist/static/site/_includes/leed/docs/doc-article.hbs +40 -0
- package/dist/static/site/_includes/leed/docs/docs-footer.hbs +35 -0
- package/dist/static/site/_includes/leed/docs/docs-header.hbs +59 -0
- package/dist/static/site/_includes/leed/docs/document-search-modal.hbs +36 -0
- package/dist/static/site/_includes/leed/docs/document-search.hbs +23 -0
- package/dist/static/site/_includes/leed/docs/footer.hbs +12 -0
- package/dist/static/site/_includes/leed/docs/header/brand.hbs +19 -0
- package/dist/static/site/_includes/leed/docs/header/chrome.hbs +33 -0
- package/dist/static/site/_includes/leed/docs/header/compact.hbs +19 -0
- package/dist/static/site/_includes/leed/docs/header/cta.hbs +15 -0
- package/dist/static/site/_includes/leed/docs/header/nav.hbs +18 -0
- package/dist/static/site/_includes/leed/docs/header/top-search.hbs +15 -0
- package/dist/static/site/_includes/leed/docs/mini-bar.hbs +53 -0
- package/dist/static/site/_includes/leed/docs/pagination.hbs +19 -0
- package/dist/static/site/_includes/leed/docs/shell.hbs +56 -0
- package/dist/static/site/_includes/leed/docs/sidebar.hbs +52 -0
- package/dist/static/site/_includes/leed/docs/social-icons.hbs +81 -0
- package/dist/static/site/_includes/leed/docs/style.hbs +17 -0
- package/dist/static/site/_includes/leed/docs/toc.hbs +7 -0
- package/dist/static/site/_includes/leed/form.hbs +266 -0
- package/dist/static/site/_includes/leed/head.hbs +67 -0
- package/dist/static/site/_includes/leed/menu/builder.hbs +35 -0
- package/dist/static/site/_includes/leed/menu/item.hbs +67 -0
- package/dist/static/site/_includes/leed/menu/link.hbs +59 -0
- package/dist/static/site/_includes/leed/metadata/ogCard.hbs +40 -0
- package/dist/static/site/_includes/leed/metadata/siteMetadata.hbs +24 -0
- package/dist/static/site/_includes/leed/metadata/twitterCard.hbs +34 -0
- package/dist/static/site/_includes/leed/popup-video.hbs +21 -0
- package/dist/static/site/_includes/leed/stub-template.hbs +17 -0
- package/dist/static/site/_includes/leed/unsubscribe-form.hbs +30 -0
- package/dist/static/site/_layouts/leed-documentation.hbs +12 -0
- package/dist/static/site/leed-feed-atom.hbs +42 -0
- package/dist/static/site/leed-feed-json.hbs +56 -0
- package/dist/static/site/leed-feed-rss.hbs +39 -0
- package/dist/static/site/leed-headers.hbs +38 -0
- package/dist/static/site/leed-redirects.hbs +10 -0
- package/dist/static/site/leed-sitemap-pageType.hbs +28 -0
- package/dist/static/site/leed-sitemap.hbs +19 -0
- package/dist/static/site/leed-unsubscribe.hbs +44 -0
- package/dist/static/site/leed-unsubscribed.hbs +40 -0
- package/dist/static/tailwind/components/alerts.css +132 -0
- package/dist/static/tailwind/components/api-methods.css +39 -0
- package/dist/static/tailwind/components/breadcrumbs.css +31 -0
- package/dist/static/tailwind/components/code.css +88 -0
- package/dist/static/tailwind/components/collapsible.css +38 -0
- package/dist/static/tailwind/components/document-search.css +222 -0
- package/dist/static/tailwind/components/form.css +185 -0
- package/dist/static/tailwind/components/kbd.css +7 -0
- package/dist/static/tailwind/components/pagination.css +81 -0
- package/dist/static/tailwind/components/scroll-status-indicator.css +5 -0
- package/dist/static/tailwind/components/tab-groups.css +117 -0
- package/dist/static/tailwind/components/tables.css +0 -0
- package/dist/static/tailwind/components/toc.css +60 -0
- package/dist/static/tailwind/components.css +248 -0
- package/dist/static/tailwind/defaults.css +260 -0
- package/dist/static/tailwind/docs/api.css +701 -0
- package/dist/static/tailwind/docs/components/blockquote.css +5 -0
- package/dist/static/tailwind/docs/components/button.css +11 -0
- package/dist/static/tailwind/docs/components/docs-pagination.css +71 -0
- package/dist/static/tailwind/docs/components/mobile-bar.css +83 -0
- package/dist/static/tailwind/docs/components/navigation.css +279 -0
- package/dist/static/tailwind/docs/components/table.css +54 -0
- package/dist/static/tailwind/docs/components.css +6 -0
- package/dist/static/tailwind/docs/docs.css +427 -0
- package/dist/static/tailwind/docs/layouts/alpha.css +108 -0
- package/dist/static/tailwind/docs/layouts/bravo.css +218 -0
- package/dist/static/tailwind/docs/layouts/charlie.css +105 -0
- package/dist/static/tailwind/docs/layouts.css +3 -0
- package/dist/static/tailwind/docs/themes/amber.css +113 -0
- package/dist/static/tailwind/docs/themes/blue.css +94 -0
- package/dist/static/tailwind/docs/themes/cyan.css +111 -0
- package/dist/static/tailwind/docs/themes/emerald.css +111 -0
- package/dist/static/tailwind/docs/themes/fuchsia.css +111 -0
- package/dist/static/tailwind/docs/themes/green.css +95 -0
- package/dist/static/tailwind/docs/themes/indigo.css +111 -0
- package/dist/static/tailwind/docs/themes/lime.css +111 -0
- package/dist/static/tailwind/docs/themes/orange.css +111 -0
- package/dist/static/tailwind/docs/themes/pink.css +111 -0
- package/dist/static/tailwind/docs/themes/purple.css +111 -0
- package/dist/static/tailwind/docs/themes/red.css +111 -0
- package/dist/static/tailwind/docs/themes/rose.css +111 -0
- package/dist/static/tailwind/docs/themes/sky.css +111 -0
- package/dist/static/tailwind/docs/themes/teal.css +111 -0
- package/dist/static/tailwind/docs/themes/violet.css +111 -0
- package/dist/static/tailwind/docs/themes/yellow.css +111 -0
- package/dist/static/tailwind/docs/themes.css +84 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/brands.css +2455 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/fontawesome.css +8997 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/fonts.css +45 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/icons.json +2608 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1.css +3 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0/brands.css +2215 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0/fontawesome.css +19281 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0/fonts.css +445 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0.css +3 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1/brands.css +2455 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1/fontawesome.css +20365 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1/fonts.css +589 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1.css +3 -0
- package/dist/static/tailwind/fonts/all.css +6 -0
- package/dist/static/tailwind/fonts/config.jsonc +31 -0
- package/dist/static/tailwind/fonts/geist-mono.css +142 -0
- package/dist/static/tailwind/fonts/geist.css +142 -0
- package/dist/static/tailwind/fonts/inter.css +215 -0
- package/dist/static/tailwind/fonts/jetbrains-mono.css +126 -0
- package/dist/static/tailwind/fonts/noto-sans.css +134 -0
- package/dist/static/tailwind/fonts/open-sans.css +89 -0
- package/dist/static/tailwind/highlighters.css +14 -0
- package/dist/static/tailwind/hljs/README.md +53 -0
- package/dist/static/tailwind/hljs/a11y.css +96 -0
- package/dist/static/tailwind/hljs/atom-fruit.css +90 -0
- package/dist/static/tailwind/hljs/atom-one.css +164 -0
- package/dist/static/tailwind/hljs/default.css +164 -0
- package/dist/static/tailwind/hljs/github.css +101 -0
- package/dist/static/tailwind/hljs/google-code.css +112 -0
- package/dist/static/tailwind/hljs/grayscale.css +115 -0
- package/dist/static/tailwind/hljs/gruvbox-hard.css +115 -0
- package/dist/static/tailwind/hljs/gruvbox-medium.css +115 -0
- package/dist/static/tailwind/hljs/gruvbox-soft.css +115 -0
- package/dist/static/tailwind/hljs/papercolor.css +120 -0
- package/dist/static/tailwind/hljs/qt-creator.css +91 -0
- package/dist/static/tailwind/hljs/summerfruit.css +115 -0
- package/dist/static/tailwind/hljs/tomorrow.css +115 -0
- package/dist/static/tailwind/leed.css +170 -0
- package/dist/static/tailwind/site-tokens.reference.css +105 -0
- package/dist/static/tailwind/utils/icons.css +102 -0
- package/dist/static/tailwind/utils/utilities.css +105 -0
- package/dist/static/templates/pages/PAGE.hbs +27 -0
- package/dist/static/templates/pages/PAGE_LAYOUT.hbs +19 -0
- package/dist/static/templates/pages/PAGE_TYPE_INDEX.hbs +89 -0
- package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_ITEM.hbs +52 -0
- package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_LIST.hbs +39 -0
- package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_PAGINATION.hbs +11 -0
- package/dist/static/templates/raw-content/.ci/build.sh +58 -0
- package/dist/static/templates/raw-content/README.md +179 -0
- package/dist/static/templates/raw-content/_gitignore +50 -0
- package/dist/static/templates/raw-content/src/404.hbs +21 -0
- package/dist/static/templates/raw-content/src/_data/autolink.json +1 -0
- package/dist/static/templates/raw-content/src/_data/ctaList.json +1 -0
- package/dist/static/templates/raw-content/src/_data/leedForms.json +1 -0
- package/dist/static/templates/raw-content/src/_data/menu.json +1 -0
- package/dist/static/templates/raw-content/src/_includes/footer.hbs +18 -0
- package/dist/static/templates/raw-content/src/_includes/header-includes.hbs +25 -0
- package/dist/static/templates/raw-content/src/_includes/header.hbs +5 -0
- package/dist/static/templates/raw-content/src/_includes/site-template.hbs +23 -0
- package/dist/static/templates/raw-content/src/_includes/unsubscribe-DISABLED.hbs +17 -0
- package/dist/static/templates/raw-content/src/_includes/unsubscribed-DISABLED.hbs +13 -0
- package/dist/static/templates/raw-content/src/_layouts/empty.hbs +2 -0
- package/dist/static/templates/raw-content/src/index.hbs +21 -0
- package/dist/static/templates/raw-content/src/robots.hbs +9 -0
- package/dist/static/templates/raw-content/tailwind/site/base.css +44 -0
- package/dist/static/templates/raw-content/tailwind/site.config.css +3 -0
- package/dist/static/templates/sandbox/_gitignore +50 -0
- package/dist/static/templates/sandbox/identity.json +1 -0
- package/dist/static/templates/sandbox/src/404.hbs +21 -0
- package/dist/static/templates/sandbox/src/_data/autolink.json +1 -0
- package/dist/static/templates/sandbox/src/_data/ctaList.json +1 -0
- package/dist/static/templates/sandbox/src/_data/labelList.json +9 -0
- package/dist/static/templates/sandbox/src/_data/leedForms.json +20 -0
- package/dist/static/templates/sandbox/src/_data/menu.json +19 -0
- package/dist/static/templates/sandbox/src/_data/pageTypeList.json +14 -0
- package/dist/static/templates/sandbox/src/_data/searchIndexList.json +1 -0
- package/dist/static/templates/sandbox/src/_data/userList.json +11 -0
- package/dist/static/templates/sandbox/src/_includes/footer.hbs +18 -0
- package/dist/static/templates/sandbox/src/_includes/header-includes.hbs +25 -0
- package/dist/static/templates/sandbox/src/_includes/header.hbs +5 -0
- package/dist/static/templates/sandbox/src/_includes/site-template.hbs +23 -0
- package/dist/static/templates/sandbox/src/_layouts/empty.hbs +2 -0
- package/dist/static/templates/sandbox/src/index.hbs +20 -0
- package/dist/static/templates/sandbox/src/robots.hbs +9 -0
- package/dist/static/templates/sandbox/src/src.11tydata.json +39 -0
- package/dist/static/templates/sandbox/tailwind/site/base.css +44 -0
- package/dist/static/templates/sandbox/tailwind/site.config.css +3 -0
- package/dist/thrown-sukVkp_1.js +113 -0
- package/dist/typescript-D4T0V_Hn.js +23004 -0
- package/dist/yaml-9wR8GxF_.js +5236 -0
- package/package.json +152 -10
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@utility color-theme-violet {
|
|
2
|
+
/* primary colors */
|
|
3
|
+
--docs-primary-color: var(--color-violet-700);
|
|
4
|
+
--docs-primary-light: var(--color-violet-600);
|
|
5
|
+
--docs-primary-color-hover: var(--color-violet-800);
|
|
6
|
+
|
|
7
|
+
/* scroll status indicator colors */
|
|
8
|
+
--scroll-status-indicator-horizontal-start-bg: var(--docs-bg-color);
|
|
9
|
+
--scroll-status-indicator-horizontal-complete-bg: var(--docs-primary-color);
|
|
10
|
+
--scroll-status-indicator-horizontal-partial-bg: var(--color-zinc-500);
|
|
11
|
+
|
|
12
|
+
/* text colors */
|
|
13
|
+
--docs-text-color: var(--color-gray-700);
|
|
14
|
+
--docs-body-link-color: var(--docs-primary-color);
|
|
15
|
+
--docs-body-link-hover-color: var(--docs-primary-color-hover);
|
|
16
|
+
|
|
17
|
+
--docs-copied-content-text-color: var(--color-slate-100);
|
|
18
|
+
--menu-footer-header-text-color: var(--docs-text-color);
|
|
19
|
+
|
|
20
|
+
/* footer social icons colors */
|
|
21
|
+
--docs-footer-social-icons-color: var(--docs-text-color);
|
|
22
|
+
--docs-footer-social-icons-hover-color: var(--color-slate-500);
|
|
23
|
+
|
|
24
|
+
/* pagination icons colors */
|
|
25
|
+
--docs-pagination-icon-color: var(--color-gray-400);
|
|
26
|
+
--docs-pagination-icon-color-hover: var(--color-gray-900);
|
|
27
|
+
|
|
28
|
+
/* background and border colors */
|
|
29
|
+
--docs-bg-color: var(--color-white);
|
|
30
|
+
--docs-header-bg-color: var(--color-stone-100);
|
|
31
|
+
--docs-header-border-color: var(--color-slate-500);
|
|
32
|
+
--docs-sidebar-link-bg-color: var(--color-slate-100);
|
|
33
|
+
/* The row for the page you are on, in the sidebar and the mobile bar
|
|
34
|
+
(docs/components/navigation.css, docs/components/mobile-bar.css). Its text is
|
|
35
|
+
--docs-primary-color, and this is its ground; without it the chain in
|
|
36
|
+
components.css fell through to --default-current-location-bg-color, a slate
|
|
37
|
+
unrelated to any accent, so every built-in theme drew themed text on an
|
|
38
|
+
unthemed row. The accent's lightest tint keeps the pair inside one hue.
|
|
39
|
+
Light and dark are one rung apart from the ends of the ramp because the text
|
|
40
|
+
token is NOT lightened for dark mode — see the dark block below. */
|
|
41
|
+
--docs-current-location-bg-color: var(--color-violet-50);
|
|
42
|
+
--docs-code-bg-color: var(--color-stone-100);
|
|
43
|
+
--docs-code-inner-bg-color: var(--color-white);
|
|
44
|
+
--docs-code-border-color: var(--color-stone-950);
|
|
45
|
+
--docs-code-bg-color-selection: var(--color-violet-100);
|
|
46
|
+
--docs-form-border-color: var(--color-slate-300);
|
|
47
|
+
--docs-form-border-color-hover: var(--color-slate-400);
|
|
48
|
+
--form-border-color: var(--color-slate-200);
|
|
49
|
+
--form-download-spinner-text: var(--color-violet-700);
|
|
50
|
+
--docs-card-bg-color: var(--color-slate-100);
|
|
51
|
+
--docs-step-light-color: var(--color-slate-200);
|
|
52
|
+
--docs-fixed-body-bg-color: var(--color-slate-950);
|
|
53
|
+
--api-snippets-bg-color: var(--color-stone-100);
|
|
54
|
+
--docs-search-result-bg-color: var(--color-white);
|
|
55
|
+
--docs-search-button-bg-color: var(--color-white);
|
|
56
|
+
--docs-search-modal-bg-color: var(--color-white);
|
|
57
|
+
|
|
58
|
+
--docs-border-color: var(--docs-header-border-color);
|
|
59
|
+
--api-select-list-item-bg-color-hover: var(--color-neutral-100);
|
|
60
|
+
--docs-button-secondary-bg-color: var(--color-gray-600);
|
|
61
|
+
--docs-button-secondary-bg-hover-color: var(--color-gray-700);
|
|
62
|
+
|
|
63
|
+
@media (prefers-color-scheme: dark) {
|
|
64
|
+
/* scroll status indicator colors */
|
|
65
|
+
--scroll-status-indicator-horizontal-partial-bg: var(--color-zinc-500);
|
|
66
|
+
--scroll-status-indicator-horizontal-complete-bg: var(--color-violet-800);
|
|
67
|
+
|
|
68
|
+
/* text colors */
|
|
69
|
+
--docs-text-color: var(--color-gray-400);
|
|
70
|
+
--docs-copied-content-text-color: var(--color-slate-300);
|
|
71
|
+
|
|
72
|
+
/* background and border colors */
|
|
73
|
+
--docs-bg-color: var(--color-slate-950);
|
|
74
|
+
|
|
75
|
+
--docs-form-border-color: var(--color-slate-800);
|
|
76
|
+
--docs-form-border-color-hover: var(--color-slate-700);
|
|
77
|
+
--form-border-color: var(--color-slate-600);
|
|
78
|
+
--form-download-spinner-text: var(--color-violet-400);
|
|
79
|
+
--docs-header-border-color: var(--color-white);
|
|
80
|
+
--docs-sidebar-link-bg-color: var(--color-slate-900);
|
|
81
|
+
/* Darkest rung of the same ramp, NOT a lightened accent: no theme overrides
|
|
82
|
+
--docs-primary-color for dark mode, so the row's text keeps its light-mode
|
|
83
|
+
rung here and the ground has to move to the far end to answer it. For the
|
|
84
|
+
themes whose accent already sits at 700-800 that is still a low-contrast
|
|
85
|
+
pair — the fix for those is a dark-mode --docs-primary-color, not a lighter
|
|
86
|
+
ground, which would make the row a bright slab on a near-black sidebar. */
|
|
87
|
+
--docs-current-location-bg-color: var(--color-violet-950);
|
|
88
|
+
--docs-sidebar-link-hover-bg-color: var(--color-slate-100);
|
|
89
|
+
|
|
90
|
+
--docs-footer-social-icons-hover-color: var(--color-slate-400);
|
|
91
|
+
--docs-pagination-icon-color: var(--color-slate-400);
|
|
92
|
+
--docs-pagination-icon-color-hover: var(--color-slate-200);
|
|
93
|
+
|
|
94
|
+
--docs-code-bg-color: var(--color-slate-900);
|
|
95
|
+
--docs-code-inner-bg-color: var(--color-slate-950);
|
|
96
|
+
|
|
97
|
+
--docs-code-border-color: var(--color-white);
|
|
98
|
+
--docs-code-bg-color-selection: var(--color-violet-800);
|
|
99
|
+
--docs-card-bg-color: var(--color-slate-900);
|
|
100
|
+
--docs-step-light-color: var(--color-slate-800);
|
|
101
|
+
|
|
102
|
+
--docs-header-bg-color: var(--color-slate-900);
|
|
103
|
+
|
|
104
|
+
--docs-search-button-bg-color: var(--color-slate-950);
|
|
105
|
+
--docs-search-modal-bg-color: var(--color-slate-950);
|
|
106
|
+
|
|
107
|
+
--api-select-list-item-bg-color-hover: var(--color-white);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@apply docs-theme-defaults;
|
|
111
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@utility color-theme-yellow {
|
|
2
|
+
/* primary colors */
|
|
3
|
+
--docs-primary-color: var(--color-yellow-600);
|
|
4
|
+
--docs-primary-light: var(--color-yellow-500);
|
|
5
|
+
--docs-primary-color-hover: var(--color-yellow-700);
|
|
6
|
+
|
|
7
|
+
/* scroll status indicator colors */
|
|
8
|
+
--scroll-status-indicator-horizontal-start-bg: var(--docs-bg-color);
|
|
9
|
+
--scroll-status-indicator-horizontal-complete-bg: var(--docs-primary-color);
|
|
10
|
+
--scroll-status-indicator-horizontal-partial-bg: var(--color-zinc-500);
|
|
11
|
+
|
|
12
|
+
/* text colors */
|
|
13
|
+
--docs-text-color: var(--color-gray-700);
|
|
14
|
+
--docs-body-link-color: var(--docs-primary-color);
|
|
15
|
+
--docs-body-link-hover-color: var(--docs-primary-color-hover);
|
|
16
|
+
|
|
17
|
+
--docs-copied-content-text-color: var(--color-stone-100);
|
|
18
|
+
--menu-footer-header-text-color: var(--docs-text-color);
|
|
19
|
+
|
|
20
|
+
/* footer social icons colors */
|
|
21
|
+
--docs-footer-social-icons-color: var(--docs-text-color);
|
|
22
|
+
--docs-footer-social-icons-hover-color: var(--color-gray-500);
|
|
23
|
+
|
|
24
|
+
/* pagination icons colors */
|
|
25
|
+
--docs-pagination-icon-color: var(--color-gray-400);
|
|
26
|
+
--docs-pagination-icon-color-hover: var(--color-gray-900);
|
|
27
|
+
|
|
28
|
+
/* background and border colors */
|
|
29
|
+
--docs-bg-color: var(--color-white);
|
|
30
|
+
--docs-header-bg-color: var(--color-stone-100);
|
|
31
|
+
--docs-header-border-color: var(--color-gray-500);
|
|
32
|
+
--docs-sidebar-link-bg-color: var(--color-gray-100);
|
|
33
|
+
/* The row for the page you are on, in the sidebar and the mobile bar
|
|
34
|
+
(docs/components/navigation.css, docs/components/mobile-bar.css). Its text is
|
|
35
|
+
--docs-primary-color, and this is its ground; without it the chain in
|
|
36
|
+
components.css fell through to --default-current-location-bg-color, a slate
|
|
37
|
+
unrelated to any accent, so every built-in theme drew themed text on an
|
|
38
|
+
unthemed row. The accent's lightest tint keeps the pair inside one hue.
|
|
39
|
+
Light and dark are one rung apart from the ends of the ramp because the text
|
|
40
|
+
token is NOT lightened for dark mode — see the dark block below. */
|
|
41
|
+
--docs-current-location-bg-color: var(--color-yellow-50);
|
|
42
|
+
--docs-code-bg-color: var(--color-stone-100);
|
|
43
|
+
--docs-code-inner-bg-color: var(--color-white);
|
|
44
|
+
--docs-code-border-color: var(--color-stone-950);
|
|
45
|
+
--docs-code-bg-color-selection: var(--color-yellow-100);
|
|
46
|
+
--docs-form-border-color: var(--color-gray-300);
|
|
47
|
+
--docs-form-border-color-hover: var(--color-gray-400);
|
|
48
|
+
--form-border-color: var(--color-gray-200);
|
|
49
|
+
--form-download-spinner-text: var(--color-yellow-600);
|
|
50
|
+
--docs-card-bg-color: var(--color-gray-100);
|
|
51
|
+
--docs-step-light-color: var(--color-gray-200);
|
|
52
|
+
--docs-fixed-body-bg-color: var(--color-slate-950);
|
|
53
|
+
--api-snippets-bg-color: var(--color-stone-100);
|
|
54
|
+
--docs-search-result-bg-color: var(--color-white);
|
|
55
|
+
--docs-search-button-bg-color: var(--color-white);
|
|
56
|
+
--docs-search-modal-bg-color: var(--color-white);
|
|
57
|
+
|
|
58
|
+
--docs-border-color: var(--docs-header-border-color);
|
|
59
|
+
--api-select-list-item-bg-color-hover: var(--color-neutral-100);
|
|
60
|
+
--docs-button-secondary-bg-color: var(--color-gray-600);
|
|
61
|
+
--docs-button-secondary-bg-hover-color: var(--color-gray-700);
|
|
62
|
+
|
|
63
|
+
@media (prefers-color-scheme: dark) {
|
|
64
|
+
/* scroll status indicator colors */
|
|
65
|
+
--scroll-status-indicator-horizontal-partial-bg: var(--color-zinc-500);
|
|
66
|
+
--scroll-status-indicator-horizontal-complete-bg: var(--color-yellow-800);
|
|
67
|
+
|
|
68
|
+
/* text colors */
|
|
69
|
+
--docs-text-color: var(--color-stone-400);
|
|
70
|
+
--docs-copied-content-text-color: var(--color-gray-300);
|
|
71
|
+
|
|
72
|
+
/* background and border colors */
|
|
73
|
+
--docs-bg-color: var(--color-stone-950);
|
|
74
|
+
|
|
75
|
+
--docs-form-border-color: var(--color-gray-800);
|
|
76
|
+
--docs-form-border-color-hover: var(--color-gray-700);
|
|
77
|
+
--form-border-color: var(--color-stone-600);
|
|
78
|
+
--form-download-spinner-text: var(--color-yellow-400);
|
|
79
|
+
--docs-header-border-color: var(--color-white);
|
|
80
|
+
--docs-sidebar-link-bg-color: var(--color-gray-900);
|
|
81
|
+
/* Darkest rung of the same ramp, NOT a lightened accent: no theme overrides
|
|
82
|
+
--docs-primary-color for dark mode, so the row's text keeps its light-mode
|
|
83
|
+
rung here and the ground has to move to the far end to answer it. For the
|
|
84
|
+
themes whose accent already sits at 700-800 that is still a low-contrast
|
|
85
|
+
pair — the fix for those is a dark-mode --docs-primary-color, not a lighter
|
|
86
|
+
ground, which would make the row a bright slab on a near-black sidebar. */
|
|
87
|
+
--docs-current-location-bg-color: var(--color-yellow-950);
|
|
88
|
+
--docs-sidebar-link-hover-bg-color: var(--color-gray-100);
|
|
89
|
+
|
|
90
|
+
--docs-footer-social-icons-hover-color: var(--color-gray-400);
|
|
91
|
+
--docs-pagination-icon-color: var(--color-gray-400);
|
|
92
|
+
--docs-pagination-icon-color-hover: var(--color-gray-200);
|
|
93
|
+
|
|
94
|
+
--docs-code-bg-color: var(--color-stone-900);
|
|
95
|
+
--docs-code-inner-bg-color: var(--color-neutral-950);
|
|
96
|
+
|
|
97
|
+
--docs-code-border-color: var(--color-white);
|
|
98
|
+
--docs-code-bg-color-selection: var(--color-yellow-800);
|
|
99
|
+
--docs-card-bg-color: var(--color-stone-900);
|
|
100
|
+
--docs-step-light-color: var(--color-stone-800);
|
|
101
|
+
|
|
102
|
+
--docs-header-bg-color: var(--color-stone-900);
|
|
103
|
+
|
|
104
|
+
--docs-search-button-bg-color: var(--color-stone-950);
|
|
105
|
+
--docs-search-modal-bg-color: var(--color-stone-950);
|
|
106
|
+
|
|
107
|
+
--api-select-list-item-bg-color-hover: var(--color-white);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@apply docs-theme-defaults;
|
|
111
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@import "./themes/amber.css";
|
|
2
|
+
@import "./themes/blue.css";
|
|
3
|
+
@import "./themes/cyan.css";
|
|
4
|
+
@import "./themes/emerald.css";
|
|
5
|
+
@import "./themes/fuchsia.css";
|
|
6
|
+
@import "./themes/green.css";
|
|
7
|
+
@import "./themes/indigo.css";
|
|
8
|
+
@import "./themes/lime.css";
|
|
9
|
+
@import "./themes/orange.css";
|
|
10
|
+
@import "./themes/pink.css";
|
|
11
|
+
@import "./themes/purple.css";
|
|
12
|
+
@import "./themes/red.css";
|
|
13
|
+
@import "./themes/rose.css";
|
|
14
|
+
@import "./themes/sky.css";
|
|
15
|
+
@import "./themes/teal.css";
|
|
16
|
+
@import "./themes/violet.css";
|
|
17
|
+
@import "./themes/yellow.css";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Was the head of docs.css. It lives here because @utility cannot be nested in
|
|
21
|
+
* a cascade layer, and docs.css is now imported into layer(components) so a
|
|
22
|
+
* site can override the documentation layout without !important. Utilities are
|
|
23
|
+
* tree-shaken — only a theme a site actually applies is emitted — which is why
|
|
24
|
+
* these stay utilities rather than becoming plain classes.
|
|
25
|
+
*/
|
|
26
|
+
@utility docs-theme-defaults {
|
|
27
|
+
@apply text-(--component-text-color) bg-(--component-bg-color);
|
|
28
|
+
|
|
29
|
+
/* Scoped to the article, NOT the document.
|
|
30
|
+
*
|
|
31
|
+
* This utility is applied to <html>, so an unscoped `& a` selects every
|
|
32
|
+
* anchor on the page — the site's header nav, its footer columns, the docs
|
|
33
|
+
* sidebar, the breadcrumbs, the pager and the TOC — and paints them all the
|
|
34
|
+
* body-link color. On a real site that is 320 anchors when about a dozen
|
|
35
|
+
* are body links.
|
|
36
|
+
*
|
|
37
|
+
* It also lands in the `utilities` layer (an @utility cannot be nested in a
|
|
38
|
+
* cascade layer), and a layer never loses to an earlier layer whatever the
|
|
39
|
+
* specificity — so a site importing its own chrome CSS into
|
|
40
|
+
* layer(components) cannot take those anchors back at any specificity. The
|
|
41
|
+
* only escapes were an unlayered stylesheet or `!important`, and every site
|
|
42
|
+
* reusing its own header in the docs had to find one. Both Pithy and leed.ai
|
|
43
|
+
* shipped a file to undo this; leed.ai's "Start free" button rendered pink
|
|
44
|
+
* text on a pink ground until it did.
|
|
45
|
+
*
|
|
46
|
+
* `#leed-docs-copy` is the section doc-article.hbs and api-article.hbs both
|
|
47
|
+
* wrap the page in. It holds the h1 and the prose and nothing else: the
|
|
48
|
+
* breadcrumbs, pager, TOC, sidebar, header and footer are all outside it,
|
|
49
|
+
* verified in a rendered page. It is also stable where the inner content id
|
|
50
|
+
* is not — bravo overrides that to `content` because its own layout wrapper
|
|
51
|
+
* already uses `docs-content`. */
|
|
52
|
+
& #leed-docs-copy a {
|
|
53
|
+
@apply text-(--component-body-link-color) hover:text-(--component-body-link-hover-color) active:text-(--component-body-link-active-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& h1 {
|
|
57
|
+
@apply text-(--component-header-1-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
& h2 {
|
|
61
|
+
@apply text-(--component-header-2-color);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& h3 {
|
|
65
|
+
@apply text-(--component-header-3-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& h4 {
|
|
69
|
+
@apply text-(--component-header-4-color);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
& h5 {
|
|
73
|
+
@apply text-(--component-header-5-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
& h6 {
|
|
77
|
+
@apply text-(--component-header-6-color);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.nav-logo,
|
|
81
|
+
.logo-footer {
|
|
82
|
+
@apply bg-center bg-no-repeat bg-contain bg-(image:--nav-logo-url);
|
|
83
|
+
}
|
|
84
|
+
}
|