Skip to content

Commit

Permalink
Add callouts about using light colors ideally on a dark background (#…
Browse files Browse the repository at this point in the history
…32040)

* Add callout about using light colors ideally on a dark background

* Add callout to helpers > colored links as well
  • Loading branch information
patrickhlauke committed Nov 2, 2020
1 parent c9f8fa4 commit 6682bba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/content/docs/5.0/components/buttons.md
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions site/content/docs/5.0/helpers/colored-links.md
Expand Up @@ -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 >}}

0 comments on commit 6682bba

Please sign in to comment.