Skip to content

Commit

Permalink
fix(site): remove double declarations
Browse files Browse the repository at this point in the history
blackHover and greyHover are declared twice. The first one was obviously a copy/past regression when we centralized the color definitions.
However they don't have any effect because they are redeclared /overridden a second time some LOC later.

Also SUI does not have them declared twice (end with brown), so this PR makes the logic equal to SUI again.
  • Loading branch information
lubber-de authored Aug 25, 2020
1 parent c35b4b1 commit df26dde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/themes/default/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -1015,8 +1015,6 @@
@purpleHover : saturate(darken(@purple, 5), 10, relative);
@pinkHover : saturate(darken(@pink, 5), 10, relative);
@brownHover : saturate(darken(@brown, 5), 10, relative);
@greyHover : saturate(darken(@grey, 5), 10, relative);
@blackHover : saturate(darken(@black, 5), 10, relative);

@lightRedHover : saturate(darken(@lightRed, 10), 10, relative);
@lightOrangeHover : saturate(darken(@lightOrange, 10), 10, relative);
Expand Down

0 comments on commit df26dde

Please sign in to comment.