Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the color? #29

Open
FrazeColder opened this issue May 20, 2023 · 3 comments
Open

Changing the color? #29

FrazeColder opened this issue May 20, 2023 · 3 comments

Comments

@FrazeColder
Copy link

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
Copy link
Author

Any updates yet?

@acidjazz
Copy link
Member

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

@tcampbPPU tcampbPPU mentioned this issue Jul 28, 2023
@khalidauer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants