_text-emphasis.scss 474 B

1234567891011121314151617
  1. // stylelint-disable declaration-no-important
  2. // Typography
  3. @mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
  4. #{$parent} {
  5. color: $color !important;
  6. }
  7. @if $emphasized-link-hover-darken-percentage != 0 {
  8. a#{$parent} {
  9. @include hover-focus() {
  10. color: darken($color, $emphasized-link-hover-darken-percentage) !important;
  11. }
  12. }
  13. }
  14. @include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
  15. }