Cogoport / cogo-toast

Beautiful, Zero Configuration, Toast Messages for React. Only ~ 4kb gzip, with styles and icons
https://cogoport.github.io/cogo-toast
MIT License
673 stars 1 forks source link

How to change styling of text #7

Closed wmlutz closed 5 years ago

wmlutz commented 5 years ago

My site uses a UI framework. We want a light text on a dark background. So this is what my toasts look like: screen shot 2019-03-07 at 8 01 38 am

Any suggestions on how to configure styling to the toast component? Or classnames I could use?

wmlutz commented 5 years ago

If anyone else has this problem I solved it with setting text color for #ct-container. Doesn't fix the header issue though.

jsargeim commented 5 years ago

Is this possible? I want to change font and style as well.

tolgig commented 5 years ago

Same Problem. Any Solutions?

anmdotdev commented 5 years ago

Merged in #12

You can now extend the ct-toast class name and add your custom styling in v2.0.0.

Refer https://github.com/Cogoport/cogo-toast#custom-styling