Skip to content

Commit

Permalink
docs: update badges
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Oct 2, 2023
1 parent 64897a3 commit f3c7ad8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions docs/content/1.getting-started/3.theming.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
description: 'Learn how to customize the look and feel of the components.'
navigation:
badge: New
---

## Overview
Expand Down
10 changes: 5 additions & 5 deletions docs/content/3.forms/9.form-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ code: >-

## Slots

### `label`
### `label` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}

Use the `#label` slot to set the custom content for label.

Expand All @@ -210,7 +210,7 @@ slots:
:u-input{model-value="benjamincanac" placeholder="you@example.com"}
::

### `description`
### `description` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}

Use the `#description` slot to set the custom content for description.

Expand All @@ -230,7 +230,7 @@ props:
:u-input{model-value="benjamincanac" placeholder="you@example.com"}
::

### `hint`
### `hint` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}

Use the `#hint` slot to set the custom content for hint.

Expand All @@ -250,7 +250,7 @@ props:
:u-input{model-value="benjamincanac" placeholder="you@example.com"}
::

### `help`
### `help` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}

Use the `#help` slot to set the custom content for help.

Expand All @@ -270,7 +270,7 @@ props:
:u-input{model-value="benjamincanac" placeholder="you@example.com"}
::

### `error`
### `error` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}

Use the `#error` slot to set the custom content for error.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/4.data/1.table.md
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ excludedProps:
---
::

## Styling
## Styling :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}

You can apply styles to `tr` and `td` elements by passing a `class` to rows.

Expand Down

0 comments on commit f3c7ad8

Please sign in to comment.