Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2020-11-03 10:44:42 +0300
committerGitHub <noreply@github.com>2020-11-03 10:44:42 +0300
commitbbfd22f924f24cb447cf9f8a6c50f282621817b8 (patch)
treeed860ee596b9b7eb254f3f23f478fca6f4445b9c
parent5664e728b4b191c4c7bc7d36662f6218ec418aa7 (diff)
Backport #32040 (#32054)
Add callouts about using light colors ideally on a dark background
-rw-r--r--site/docs/4.5/components/buttons.md5
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.