From 167cfcdf4b16695ecd21c235b75640fbf5b55859 Mon Sep 17 00:00:00 2001 From: zernonia Date: Wed, 6 Sep 2023 18:30:49 +0800 Subject: [PATCH] fix: dark mode --- apps/www/.vitepress/config.mts | 1 - apps/www/.vitepress/theme/layout/DocsLayout.vue | 3 +-- apps/www/.vitepress/theme/layout/MainLayout.vue | 6 ++---- apps/www/.vitepress/theme/styles/vp-doc.css | 8 ++++---- apps/www/src/content/docs/components/radio-group.md | 4 ++-- apps/www/src/examples/cards/components/CreateAccount.vue | 4 ++-- apps/www/src/examples/cards/components/DatePicker.vue | 2 +- .../www/src/lib/registry/default/example/CardWithForm.vue | 4 ++-- .../src/lib/registry/default/example/RadioGroupDemo.vue | 8 ++++---- apps/www/src/lib/registry/default/example/TabsDemo.vue | 8 ++++---- 10 files changed, 22 insertions(+), 26 deletions(-) diff --git a/apps/www/.vitepress/config.mts b/apps/www/.vitepress/config.mts index d949813d..132fc897 100644 --- a/apps/www/.vitepress/config.mts +++ b/apps/www/.vitepress/config.mts @@ -27,7 +27,6 @@ export default defineConfig({ }, }, - appearance: false, lastUpdated: true, themeConfig: { search: { diff --git a/apps/www/.vitepress/theme/layout/DocsLayout.vue b/apps/www/.vitepress/theme/layout/DocsLayout.vue index 989f856a..09c58c80 100644 --- a/apps/www/.vitepress/theme/layout/DocsLayout.vue +++ b/apps/www/.vitepress/theme/layout/DocsLayout.vue @@ -9,8 +9,7 @@ import RadixIconsCode from '~icons/radix-icons/code' import ChevronRightIcon from '~icons/lucide/chevron-right' const $route = useRoute() -const { frontmatter, ...a } = useData() -console.log(a) +const { frontmatter } = useData()