diff --git a/apps/www/.vitepress/config.mts b/apps/www/.vitepress/config.mts index b6cf67bd..69ffd5f9 100644 --- a/apps/www/.vitepress/config.mts +++ b/apps/www/.vitepress/config.mts @@ -74,7 +74,7 @@ export default defineConfig({ css: { postcss: { plugins: [ - tailwind(), + tailwind() as any, autoprefixer(), ], }, diff --git a/apps/www/.vitepress/theme/components/InlineThemePicker.vue b/apps/www/.vitepress/theme/components/InlineThemePicker.vue new file mode 100644 index 00000000..5a3cd7b7 --- /dev/null +++ b/apps/www/.vitepress/theme/components/InlineThemePicker.vue @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + {{ allColors[index] }} + + + + + diff --git a/apps/www/.vitepress/theme/components/ThemeCustomizer.vue b/apps/www/.vitepress/theme/components/ThemeCustomizer.vue new file mode 100644 index 00000000..a5a653ba --- /dev/null +++ b/apps/www/.vitepress/theme/components/ThemeCustomizer.vue @@ -0,0 +1,106 @@ + + + + + + + Customize + + + Pick a style and color for your components. + + + + Color + + + + + + + {{ color }} + + + + + + Radius + + + + {{ r }} + + + + + + Theme + + + + + Light + + + + Dark + + + + + diff --git a/apps/www/.vitepress/theme/config/docs.ts b/apps/www/.vitepress/theme/config/docs.ts index 8db7b912..58e13b95 100644 --- a/apps/www/.vitepress/theme/config/docs.ts +++ b/apps/www/.vitepress/theme/config/docs.ts @@ -214,6 +214,12 @@ export const docsConfig: DocsConfig = { href: '/docs/components/dialog', items: [], }, + { + title: 'Drawer', + href: '/docs/components/drawer', + items: [], + label: 'New', + }, { title: 'Dropdown Menu', href: '/docs/components/dropdown-menu', diff --git a/apps/www/.vitepress/theme/layout/MainLayout.vue b/apps/www/.vitepress/theme/layout/MainLayout.vue index 920487c5..a8838c81 100644 --- a/apps/www/.vitepress/theme/layout/MainLayout.vue +++ b/apps/www/.vitepress/theme/layout/MainLayout.vue @@ -84,7 +84,7 @@ watch(() => $route.path, (n) => { - + $route.path, (n) => { - - - + diff --git a/apps/www/.vitepress/theme/layout/ThemingLayout.vue b/apps/www/.vitepress/theme/layout/ThemingLayout.vue index e256c2f2..4159084b 100644 --- a/apps/www/.vitepress/theme/layout/ThemingLayout.vue +++ b/apps/www/.vitepress/theme/layout/ThemingLayout.vue @@ -1,35 +1,19 @@
+ Pick a style and color for your components. +