This sample demonstrates 4-predefined toast colors for various scenarios which can be using CSS class.
The toast supports the following 4 different essential colors for various situations. Here we have achieved success, danger, warning, info notifications with corresponding icon and text message. All the classes should be added with .e-toast class.
e-toast-infoclass applies the color and background for showing toast information.
e-toast-successclass applies the color and background for notifying success action.
e-toast-warningclass applies the color and background for showing warning message.
e-toast-dangerclass applies the color and background for showing error/failure toast.
More information about Toast can be found in this documentation section.