docs(installation): improve theme.colors section

This commit is contained in:
Benjamin Canac
2024-10-08 12:05:17 +02:00
parent 7c4ffa56ec
commit 53a4696ed3

View File

@@ -99,7 +99,7 @@ export default defineNuxtConfig({
### `theme.colors`
Use the `theme.colors` option to choose which Tailwind CSS colors are used to generate classes for components.
Use the `theme.colors` option to define the dynamic color aliases used to generate components theme.
- Default: `['primary', 'secondary', 'success', 'info', 'warning', 'error']`{lang="ts-type" class="inline"}
@@ -115,12 +115,12 @@ export default defineNuxtConfig({
```
::tip{to="/getting-started/theme#colors"}
You can use this option to remove some colors and reduce your CSS bundle or add new dynamic colors.
Learn more about color customization and theming in the Theme section.
::
### `theme.transitions`
Use the `theme.transitions` option to disable all transitions on components.
Use the `theme.transitions` option to enable or disable transitions on components.
- Default: `true`{lang="ts-type"}