@hanzo/docs 16.2.6
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/.turbo/turbo-build.log +249 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/dist/cli/build.d.ts +117 -0
- package/dist/cli/build.js +2 -0
- package/dist/content-collections/index.d.ts +1 -0
- package/dist/content-collections/index.js +2 -0
- package/dist/core/breadcrumb.d.ts +1 -0
- package/dist/core/breadcrumb.js +2 -0
- package/dist/core/content/github.d.ts +1 -0
- package/dist/core/content/github.js +2 -0
- package/dist/core/content/index.d.ts +1 -0
- package/dist/core/content/index.js +2 -0
- package/dist/core/content/toc.d.ts +1 -0
- package/dist/core/content/toc.js +2 -0
- package/dist/core/dynamic-link.d.ts +1 -0
- package/dist/core/dynamic-link.js +2 -0
- package/dist/core/framework/index.d.ts +1 -0
- package/dist/core/framework/index.js +2 -0
- package/dist/core/framework/next.d.ts +1 -0
- package/dist/core/framework/next.js +2 -0
- package/dist/core/framework/react-router.d.ts +1 -0
- package/dist/core/framework/react-router.js +2 -0
- package/dist/core/framework/tanstack.d.ts +1 -0
- package/dist/core/framework/tanstack.js +2 -0
- package/dist/core/framework/waku.d.ts +1 -0
- package/dist/core/framework/waku.js +2 -0
- package/dist/core/highlight/client.d.ts +1 -0
- package/dist/core/highlight/client.js +2 -0
- package/dist/core/highlight/index.d.ts +1 -0
- package/dist/core/highlight/index.js +2 -0
- package/dist/core/i18n/index.d.ts +1 -0
- package/dist/core/i18n/index.js +2 -0
- package/dist/core/i18n/middleware.d.ts +1 -0
- package/dist/core/i18n/middleware.js +2 -0
- package/dist/core/link.d.ts +2 -0
- package/dist/core/link.js +6 -0
- package/dist/core/mdx-plugins/codeblock-utils.d.ts +1 -0
- package/dist/core/mdx-plugins/codeblock-utils.js +2 -0
- package/dist/core/mdx-plugins/index.d.ts +1 -0
- package/dist/core/mdx-plugins/index.js +2 -0
- package/dist/core/mdx-plugins/rehype-code.d.ts +1 -0
- package/dist/core/mdx-plugins/rehype-code.js +2 -0
- package/dist/core/mdx-plugins/remark-gfm.d.ts +1 -0
- package/dist/core/mdx-plugins/remark-gfm.js +2 -0
- package/dist/core/mdx-plugins/remark-steps.d.ts +1 -0
- package/dist/core/mdx-plugins/remark-steps.js +2 -0
- package/dist/core/mdx-plugins/remark-structure.d.ts +1 -0
- package/dist/core/mdx-plugins/remark-structure.js +2 -0
- package/dist/core/negotiation.d.ts +1 -0
- package/dist/core/negotiation.js +2 -0
- package/dist/core/page-tree.d.ts +1 -0
- package/dist/core/page-tree.js +2 -0
- package/dist/core/search/algolia.d.ts +1 -0
- package/dist/core/search/algolia.js +2 -0
- package/dist/core/search/client.d.ts +1 -0
- package/dist/core/search/client.js +2 -0
- package/dist/core/search/index.d.ts +1 -0
- package/dist/core/search/index.js +2 -0
- package/dist/core/search/orama-cloud.d.ts +1 -0
- package/dist/core/search/orama-cloud.js +2 -0
- package/dist/core/search/server.d.ts +1 -0
- package/dist/core/search/server.js +2 -0
- package/dist/core/source/client.d.ts +1 -0
- package/dist/core/source/client.js +2 -0
- package/dist/core/source/index.d.ts +1 -0
- package/dist/core/source/index.js +2 -0
- package/dist/core/source/lucide-icons.d.ts +1 -0
- package/dist/core/source/lucide-icons.js +2 -0
- package/dist/core/source/schema.d.ts +1 -0
- package/dist/core/source/schema.js +2 -0
- package/dist/core/toc.d.ts +1 -0
- package/dist/core/toc.js +2 -0
- package/dist/docgen/index.d.ts +1 -0
- package/dist/docgen/index.js +2 -0
- package/dist/docgen/remark-ts2js.d.ts +1 -0
- package/dist/docgen/remark-ts2js.js +2 -0
- package/dist/mdx/bun.d.ts +1 -0
- package/dist/mdx/bun.js +2 -0
- package/dist/mdx/config.d.ts +1 -0
- package/dist/mdx/config.js +2 -0
- package/dist/mdx/index.d.ts +1 -0
- package/dist/mdx/index.js +2 -0
- package/dist/mdx/next.d.ts +1 -0
- package/dist/mdx/next.js +2 -0
- package/dist/mdx/plugins/index-file.d.ts +1 -0
- package/dist/mdx/plugins/index-file.js +2 -0
- package/dist/mdx/plugins/json-schema.d.ts +2 -0
- package/dist/mdx/plugins/json-schema.js +6 -0
- package/dist/mdx/plugins/last-modified.d.ts +2 -0
- package/dist/mdx/plugins/last-modified.js +6 -0
- package/dist/mdx/runtime/browser.d.ts +1 -0
- package/dist/mdx/runtime/browser.js +2 -0
- package/dist/mdx/runtime/dynamic.d.ts +1 -0
- package/dist/mdx/runtime/dynamic.js +2 -0
- package/dist/mdx/runtime/server.d.ts +1 -0
- package/dist/mdx/runtime/server.js +2 -0
- package/dist/mdx/runtime/types.d.ts +1 -0
- package/dist/mdx/runtime/types.js +2 -0
- package/dist/mdx/vite.d.ts +2 -0
- package/dist/mdx/vite.js +6 -0
- package/dist/mdx-remote/client.d.ts +1 -0
- package/dist/mdx-remote/client.js +2 -0
- package/dist/mdx-remote/index.d.ts +1 -0
- package/dist/mdx-remote/index.js +2 -0
- package/dist/obsidian/index.d.ts +1 -0
- package/dist/obsidian/index.js +2 -0
- package/dist/obsidian/mdx.d.ts +1 -0
- package/dist/obsidian/mdx.js +2 -0
- package/dist/obsidian/ui.d.ts +1 -0
- package/dist/obsidian/ui.js +2 -0
- package/dist/openapi/css/preset.css +1 -0
- package/dist/openapi/index.d.ts +1 -0
- package/dist/openapi/index.js +2 -0
- package/dist/openapi/server.d.ts +1 -0
- package/dist/openapi/server.js +2 -0
- package/dist/openapi/ui.d.ts +1 -0
- package/dist/openapi/ui.js +2 -0
- package/dist/press/index.d.ts +1 -0
- package/dist/press/index.js +2 -0
- package/dist/press/vite.d.ts +1 -0
- package/dist/press/vite.js +2 -0
- package/dist/python/components.d.ts +1 -0
- package/dist/python/components.js +2 -0
- package/dist/python/index.d.ts +1 -0
- package/dist/python/index.js +2 -0
- package/dist/twoslash/cache-fs.d.ts +1 -0
- package/dist/twoslash/cache-fs.js +2 -0
- package/dist/twoslash/index.d.ts +1 -0
- package/dist/twoslash/index.js +2 -0
- package/dist/twoslash/twoslash.css +225 -0
- package/dist/twoslash/ui.d.ts +1 -0
- package/dist/twoslash/ui.js +2 -0
- package/dist/typescript/index.d.ts +1 -0
- package/dist/typescript/index.js +2 -0
- package/dist/typescript/ui.d.ts +1 -0
- package/dist/typescript/ui.js +2 -0
- package/dist/ui/components/accordion.d.ts +1 -0
- package/dist/ui/components/accordion.js +2 -0
- package/dist/ui/components/banner.d.ts +1 -0
- package/dist/ui/components/banner.js +2 -0
- package/dist/ui/components/callout.d.ts +1 -0
- package/dist/ui/components/callout.js +2 -0
- package/dist/ui/components/card.d.ts +1 -0
- package/dist/ui/components/card.js +2 -0
- package/dist/ui/components/codeblock.d.ts +1 -0
- package/dist/ui/components/codeblock.js +2 -0
- package/dist/ui/components/dialog/search-algolia.d.ts +1 -0
- package/dist/ui/components/dialog/search-algolia.js +2 -0
- package/dist/ui/components/dialog/search-default.d.ts +1 -0
- package/dist/ui/components/dialog/search-default.js +2 -0
- package/dist/ui/components/dialog/search-orama.d.ts +1 -0
- package/dist/ui/components/dialog/search-orama.js +2 -0
- package/dist/ui/components/dialog/search.d.ts +1 -0
- package/dist/ui/components/dialog/search.js +2 -0
- package/dist/ui/components/dynamic-codeblock.d.ts +1 -0
- package/dist/ui/components/dynamic-codeblock.js +2 -0
- package/dist/ui/components/files.d.ts +1 -0
- package/dist/ui/components/files.js +2 -0
- package/dist/ui/components/github-info.d.ts +1 -0
- package/dist/ui/components/github-info.js +2 -0
- package/dist/ui/components/heading.d.ts +1 -0
- package/dist/ui/components/heading.js +2 -0
- package/dist/ui/components/image-zoom.d.ts +1 -0
- package/dist/ui/components/image-zoom.js +2 -0
- package/dist/ui/components/inline-toc.d.ts +1 -0
- package/dist/ui/components/inline-toc.js +2 -0
- package/dist/ui/components/sidebar/base.d.ts +1 -0
- package/dist/ui/components/sidebar/base.js +2 -0
- package/dist/ui/components/sidebar/link-item.d.ts +1 -0
- package/dist/ui/components/sidebar/link-item.js +2 -0
- package/dist/ui/components/sidebar/page-tree.d.ts +1 -0
- package/dist/ui/components/sidebar/page-tree.js +2 -0
- package/dist/ui/components/steps.d.ts +1 -0
- package/dist/ui/components/steps.js +2 -0
- package/dist/ui/components/tabs.d.ts +1 -0
- package/dist/ui/components/tabs.js +2 -0
- package/dist/ui/components/tabs.unstyled.d.ts +1 -0
- package/dist/ui/components/tabs.unstyled.js +2 -0
- package/dist/ui/components/toc/clerk.d.ts +1 -0
- package/dist/ui/components/toc/clerk.js +2 -0
- package/dist/ui/components/toc/default.d.ts +1 -0
- package/dist/ui/components/toc/default.js +2 -0
- package/dist/ui/components/toc/index.d.ts +1 -0
- package/dist/ui/components/toc/index.js +2 -0
- package/dist/ui/components/type-table.d.ts +1 -0
- package/dist/ui/components/type-table.js +2 -0
- package/dist/ui/components/ui/accordion.d.ts +1 -0
- package/dist/ui/components/ui/accordion.js +2 -0
- package/dist/ui/components/ui/button.d.ts +1 -0
- package/dist/ui/components/ui/button.js +2 -0
- package/dist/ui/components/ui/collapsible.d.ts +1 -0
- package/dist/ui/components/ui/collapsible.js +2 -0
- package/dist/ui/components/ui/navigation-menu.d.ts +1 -0
- package/dist/ui/components/ui/navigation-menu.js +2 -0
- package/dist/ui/components/ui/popover.d.ts +1 -0
- package/dist/ui/components/ui/popover.js +2 -0
- package/dist/ui/components/ui/scroll-area.d.ts +1 -0
- package/dist/ui/components/ui/scroll-area.js +2 -0
- package/dist/ui/components/ui/tabs.d.ts +1 -0
- package/dist/ui/components/ui/tabs.js +2 -0
- package/dist/ui/contexts/i18n.d.ts +1 -0
- package/dist/ui/contexts/i18n.js +2 -0
- package/dist/ui/contexts/tree.d.ts +1 -0
- package/dist/ui/contexts/tree.js +2 -0
- package/dist/ui/css/black.css +39 -0
- package/dist/ui/css/catppuccin.css +49 -0
- package/dist/ui/css/colors/index.css +51 -0
- package/dist/ui/css/dusk.css +47 -0
- package/dist/ui/css/layouts/docs.css +1 -0
- package/dist/ui/css/layouts/home.css +1 -0
- package/dist/ui/css/layouts/notebook.css +1 -0
- package/dist/ui/css/neutral.css +7 -0
- package/dist/ui/css/ocean.css +48 -0
- package/dist/ui/css/preset.css +305 -0
- package/dist/ui/css/purple.css +39 -0
- package/dist/ui/css/shadcn.css +36 -0
- package/dist/ui/css/shiki.css +90 -0
- package/dist/ui/css/solar.css +75 -0
- package/dist/ui/css/style.css +9 -0
- package/dist/ui/css/vitepress.css +77 -0
- package/dist/ui/dist/theme/typography/index.d.ts +10 -0
- package/dist/ui/dist/theme/typography/index.d.ts.map +1 -0
- package/dist/ui/dist/theme/typography/index.js +137 -0
- package/dist/ui/dist/theme/typography/styles.d.ts +93 -0
- package/dist/ui/dist/theme/typography/styles.d.ts.map +1 -0
- package/dist/ui/dist/theme/typography/styles.js +433 -0
- package/dist/ui/i18n.d.ts +1 -0
- package/dist/ui/i18n.js +2 -0
- package/dist/ui/image-zoom.css +77 -0
- package/dist/ui/layouts/docs/page.d.ts +1 -0
- package/dist/ui/layouts/docs/page.js +2 -0
- package/dist/ui/layouts/docs.d.ts +1 -0
- package/dist/ui/layouts/docs.js +2 -0
- package/dist/ui/layouts/home/navbar.d.ts +1 -0
- package/dist/ui/layouts/home/navbar.js +2 -0
- package/dist/ui/layouts/home.d.ts +1 -0
- package/dist/ui/layouts/home.js +2 -0
- package/dist/ui/layouts/notebook/page.d.ts +1 -0
- package/dist/ui/layouts/notebook/page.js +2 -0
- package/dist/ui/layouts/notebook.d.ts +1 -0
- package/dist/ui/layouts/notebook.js +2 -0
- package/dist/ui/layouts/shared.d.ts +1 -0
- package/dist/ui/layouts/shared.js +2 -0
- package/dist/ui/mdx.d.ts +2 -0
- package/dist/ui/mdx.js +6 -0
- package/dist/ui/og.d.ts +1 -0
- package/dist/ui/og.js +2 -0
- package/dist/ui/page.d.ts +1 -0
- package/dist/ui/page.js +2 -0
- package/dist/ui/provider/base.d.ts +1 -0
- package/dist/ui/provider/base.js +2 -0
- package/dist/ui/provider/next.d.ts +1 -0
- package/dist/ui/provider/next.js +2 -0
- package/dist/ui/provider/react-router.d.ts +1 -0
- package/dist/ui/provider/react-router.js +2 -0
- package/dist/ui/provider/tanstack.d.ts +1 -0
- package/dist/ui/provider/tanstack.js +2 -0
- package/dist/ui/provider/waku.d.ts +1 -0
- package/dist/ui/provider/waku.js +2 -0
- package/dist/ui/style.css +3306 -0
- package/dist/ui/utils/use-copy-button.d.ts +1 -0
- package/dist/ui/utils/use-copy-button.js +2 -0
- package/package.json +146 -0
- package/scripts/copy-css.js +57 -0
- package/scripts/generate-exports.ts +2 -0
- package/src/cli/build.ts +1 -0
- package/src/content-collections/index.ts +1 -0
- package/src/core/breadcrumb.ts +1 -0
- package/src/core/content/github.ts +1 -0
- package/src/core/content/index.ts +1 -0
- package/src/core/content/toc.ts +1 -0
- package/src/core/dynamic-link.ts +1 -0
- package/src/core/framework/index.ts +1 -0
- package/src/core/framework/next.ts +1 -0
- package/src/core/framework/react-router.ts +1 -0
- package/src/core/framework/tanstack.ts +1 -0
- package/src/core/framework/waku.ts +1 -0
- package/src/core/highlight/client.ts +1 -0
- package/src/core/highlight/index.ts +1 -0
- package/src/core/i18n/index.ts +1 -0
- package/src/core/i18n/middleware.ts +1 -0
- package/src/core/link.ts +2 -0
- package/src/core/mdx-plugins/codeblock-utils.ts +1 -0
- package/src/core/mdx-plugins/index.ts +1 -0
- package/src/core/mdx-plugins/rehype-code.ts +1 -0
- package/src/core/mdx-plugins/remark-gfm.ts +1 -0
- package/src/core/mdx-plugins/remark-steps.ts +1 -0
- package/src/core/mdx-plugins/remark-structure.ts +1 -0
- package/src/core/negotiation.ts +1 -0
- package/src/core/page-tree.ts +1 -0
- package/src/core/search/algolia.ts +1 -0
- package/src/core/search/client.ts +1 -0
- package/src/core/search/index.ts +1 -0
- package/src/core/search/orama-cloud.ts +1 -0
- package/src/core/search/server.ts +1 -0
- package/src/core/source/client.ts +1 -0
- package/src/core/source/index.ts +1 -0
- package/src/core/source/lucide-icons.ts +1 -0
- package/src/core/source/schema.ts +1 -0
- package/src/core/toc.ts +1 -0
- package/src/docgen/index.ts +1 -0
- package/src/docgen/remark-ts2js.ts +1 -0
- package/src/mdx/bun.ts +1 -0
- package/src/mdx/config.ts +1 -0
- package/src/mdx/index.ts +1 -0
- package/src/mdx/next.ts +1 -0
- package/src/mdx/plugins/index-file.ts +1 -0
- package/src/mdx/plugins/json-schema.ts +2 -0
- package/src/mdx/plugins/last-modified.ts +2 -0
- package/src/mdx/runtime/browser.ts +1 -0
- package/src/mdx/runtime/dynamic.ts +1 -0
- package/src/mdx/runtime/server.ts +1 -0
- package/src/mdx/runtime/types.ts +1 -0
- package/src/mdx/vite.ts +2 -0
- package/src/mdx-remote/client.ts +1 -0
- package/src/mdx-remote/index.ts +1 -0
- package/src/obsidian/index.ts +1 -0
- package/src/obsidian/mdx.ts +1 -0
- package/src/obsidian/ui.ts +1 -0
- package/src/openapi/index.ts +1 -0
- package/src/openapi/server.ts +1 -0
- package/src/openapi/ui.ts +1 -0
- package/src/press/index.ts +1 -0
- package/src/press/vite.ts +1 -0
- package/src/python/components.ts +1 -0
- package/src/python/index.ts +1 -0
- package/src/twoslash/cache-fs.ts +1 -0
- package/src/twoslash/index.ts +1 -0
- package/src/twoslash/ui.ts +1 -0
- package/src/typescript/index.ts +1 -0
- package/src/typescript/ui.ts +1 -0
- package/src/ui/components/accordion.ts +1 -0
- package/src/ui/components/banner.ts +1 -0
- package/src/ui/components/callout.ts +1 -0
- package/src/ui/components/card.ts +1 -0
- package/src/ui/components/codeblock.ts +1 -0
- package/src/ui/components/dialog/search-algolia.ts +1 -0
- package/src/ui/components/dialog/search-default.ts +1 -0
- package/src/ui/components/dialog/search-orama.ts +1 -0
- package/src/ui/components/dialog/search.ts +1 -0
- package/src/ui/components/dynamic-codeblock.ts +1 -0
- package/src/ui/components/files.ts +1 -0
- package/src/ui/components/github-info.ts +1 -0
- package/src/ui/components/heading.ts +1 -0
- package/src/ui/components/image-zoom.ts +1 -0
- package/src/ui/components/inline-toc.ts +1 -0
- package/src/ui/components/sidebar/base.ts +1 -0
- package/src/ui/components/sidebar/link-item.ts +1 -0
- package/src/ui/components/sidebar/page-tree.ts +1 -0
- package/src/ui/components/steps.ts +1 -0
- package/src/ui/components/tabs.ts +1 -0
- package/src/ui/components/tabs.unstyled.ts +1 -0
- package/src/ui/components/toc/clerk.ts +1 -0
- package/src/ui/components/toc/default.ts +1 -0
- package/src/ui/components/toc/index.ts +1 -0
- package/src/ui/components/type-table.ts +1 -0
- package/src/ui/components/ui/accordion.ts +1 -0
- package/src/ui/components/ui/button.ts +1 -0
- package/src/ui/components/ui/collapsible.ts +1 -0
- package/src/ui/components/ui/navigation-menu.ts +1 -0
- package/src/ui/components/ui/popover.ts +1 -0
- package/src/ui/components/ui/scroll-area.ts +1 -0
- package/src/ui/components/ui/tabs.ts +1 -0
- package/src/ui/contexts/i18n.ts +1 -0
- package/src/ui/contexts/tree.ts +1 -0
- package/src/ui/i18n.ts +1 -0
- package/src/ui/layouts/docs/page.ts +1 -0
- package/src/ui/layouts/docs.ts +1 -0
- package/src/ui/layouts/home/navbar.ts +1 -0
- package/src/ui/layouts/home.ts +1 -0
- package/src/ui/layouts/notebook/page.ts +1 -0
- package/src/ui/layouts/notebook.ts +1 -0
- package/src/ui/layouts/shared.ts +1 -0
- package/src/ui/mdx.ts +2 -0
- package/src/ui/og.ts +1 -0
- package/src/ui/page.ts +1 -0
- package/src/ui/provider/base.ts +1 -0
- package/src/ui/provider/next.ts +1 -0
- package/src/ui/provider/react-router.ts +1 -0
- package/src/ui/provider/tanstack.ts +1 -0
- package/src/ui/provider/waku.ts +1 -0
- package/src/ui/utils/use-copy-button.ts +1 -0
- package/tsconfig.json +20 -0
- package/tsup.config.ts +50 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
@import './shiki.css';
|
|
2
|
+
|
|
3
|
+
/* TODO: remove them on next major */
|
|
4
|
+
@import './layouts/docs.css';
|
|
5
|
+
@import './layouts/home.css';
|
|
6
|
+
@import './layouts/notebook.css';
|
|
7
|
+
|
|
8
|
+
@source '../dist/*.js';
|
|
9
|
+
@source '../dist/{components,contexts,provider,utils}/**/*.js';
|
|
10
|
+
@source '../dist/layouts/shared/**/*.js';
|
|
11
|
+
|
|
12
|
+
@plugin '../dist/theme/typography/index.js';
|
|
13
|
+
|
|
14
|
+
:root {
|
|
15
|
+
--fd-sidebar-drawer-offset: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[dir='rtl'] {
|
|
19
|
+
--fd-sidebar-drawer-offset: -100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@theme {
|
|
23
|
+
--animate-fd-fade-in: fd-fade-in 300ms ease;
|
|
24
|
+
--animate-fd-fade-out: fd-fade-out 300ms ease;
|
|
25
|
+
|
|
26
|
+
--animate-fd-dialog-in: fd-dialog-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
27
|
+
--animate-fd-dialog-out: fd-dialog-out 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
28
|
+
|
|
29
|
+
--animate-fd-popover-in: fd-popover-in 100ms ease;
|
|
30
|
+
--animate-fd-popover-out: fd-popover-out 100ms ease;
|
|
31
|
+
|
|
32
|
+
--animate-fd-collapsible-down: fd-collapsible-down 150ms
|
|
33
|
+
cubic-bezier(0.45, 0, 0.55, 1);
|
|
34
|
+
--animate-fd-collapsible-up: fd-collapsible-up 150ms
|
|
35
|
+
cubic-bezier(0.45, 0, 0.55, 1);
|
|
36
|
+
|
|
37
|
+
--animate-fd-accordion-down: fd-accordion-down 200ms ease-out;
|
|
38
|
+
--animate-fd-accordion-up: fd-accordion-up 200ms ease-out;
|
|
39
|
+
|
|
40
|
+
--animate-fd-nav-menu-in: fd-nav-menu-in 200ms ease;
|
|
41
|
+
--animate-fd-nav-menu-out: fd-nav-menu-out 200ms ease;
|
|
42
|
+
|
|
43
|
+
--animate-fd-enterFromLeft: fd-enterFromLeft 250ms ease;
|
|
44
|
+
--animate-fd-enterFromRight: fd-enterFromRight 250ms ease;
|
|
45
|
+
|
|
46
|
+
--animate-fd-sidebar-in: fd-sidebar-in 250ms ease;
|
|
47
|
+
--animate-fd-sidebar-out: fd-sidebar-out 250ms ease;
|
|
48
|
+
|
|
49
|
+
--animate-fd-exitToLeft: fd-exitToLeft 250ms ease;
|
|
50
|
+
--animate-fd-exitToRight: fd-exitToRight 250ms ease;
|
|
51
|
+
|
|
52
|
+
@keyframes fd-sidebar-in {
|
|
53
|
+
from {
|
|
54
|
+
transform: translateX(var(--fd-sidebar-drawer-offset));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@keyframes fd-sidebar-out {
|
|
59
|
+
to {
|
|
60
|
+
transform: translateX(var(--fd-sidebar-drawer-offset));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@keyframes fd-collapsible-down {
|
|
65
|
+
from {
|
|
66
|
+
height: 0;
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
to {
|
|
70
|
+
height: var(--radix-collapsible-content-height);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes fd-collapsible-up {
|
|
75
|
+
from {
|
|
76
|
+
height: var(--radix-collapsible-content-height);
|
|
77
|
+
}
|
|
78
|
+
to {
|
|
79
|
+
height: 0;
|
|
80
|
+
opacity: 0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes fd-accordion-down {
|
|
85
|
+
from {
|
|
86
|
+
height: 0;
|
|
87
|
+
opacity: 0.5;
|
|
88
|
+
}
|
|
89
|
+
to {
|
|
90
|
+
height: var(--radix-accordion-content-height);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes fd-accordion-up {
|
|
95
|
+
from {
|
|
96
|
+
height: var(--radix-accordion-content-height);
|
|
97
|
+
}
|
|
98
|
+
to {
|
|
99
|
+
height: 0;
|
|
100
|
+
opacity: 0.5;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes fd-dialog-in {
|
|
105
|
+
from {
|
|
106
|
+
transform: scale(1.06);
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
to {
|
|
110
|
+
transform: scale(1);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes fd-dialog-out {
|
|
115
|
+
from {
|
|
116
|
+
transform: scale(1);
|
|
117
|
+
}
|
|
118
|
+
to {
|
|
119
|
+
transform: scale(1.04);
|
|
120
|
+
opacity: 0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@keyframes fd-popover-in {
|
|
125
|
+
from {
|
|
126
|
+
opacity: 0;
|
|
127
|
+
transform: scale(0.9);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@keyframes fd-popover-out {
|
|
132
|
+
to {
|
|
133
|
+
opacity: 0;
|
|
134
|
+
transform: scale(0.9);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@keyframes fd-fade-in {
|
|
139
|
+
from {
|
|
140
|
+
opacity: 0;
|
|
141
|
+
}
|
|
142
|
+
to {
|
|
143
|
+
opacity: 1;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@keyframes fd-fade-out {
|
|
148
|
+
from {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
}
|
|
151
|
+
to {
|
|
152
|
+
opacity: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@keyframes fd-enterFromRight {
|
|
157
|
+
from {
|
|
158
|
+
opacity: 0;
|
|
159
|
+
transform: translateX(200px);
|
|
160
|
+
}
|
|
161
|
+
to {
|
|
162
|
+
opacity: 1;
|
|
163
|
+
transform: translateX(0);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@keyframes fd-enterFromLeft {
|
|
168
|
+
from {
|
|
169
|
+
opacity: 0;
|
|
170
|
+
transform: translateX(-200px);
|
|
171
|
+
}
|
|
172
|
+
to {
|
|
173
|
+
opacity: 1;
|
|
174
|
+
transform: translateX(0);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@keyframes fd-exitToRight {
|
|
179
|
+
from {
|
|
180
|
+
opacity: 1;
|
|
181
|
+
transform: translateX(0);
|
|
182
|
+
}
|
|
183
|
+
to {
|
|
184
|
+
opacity: 0;
|
|
185
|
+
transform: translateX(200px);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@keyframes fd-exitToLeft {
|
|
190
|
+
from {
|
|
191
|
+
opacity: 1;
|
|
192
|
+
transform: translateX(0);
|
|
193
|
+
}
|
|
194
|
+
to {
|
|
195
|
+
opacity: 0;
|
|
196
|
+
transform: translateX(-200px);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@keyframes fd-nav-menu-in {
|
|
201
|
+
from {
|
|
202
|
+
opacity: 0;
|
|
203
|
+
height: 0px;
|
|
204
|
+
}
|
|
205
|
+
to {
|
|
206
|
+
opacity: 1;
|
|
207
|
+
height: var(--radix-navigation-menu-viewport-height);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@keyframes fd-nav-menu-out {
|
|
212
|
+
from {
|
|
213
|
+
opacity: 1;
|
|
214
|
+
height: var(--radix-navigation-menu-viewport-height);
|
|
215
|
+
}
|
|
216
|
+
to {
|
|
217
|
+
opacity: 0;
|
|
218
|
+
height: 0px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@layer base {
|
|
224
|
+
*,
|
|
225
|
+
::after,
|
|
226
|
+
::before,
|
|
227
|
+
::backdrop,
|
|
228
|
+
::file-selector-button {
|
|
229
|
+
border-color: var(--color-fd-border, currentColor);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
body {
|
|
233
|
+
background-color: var(--color-fd-background);
|
|
234
|
+
color: var(--color-fd-foreground);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@utility fd-scroll-container {
|
|
239
|
+
&::-webkit-scrollbar {
|
|
240
|
+
width: 5px;
|
|
241
|
+
height: 5px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&::-webkit-scrollbar-thumb {
|
|
245
|
+
border-radius: 5px;
|
|
246
|
+
background: var(--color-fd-border);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&::-webkit-scrollbar-track {
|
|
250
|
+
background: transparent;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&::-webkit-scrollbar-corner {
|
|
254
|
+
display: none;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@utility fd-steps {
|
|
259
|
+
counter-reset: step;
|
|
260
|
+
position: relative;
|
|
261
|
+
@apply pl-6 ml-2 border-l sm:ml-4 sm:pl-7;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@utility fd-step {
|
|
265
|
+
&:before {
|
|
266
|
+
background-color: var(--color-fd-secondary);
|
|
267
|
+
color: var(--color-fd-secondary-foreground);
|
|
268
|
+
content: counter(step);
|
|
269
|
+
counter-increment: step;
|
|
270
|
+
justify-content: center;
|
|
271
|
+
align-items: center;
|
|
272
|
+
font-size: 0.875rem;
|
|
273
|
+
line-height: 1.25rem;
|
|
274
|
+
display: flex;
|
|
275
|
+
position: absolute;
|
|
276
|
+
@apply size-8 -start-4 rounded-full;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@utility prose-no-margin {
|
|
281
|
+
& > :first-child {
|
|
282
|
+
margin-top: 0;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
& > :last-child {
|
|
286
|
+
margin-bottom: 0;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@property --radix-collapsible-content-height {
|
|
291
|
+
syntax: '<length>';
|
|
292
|
+
inherits: false;
|
|
293
|
+
initial-value: 0px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@variant dark (&:where(.dark, .dark *));
|
|
297
|
+
|
|
298
|
+
/* define/override layout variables */
|
|
299
|
+
@variant layout {
|
|
300
|
+
#nd-docs-layout:has(&),
|
|
301
|
+
#nd-notebook-layout:has(&),
|
|
302
|
+
#nd-home-layout:has(&) {
|
|
303
|
+
@slot;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import './colors/index.css';
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-fd-background: hsl(256, 100%, 96%);
|
|
5
|
+
--color-fd-primary: hsl(270, 100%, 52%);
|
|
6
|
+
--color-fd-border: hsla(270, 40%, 80%, 0.5);
|
|
7
|
+
--color-fd-accent: hsl(270, 40%, 88%);
|
|
8
|
+
--color-fd-accent-foreground: hsl(270, 100%, 20%);
|
|
9
|
+
--color-fd-muted: hsl(256, 60%, 94%);
|
|
10
|
+
--color-fd-muted-foreground: hsl(256, 50%, 50%);
|
|
11
|
+
--color-fd-foreground: hsl(256, 60%, 26%);
|
|
12
|
+
--color-fd-secondary: hsl(270, 60%, 90%);
|
|
13
|
+
--color-fd-secondary-foreground: hsl(256, 60%, 10%);
|
|
14
|
+
--color-fd-card: hsl(256, 60%, 92%);
|
|
15
|
+
--color-fd-card-foreground: hsl(256, 100%, 20%);
|
|
16
|
+
--color-fd-popover-foreground: hsl(256, 100%, 20%);
|
|
17
|
+
--color-fd-popover: hsl(256, 60%, 96%);
|
|
18
|
+
--color-fd-primary-foreground: hsl(270, 100%, 20%);
|
|
19
|
+
--color-fd-ring: hsl(270, 100%, 52%);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dark {
|
|
23
|
+
--color-fd-background: hsl(256, 20%, 6%);
|
|
24
|
+
--color-fd-primary: hsl(270, 100%, 86%);
|
|
25
|
+
--color-fd-border: hsla(270, 50%, 40%, 0.3);
|
|
26
|
+
--color-fd-accent: hsl(256, 23%, 22%);
|
|
27
|
+
--color-fd-accent-foreground: hsl(270, 40%, 86%);
|
|
28
|
+
--color-fd-muted: hsl(256, 23%, 10%);
|
|
29
|
+
--color-fd-foreground: hsl(256, 60%, 90%);
|
|
30
|
+
--color-fd-muted-foreground: hsl(256, 50%, 75%);
|
|
31
|
+
--color-fd-secondary: hsl(270, 23%, 20%);
|
|
32
|
+
--color-fd-secondary-foreground: hsl(256, 60%, 90%);
|
|
33
|
+
--color-fd-card: hsl(256, 23%, 10%);
|
|
34
|
+
--color-fd-card-foreground: hsl(256, 60%, 90%);
|
|
35
|
+
--color-fd-popover-foreground: hsl(256, 60%, 90%);
|
|
36
|
+
--color-fd-popover: hsl(256, 23%, 6%);
|
|
37
|
+
--color-fd-primary-foreground: hsl(256, 60%, 6%);
|
|
38
|
+
--color-fd-ring: hsl(270, 100%, 86%);
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import './colors/index.css';
|
|
2
|
+
|
|
3
|
+
:root,
|
|
4
|
+
.dark {
|
|
5
|
+
--color-fd-background: var(--background);
|
|
6
|
+
--color-fd-foreground: var(--foreground);
|
|
7
|
+
--color-fd-muted: var(--muted);
|
|
8
|
+
--color-fd-muted-foreground: var(--muted-foreground);
|
|
9
|
+
--color-fd-popover: var(--popover);
|
|
10
|
+
--color-fd-popover-foreground: var(--popover-foreground);
|
|
11
|
+
--color-fd-card: var(--card);
|
|
12
|
+
--color-fd-card-foreground: var(--card-foreground);
|
|
13
|
+
--color-fd-border: var(--border);
|
|
14
|
+
--color-fd-primary: var(--primary);
|
|
15
|
+
--color-fd-primary-foreground: var(--primary-foreground);
|
|
16
|
+
--color-fd-secondary: var(--secondary);
|
|
17
|
+
--color-fd-secondary-foreground: var(--secondary-foreground);
|
|
18
|
+
--color-fd-accent: var(--accent);
|
|
19
|
+
--color-fd-accent-foreground: var(--accent-foreground);
|
|
20
|
+
--color-fd-ring: var(--ring);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
#nd-sidebar {
|
|
24
|
+
background-color: var(--sidebar);
|
|
25
|
+
color: var(--sidebar-foreground);
|
|
26
|
+
border-color: var(--sidebar-border);
|
|
27
|
+
|
|
28
|
+
--color-fd-accent: var(--sidebar-accent);
|
|
29
|
+
--color-fd-accent-foreground: var(--sidebar-accent-foreground);
|
|
30
|
+
--color-fd-ring: var(--sidebar-ring);
|
|
31
|
+
--color-fd-primary-foreground: var(--sidebar-primary-foreground);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@theme static {
|
|
35
|
+
--color-fd-error: var(--destructive);
|
|
36
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
.shiki:not(.not-fumadocs-codeblock *) {
|
|
2
|
+
--padding-left: calc(var(--spacing) * 4);
|
|
3
|
+
--padding-right: calc(var(--spacing) * 4);
|
|
4
|
+
|
|
5
|
+
code span {
|
|
6
|
+
color: var(--shiki-light);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.dark .shiki:not(.not-fumadocs-codeblock *) {
|
|
11
|
+
code span {
|
|
12
|
+
color: var(--shiki-dark);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:is(pre *):is(.shiki *):not(.not-fumadocs-codeblock *) {
|
|
17
|
+
.line& {
|
|
18
|
+
position: relative;
|
|
19
|
+
min-height: 1lh;
|
|
20
|
+
padding-left: var(--padding-left);
|
|
21
|
+
padding-right: var(--padding-right);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.has-focused .line&:not(.focused) {
|
|
25
|
+
filter: blur(2px);
|
|
26
|
+
transition: filter 200ms;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.has-focused:hover .line&:not(.focused) {
|
|
30
|
+
filter: blur(0);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-line-numbers] .twoslash-meta-line& {
|
|
34
|
+
padding-left: calc(var(--padding-left) + 7 * var(--spacing));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-line-numbers] .line& {
|
|
38
|
+
counter-increment: line;
|
|
39
|
+
padding-left: calc(var(--padding-left) + 7 * var(--spacing));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[data-line-numbers] .line&::after {
|
|
43
|
+
position: absolute;
|
|
44
|
+
content: counter(line);
|
|
45
|
+
color: color-mix(
|
|
46
|
+
in oklab,
|
|
47
|
+
var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%,
|
|
48
|
+
transparent
|
|
49
|
+
);
|
|
50
|
+
@apply top-0 left-4;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.diff&::before {
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: calc(var(--spacing) * 1.5);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.diff.remove& {
|
|
59
|
+
opacity: 0.7;
|
|
60
|
+
--fd-counter-color: var(--color-fd-diff-remove-symbol);
|
|
61
|
+
@apply bg-fd-diff-remove;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.diff.remove&::before {
|
|
65
|
+
content: '-';
|
|
66
|
+
@apply text-fd-diff-remove-symbol;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.diff.add& {
|
|
70
|
+
--fd-counter-color: var(--color-fd-diff-add-symbol);
|
|
71
|
+
@apply bg-fd-diff-add;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.diff.add&::before {
|
|
75
|
+
content: '+';
|
|
76
|
+
@apply text-fd-diff-add-symbol;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.highlighted& {
|
|
80
|
+
--fd-counter-color: var(--color-fd-primary);
|
|
81
|
+
padding-left: calc(var(--padding-left) - 2px);
|
|
82
|
+
|
|
83
|
+
@apply border-l-2 border-fd-primary/50 bg-fd-primary/10;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.highlighted-word& {
|
|
87
|
+
padding: 1px;
|
|
88
|
+
@apply border -my-px border-fd-primary/30 bg-fd-primary/10 rounded-md font-medium;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@import './colors/index.css';
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-fd-primary: oklch(0.487 0.083 262.691);
|
|
5
|
+
--color-fd-article: hsl(0, 0%, 97%);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
letter-spacing: -0.25px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dark {
|
|
13
|
+
--color-fd-primary: oklch(0.902 0.0461 259.51);
|
|
14
|
+
--color-fd-article: hsl(0, 0%, 7.04%);
|
|
15
|
+
--color-fd-background: hsl(0, 0%, 5.04%);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@variant md {
|
|
19
|
+
#nd-docs-layout {
|
|
20
|
+
#nd-page {
|
|
21
|
+
@apply relative md:px-9 xl:px-12;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#nd-page:before {
|
|
25
|
+
content: '';
|
|
26
|
+
@apply absolute inset-0 bg-fd-article rounded-xl border shadow-xl m-4 mb-2 -z-1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-toc-popover-trigger],
|
|
30
|
+
[data-toc-popover-content] {
|
|
31
|
+
@apply px-4;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[data-toc-popover] {
|
|
35
|
+
top: calc(var(--fd-docs-row-1) + 2.5 * var(--spacing));
|
|
36
|
+
@apply mx-4 mt-2.5;
|
|
37
|
+
|
|
38
|
+
header {
|
|
39
|
+
transform-origin: top center;
|
|
40
|
+
@apply border rounded-xl shadow-lg transition-[margin] has-data-[active=true]:-mx-2 has-data-[active=true]:bg-fd-popover/80;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
#nd-notebook-layout {
|
|
46
|
+
#nd-page {
|
|
47
|
+
@apply relative md:px-9 xl:px-12;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#nd-page:before {
|
|
51
|
+
content: '';
|
|
52
|
+
@apply absolute inset-0 bg-fd-article rounded-xl border shadow-xl m-4 mb-2 -z-1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-toc-popover-trigger],
|
|
56
|
+
[data-toc-popover-content] {
|
|
57
|
+
@apply px-4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-toc-popover] {
|
|
61
|
+
top: calc(var(--fd-docs-row-2) + 2.5 * var(--spacing));
|
|
62
|
+
@apply mx-4 mt-2.5;
|
|
63
|
+
|
|
64
|
+
header {
|
|
65
|
+
transform-origin: top center;
|
|
66
|
+
@apply border rounded-xl shadow-lg transition-[margin] has-data-[active=true]:-mx-2 has-data-[active=true]:bg-fd-popover/80;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
#nd-sidebar[data-collapsed='false'] {
|
|
73
|
+
border: none;
|
|
74
|
+
@apply bg-fd-background;
|
|
75
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@import './colors/index.css';
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-fd-muted: hsl(0, 0%, 96.1%);
|
|
5
|
+
--color-fd-popover: hsl(0, 0%, 100%);
|
|
6
|
+
--color-fd-popover-foreground: hsl(0, 0%, 15.1%);
|
|
7
|
+
--color-fd-card-foreground: hsl(0, 0%, 3.9%);
|
|
8
|
+
--color-fd-border: hsl(0, 0%, 89.8%);
|
|
9
|
+
--color-fd-primary-foreground: hsl(0, 0%, 98%);
|
|
10
|
+
--color-fd-secondary-foreground: hsl(0, 0%, 9%);
|
|
11
|
+
--color-fd-accent: hsl(0, 0%, 94.1%);
|
|
12
|
+
--color-fd-ring: hsl(0, 0%, 63.9%);
|
|
13
|
+
|
|
14
|
+
--color-fd-background: hsl(0, 0%, 100%);
|
|
15
|
+
--color-fd-card: hsl(0, 0%, 100%);
|
|
16
|
+
--color-fd-foreground: hsl(240, 6%, 25%);
|
|
17
|
+
--color-fd-muted-foreground: hsl(240, 6%, 50%);
|
|
18
|
+
--color-fd-secondary: hsl(240, 6%, 97%);
|
|
19
|
+
--color-fd-accent-foreground: hsl(240, 6%, 25%);
|
|
20
|
+
--color-fd-primary: hsl(226, 55%, 45%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dark {
|
|
24
|
+
--color-fd-ring: hsl(234, 100%, 83%);
|
|
25
|
+
--color-fd-primary: hsl(234, 100%, 83%);
|
|
26
|
+
--color-fd-secondary-foreground: hsl(60, 100%, 98%);
|
|
27
|
+
--color-fd-card-foreground: hsl(60, 100%, 98%);
|
|
28
|
+
--color-fd-background: hsl(240, 7%, 11%);
|
|
29
|
+
--color-fd-foreground: hsl(60, 100%, 98%);
|
|
30
|
+
--color-fd-popover: hsl(240, 7%, 11%);
|
|
31
|
+
--color-fd-popover-foreground: hsl(60, 100%, 98%);
|
|
32
|
+
--color-fd-primary-foreground: hsl(240, 7%, 11%);
|
|
33
|
+
--color-fd-card: hsl(240, 7%, 11%);
|
|
34
|
+
--color-fd-muted: hsl(0, 0%, 13%);
|
|
35
|
+
--color-fd-border: hsl(240, 4%, 19%);
|
|
36
|
+
--color-fd-accent: hsl(0, 0%, 15%);
|
|
37
|
+
--color-fd-secondary: hsl(240, 4%, 9%);
|
|
38
|
+
--color-fd-accent-foreground: hsl(0, 0%, 100%);
|
|
39
|
+
--color-fd-muted-foreground: hsl(240, 4%, 65%);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.prose {
|
|
43
|
+
--tw-prose-body: color-mix(
|
|
44
|
+
in oklab,
|
|
45
|
+
var(--color-fd-foreground) 85%,
|
|
46
|
+
transparent
|
|
47
|
+
);
|
|
48
|
+
--tw-prose-headings: color-mix(
|
|
49
|
+
in oklab,
|
|
50
|
+
var(--color-fd-foreground) 85%,
|
|
51
|
+
transparent
|
|
52
|
+
);
|
|
53
|
+
--tw-prose-links: var(--color-fd-primary);
|
|
54
|
+
--tw-prose-code: var(--color-fd-primary);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.prose :where(code):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
|
|
58
|
+
border: none;
|
|
59
|
+
background-color: color-mix(
|
|
60
|
+
in oklab,
|
|
61
|
+
var(--color-fd-primary) 10%,
|
|
62
|
+
transparent
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#nd-sidebar {
|
|
67
|
+
background-color: hsl(240, 6%, 97%);
|
|
68
|
+
border-color: transparent;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.dark #nd-sidebar {
|
|
72
|
+
background-color: hsl(240, 4%, 9%);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
button[data-search-full] {
|
|
76
|
+
background-color: var(--color-fd-background);
|
|
77
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/typography/index.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,OAAO;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAmJD,eAAO,MAAM,UAAU,EAAE,OAsCxB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|