Skip to content

Commit

Permalink
docs: add color list migration
Browse files Browse the repository at this point in the history
  • Loading branch information
GalacticHypernova authored Jan 9, 2025
1 parent 7ccca37 commit 0d94a89
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/content/1.getting-started/8.migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ The following changes require you to change some functionality in the projects:
+ <UNavigationMenu orientation="vertical" :items="links" />
+ <UNavigationMenu orientation="horizontal" :items="links" />
```

2. The `color` prop in all components no longer accepts the list of defined TailwindCSS colors. It now only accepts one of the colors defined in [the theme](/getting-started/theme#colors).

```diff
- <UButton color="red">
+ <UButton color="error">
Label
</UButton
```

0 comments on commit 0d94a89

Please sign in to comment.