You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
474 B
18 lines
474 B
4 years ago
|
// 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);
|
||
|
}
|