Skip to content

Commit

Permalink
fix(utilities): supporting colour for danger used to be purple, not pink
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed May 14, 2020
1 parent 45bb26c commit 5bc6fee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ $utilities: map-merge(
"success": $green-2,
"info": $blue-2,
"warning": $yellow-2,
"danger": $pink,
"purple": $purple,
"danger": $purple,
"pink": $pink,
"body": $body-bg,
"light": $light,
"white": $white,
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/4.3/utilities/colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Similar to the contextual text color classes, easily set the background of an el
<div class="p-3 mb-2 bg-{{ .name }}">.bg-{{ .name }}</div>
{{- end -}}
{{< /colors.inline >}}
<div class="p-3 mb-2 bg-purple">.bg-purple</div>
<div class="p-3 mb-2 bg-pink">.bg-pink</div>
<div class="p-3 mb-2 bg-white">.bg-white or .bg-body</div>
<div class="p-3 mb-2 bg-transparent">.bg-transparent</div>
{{< /example >}}
Expand Down

0 comments on commit 5bc6fee

Please sign in to comment.