mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(installation): improve theme.colors section
This commit is contained in:
@@ -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"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user