diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2020-11-03 10:44:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 10:44:42 +0300 |
commit | bbfd22f924f24cb447cf9f8a6c50f282621817b8 (patch) | |
tree | ed860ee596b9b7eb254f3f23f478fca6f4445b9c | |
parent | 5664e728b4b191c4c7bc7d36662f6218ec418aa7 (diff) |
Backport #32040 (#32054)
Add callouts about using light colors ideally on a dark background
-rw-r--r-- | site/docs/4.5/components/buttons.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site/docs/4.5/components/buttons.md b/site/docs/4.5/components/buttons.md index b0856f5fc5..978b7683ec 100644 --- a/site/docs/4.5/components/buttons.md +++ b/site/docs/4.5/components/buttons.md @@ -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. |