Skip to content

Commit

Permalink
Fixing primary utility
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton authored and julien-deramond committed May 3, 2022
1 parent ae4e91a commit 78872fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ $utilities: map-merge(
"black-50": rgba($black, .5), // deprecated
"white-50": rgba($white, .5), // deprecated
"reset": inherit,
"primary": $accessible-orange,
"primary": var(--#{$prefix}link-hover-color),
)
)
),
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
}
}
}
@if "inherit" != inspect($value) and $accessible-orange != $value and $primary != $value and $text-muted != $value {
@if "inherit" != inspect($value) and $accessible-orange != $value and $primary != $value and $text-muted != $value and $value != "var(--#{$prefix}link-hover-color)" {
background-color: color-contrast($value);
}
}
Expand Down

0 comments on commit 78872fb

Please sign in to comment.