From 4f5a8ee4f68def270a195abf080f45a33b67e285 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 23 Sep 2024 14:58:56 +0200 Subject: [PATCH] docs(installation): fix `theme.colors` option example --- docs/content/1.getting-started/2.installation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index a16d4fcc..0122704e 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -95,13 +95,15 @@ export default defineNuxtConfig({ Use the `theme.colors` option to choose which Tailwind CSS colors are used to generate classes for components. -- Default: `['red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose']`{lang="ts-type"} +- Default: `['red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose']`{lang="ts-type" class="inline"} ```ts [nuxt.config.ts] export default defineNuxtConfig({ modules: ['@nuxt/ui'], ui: { - colors: ['blue', 'green', 'red'] + theme: { + colors: ['blue', 'green', 'red'] + } } }) ```