Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
bbfd22f9
Unverified
Commit
bbfd22f9
authored
4 years ago
by
Patrick H. Lauke
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Backport #32040 (#32054)
Add callouts about using light colors ideally on a dark background
parent
5664e728
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
site/docs/4.5/components/buttons.md
+5
-0
site/docs/4.5/components/buttons.md
with
5 additions
and
0 deletions
+5
-0
site/docs/4.5/components/buttons.md
+
5
-
0
View file @
bbfd22f9
...
@@ -49,6 +49,11 @@ In need of a button, but not the hefty background colors they bring? Replace the
...
@@ -49,6 +49,11 @@ In need of a button, but not the hefty background colors they bring? Replace the
{% endcapture %}
{% endcapture %}
{% include example.html content=example %}
{% 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
## 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.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment