diff options
| author | Patrick H. Lauke <[email protected]> | 2020-11-03 07:44:42 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-03 09:44:42 +0200 |
| commit | bbfd22f924f24cb447cf9f8a6c50f282621817b8 (patch) | |
| tree | ed860ee596b9b7eb254f3f23f478fca6f4445b9c | |
| parent | 5664e728b4b191c4c7bc7d36662f6218ec418aa7 (diff) | |
| download | bootstrap-bbfd22f924f24cb447cf9f8a6c50f282621817b8.tar.xz bootstrap-bbfd22f924f24cb447cf9f8a6c50f282621817b8.zip | |
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 b0856f5fc..978b7683e 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. |
