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

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

$solarized-light-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-light-highlight-selectors-name: (
  "default": (
    "token": "n",
    "color": #586e75,
  ),
  "attribute": (
    "token": "na",
    "color": #586e75,
  ),
  "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": #586e75,
  ),
  "label": (
    "token": "nl",
    "color": #586e75,
  ),
  "namespace": (
    "token": "nn",
    "color": #586e75,
  ),
  "other": (
    "token": "nx",
    "color": #586e75,
  ),
  "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-light-highlight-selectors-literal: (
  "default": (
    "token": "l",
    "color": #586e75,
  ),
  "date": (
    "token": "ld",
    "color": #586e75,
  ),
);

$solarized-light-highlight-selectors-literal-string: (
  "default": (
    "token": "s",
    "color": #2aa198,
  ),
  "backtick": (
    "token": "sb",
    "color": #93a1a1,
  ),
  "char": (
    "token": "sc",
    "color": #2aa198,
  ),
  "doc": (
    "token": "sd",
    "color": #586e75,
  ),
  "double": (
    "token": "s2",
    "color": #2aa198,
  ),
  "escape": (
    "token": "se",
    "color": #cb4b16,
  ),
  "heredoc": (
    "token": "sh",
    "color": #586e75,
  ),
  "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-light-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-light-highlight-selectors-comment: (
  "default": (
    "token": "c",
    "color": #93a1a1,
  ),
  "multiline": (
    "token": "cm",
    "color": #93a1a1,
  ),
  "preproc": (
    "token": "cp",
    "color": #859900,
  ),
  "single": (
    "token": "c1",
    "color": #93a1a1,
  ),
  "special": (
    "token": "cs",
    "color": #859900,
  ),
);

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

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

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

$solarized-light-highlight-background: #fdf6e3;
$solarized-light-highlight-text-color: #586e75;
