cycat-project-website/_sass/bootstrap/mixins/_text-emphasis.scss

18 lines
474 B
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
// stylelint-disable declaration-no-important
// Typography
2020-08-23 12:01:06 +02:00
@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
2018-12-09 08:21:01 +01:00
#{$parent} {
color: $color !important;
}
2020-08-23 12:01:06 +02:00
@if $emphasized-link-hover-darken-percentage != 0 {
a#{$parent} {
@include hover-focus() {
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
}
2018-12-09 08:21:01 +01:00
}
}
2020-08-23 12:01:06 +02:00
@include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
2018-12-09 08:21:01 +01:00
}