docs(getting-started): display color-mode page

This commit is contained in:
Benjamin Canac
2024-10-02 15:32:46 +02:00
parent 9dcf903926
commit 077a9210db

View File

@@ -6,12 +6,11 @@ links:
to: https://github.com/nuxt-modules/color-mode
target: _blank
icon: i-simple-icons-github
navigation: false
---
## Usage
Nuxt UI automatically registers the `@nuxtjs/color-mode` module for you and takes advantage of [Tailwind CSS dark mode](https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually) class strategy, so there's no additional setup required.
Nuxt UI automatically registers the `@nuxtjs/color-mode` module for you, so there's no additional setup required.
You can disable dark mode by setting the `preference` to `light` instead of `system` in your `nuxt.config.ts`.