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

18 lines
474 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
2019-08-17 21:51:12 +02:00
@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
2014-12-02 23:02:35 +01:00
#{$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
}
2019-08-17 21:51:12 +02:00
@include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
2014-12-02 23:02:35 +01:00
}