HTML Elements Forums Toast Default color

This topic contains 2 replies, has 2 voices, and was last updated by  Anonymous 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99444

    Anonymous

    Could you, please, tell me how to change the default color (light blue) of the toast element? I would like it to be green in order to notify successful operation.

    Best regards,
    Mike

    #99445

    Anonymous

    Hi Mike,

    To do this, you just have to set element’s type property to “success”:
    <smart-toast type="success">Successful operation!!!</smart-toast>

    You can use several “type” options to style easily the element – “info”, “warning”, “success”, “error”, “mail”, “time”.

    Best Regards,
    Ivailo Ivanov

    Smart HTML Elements Team
    https://www.htmlelements.com

    • This reply was modified 11 months ago by  .
    #99447

    Anonymous

    Thanks, Ivailo, it works!

    Best regards,
    Mike

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.