[SalesForce] Custom Style For Lightning Toast

Is there a way to customize the style (color, font-size, height) of lighting toast?
I'm trying with css but have no success.

Best Answer

Based on your comments, as you are using force:showToast, you won't be able to custom style the component. The Specification tab on the documentation provides the attributes that you can utilize for the look and feel of the component which is mainly using key, mode and type attributes.

You will need to create a custom toast message based on SLDS for your use case where you can utilize custom CSS.