-
-
Notifications
You must be signed in to change notification settings - Fork 700
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
custom style / css is not being applied to toasts #191
Comments
Same issue here, copy & pasted from examples, no luck. React: 16.2.0
|
I have reverted to regular classnames & css (non glamor) and it seems to work.... |
Hello, The v4 doesn't use glamor anymore. It relies on css to override styles. |
The following should work for the next release. I'm fixing the bug oast("Custom style", {
className: css({
background: 'black'
}),
bodyClassName: css({
fontSize: '160px'
}),
progressClassName: css({
background: "repeating-radial-gradient(circle at center, red 0, blue, green 30px)"
})
}); |
I |
I am trying out your repo for my project and for now: love it!
but, I'm having an issue with customization.
I'm trying to change the color and size of my toasts like you can see here:
https://github.com/shirbr510/react-toastify-demo/blob/master/src/App.js
I've tried with glamor, but have failed to change the style at all.
can you please help me out?
react-toastify
version: 4.0.2The text was updated successfully, but these errors were encountered: