Skip to content

Commit

Permalink
Merge pull request #3011 from weaveworks/lightgray-standardisation
Browse files Browse the repository at this point in the history
Simplifying backgrounds to match lightgray in service-ui and ui-compo…
  • Loading branch information
bia authored Jan 5, 2018
2 parents e2e0496 + 715ff54 commit 5379371
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions client/app/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ a {

.overlay-wrapper {
align-items: center;
background-color: fade-out($background-average-color, 0.1);
background-color: fade-out($background-color, 0.1);
border-radius: 4px;
color: $text-tertiary-color;
display: flex;
Expand Down Expand Up @@ -2044,7 +2044,7 @@ a {
}

tr:nth-child(even) {
background: $background-color;
background: $background-darker-secondary-color;
}

tbody tr {
Expand Down
11 changes: 5 additions & 6 deletions client/app/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ $mono-font: "Menlo", "DejaVu Sans Mono", "Liberation Mono", monospace;
$base-ease: ease-in-out;
$primary-color: $weave-charcoal-blue;

$background-color: lighten($primary-color, 66%);
$background-color: #f8f8f8;
$background-lighter-color: lighten($background-color, 8%);
$background-average-color: mix($background-color, $background-lighter-color);
$background-darker-color: darken($background-color, 8%);
$background-darker-secondary-color: darken($background-color, 4%);
$background-darker-color: darken($background-color, 16%);
$background-darker-secondary-color: darken($background-color, 8%);
$background-dark-color: $primary-color;
$text-color: lighten($primary-color, 5%);
$text-secondary-color: lighten($text-color, 15%);
Expand Down Expand Up @@ -58,5 +57,5 @@ $search-border-width: 1px;
$timeline-height: 55px;

/* specific elements */
$body-background-color: $background-average-color;
$label-background-color: fade-out($background-average-color, .3);
$body-background-color: $background-color;
$label-background-color: fade-out($background-color, .3);

0 comments on commit 5379371

Please sign in to comment.