2017-10-03 05:34:56 +02:00
|
|
|
// stylelint-disable declaration-no-important
|
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
// Typography
|
|
|
|
|
|
|
|
@mixin text-emphasis-variant($parent, $color) {
|
|
|
|
#{$parent} {
|
2015-10-30 05:40:42 +01:00
|
|
|
color: $color !important;
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
2018-12-19 08:19:16 +01:00
|
|
|
@if $emphasized-link-hover-darken-percentage != 0 {
|
|
|
|
a#{$parent} {
|
2018-09-18 01:10:07 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-12-19 08:19:16 +01:00
|
|
|
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
|
|
|
|
}
|
2015-01-01 10:05:01 +01:00
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|