]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add callouts about using light colors ideally on a dark background (#32040)
authorPatrick H. Lauke <redux@splintered.co.uk>
Mon, 2 Nov 2020 20:39:49 +0000 (20:39 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Nov 2020 20:39:49 +0000 (20:39 +0000)
* Add callout about using light colors ideally on a dark background

* Add callout to helpers > colored links as well

site/content/docs/5.0/components/buttons.md
site/content/docs/5.0/helpers/colored-links.md

index 845aba72242facba9fbec8116171568a6e342461..ab31bb21567f15cd4203ce29dfaa511711a7cab5 100644 (file)
@@ -54,6 +54,10 @@ In need of a button, but not the hefty background colors they bring? Replace the
 {{< /buttons.inline >}}
 {{< /example >}}
 
+{{< callout info >}}
+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.
+{{< /callout >}}
+
 ## Sizes
 
 Fancy larger or smaller buttons? Add `.btn-lg` or `.btn-sm` for additional sizes.
index f75cae42751c1caa7fdf8e5b517fe0c0e2aca236..ffaf7cdba45b7497f84edb0a9a285b335c466f37 100644 (file)
@@ -15,3 +15,7 @@ You can use the `.link-*` classes to colorize links. Unlike the [`.text-*` class
 {{- end -}}
 {{< /colored-links.inline >}}
 {{< /example >}}
+
+{{< callout info >}}
+Some of the link styles use a relatively light foreground color, and should only be used on a dark background in order to have sufficient contrast.
+{{< /callout >}}