Permalink
Browse files

Changes colour contrasts to adhere to WCAG AA.

  • Loading branch information...
1 parent c21120f commit 60201a04397ad577f7e1b37809e157d3b5309c74 @philnash committed Feb 12, 2017
Showing with 33 additions and 33 deletions.
  1. +31 −31 _assets/css/includes/_solarized_dark.scss
  2. +2 −2 _assets/css/main.css.scss
@@ -1,84 +1,84 @@
-/* Solarized Dark
+/* Solarized Dark // Altered for WCAG AA contrast
For use with Jekyll and Pygments
http://ethanschoonover.com/solarized
SOLARIZED HEX ROLE
--------- -------- ------------------------------------------
base03 #002b36 background
-base01 #586e75 comments / secondary content
+base01 #819095 comments / secondary content
base1 #93a1a1 body text / default code / primary content
-orange #cb4b16 constants
-red #dc322f regex, special keywords
-blue #268bd2 reserved keywords
+orange #d86f57 constants
+red #e86260 regex, special keywords
+blue #3f92d6 reserved keywords
cyan #2aa198 strings, numbers
green #859900 operators, other keywords
*/
.highlight { background-color: #002b36; color: #93a1a1; border-radius: 6px; }
-.highlight .c { color: #586e75 } /* Comment */
+.highlight .c { color: #819095 } /* Comment */
.highlight .err { color: #93a1a1 } /* Error */
.highlight .g { color: #93a1a1 } /* Generic */
.highlight .k { color: #859900 } /* Keyword */
.highlight .l { color: #93a1a1 } /* Literal */
.highlight .n { color: #93a1a1 } /* Name */
.highlight .o { color: #859900 } /* Operator */
-.highlight .x { color: #cb4b16 } /* Other */
+.highlight .x { color: #d86f57 } /* Other */
.highlight .p { color: #93a1a1 } /* Punctuation */
-.highlight .cm { color: #586e75 } /* Comment.Multiline */
+.highlight .cm { color: #819095 } /* Comment.Multiline */
.highlight .cp { color: #859900 } /* Comment.Preproc */
-.highlight .c1 { color: #586e75 } /* Comment.Single */
+.highlight .c1 { color: #819095 } /* Comment.Single */
.highlight .cs { color: #859900 } /* Comment.Special */
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
.highlight .ge { color: #93a1a1; font-style: italic } /* Generic.Emph */
-.highlight .gr { color: #dc322f } /* Generic.Error */
-.highlight .gh { color: #cb4b16 } /* Generic.Heading */
+.highlight .gr { color: #e86260 } /* Generic.Error */
+.highlight .gh { color: #d86f57 } /* Generic.Heading */
.highlight .gi { color: #859900 } /* Generic.Inserted */
.highlight .go { color: #93a1a1 } /* Generic.Output */
.highlight .gp { color: #93a1a1 } /* Generic.Prompt */
.highlight .gs { color: #93a1a1; font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
+.highlight .gu { color: #d86f57 } /* Generic.Subheading */
.highlight .gt { color: #93a1a1 } /* Generic.Traceback */
-.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
-.highlight .kd { color: #268bd2 } /* Keyword.Declaration */
+.highlight .kc { color: #d86f57 } /* Keyword.Constant */
+.highlight .kd { color: #3f92d6 } /* Keyword.Declaration */
.highlight .kn { color: #859900 } /* Keyword.Namespace */
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
-.highlight .kr { color: #268bd2 } /* Keyword.Reserved */
-.highlight .kt { color: #dc322f } /* Keyword.Type */
+.highlight .kr { color: #3f92d6 } /* Keyword.Reserved */
+.highlight .kt { color: #e86260 } /* Keyword.Type */
.highlight .ld { color: #93a1a1 } /* Literal.Date */
.highlight .m { color: #2aa198 } /* Literal.Number */
.highlight .s { color: #2aa198 } /* Literal.String */
.highlight .na { color: #93a1a1 } /* Name.Attribute */
.highlight .nb { color: #B58900 } /* Name.Builtin */
-.highlight .nc { color: #268bd2 } /* Name.Class */
-.highlight .no { color: #cb4b16 } /* Name.Constant */
-.highlight .nd { color: #268bd2 } /* Name.Decorator */
-.highlight .ni { color: #cb4b16 } /* Name.Entity */
-.highlight .ne { color: #cb4b16 } /* Name.Exception */
-.highlight .nf { color: #268bd2 } /* Name.Function */
+.highlight .nc { color: #3f92d6 } /* Name.Class */
+.highlight .no { color: #d86f57 } /* Name.Constant */
+.highlight .nd { color: #3f92d6 } /* Name.Decorator */
+.highlight .ni { color: #d86f57 } /* Name.Entity */
+.highlight .ne { color: #d86f57 } /* Name.Exception */
+.highlight .nf { color: #3f92d6 } /* Name.Function */
.highlight .nl { color: #93a1a1 } /* Name.Label */
.highlight .nn { color: #93a1a1 } /* Name.Namespace */
.highlight .nx { color: #93a1a1 } /* Name.Other */
.highlight .py { color: #93a1a1 } /* Name.Property */
-.highlight .nt { color: #268bd2 } /* Name.Tag */
-.highlight .nv { color: #268bd2 } /* Name.Variable */
+.highlight .nt { color: #3f92d6 } /* Name.Tag */
+.highlight .nv { color: #3f92d6 } /* Name.Variable */
.highlight .ow { color: #859900 } /* Operator.Word */
.highlight .w { color: #93a1a1 } /* Text.Whitespace */
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
-.highlight .sb { color: #586e75 } /* Literal.String.Backtick */
+.highlight .sb { color: #819095 } /* Literal.String.Backtick */
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
.highlight .sd { color: #93a1a1 } /* Literal.String.Doc */
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
-.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
+.highlight .se { color: #d86f57 } /* Literal.String.Escape */
.highlight .sh { color: #93a1a1 } /* Literal.String.Heredoc */
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
-.highlight .sr { color: #dc322f } /* Literal.String.Regex */
+.highlight .sr { color: #e86260 } /* Literal.String.Regex */
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
-.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
-.highlight .vc { color: #268bd2 } /* Name.Variable.Class */
-.highlight .vg { color: #268bd2 } /* Name.Variable.Global */
-.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
+.highlight .bp { color: #3f92d6 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #3f92d6 } /* Name.Variable.Class */
+.highlight .vg { color: #3f92d6 } /* Name.Variable.Global */
+.highlight .vi { color: #3f92d6 } /* Name.Variable.Instance */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
@@ -14,8 +14,8 @@ $spacing-unit: 30px;
$text-color: #454545;
$background-color: #fcfcfc;
-$brand-color: #F03249;
-$highlight-color: #79B2C8;
+$brand-color: #ea0011;
+$highlight-color: #79B2C8;
$border-color: #CCC;
$grey-color: #828282;

0 comments on commit 60201a0

Please sign in to comment.