/* https://gist.github.com/qguv/7936275 */

/*
* Solarized dark Syntax Colors
* Token objects map to https://github.com/jneen/rouge/wiki/List-of-tokens
*/

$solarized-dark-highlight-selectors-keyword: (
  "default": (
    "token": "k",
    "color": #859900,
  ),
  "constant": (
    "token": "kc",
    "color": #cb4b16,
  ),
  "declaration": (
    "token": "kd",
    "color": #268bd2,
  ),
  "namespace": (
    "token": "kn",
    "color": #859900,
  ),
  "pseudo": (
    "token": "kp",
    "color": #859900,
  ),
  "reserved": (
    "token": "kr",
    "color": #268bd2,
  ),
  "type": (
    "token": "kt",
    "color": #dc322f,
  ),
);

$solarized-dark-highlight-selectors-name: (
  "default": (
    "token": "n",
    "color": #93a1a1,
  ),
  "attribute": (
    "token": "na",
    "color": #93a1a1,
  ),
  "builtin": (
    "token": "nb",
    "color": #b58900,
  ),
  "builtin.pseudo": (
    "token": "np",
  ),
  "class": (
    "token": "nc",
    "color": #268bd2,
  ),
  "constant": (
    "token": "no",
    "color": #cb4b16,
  ),
  "decorator": (
    "token": "nd",
    "color": #268bd2,
  ),
  "entity": (
    "token": "ni",
    "color": #cb4b16,
  ),
  "exception": (
    "token": "ne",
    "color": #cb4b16,
  ),
  "function": (
    "token": "nf",
    "color": #268bd2,
  ),
  "property": (
    "token": "py",
    "color": #93a1a1,
  ),
  "label": (
    "token": "nl",
    "color": #93a1a1,
  ),
  "namespace": (
    "token": "nn",
    "color": #93a1a1,
  ),
  "other": (
    "token": "nx",
    "color": #93a1a1,
  ),
  "tag": (
    "token": "nt",
    "color": #268bd2,
  ),
  "variable": (
    "token": "nv",
    "color": #268bd2,
  ),
  "variable.class": (
    "token": "vc",
    "color": #268bd2,
  ),
  "variable.global": (
    "token": "vg",
    "color": #268bd2,
  ),
  "variable.instance": (
    "token": "vi",
    "color": #268bd2,
  ),
);

$solarized-dark-highlight-selectors-literal: (
  "default": (
    "token": "l",
    "color": #93a1a1,
  ),
  "date": (
    "token": "ld",
    "color": #93a1a1,
  ),
);

$solarized-dark-highlight-selectors-literal-string: (
  "default": (
    "token": "s",
    "color": #2aa198,
  ),
  "backtick": (
    "token": "sb",
    "color": #586e75,
  ),
  "char": (
    "token": "sc",
    "color": #2aa198,
  ),
  "doc": (
    "token": "sd",
    "color": #93a1a1,
  ),
  "double": (
    "token": "s2",
    "color": #2aa198,
  ),
  "escape": (
    "token": "se",
    "color": #cb4b16,
  ),
  "heredoc": (
    "token": "sh",
    "color": #93a1a1,
  ),
  "interpol": (
    "token": "si",
    "color": #2aa198,
  ),
  "other": (
    "token": "sx",
    "color": #2aa198,
  ),
  "regex": (
    "token": "sr",
    "color": #dc322f,
  ),
  "single": (
    "token": "s1",
    "color": #2aa198,
  ),
  "symbol": (
    "token": "ss",
    "color": #2aa198,
  ),
);

$solarized-dark-highlight-selectors-literal-number: (
  "default": (
    "token": "m",
    "color": #2aa198,
  ),
  "float": (
    "token": "mf",
    "color": #2aa198,
  ),
  "hex-number": (
    "token": "mh",
    "color": #2aa198,
  ),
  "integer": (
    "token": "mi",
    "color": #2aa198,
  ),
  "integer.long": (
    "token": "il",
    "color": #2aa198,
  ),
  "oct": (
    "token": "mo",
    "color": #2aa198,
  ),
  "hex-literal": (
    "token": "mx",
  ),
  "bin": (
    "token": "mb",
  )
);

$solarized-dark-highlight-selectors-comment: (
  "default": (
    "token": "c",
    "color": #586e75,
  ),
  "multiline": (
    "token": "cm",
    "color": #586e75,
  ),
  "preproc": (
    "token": "cp",
    "color": #859900,
  ),
  "single": (
    "token": "c1",
    "color": #586e75,
  ),
  "special": (
    "token": "cs",
    "color": #859900,
  ),
);

$solarized-dark-highlight-selectors-generic: (
  "default": (
    "token": "g",
    "color": #93a1a1,
  ),
  "deleted": (
    "token": "gd",
    "color": #2aa198,
  ),
  "emph": (
    "token": "ge",
    "color": #93a1a1,
    "italic": true,
  ),
  "error": (
    "token": "gr",
    "color": #dc322f,
  ),
  "heading": (
    "token": "gh",
    "color": #cb4b16,
  ),
  "inserted": (
    "token": "gi",
    "color": #859900,
  ),
  "output": (
    "token": "go",
    "color": #93a1a1,
  ),
  "prompt": (
    "token": "gp",
    "color": #93a1a1,
  ),
  "strong": (
    "token": "gs",
    "color": #93a1a1,
    "bold": true,
  ),
  "subheading": (
    "token": "gu",
    "color": #cb4b16,
  ),
  "traceback": (
    "token": "gt",
    "color": #93a1a1,
  ),
  "lineno": (
    "token": "gl",
  )
);

$solarized-dark-highlight-selectors-misc: (
  "text.whitespace": (
    "token": "w",
    "color": #93a1a1,
  ),
  "error": (
    "token": "err",
    "color": #93a1a1,
  ),
  "other": (
    "token": "x",
    "color": #cb4b16,
  ),
  "operator": (
    "token": "o",
    "color": #859900,
  ),
  "operator.word": (
    "token": "ow",
    "color": #859900,
  ),
  "punctuation": (
    "token": "p",
    "color": #93a1a1,
  ),
);

$solarized-dark-highlight-selectors: (
  "keyword": $solarized-dark-highlight-selectors-keyword,
  "name": $solarized-dark-highlight-selectors-name,
  "literal": $solarized-dark-highlight-selectors-literal,
  "literal.string": $solarized-dark-highlight-selectors-literal-string,
  "literal.number": $solarized-dark-highlight-selectors-literal-number,
  "comment": $solarized-dark-highlight-selectors-comment,
  "generic": $solarized-dark-highlight-selectors-generic,
  "misc": $solarized-dark-highlight-selectors-misc,
);

$solarized-dark-highlight-background: #002b36;
$solarized-dark-highlight-text-color: #93a1a1;
