HTML Elements Forums Toast Default color

This topic contains 2 replies, has 2 voices, and was last updated by  Michael20 3 months, 1 week ago.

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

    Michael20
    Participant

    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

    ivailo
    Participant

    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 3 months, 1 week ago by  ivailo.
    #99447

    Michael20
    Participant

    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.