Add has-bg helpers for block background colors (#1628)

* Add has-bg helpers for block background colors

* Updating CHANGELOG
This commit is contained in:
Peter Hull 2018-04-08 07:19:53 -07:00 committed by Jeremy Thomas
parent 4f5899036e
commit 81a9ada825
2 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,10 @@
* #1428 Fix `media-content` overflow
### Improvements
* Add `.has-bg` helpers for block background colors, like `.has-text`.
## 0.6.2
### New features

View file

@ -100,6 +100,8 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
&:hover,
&:focus
color: darken($color, 10%) !important
.has-bg-#{$name}
background-color: $color !important
@each $name, $shade in $shades
.has-text-#{$name}