mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
118 lines
5.5 KiB
SCSS
118 lines
5.5 KiB
SCSS
/* Solarized Dark
|
|
|
|
For use with Jekyll and Pygments
|
|
|
|
http://ethanschoonover.com/solarized
|
|
|
|
SOLARIZED HEX ROLE
|
|
--------- -------- ------------------------------------------
|
|
base03 #002b36 background
|
|
base01 #586e75 comments / secondary content
|
|
base1 #93a1a1 body text / default code / primary content
|
|
orange #cb4b16 constants
|
|
red #dc322f regex, special keywords
|
|
blue #268bd2 reserved keywords
|
|
cyan #2aa198 strings, numbers
|
|
green #859900 operators, other keywords
|
|
*/
|
|
|
|
$base03: #002b36 !default; //darkest blue
|
|
$base02: #073642 !default; //dark blue
|
|
$base01: #586e75 !default; //darkest gray
|
|
$base00: #657b83 !default; //dark gray
|
|
$base0: #839496 !default; //medium gray
|
|
$base1: #93a1a1 !default; //medium light gray
|
|
$base2: #eee8d5 !default; //cream
|
|
$base3: #fdf6e3 !default; //white
|
|
|
|
$solar-yellow: #b58900 !default;
|
|
$solar-orange: #cb4b16 !default;
|
|
$solar-red: #dc322f !default;
|
|
$solar-magenta: #d33682 !default;
|
|
$solar-violet: #6c71c4 !default;
|
|
$solar-blue: #268bd2 !default;
|
|
$solar-cyan: #2aa198 !default;
|
|
$solar-green: #859900 !default;
|
|
|
|
$solarized: dark !default;
|
|
|
|
@if $solarized == light {
|
|
$_base03: $base03; $_base02: $base02; $_base01: $base01; $_base00: $base00; $_base0: $base0; $_base1: $base1; $_base2: $base2; $_base3: $base3;
|
|
$base03: $_base3; $base02: $_base2; $base01: $_base1; $base00: $_base0; $base0: $_base00; $base1: $_base01; $base2: $_base02; $base3: $_base03;
|
|
}
|
|
|
|
/* non highlighted code colors */
|
|
$pre-bg: $base03 !default;
|
|
$pre-border: darken($base02, 5) !default;
|
|
$pre-color: $base1 !default;
|
|
|
|
.highlight { background-color: $base02; color: $base1 }
|
|
.highlight .c { color: $base01 } /* Comment */
|
|
.highlight .err { color: $base1 } /* Error */
|
|
.highlight .g { color: $base1 } /* Generic */
|
|
.highlight .k { color: $solar-green } /* Keyword */
|
|
.highlight .l { color: $base1 } /* Literal */
|
|
.highlight .n { color: $base1 } /* Name */
|
|
.highlight .o { color: $solar-green } /* Operator */
|
|
.highlight .x { color: $solar-orange } /* Other */
|
|
.highlight .p { color: $base1 } /* Punctuation */
|
|
.highlight .cm { color: $base01 } /* Comment.Multiline */
|
|
.highlight .cp { color: $solar-green } /* Comment.Preproc */
|
|
.highlight .c1 { color: $base01 } /* Comment.Single */
|
|
.highlight .cs { color: $solar-green } /* Comment.Special */
|
|
.highlight .gd { color: $solar-cyan } /* Generic.Deleted */
|
|
.highlight .ge { color: $base1; font-style: italic } /* Generic.Emph */
|
|
.highlight .gr { color: $solar-red } /* Generic.Error */
|
|
.highlight .gh { color: $solar-orange } /* Generic.Heading */
|
|
.highlight .gi { color: $solar-green } /* Generic.Inserted */
|
|
.highlight .go { color: $base1 } /* Generic.Output */
|
|
.highlight .gp { color: $base1 } /* Generic.Prompt */
|
|
.highlight .gs { color: $base1; font-weight: bold } /* Generic.Strong */
|
|
.highlight .gu { color: $solar-orange } /* Generic.Subheading */
|
|
.highlight .gt { color: $base1 } /* Generic.Traceback */
|
|
.highlight .kc { color: $solar-orange } /* Keyword.Constant */
|
|
.highlight .kd { color: $solar-blue } /* Keyword.Declaration */
|
|
.highlight .kn { color: $solar-green } /* Keyword.Namespace */
|
|
.highlight .kp { color: $solar-green } /* Keyword.Pseudo */
|
|
.highlight .kr { color: $solar-blue } /* Keyword.Reserved */
|
|
.highlight .kt { color: $solar-red } /* Keyword.Type */
|
|
.highlight .ld { color: $base1 } /* Literal.Date */
|
|
.highlight .m { color: $solar-cyan } /* Literal.Number */
|
|
.highlight .s { color: $solar-cyan } /* Literal.String */
|
|
.highlight .na { color: $base1 } /* Name.Attribute */
|
|
.highlight .nb { color: $solar-yellow } /* Name.Builtin */
|
|
.highlight .nc { color: $solar-blue } /* Name.Class */
|
|
.highlight .no { color: $solar-orange } /* Name.Constant */
|
|
.highlight .nd { color: $solar-blue } /* Name.Decorator */
|
|
.highlight .ni { color: $solar-orange } /* Name.Entity */
|
|
.highlight .ne { color: $solar-orange } /* Name.Exception */
|
|
.highlight .nf { color: $solar-blue } /* Name.Function */
|
|
.highlight .nl { color: $base1 } /* Name.Label */
|
|
.highlight .nn { color: $base1 } /* Name.Namespace */
|
|
.highlight .nx { color: $base1 } /* Name.Other */
|
|
.highlight .py { color: $base1 } /* Name.Property */
|
|
.highlight .nt { color: $solar-blue } /* Name.Tag */
|
|
.highlight .nv { color: $solar-blue } /* Name.Variable */
|
|
.highlight .ow { color: $solar-green } /* Operator.Word */
|
|
.highlight .w { color: $base1 } /* Text.Whitespace */
|
|
.highlight .mf { color: $solar-cyan } /* Literal.Number.Float */
|
|
.highlight .mh { color: $solar-cyan } /* Literal.Number.Hex */
|
|
.highlight .mi { color: $solar-cyan } /* Literal.Number.Integer */
|
|
.highlight .mo { color: $solar-cyan } /* Literal.Number.Oct */
|
|
.highlight .sb { color: $base01 } /* Literal.String.Backtick */
|
|
.highlight .sc { color: $solar-cyan } /* Literal.String.Char */
|
|
.highlight .sd { color: $base1 } /* Literal.String.Doc */
|
|
.highlight .s2 { color: $solar-cyan } /* Literal.String.Double */
|
|
.highlight .se { color: $solar-orange } /* Literal.String.Escape */
|
|
.highlight .sh { color: $base1 } /* Literal.String.Heredoc */
|
|
.highlight .si { color: $solar-cyan } /* Literal.String.Interpol */
|
|
.highlight .sx { color: $solar-cyan } /* Literal.String.Other */
|
|
.highlight .sr { color: $solar-red } /* Literal.String.Regex */
|
|
.highlight .s1 { color: $solar-cyan } /* Literal.String.Single */
|
|
.highlight .ss { color: $solar-cyan } /* Literal.String.Symbol */
|
|
.highlight .bp { color: $solar-blue } /* Name.Builtin.Pseudo */
|
|
.highlight .vc { color: $solar-blue } /* Name.Variable.Class */
|
|
.highlight .vg { color: $solar-blue } /* Name.Variable.Global */
|
|
.highlight .vi { color: $solar-blue } /* Name.Variable.Instance */
|
|
.highlight .il { color: $solar-cyan } /* Literal.Number.Integer.Long */
|