Skip to content

Commit

Permalink
Backport #32040 (#32054)
Browse files Browse the repository at this point in the history
Add callouts about using light colors ideally on a dark background
  • Loading branch information
patrickhlauke committed Nov 3, 2020
1 parent 5664e72 commit bbfd22f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/docs/4.5/components/buttons.md
Expand Up @@ -49,6 +49,11 @@ In need of a button, but not the hefty background colors they bring? Replace the
{% endcapture %}
{% include example.html content=example %}

{% capture callout %}
Some of the button styles use a relatively light foreground color, and should only be used on a dark background in order to have sufficient contrast.
{% endcapture %}
{% include callout.html content=callout type="info" %}

## Sizes

Fancy larger or smaller buttons? Add `.btn-lg` or `.btn-sm` for additional sizes.
Expand Down

0 comments on commit bbfd22f

Please sign in to comment.