Skip to content

Commit

Permalink
Darken hover colors instead of using the color-yiq() function
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens authored and XhmikosR committed May 15, 2020
1 parent 7d72b9e commit 056aa26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/mixins/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@

@mixin button-outline-variant(
$color,
$color-hover: color-yiq($hover-background),
$hover-background: mix($color, #FFF, 10%),
$hover-border: $color,
$color-hover: color-level($color, 2),
$hover-background: rgba($color, .1),
$hover-border: color-level($color, 2),
$active-background: $color,
$active-border: $color,
$active-color: color-contrast($active-background)
Expand Down

0 comments on commit 056aa26

Please sign in to comment.