This sample demonstrates 8-predefined badge colors for various scenarios which can be applied from the modifier class.
The badge supports the following 8 different essential colors for various situations. All the classes should be added
.e-badge-primaryclass applies the primary color.
.e-badge-secondaryclass applies the secondary color.
.e-badge-successclass applies the success color.
.e-badge-dangerclass applies the danger color.
.e-badge-warningclass applies the warning color.
.e-badge-infoclass applies the info color.
.e-badge-lightclass applies the light color.
.e-badge-darkclass applies the dark color.