4.11 components.messages--color Message colors
Drupal system status reports use just the message colors and no other styling.
Examples
Default styling
This is a system status report message.
.messages--ok-color
"Ok" status.
.messages--warning-color
Warning status.
.messages--error-color
Error status.
Markup: components/messages/messages--color.twig
<span class="xml"><span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>
</span><span class="hljs-template-variable">{{content}}</span><span class="xml">
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
</span>
Source:
components/messages/_messages.scss
, line 14