switching/sass/bootstrap/mixins/_text-emphasis.scss

13 lines
210 B
SCSS
Raw Normal View History

2019-08-21 09:57:48 +00:00
// Typography
// [converter] $parent hack
@mixin text-emphasis-variant($parent, $color) {
#{$parent} {
color: $color;
}
a#{$parent}:hover,
a#{$parent}:focus {
color: darken($color, 10%);
}
}