Skip to content

Commit

Permalink
Tweak colors
Browse files Browse the repository at this point in the history
Use more saturated red and blue colors so that they pass WCAG contrast
guidelines.

Related: #794
  • Loading branch information
tysongach authored and nickcharlton committed May 7, 2017
1 parent e2c7fc6 commit 4c3253a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/administrate/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

.table__action--destroy {
color: $light-red;
color: $red;
}

.table__link-plain {
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/administrate/library/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ $small-spacing: $base-spacing / 2;
$white: #fff;
$black: #000;

$blue: #2a94d6;
$light-red: #c77067;
$blue: #1976d2;
$red: #d32f2f;
$light-yellow: #f0cd66;
$light-green: #4ab471;

Expand All @@ -49,7 +49,7 @@ $focus-outline-offset: 1px;
// Flash Colors
$flash-colors: (
alert: $light-yellow,
error: $light-red,
error: $red,
notice: tint($blue, 50%),
success: $light-green
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.text-color-red {
color: $light-red;
color: $red;
}

0 comments on commit 4c3253a

Please sign in to comment.