Commit 901f4399 authored by Phil Hughes's avatar Phil Hughes

Moved color values into variables

parent f5b59dcf
...@@ -20,6 +20,7 @@ $dark-highlight-bg: #ffe792; ...@@ -20,6 +20,7 @@ $dark-highlight-bg: #ffe792;
$dark-highlight-color: $black; $dark-highlight-color: $black;
$dark-pre-hll-bg: #373b41; $dark-pre-hll-bg: #373b41;
$dark-hll-bg: #373b41; $dark-hll-bg: #373b41;
$dark-over-bg: #ded7fc;
$dark-c: #969896; $dark-c: #969896;
$dark-err: #c66; $dark-err: #c66;
$dark-k: #b294bb; $dark-k: #b294bb;
...@@ -141,11 +142,11 @@ $dark-il: #de935f; ...@@ -141,11 +142,11 @@ $dark-il: #de935f;
.diff-line-num { .diff-line-num {
&.is-over { &.is-over {
background-color: #ded7fc; background-color: $dark-over-bg;
border-color: darken(#ded7fc, 5%); border-color: darken($dark-over-bg, 5%);
a { a {
color: darken(#ded7fc, 15%); color: darken($dark-over-bg, 15%);
} }
} }
} }
......
...@@ -13,6 +13,7 @@ $monokai-line-empty-bg: #49483e; ...@@ -13,6 +13,7 @@ $monokai-line-empty-bg: #49483e;
$monokai-line-empty-border: darken($monokai-line-empty-bg, 15%); $monokai-line-empty-border: darken($monokai-line-empty-bg, 15%);
$monokai-diff-border: #808080; $monokai-diff-border: #808080;
$monokai-highlight-bg: #ffe792; $monokai-highlight-bg: #ffe792;
$monokai-over-bg: #9f9ab5;
$monokai-new-bg: rgba(166, 226, 46, 0.1); $monokai-new-bg: rgba(166, 226, 46, 0.1);
$monokai-new-idiff: rgba(166, 226, 46, 0.15); $monokai-new-idiff: rgba(166, 226, 46, 0.15);
...@@ -141,11 +142,11 @@ $monokai-gi: #a6e22e; ...@@ -141,11 +142,11 @@ $monokai-gi: #a6e22e;
.diff-line-num { .diff-line-num {
&.is-over { &.is-over {
background-color: #9f9ab5; background-color: $monokai-over-bg;
border-color: darken(#9f9ab5, 5%); border-color: darken($monokai-over-bg, 5%);
a { a {
color: darken(#9f9ab5, 15%); color: darken($monokai-over-bg, 15%);
} }
} }
} }
......
...@@ -17,6 +17,7 @@ $solarized-dark-line-color-new: #5a766c; ...@@ -17,6 +17,7 @@ $solarized-dark-line-color-new: #5a766c;
$solarized-dark-line-color-old: #7a6c71; $solarized-dark-line-color-old: #7a6c71;
$solarized-dark-highlight: #094554; $solarized-dark-highlight: #094554;
$solarized-dark-hll-bg: #174652; $solarized-dark-hll-bg: #174652;
$solarized-dark-over-bg: #9f9ab5;
$solarized-dark-c: #586e75; $solarized-dark-c: #586e75;
$solarized-dark-err: #93a1a1; $solarized-dark-err: #93a1a1;
$solarized-dark-g: #93a1a1; $solarized-dark-g: #93a1a1;
...@@ -145,11 +146,11 @@ $solarized-dark-il: #2aa198; ...@@ -145,11 +146,11 @@ $solarized-dark-il: #2aa198;
.diff-line-num { .diff-line-num {
&.is-over { &.is-over {
background-color: #9f9ab5; background-color: $solarized-dark-over-bg;
border-color: darken(#9f9ab5, 5%); border-color: darken($solarized-dark-over-bg, 5%);
a { a {
color: darken(#9f9ab5, 15%); color: darken($solarized-dark-over-bg, 15%);
} }
} }
} }
......
...@@ -18,6 +18,7 @@ $solarized-light-line-color-new: #a1a080; ...@@ -18,6 +18,7 @@ $solarized-light-line-color-new: #a1a080;
$solarized-light-line-color-old: #ad9186; $solarized-light-line-color-old: #ad9186;
$solarized-light-highlight: #eee8d5; $solarized-light-highlight: #eee8d5;
$solarized-light-hll-bg: #ddd8c5; $solarized-light-hll-bg: #ddd8c5;
$solarized-light-over-bg: #ded7fc;
$solarized-light-c: #93a1a1; $solarized-light-c: #93a1a1;
$solarized-light-err: #586e75; $solarized-light-err: #586e75;
$solarized-light-g: #586e75; $solarized-light-g: #586e75;
...@@ -152,11 +153,11 @@ $solarized-light-il: #2aa198; ...@@ -152,11 +153,11 @@ $solarized-light-il: #2aa198;
.diff-line-num { .diff-line-num {
&.is-over { &.is-over {
background-color: #ded7fc; background-color: $solarized-light-over-bg;
border-color: darken(#ded7fc, 5%); border-color: darken($solarized-light-over-bg, 5%);
a { a {
color: darken(#ded7fc, 15%); color: darken($solarized-light-over-bg, 15%);
} }
} }
} }
......
...@@ -7,6 +7,7 @@ $white-code-color: $gl-text-color; ...@@ -7,6 +7,7 @@ $white-code-color: $gl-text-color;
$white-highlight: #fafe3d; $white-highlight: #fafe3d;
$white-pre-hll-bg: #f8eec7; $white-pre-hll-bg: #f8eec7;
$white-hll-bg: #f8f8f8; $white-hll-bg: #f8f8f8;
$white-over-bg: #ded7fc;
$white-c: #998; $white-c: #998;
$white-err: #a61717; $white-err: #a61717;
$white-err-bg: #e3d2d2; $white-err-bg: #e3d2d2;
...@@ -124,11 +125,11 @@ $white-gc-bg: #eaf2f5; ...@@ -124,11 +125,11 @@ $white-gc-bg: #eaf2f5;
} }
&.is-over { &.is-over {
background-color: #ded7fc; background-color: $white-over-bg;
border-color: darken(#ded7fc, 5%); border-color: darken($white-over-bg, 5%);
a { a {
color: darken(#ded7fc, 15%); color: darken($white-over-bg, 15%);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment