The messages component is mostly a duplicate of the Classy theme styled system messages. There are slight modifiers added to give more flexibility.

Status system message.
Error system message.
Warning system message.
Removes the background image if there is one. In this example the messages--warning modifier is used as well.