Skip to content

Commit

Permalink
fix(button): grey tertiary should not saturate colors
Browse files Browse the repository at this point in the history
A grey tertiary button got a noticable red color when getting activated. That's because the base color was unintentially saturated.
This PR just lightens/darkens the grey base color
  • Loading branch information
lubber-de committed May 28, 2022
1 parent 67ede73 commit 28948f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/themes/default/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -1303,10 +1303,10 @@
@brownTertiaryColorHover : desaturate(@brownHover, 20%);
@brownTertiaryColorFocus : desaturate(@brownFocus, 20%);
@brownTertiaryColorActive : saturate(@brownActive, 20%);
@greyTertiaryColor : saturate(@grey, 20%);
@greyTertiaryColorHover : desaturate(@greyHover, 20%);
@greyTertiaryColorFocus : desaturate(@greyFocus, 20%);
@greyTertiaryColorActive : saturate(@greyActive, 20%);
@greyTertiaryColor : darken(@grey, 5%);
@greyTertiaryColorHover : lighten(@greyHover, 5%);
@greyTertiaryColorFocus : lighten(@greyFocus, 8%);
@greyTertiaryColorActive : darken(@greyActive, 5%);
@blackTertiaryColor : lighten(@black, 20%);
@blackTertiaryColorHover : lighten(@blackHover, 40%);
@blackTertiaryColorFocus : lighten(@blackFocus, 40%);
Expand Down

0 comments on commit 28948f4

Please sign in to comment.