0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00
Bootstrap/scss/mixins/_text-emphasis.scss

18 lines
366 B
SCSS
Raw Normal View History

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