@leed-ai/cli 0.0.0-stage → 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 +125 -2
- 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 +157 -4
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@utility code-theme-grubvox-soft {
|
|
2
|
+
/**
|
|
3
|
+
* Gruvbox Soft Theme
|
|
4
|
+
* regular mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/gruvbox-light-soft.min.css
|
|
5
|
+
* dark mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/gruvbox-dark-soft.min.css
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
code.hljs {
|
|
9
|
+
@apply px-[5px] py-[3px];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
pre code.hljs {
|
|
13
|
+
@apply block overflow-x-auto p-4 whitespace-pre font-mono;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hljs {
|
|
17
|
+
@apply text-[#504945] dark:text-[#d5c4a1];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hljs ::selection,
|
|
21
|
+
.hljs::selection {
|
|
22
|
+
@apply bg-[#d5c4a1] text-[#504945] dark:bg-[#504945] dark:text-[#d5c4a1];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hljs-comment {
|
|
26
|
+
@apply text-[#bdae93] dark:text-[#665c54];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hljs-tag {
|
|
30
|
+
@apply text-[#665c54] dark:text-[#bdae93];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hljs-operator,
|
|
34
|
+
.hljs-punctuation,
|
|
35
|
+
.hljs-subst {
|
|
36
|
+
@apply text-[#504945] dark:text-[#d5c4a1];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hljs-operator {
|
|
40
|
+
@apply opacity-70;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hljs-bullet,
|
|
44
|
+
.hljs-deletion,
|
|
45
|
+
.hljs-name,
|
|
46
|
+
.hljs-selector-tag,
|
|
47
|
+
.hljs-template-variable,
|
|
48
|
+
.hljs-variable {
|
|
49
|
+
@apply text-[#9d0006] dark:text-[#fb4934];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.hljs-attr,
|
|
53
|
+
.hljs-link,
|
|
54
|
+
.hljs-literal,
|
|
55
|
+
.hljs-number,
|
|
56
|
+
.hljs-symbol,
|
|
57
|
+
.hljs-variable.constant_ {
|
|
58
|
+
@apply text-[#af3a03] dark:text-[#fe8019];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hljs-class .hljs-title,
|
|
62
|
+
.hljs-title,
|
|
63
|
+
.hljs-title.class_ {
|
|
64
|
+
@apply text-[#b57614] dark:text-[#fabd2f];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hljs-strong {
|
|
68
|
+
@apply font-bold text-[#b57614] dark:text-[#fabd2f];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hljs-addition,
|
|
72
|
+
.hljs-code,
|
|
73
|
+
.hljs-string,
|
|
74
|
+
.hljs-title.class_.inherited__ {
|
|
75
|
+
@apply text-[#79740e] dark:text-[#b8bb26];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.hljs-built_in,
|
|
79
|
+
.hljs-doctag,
|
|
80
|
+
.hljs-keyword.hljs-atrule,
|
|
81
|
+
.hljs-quote,
|
|
82
|
+
.hljs-regexp {
|
|
83
|
+
@apply text-[#427b58] dark:text-[#8ec07c];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hljs-attribute,
|
|
87
|
+
.hljs-function .hljs-title,
|
|
88
|
+
.hljs-section,
|
|
89
|
+
.hljs-title.function_,
|
|
90
|
+
.ruby .hljs-property {
|
|
91
|
+
@apply text-[#076678] dark:text-[#83a598];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.diff .hljs-meta,
|
|
95
|
+
.hljs-keyword,
|
|
96
|
+
.hljs-template-tag,
|
|
97
|
+
.hljs-type {
|
|
98
|
+
@apply text-[#8f3f71] dark:text-[#d3869b];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.hljs-emphasis {
|
|
102
|
+
@apply text-[#8f3f71] italic dark:text-[#d3869b];
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.hljs-meta,
|
|
106
|
+
.hljs-meta .hljs-keyword,
|
|
107
|
+
.hljs-meta .hljs-string {
|
|
108
|
+
@apply text-[#d65d0e];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.hljs-meta .hljs-keyword,
|
|
112
|
+
.hljs-meta-keyword {
|
|
113
|
+
@apply font-bold;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
@utility code-theme-papercolor {
|
|
2
|
+
/**
|
|
3
|
+
* PaperColor Theme
|
|
4
|
+
* regular mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/papercolor-light.min.css
|
|
5
|
+
* dark mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/papercolor-dark.min.css
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
code.hljs {
|
|
9
|
+
@apply px-1 py-0.5;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
pre code.hljs {
|
|
13
|
+
@apply block overflow-x-auto p-4 whitespace-pre font-mono;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hljs {
|
|
17
|
+
@apply text-[#444] dark:text-[gray];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hljs ::selection,
|
|
21
|
+
.hljs::selection {
|
|
22
|
+
@apply bg-[#008700] text-[#444] dark:bg-[#5faf00] dark:text-[gray];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hljs-comment {
|
|
26
|
+
@apply text-[#5f8700] dark:text-[#d7af5f];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hljs-tag {
|
|
30
|
+
@apply text-[#0087af] dark:text-[#5fafd7];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hljs-operator,
|
|
34
|
+
.hljs-punctuation,
|
|
35
|
+
.hljs-subst {
|
|
36
|
+
@apply text-[#444] dark:text-[gray];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hljs-operator {
|
|
40
|
+
@apply opacity-70;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hljs-bullet,
|
|
44
|
+
.hljs-deletion,
|
|
45
|
+
.hljs-name,
|
|
46
|
+
.hljs-selector-tag,
|
|
47
|
+
.hljs-template-variable,
|
|
48
|
+
.hljs-variable {
|
|
49
|
+
@apply text-[#bcbcbc] dark:text-[#585858];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.hljs-attr,
|
|
53
|
+
.hljs-link,
|
|
54
|
+
.hljs-literal,
|
|
55
|
+
.hljs-number,
|
|
56
|
+
.hljs-symbol,
|
|
57
|
+
.hljs-variable.constant_ {
|
|
58
|
+
@apply text-[#d70000] dark:text-[#5faf5f];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hljs-class .hljs-title,
|
|
62
|
+
.hljs-title,
|
|
63
|
+
.hljs-title.class_ {
|
|
64
|
+
@apply text-[#d70087] dark:text-[#afd700];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hljs-strong {
|
|
68
|
+
@apply font-bold text-[#d70087] dark:text-[#afd700];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hljs-addition,
|
|
72
|
+
.hljs-code,
|
|
73
|
+
.hljs-string,
|
|
74
|
+
.hljs-title.class_.inherited__ {
|
|
75
|
+
@apply text-[#8700af] dark:text-[#af87d7];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.hljs-attribute,
|
|
79
|
+
.hljs-built_in,
|
|
80
|
+
.hljs-doctag,
|
|
81
|
+
.hljs-function .hljs-title,
|
|
82
|
+
.hljs-keyword.hljs-atrule,
|
|
83
|
+
.hljs-quote,
|
|
84
|
+
.hljs-regexp,
|
|
85
|
+
.hljs-section,
|
|
86
|
+
.hljs-title.function_,
|
|
87
|
+
.ruby .hljs-property {
|
|
88
|
+
@apply text-[#d75f00] dark:text-[#ff5faf];
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.hljs-built_in,
|
|
92
|
+
.hljs-doctag,
|
|
93
|
+
.hljs-keyword.hljs-atrule,
|
|
94
|
+
.hljs-quote,
|
|
95
|
+
.hljs-regexp {
|
|
96
|
+
@apply dark:text-[#ffaf00];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.diff .hljs-meta,
|
|
100
|
+
.hljs-keyword,
|
|
101
|
+
.hljs-template-tag,
|
|
102
|
+
.hljs-type {
|
|
103
|
+
@apply text-[#005faf] dark:text-[#00afaf];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.hljs-emphasis {
|
|
107
|
+
@apply text-[#005faf] italic dark:text-[#00afaf];
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.hljs-meta,
|
|
111
|
+
.hljs-meta .hljs-keyword,
|
|
112
|
+
.hljs-meta .hljs-string {
|
|
113
|
+
@apply text-[#005f87] dark:text-[#5f8787];
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.hljs-meta .hljs-keyword,
|
|
117
|
+
.hljs-meta-keyword {
|
|
118
|
+
@apply font-bold;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@utility code-theme-qt-creator {
|
|
2
|
+
/**
|
|
3
|
+
* Qt Creator Theme
|
|
4
|
+
* regular mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/qtcreator-light.min.css
|
|
5
|
+
* dark mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/qtcreator-dark.min.css
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
code.hljs {
|
|
9
|
+
@apply px-[5px] py-[3px];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
pre code.hljs {
|
|
13
|
+
@apply block overflow-x-auto p-4 whitespace-pre font-mono;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hljs {
|
|
17
|
+
@apply text-black dark:text-[#aaa];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hljs-emphasis,
|
|
21
|
+
.hljs-strong {
|
|
22
|
+
@apply text-black dark:text-[#a8a8a2];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hljs-bullet,
|
|
26
|
+
.hljs-literal,
|
|
27
|
+
.hljs-number,
|
|
28
|
+
.hljs-quote,
|
|
29
|
+
.hljs-regexp {
|
|
30
|
+
@apply text-[navy] dark:text-[#f5f];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hljs-code .hljs-selector-class {
|
|
34
|
+
@apply text-[purple] dark:text-[#aaf];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.hljs-emphasis,
|
|
38
|
+
.hljs-strong,
|
|
39
|
+
.hljs-type {
|
|
40
|
+
@apply italic;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hljs-type {
|
|
44
|
+
@apply text-green-600 dark:text-[#f5f];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.hljs-function,
|
|
48
|
+
.hljs-keyword,
|
|
49
|
+
.hljs-name,
|
|
50
|
+
.hljs-section,
|
|
51
|
+
.hljs-selector-tag,
|
|
52
|
+
.hljs-symbol {
|
|
53
|
+
@apply text-[olive] dark:text-[#ff5];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.hljs-subst,
|
|
57
|
+
.hljs-tag,
|
|
58
|
+
.hljs-title {
|
|
59
|
+
@apply text-black dark:text-[#aaa];
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.hljs-attribute {
|
|
63
|
+
@apply text-[maroon] dark:text-[#f55];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.hljs-class .hljs-title,
|
|
67
|
+
.hljs-params,
|
|
68
|
+
.hljs-title.class_,
|
|
69
|
+
.hljs-variable {
|
|
70
|
+
@apply text-[#0055af] dark:text-[#88f];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.hljs-addition,
|
|
74
|
+
.hljs-built_in,
|
|
75
|
+
.hljs-link,
|
|
76
|
+
.hljs-selector-attr,
|
|
77
|
+
.hljs-selector-id,
|
|
78
|
+
.hljs-selector-pseudo,
|
|
79
|
+
.hljs-string,
|
|
80
|
+
.hljs-template-tag,
|
|
81
|
+
.hljs-template-variable,
|
|
82
|
+
.hljs-type {
|
|
83
|
+
@apply text-green-600 dark:text-[#f5f];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hljs-comment,
|
|
87
|
+
.hljs-deletion,
|
|
88
|
+
.hljs-meta {
|
|
89
|
+
@apply text-green-600 dark:text-[#5ff];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@utility code-theme-summerfruit {
|
|
2
|
+
/**
|
|
3
|
+
* Summerfruit Theme
|
|
4
|
+
* regular mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/summerfruit-light.min.css
|
|
5
|
+
* dark mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/summerfruit-dark.min.css
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
code.hljs {
|
|
9
|
+
@apply px-[5px] py-[3px];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
pre code.hljs {
|
|
13
|
+
@apply block overflow-x-auto p-4 whitespace-pre font-mono;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hljs {
|
|
17
|
+
@apply text-[#101010] dark:text-[#d0d0d0];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hljs ::selection,
|
|
21
|
+
.hljs::selection {
|
|
22
|
+
@apply bg-[#d0d0d0] text-[#101010] dark:bg-[#303030] dark:text-[#d0d0d0];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hljs-comment {
|
|
26
|
+
@apply text-[#b0b0b0] dark:text-[#505050];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hljs-tag {
|
|
30
|
+
@apply text-black dark:text-[#b0b0b0];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hljs-operator,
|
|
34
|
+
.hljs-punctuation,
|
|
35
|
+
.hljs-subst {
|
|
36
|
+
@apply text-[#101010] dark:text-[#d0d0d0];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hljs-operator {
|
|
40
|
+
@apply opacity-70;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hljs-bullet,
|
|
44
|
+
.hljs-deletion,
|
|
45
|
+
.hljs-name,
|
|
46
|
+
.hljs-selector-tag,
|
|
47
|
+
.hljs-template-variable,
|
|
48
|
+
.hljs-variable {
|
|
49
|
+
@apply text-[#ff0086];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.hljs-attr,
|
|
53
|
+
.hljs-link,
|
|
54
|
+
.hljs-literal,
|
|
55
|
+
.hljs-number,
|
|
56
|
+
.hljs-symbol,
|
|
57
|
+
.hljs-variable.constant_ {
|
|
58
|
+
@apply text-[#fd8900];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hljs-class .hljs-title,
|
|
62
|
+
.hljs-title,
|
|
63
|
+
.hljs-title.class_ {
|
|
64
|
+
@apply text-[#aba800];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hljs-strong {
|
|
68
|
+
@apply font-bold text-[#aba800];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hljs-addition,
|
|
72
|
+
.hljs-code,
|
|
73
|
+
.hljs-string,
|
|
74
|
+
.hljs-title.class_.inherited__ {
|
|
75
|
+
@apply text-[#00c918];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.hljs-built_in,
|
|
79
|
+
.hljs-doctag,
|
|
80
|
+
.hljs-keyword.hljs-atrule,
|
|
81
|
+
.hljs-quote,
|
|
82
|
+
.hljs-regexp {
|
|
83
|
+
@apply text-[#1faaaa];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hljs-attribute,
|
|
87
|
+
.hljs-function .hljs-title,
|
|
88
|
+
.hljs-section,
|
|
89
|
+
.hljs-title.function_,
|
|
90
|
+
.ruby .hljs-property {
|
|
91
|
+
@apply text-[#3777e6];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.diff .hljs-meta,
|
|
95
|
+
.hljs-keyword,
|
|
96
|
+
.hljs-template-tag,
|
|
97
|
+
.hljs-type {
|
|
98
|
+
@apply text-[#ad00a1];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.hljs-emphasis {
|
|
102
|
+
@apply text-[#ad00a1] italic;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.hljs-meta,
|
|
106
|
+
.hljs-meta .hljs-keyword,
|
|
107
|
+
.hljs-meta .hljs-string {
|
|
108
|
+
@apply text-[#c63];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.hljs-meta .hljs-keyword,
|
|
112
|
+
.hljs-meta-keyword {
|
|
113
|
+
@apply font-bold;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@utility code-theme-tomorrow {
|
|
2
|
+
/**
|
|
3
|
+
* Tomorrow + Tomorrow Night Theme
|
|
4
|
+
* regular mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/tomorrow.min.css
|
|
5
|
+
* dark mode: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/tomorrow-night.min.css
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
code.hljs {
|
|
9
|
+
@apply px-[5px] py-[3px];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
pre code.hljs {
|
|
13
|
+
@apply block overflow-x-auto p-4 whitespace-pre font-mono;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hljs {
|
|
17
|
+
@apply text-[#4d4d4c] dark:text-[#ccc];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hljs ::selection,
|
|
21
|
+
.hljs::selection {
|
|
22
|
+
@apply bg-[#d6d6d6] text-[#4d4d4c] dark:bg-[#515151] dark:text-[#ccc];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hljs-comment {
|
|
26
|
+
@apply text-[#8e908c] dark:text-[#999];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.hljs-tag {
|
|
30
|
+
@apply text-[#969896] dark:text-[#b4b7b4];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hljs-operator,
|
|
34
|
+
.hljs-punctuation,
|
|
35
|
+
.hljs-subst {
|
|
36
|
+
@apply text-[#4d4d4c] dark:text-[#ccc];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hljs-operator {
|
|
40
|
+
@apply opacity-70;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hljs-bullet,
|
|
44
|
+
.hljs-deletion,
|
|
45
|
+
.hljs-name,
|
|
46
|
+
.hljs-selector-tag,
|
|
47
|
+
.hljs-template-variable,
|
|
48
|
+
.hljs-variable {
|
|
49
|
+
@apply text-[#c82829] dark:text-[#f2777a];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.hljs-attr,
|
|
53
|
+
.hljs-link,
|
|
54
|
+
.hljs-literal,
|
|
55
|
+
.hljs-number,
|
|
56
|
+
.hljs-symbol,
|
|
57
|
+
.hljs-variable.constant_ {
|
|
58
|
+
@apply text-[#f5871f] dark:text-[#f99157];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hljs-class .hljs-title,
|
|
62
|
+
.hljs-title,
|
|
63
|
+
.hljs-title.class_ {
|
|
64
|
+
@apply text-[#eab700] dark:text-[#fc6];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hljs-strong {
|
|
68
|
+
@apply font-bold text-[#eab700] dark:text-[#fc6];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hljs-addition,
|
|
72
|
+
.hljs-code,
|
|
73
|
+
.hljs-string,
|
|
74
|
+
.hljs-title.class_.inherited__ {
|
|
75
|
+
@apply text-[#718c00] dark:text-[#9c9];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.hljs-built_in,
|
|
79
|
+
.hljs-doctag,
|
|
80
|
+
.hljs-keyword.hljs-atrule,
|
|
81
|
+
.hljs-quote,
|
|
82
|
+
.hljs-regexp {
|
|
83
|
+
@apply text-[#3e999f] dark:text-[#6cc];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hljs-attribute,
|
|
87
|
+
.hljs-function .hljs-title,
|
|
88
|
+
.hljs-section,
|
|
89
|
+
.hljs-title.function_,
|
|
90
|
+
.ruby .hljs-property {
|
|
91
|
+
@apply text-[#4271ae] dark:text-[#69c];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.diff .hljs-meta,
|
|
95
|
+
.hljs-keyword,
|
|
96
|
+
.hljs-template-tag,
|
|
97
|
+
.hljs-type {
|
|
98
|
+
@apply text-[#8959a8] dark:text-[#c9c];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.hljs-emphasis {
|
|
102
|
+
@apply text-[#8959a8] italic dark:text-[#c9c];
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.hljs-meta,
|
|
106
|
+
.hljs-meta .hljs-keyword,
|
|
107
|
+
.hljs-meta .hljs-string {
|
|
108
|
+
@apply text-[#a3685a];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.hljs-meta .hljs-keyword,
|
|
112
|
+
.hljs-meta-keyword {
|
|
113
|
+
@apply font-bold;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handy utility for matching nearest tailwind colors
|
|
3
|
+
* https://find-nearest-tailwind-colour.netlify.app/
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Everything Leed ships goes into a cascade layer, and the layer is what
|
|
8
|
+
* decides who wins — not `!important`, and not specificity.
|
|
9
|
+
*
|
|
10
|
+
* Unlayered CSS beats every layered rule no matter how specific. While these
|
|
11
|
+
* imports carried no layer, a customer following the documented convention —
|
|
12
|
+
*
|
|
13
|
+
* @import "./site/components.css" layer(components);
|
|
14
|
+
*
|
|
15
|
+
* — could not override a single component here without `!important`, because
|
|
16
|
+
* their three-class selector in a layer lost to a one-class selector outside
|
|
17
|
+
* one. That is the cascade working as designed; the bug was importing without
|
|
18
|
+
* a layer.
|
|
19
|
+
*
|
|
20
|
+
* Layer order is declared below, before the imports, so it holds regardless of
|
|
21
|
+
* the order anything is actually imported in. A customer's own layer(components)
|
|
22
|
+
* file, imported after leed.css, now wins on ordinary cascade rules.
|
|
23
|
+
*/
|
|
24
|
+
@layer theme, base, components, utilities;
|
|
25
|
+
|
|
26
|
+
/* defaults.css declares its own @layer base and @layer utilities, and its only
|
|
27
|
+
unlayered content is the :root token block — which has to stay unlayered so
|
|
28
|
+
a customer's --site-* values are read by the var() fallback chain rather
|
|
29
|
+
than fighting it. Importing it INTO a layer would nest those blocks as
|
|
30
|
+
components.base and components.utilities and change what beats what. */
|
|
31
|
+
@import "./defaults.css";
|
|
32
|
+
@import "./components.css" layer(components);
|
|
33
|
+
|
|
34
|
+
@import "./utils/utilities.css";
|
|
35
|
+
@import "./utils/icons.css";
|
|
36
|
+
|
|
37
|
+
@import "./fonts/all.css";
|
|
38
|
+
|
|
39
|
+
/* Font Awesome is not imported here. The build adds the stylesheet for the
|
|
40
|
+
edition and version the site has installed (src/static/webfonts/fa-version.txt,
|
|
41
|
+
Free when there is none) right after this file — see src/plugins/tailwind.ts. */
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Themes stay OUT of a layer, deliberately.
|
|
45
|
+
*
|
|
46
|
+
* Every syntax theme and every docs color theme is an @utility, which cannot
|
|
47
|
+
* be nested in a layer — and should not be, because utilities are tree-shaken:
|
|
48
|
+
* a site applying `code-theme-github` ships that theme and not the other
|
|
49
|
+
* thirteen. Measured on a real build: 1 of 14 syntax themes and 0 of 17 docs
|
|
50
|
+
* themes emitted. Turning them into plain classes to make them layerable would
|
|
51
|
+
* put all thirty-one in every site's CSS to solve a problem a site can solve
|
|
52
|
+
* with one unlayered file of its own.
|
|
53
|
+
*
|
|
54
|
+
* The RULES that were mixed in with them are layered — docs.css carried one
|
|
55
|
+
* @utility among four hundred lines of plain rules, and that utility moved to
|
|
56
|
+
* themes.css so the rest could go where it belongs.
|
|
57
|
+
*/
|
|
58
|
+
@import "./highlighters.css";
|
|
59
|
+
@import "./docs/themes.css";
|
|
60
|
+
@import "./docs/docs.css" layer(components);
|
|
61
|
+
|
|
62
|
+
@theme {
|
|
63
|
+
--text-xs: 0.75rem;
|
|
64
|
+
--text-xs--line-height: 1rem;
|
|
65
|
+
--text-sm: 0.875rem;
|
|
66
|
+
--text-sm--line-height: 1.5rem;
|
|
67
|
+
--text-base: 1rem;
|
|
68
|
+
--text-base--line-height: 1.75rem;
|
|
69
|
+
--text-lg: 1.125rem;
|
|
70
|
+
--text-lg--line-height: 2rem;
|
|
71
|
+
--text-xl: 1.25rem;
|
|
72
|
+
--text-xl--line-height: 2rem;
|
|
73
|
+
--text-2xl: 1.5rem;
|
|
74
|
+
--text-2xl--line-height: 2rem;
|
|
75
|
+
--text-3xl: 2rem;
|
|
76
|
+
--text-3xl--line-height: 2.5rem;
|
|
77
|
+
--text-4xl: 2.5rem;
|
|
78
|
+
--text-4xl--line-height: 3.5rem;
|
|
79
|
+
--text-5xl: 3rem;
|
|
80
|
+
--text-5xl--line-height: 3.5rem;
|
|
81
|
+
--text-6xl: 3.75rem;
|
|
82
|
+
--text-6xl--line-height: 1.1;
|
|
83
|
+
--text-7xl: 4.5rem;
|
|
84
|
+
--text-7xl--line-height: 1.1;
|
|
85
|
+
--text-8xl: 6rem;
|
|
86
|
+
--text-8xl--line-height: 1.1;
|
|
87
|
+
--text-9xl: 8rem;
|
|
88
|
+
--text-9xl--line-height: 1.1;
|
|
89
|
+
|
|
90
|
+
/* Maximum width for 2xl */
|
|
91
|
+
--max-width-2xl: 40rem;
|
|
92
|
+
|
|
93
|
+
/* Modify the size of the 4xl border radius */
|
|
94
|
+
--border-radius-4xl: 2rem;
|
|
95
|
+
|
|
96
|
+
--breakpoint-leed-mobile: 35.4375rem;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Any fonts we add here must be placed into the
|
|
100
|
+
* fonts/config.jsonc to support automatic installation
|
|
101
|
+
* and have an accompanying fonts/{name}.css file
|
|
102
|
+
*/
|
|
103
|
+
--font-noto-sans:
|
|
104
|
+
"Noto Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
105
|
+
"Noto Color Emoji";
|
|
106
|
+
--font-open-sans:
|
|
107
|
+
"Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
108
|
+
"Noto Color Emoji";
|
|
109
|
+
--font-inter:
|
|
110
|
+
"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
111
|
+
"Noto Color Emoji";
|
|
112
|
+
--font-geist:
|
|
113
|
+
"Geist", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
114
|
+
"Noto Color Emoji";
|
|
115
|
+
--font-geist-mono:
|
|
116
|
+
"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
117
|
+
--font-jetbrains-mono:
|
|
118
|
+
"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
119
|
+
|
|
120
|
+
/* The mono font, for anything that does not name one.
|
|
121
|
+
Every `font-mono` in the docs CSS reads this. A site that ships its own overrides this one token in its own
|
|
122
|
+
`@theme` and every mono rule follows, rather than restyling each one. */
|
|
123
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
124
|
+
|
|
125
|
+
@keyframes tooltip-fade {
|
|
126
|
+
0% {
|
|
127
|
+
opacity: 0;
|
|
128
|
+
transform: translate(-50%, calc(-100% - 5px));
|
|
129
|
+
}
|
|
130
|
+
15% {
|
|
131
|
+
opacity: 1;
|
|
132
|
+
transform: translate(-50%, -100%);
|
|
133
|
+
}
|
|
134
|
+
85% {
|
|
135
|
+
opacity: 1;
|
|
136
|
+
transform: translate(-50%, -100%);
|
|
137
|
+
}
|
|
138
|
+
100% {
|
|
139
|
+
opacity: 0;
|
|
140
|
+
transform: translate(-50%, calc(-100% - 5px));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Animation for the feedback */
|
|
145
|
+
@keyframes fade-in {
|
|
146
|
+
0% {
|
|
147
|
+
opacity: 0;
|
|
148
|
+
}
|
|
149
|
+
20% {
|
|
150
|
+
opacity: 1;
|
|
151
|
+
}
|
|
152
|
+
80% {
|
|
153
|
+
opacity: 1;
|
|
154
|
+
}
|
|
155
|
+
100% {
|
|
156
|
+
opacity: 0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Not sure why this is really necessary, but if we do not have this
|
|
163
|
+
* then the --color-* variables do not get pulled in from tailwind.
|
|
164
|
+
*/
|
|
165
|
+
@layer theme {
|
|
166
|
+
@import "tailwindcss/theme";
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@plugin "@tailwindcss/forms";
|
|
170
|
+
@plugin "@tailwindcss/typography";
|