Skip to content

Commit

Permalink
New colours
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Feb 28, 2016
1 parent 8da50dc commit f638a2a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
25 changes: 8 additions & 17 deletions app/assets/stylesheets/colours.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
$orange: #fa5100;
$yellow: #fa9400;
$blue: #0c58a2;
$green: #00a86d;
$purple: #7f2a68;
$olive: #729c34;
$pale-blue: #5086bb;
$dirty-yellow: #999500;
// http://paletton.com/#uid=40A0u0kw0vnjLCCp6xKyqoxDHjf

$orange: #fa8000;
$brand-primary: $orange;

$glucose-measurement: $orange;
$medication-event: $blue;
$carbohydrate-intake: $yellow;
$physical-exercise: $green;
$glycated-haemoglobin: $pale-blue;
$blood-pressure: $dirty-yellow;

$bg-high: $purple;
$bg-low: $olive;
$glucose-measurement: #fa8000;
$medication-event: #1530ab;
$carbohydrate-intake: #00b73e;
$physical-exercise: #06779c;
$glycated-haemoglobin: #045d7a;
$blood-pressure: #008f30;
17 changes: 11 additions & 6 deletions app/assets/stylesheets/table-rows.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
tr.glucose-measurement {
background-color: lighten($glucose-measurement, 45%);
background-color: lighten($glucose-measurement, 80%);
}

tr.carbohydrate-intake {
background-color: lighten($carbohydrate-intake, 45%);
background-color: lighten($carbohydrate-intake, 80%);
}

tr.medication-event {
background-color: lighten($medication-event, 45%);
background-color: lighten($medication-event, 80%);
}

tr.physical-exercise {
background-color: lighten($physical-exercise, 45%);
background-color: lighten($physical-exercise, 80%);
}

tr.glycated-haemoglobin {
background-color: lighten($glycated-haemoglobin, 45%);
background-color: lighten($glycated-haemoglobin, 80%);
}

tr.blood-pressure {
background-color: lighten($blood-pressure, 45%);
background-color: lighten($blood-pressure, 80%);
}

#recent th {
color: $gray-dark;
background-color: $gray-lighter;
}

0 comments on commit f638a2a

Please sign in to comment.