Skip to content

Commit

Permalink
docs: remove New badges
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Oct 2, 2023
1 parent f3c7ad8 commit 444c565
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/content/1.getting-started/3.theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default defineAppConfig({

Thanks to [tailwind-merge](https://github.com/dcastil/tailwind-merge), the `app.config.ts` is smartly merged with the default config. This means you don't have to rewrite everything.

You can change this behaviour by setting `strategy` to `override` in your `app.config.ts`: :u-badge{label="New" class="!rounded-full" variant="subtle"}
You can change this behaviour by setting `strategy` to `override` in your `app.config.ts`:

```ts [app.config.ts]
export default defineAppConfig({
Expand Down Expand Up @@ -146,7 +146,7 @@ To change the font of the `label`, you only need to write:

This will smartly replace the `font-medium` by `font-semibold` and prevent any class duplication and any class priority issue.

You can change this behaviour by setting `strategy` to `override` inside the `ui` prop: :u-badge{label="New" class="!rounded-full" variant="subtle"}
You can change this behaviour by setting `strategy` to `override` inside the `ui` prop:

```vue
<UButton
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` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
### `label`

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

Expand All @@ -210,7 +210,7 @@ slots:
:u-input{model-value="benjamincanac" placeholder="[email protected]"}
::

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

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

Expand All @@ -230,7 +230,7 @@ props:
:u-input{model-value="benjamincanac" placeholder="[email protected]"}
::

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

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

Expand All @@ -250,7 +250,7 @@ props:
:u-input{model-value="benjamincanac" placeholder="[email protected]"}
::

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

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

Expand All @@ -270,7 +270,7 @@ props:
:u-input{model-value="benjamincanac" placeholder="[email protected]"}
::

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

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 :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
## Styling

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

Expand Down

1 comment on commit 444c565

@vercel
Copy link

@vercel vercel bot commented on 444c565 Oct 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxt-js.vercel.app
ui.nuxt.com
ui-git-dev-nuxt-js.vercel.app

Please sign in to comment.