docs: update badges

This commit is contained in:
Benjamin Canac
2023-08-01 15:05:26 +02:00
parent 189bd4cd3e
commit 32a32d00ab
12 changed files with 16 additions and 18 deletions

View File

@@ -7,8 +7,6 @@ links:
- label: Disclosure
icon: i-simple-icons-headlessui
to: 'https://headlessui.com/vue/disclosure'
navigation:
badge: New
---
## Usage

View File

@@ -5,7 +5,7 @@ links:
icon: i-simple-icons-github
to: https://github.com/nuxtlabs/ui/blob/dev/src/runtime/components/elements/Alert.vue
navigation:
badge: Edge
badge: New
---
## Usage

View File

@@ -31,7 +31,7 @@ props:
Use the `color` and `variant` props to change the visual style of the Badge.
- `variant` can be `solid` (default), `outline`, `soft` or `subtle`.
- `variant` can be `solid` (default), `outline`, `soft` or `subtle`. :u-badge{label="New" class="!rounded-full" variant="subtle"}
::component-card
---
@@ -45,7 +45,7 @@ Badge
Besides all the colors from the `ui.colors` object, you can also use the `white` and `black` colors with their pre-defined variants.
#### White :u-badge{label="Edge" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
#### White :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
::component-card
---
@@ -62,7 +62,7 @@ excludedProps:
Badge
::
#### Gray :u-badge{label="Edge" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
#### Gray :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
::component-card
---
@@ -79,7 +79,7 @@ excludedProps:
Badge
::
#### Black :u-badge{label="Edge" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
#### Black :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
::component-card
---

View File

@@ -6,7 +6,7 @@ links:
icon: i-simple-icons-github
to: https://github.com/nuxtlabs/ui/blob/dev/src/runtime/components/elements/Link.vue
navigation:
badge: Edge
badge: New
---
## Usage