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

17 lines
364 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} {
@include hover-focus {
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
}
}
2014-12-02 23:02:35 +01:00
}
}