Add has-bg helpers for block background colors (#1628)
* Add has-bg helpers for block background colors * Updating CHANGELOG
This commit is contained in:
parent
4f5899036e
commit
81a9ada825
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue