diff --git a/docs/src/.vuepress/assets/index.css b/docs/src/.vuepress/assets/index.css index 6990860e..13e1230d 100644 --- a/docs/src/.vuepress/assets/index.css +++ b/docs/src/.vuepress/assets/index.css @@ -1,10 +1,16 @@ :root { --primary: #BB86FC; --secondary: #03dac5; + --content-width: 100%; +} + +.dark { + --c-text-lighter: white !important; + --c-text: white !important; } html, body { - @apply scrollbar scrollbar-thin scrollbar-thumb-rounded scrollbar-thumb-green-500 scrollbar-track-gray-300; + @apply scrollbar scrollbar-thin scrollbar-thumb-rounded scrollbar-thumb-green-500 scrollbar-track-black; } .home { @@ -12,7 +18,16 @@ html, body { @apply !px-0; } -.container { +.page, .page-meta, .footer, .sidebar { + @apply dark:(!bg-black text-white); +} + +.theme-default-content { + @apply overflow-scroll md:overflow-hidden; +} + +.navbar { + @apply dark:bg-gray-900; } h1 { diff --git a/docs/src/.vuepress/theme/layouts/default.vue b/docs/src/.vuepress/theme/layouts/default.vue index e4016bb9..0108ab00 100644 --- a/docs/src/.vuepress/theme/layouts/default.vue +++ b/docs/src/.vuepress/theme/layouts/default.vue @@ -16,10 +16,9 @@ import ParentLayout from '@vuepress/theme-default/lib/client/layouts/Layout.vue' diff --git a/docs/src/.vuepress/windi.config.ts b/docs/src/.vuepress/windi.config.ts index 5bd211f2..0f5ab637 100644 --- a/docs/src/.vuepress/windi.config.ts +++ b/docs/src/.vuepress/windi.config.ts @@ -7,7 +7,7 @@ export default defineConfig({ extract: { include: [ resolve(__dirname, '../../components/**/*.{ts,md,vue}'), - resolve(__dirname, '../src/**/*.{ts,md,vue}') + resolve(__dirname, '../**/*.{ts,md,vue}') ], }, diff --git a/docs/src/examples/index.md b/docs/src/examples/index.md index 4aefadab..05d17073 100644 --- a/docs/src/examples/index.md +++ b/docs/src/examples/index.md @@ -1,3 +1,25 @@ +--- +title: Basic Example +tags: ['examples', 'basic', 'get-started', 'quickstart'] +--- + # Basic Example +This is a basic example to help you quickly get started building your own graphs. On the bottom left you see the +Controls and on the bottom right the MiniMap component. You can see different node types (input, default, output), edge +types (bezier, step and smoothstep), edge labels and custom styles. +