mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 19:31:35 +02:00
Add callouts about using light colors ideally on a dark background (#32040)
* Add callout about using light colors ideally on a dark background * Add callout to helpers > colored links as well
This commit is contained in:
@@ -54,6 +54,10 @@ In need of a button, but not the hefty background colors they bring? Replace the
|
|||||||
{{< /buttons.inline >}}
|
{{< /buttons.inline >}}
|
||||||
{{< /example >}}
|
{{< /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
|
## Sizes
|
||||||
|
|
||||||
Fancy larger or smaller buttons? Add `.btn-lg` or `.btn-sm` for additional sizes.
|
Fancy larger or smaller buttons? Add `.btn-lg` or `.btn-sm` for additional sizes.
|
||||||
|
@@ -15,3 +15,7 @@ You can use the `.link-*` classes to colorize links. Unlike the [`.text-*` class
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{< /colored-links.inline >}}
|
{{< /colored-links.inline >}}
|
||||||
{{< /example >}}
|
{{< /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 >}}
|
||||||
|
Reference in New Issue
Block a user