docs: remove New badges

This commit is contained in:
Benjamin Canac
2023-10-02 17:57:42 +02:00
parent 537bd08aaa
commit af3db2a544
3 changed files with 8 additions and 8 deletions

View File

@@ -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({
@@ -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