fumeapp / tailvue

Vue components built for Nuxt3|Vue3 powered by Windi CSS|tailwindcss
157 stars 14 forks source link

Changing the color? #29

Open FrazeColder opened 1 year ago

FrazeColder commented 1 year ago

Hey there, thank you for this awesome package!

I wonder how I can change the color of a toast or modal? I have added custom colors to tailwind which I would like to use in my modals and toasts as well. Is that possible?

Kind regards

FrazeColder commented 1 year ago

Any updates yet?

acidjazz commented 1 year ago

we don't have any near-future updates on this yet but what i would suggest for now is going after the elements using apply

you could try something like

<style>
#toasts > div > div > div {
  @apply bg-red-600 dark:bg-red-300;
}
</style>

or you could just do simple CSS if you don't have your colors in a tailwind/windi/uno config

khalidauer commented 6 months ago

Any new plans regarding my question 10 months later? :)