Skip to content

Commit

Permalink
Merge pull request #589 from warpling/master
Browse files Browse the repository at this point in the history
Fix missing medium compatibility color
  • Loading branch information
simonv3 committed Apr 6, 2015
2 parents 393ecf1 + d07a293 commit 2392069
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ $openfarm-green-muted: #99b36c;
$openfarm-blue-grey: #eceff0;

$compatibility-low-color: #b23a2c;
$compatibility-med-color: #fbad2f;
$compatibility-medium-color: #fbad2f;
$compatibility-high-color: #84c93f;
/* Same color, just lighter (adjusted to appear perceptually equally lighter) */
$compatibility-low-color-bg: lighten($compatibility-low-color, 45%);
$compatibility-med-color-bg: lighten($compatibility-med-color, 35%);
$compatibility-medium-color-bg: lighten($compatibility-medium-color, 35%);
$compatibility-high-color-bg: lighten($compatibility-high-color, 40%);

/* Ceci, n'est pas un couleur */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

@include compatibility-color('compatibility-low', $compatibility-low-color);
@include compatibility-color('compatibility-med', $compatibility-med-color);
@include compatibility-color('compatibility-medium', $compatibility-medium-color);
@include compatibility-color('compatibility-high', $compatibility-high-color);

&:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
}

&.medium {
background: $compatibility-med-color-bg;
background: $compatibility-medium-color-bg;
}

&.high {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
}

@include compatibility-color('low', $compatibility-low-color);
@include compatibility-color('medium', $compatibility-med-color);
@include compatibility-color('medium', $compatibility-medium-color);
@include compatibility-color('high', $compatibility-high-color);
}

0 comments on commit 2392069

Please sign in to comment.