0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/scss/mixins/_text-emphasis.scss

18 lines
366 B
SCSS
Raw Normal View History

2017-10-03 05:34:56 +02:00
// stylelint-disable declaration-no-important
2014-12-02 23:02:35 +01:00
// Typography
@mixin text-emphasis-variant($parent, $color) {
#{$parent} {
color: $color !important;
2014-12-02 23:02:35 +01:00
}
@if $emphasized-link-hover-darken-percentage != 0 {
a#{$parent} {
&:hover,
&:focus {
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
}
}
2014-12-02 23:02:35 +01:00
}
}