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

[BUG] titleStyle and descriptionStyle not configurable for individual toasts #178

Open
tomkelsey opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tomkelsey
Copy link

Describe the bug
It looks like you can set the default title and description styles using <Toaster> but that you can't configure this on per-toast level? I'm not sure if this is intended or a bug?

It would be great if you could customise on a per toast level too e.g.

toast('My Toast Message', {
titleStyle: {
color: 'red'
})

Expected behavior
The title text is red

PS. Thanks for your efforts with this library, it's great!

@tomkelsey tomkelsey added the bug Something isn't working label Dec 11, 2024
@gunnartorfis
Copy link
Owner

I agree, changing the style on a per toast level would be a great option! I'll take a look at this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants