tailvue icon indicating copy to clipboard operation
tailvue copied to clipboard

Changing the color?

Open FrazeColder opened this issue 2 years ago • 3 comments

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 avatar May 20 '23 13:05 FrazeColder

Any updates yet?

FrazeColder avatar May 30 '23 17:05 FrazeColder

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

acidjazz avatar May 30 '23 22:05 acidjazz

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

khalidauer avatar Mar 26 '24 15:03 khalidauer