Skip to content

Background Colors ​

The use of a background color should be done sparingly as it can come into direct conflict with the visual importance of components and interactions.

Background colors can be applied with the CSS classes show here. They will also change the font-color of any text inside the container they are applied on. These can be added to components like panels or icons and include hover effects when used on links.

Filled surfaces ​

Where .bg-* applies a subtle tinted (50-level) background for low-emphasis callouts, .filled-* paints the solid brand color and forces a readable white foreground for nested text, headings, icons, and links. Use it on a banner or strip — or as a .panel-heading modifier — that needs to read as "primary".

Add .filled-link to a link on a filled surface for an inline-flex label + trailing icon with a hover-revealed bottom border. The border avoids the underline-crawling-under-glyph problem you get from text-decoration on a link that ends in an icon.