diff --git a/apps/www/.vitepress/theme/config/docs.ts b/apps/www/.vitepress/theme/config/docs.ts index 52cddca3..55417fa6 100644 --- a/apps/www/.vitepress/theme/config/docs.ts +++ b/apps/www/.vitepress/theme/config/docs.ts @@ -120,6 +120,16 @@ export const docsConfig: DocsConfig = { }, ], }, + { + title: 'Charts', + items: [ + { + title: 'Area', + href: '/docs/charts/area', + items: [], + }, + ], + }, { title: 'Components', items: [ diff --git a/apps/www/.vitepress/theme/style.css b/apps/www/.vitepress/theme/style.css index c1b2d159..7efc2d66 100644 --- a/apps/www/.vitepress/theme/style.css +++ b/apps/www/.vitepress/theme/style.css @@ -128,7 +128,7 @@ } div[class^="language-"] { - @apply mb-4 mt-6 max-h-[650px] overflow-x-auto md:rounded-lg border !bg-zinc-950 dark:!bg-zinc-900 + @apply mb-4 mt-6 max-h-[650px] overflow-x-auto md:rounded-lg border !bg-secondary-foreground dark:!bg-secondary } pre { @apply py-4; diff --git a/apps/www/.vitepress/theme/styles/vp-doc.css b/apps/www/.vitepress/theme/styles/vp-doc.css index 39c561b8..338b3f1a 100644 --- a/apps/www/.vitepress/theme/styles/vp-doc.css +++ b/apps/www/.vitepress/theme/styles/vp-doc.css @@ -344,14 +344,14 @@ } .vp-doc [class*='language-'] code .highlighted { - background-color: hsl(240 3.7% 15.9%); transition: background-color 0.5s; /* margin: 0 -24px; padding: 0 24px; */ width: calc(100% + 2 * 24px); display: inline-block; + @apply bg-[hsl(var(--foreground))] dark:bg-[hsl(var(--background)_/_50%)] } - +hsl(var(--foreground) / 50%) .vp-doc [class*='language-'] code .highlighted.error { background-color: var(--vp-code-line-error-color); } diff --git a/apps/www/src/content/docs/installation.md b/apps/www/src/content/docs/installation.md index 899f8244..6f6145b1 100644 --- a/apps/www/src/content/docs/installation.md +++ b/apps/www/src/content/docs/installation.md @@ -22,7 +22,7 @@ description: How to install dependencies and structure your app. Nuxt - +

Nuxt

diff --git a/apps/www/src/content/docs/theming.md b/apps/www/src/content/docs/theming.md index f310fd2b..f4fcdd58 100644 --- a/apps/www/src/content/docs/theming.md +++ b/apps/www/src/content/docs/theming.md @@ -14,7 +14,7 @@ You can choose between using CSS variables or Tailwind CSS utility classes for t To use utility classes for theming set `tailwind.cssVariables` to `false` in your `components.json` file. -```json {8} title="components.json" +```json {7} title="components.json" { "style": "default", "tailwind": { @@ -39,7 +39,7 @@ To use utility classes for theming set `tailwind.cssVariables` to `false` in you To use CSS variables for theming set `tailwind.cssVariables` to `true` in your `components.json` file. -```json {8} title="components.json" +```json {7} title="components.json" { "style": "default", "tailwind": { diff --git a/apps/www/src/examples/dashboard/components/Overview.vue b/apps/www/src/examples/dashboard/components/Overview.vue index ab9e47e9..e5653a0d 100644 --- a/apps/www/src/examples/dashboard/components/Overview.vue +++ b/apps/www/src/examples/dashboard/components/Overview.vue @@ -1,5 +1,5 @@