docs(components): split color and variant into two sections

This commit is contained in:
Benjamin Canac
2024-07-26 15:17:46 +02:00
parent 3a1ba1dfa3
commit aca319bc36
6 changed files with 82 additions and 15 deletions

View File

@@ -45,15 +45,28 @@ slots:
---
::
### Style
### Color
Use the `color` and `variant` props to change the style of the Button.
Use the `color` prop to change the color of the Button.
::component-code
---
props:
color: gray
variant: solid
slots:
default: Button
---
::
### Variant
Use the `variant` prop to change the variant of the Button.
::component-code
---
props:
color: gray
variant: outline
slots:
default: Button
---