Benjamin Canac

Results 157 comments of Benjamin Canac

Why not use the `UCard` component to achieve this? https://ui.nuxtlabs.com/layout/card

You can use `ui.card.body.background`, `ui.card.header.background` and `ui.card.footer.background` to achieve this I guess.

Here is the `DatePicker` component we made for [Volta](https://volta.net) using [v-calendar](https://github.com/nathanreyes/v-calendar): ```vue import { DatePicker as VCalendarDatePicker } from 'v-calendar' import 'v-calendar/dist/style.css' const props = defineProps({ modelValue: { type: Date,...

Honestly, I'm not sure I want to add components that rely on other libraries. What happens the day someone asks for the same thing but with a different calendar library?...

Closing this as an example has been added to the documentation: https://ui.nuxtlabs.com/getting-started/examples#datepicker.

Thanks for this PR! However, the changes you made need to be reflected in the dropdown documentation under `#code` slot.

Closing in favor of https://github.com/nuxtlabs/ui/commit/e3e6ef27a2d41eaf2b4b89c93b073a86f334c981

In your reproduction, the `secondary` and `info` colors need to be defined inside your `tailwind.config` under `theme.extend.colors`: ```ts import type { Config } from 'tailwindcss' import colors from 'tailwindcss/colors' export...

Are you importing the types from `#ui/types`? https://ui.nuxt.com/getting-started/installation#typescript

I did indeed get things mixed up, sorry about about that! This should have been fixed by https://github.com/nuxt-modules/strapi/pull/403 already. Will make a release today 😊