website/themes/datacoop2020/assets/static/css/bootstrap/mixins/_text-emphasis.scss
Benjamin Bach 2121cdca5f
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
Colors and fonts for the new data.coop theme
2020-04-05 23:03:14 +02:00

18 lines
474 B
SCSS

// stylelint-disable declaration-no-important
// Typography
@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
#{$parent} {
color: $color !important;
}
@if $emphasized-link-hover-darken-percentage != 0 {
a#{$parent} {
@include hover-focus() {
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
}
}
}
@include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
}