Add text color classes

This commit is contained in:
Guillaume Morin 2017-03-27 09:49:27 +02:00 committed by Jeremy Thomas
parent 1608b0d8ab
commit 69b0f22a4a

View File

@ -59,6 +59,15 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
.has-text-right
text-align: right
@each $name, $pair in $colors
$color: nth($pair, 1)
.has-text-#{$name}
color: $color
a.has-text-#{$name}
&:hover,
&:focus
color: darken($color, 10%)
// Visibility
.is-hidden