darkening the too-light-grey and the primary black a bit

This commit is contained in:
Kris Aubuchon 2014-05-21 21:18:25 -04:00
parent 7accf5aafa
commit e439df4b6b
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
$primary: #333333 !default; $primary: #222222 !default;
$secondary: #ffffff !default; $secondary: #ffffff !default;
$tertiary: #0088cc !default; $tertiary: #0088cc !default;
$quaternary: #e45735 !default; $quaternary: #e45735 !default;

View File

@ -33,7 +33,7 @@ $base-font-family: Helvetica, Arial, sans-serif !default;
@function scale-color-diff() { @function scale-color-diff() {
@if lightness($primary) < lightness($secondary) { @if lightness($primary) < lightness($secondary) {
@return scale-color($primary, $lightness: 95%) @return scale-color($primary, $lightness: 90%)
} }
@else { @else {
@return scale-color($primary, $lightness: -60%) @return scale-color($primary, $lightness: -60%)

View File

@ -269,13 +269,13 @@ nav.post-controls {
.topic-avatar {padding-left: 15px;} .topic-avatar {padding-left: 15px;}
.post-date {color: scale-color($primary, $lightness: 50%);} .post-date {color: scale-color($primary, $lightness: 50%);}
.fa-arrow-up {margin-left: 5px;} .fa-arrow-up {margin-left: 5px;}
.row {border-top: 1px solid scale-color-diff(); padding-top: 7px;} .row {border-top: 1px solid darken(scale-color-diff(), 10%); padding-top: 7px;}
.reply:first-of-type .row {border-top: none;} .reply:first-of-type .row {border-top: none;}
background: scale-color-diff(); background: scale-color-diff();
.quote .title, blockquote, .onebox, .onebox-result { .quote .title, blockquote, .onebox, .onebox-result {
background: scale-color-diff(); background: darken(scale-color-diff(), 5%);
border-left: 5px solid darken(scale-color-diff(), 10%); border-left: 5px solid darken(scale-color-diff(), 12%);
} }
&.bottom { margin-top: -11px;} &.bottom { margin-top: -11px;}