Closed ghost closed 2 years ago
I got a similar problem. Here is mine.
Toastify({
text: 'Your request was error. Please try again.',
duration: 3000,
position: 'center',
style: {
background: '#CC0000'
}
}).showToast()
It doesn't work either.
Same. I get the warning: DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.
but when I use style: {background: '#000000'}
, it doesn't work.
Can confirm, the style: {background: ''} parameter isn't working.
Can confirm too, style: {background: ''}
doesn't work at all.
Should be fixed in the latest version v1.11.2
Toastify({ style: { backgroundColor: '#dc3545' } }).showToast(); Not Working...
default: background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5); background: linear-gradient(135deg, #73a5ff, #5477f5);