/* https://github.com/richleland/pygments-css/blob/master/monokai.css */

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

$monokai-highlight-selectors-keyword: (
  "default": (
    "token": "k",
    "color": #66d9ef,
  ),
  "constant": (
    "token": "kc",
    "color": #66d9ef,
  ),
  "declaration": (
    "token": "kd",
    "color": #66d9ef,
  ),
  "namespace": (
    "token": "kn",
    "color": #f92672,
  ),
  "pseudo": (
    "token": "kp",
    "color": #66d9ef,
  ),
  "reserved": (
    "token": "kr",
    "color": #66d9ef,
  ),
  "type": (
    "token": "kt",
    "color": #66d9ef,
  ),
);

$monokai-highlight-selectors-name: (
  "default": (
    "token": "n",
    "color": #f8f8f2,
  ),
  "attribute": (
    "token": "na",
    "color": #a6e22e,
  ),
  "builtin": (
    "token": "nb",
    "color": #f8f8f2,
  ),
  "builtin.pseudo": (
    "token": "np",
  ),
  "class": (
    "token": "nc",
    "color": #a6e22e,
  ),
  "constant": (
    "token": "no",
    "color": #66d9ef,
  ),
  "decorator": (
    "token": "nd",
    "color": #a6e22e,
  ),
  "entity": (
    "token": "ni",
    "color": #f8f8f2,
  ),
  "exception": (
    "token": "ne",
    "color": #a6e22e,
  ),
  "function": (
    "token": "nf",
    "color": #a6e22e,
  ),
  "property": (
    "token": "py",
    "color": #f8f8f2,
  ),
  "label": (
    "token": "nl",
    "color": #f8f8f2,
  ),
  "namespace": (
    "token": "nn",
    "color": #a6e22e,
  ),
  "other": (
    "token": "nx",
    "color": #a6e22e,
  ),
  "tag": (
    "token": "nt",
    "color": #f92672,
  ),
  "variable": (
    "token": "nv",
    "color": #f8f8f2,
  ),
  "variable.class": (
    "token": "vc",
    "color": #f8f8f2,
  ),
  "variable.global": (
    "token": "vg",
    "color": #f8f8f2,
  ),
  "variable.instance": (
    "token": "vi",
    "color": #f8f8f2,
  ),
);

$monokai-highlight-selectors-literal: (
  "default": (
    "token": "l",
    "color": #ae81ff,
  ),
  "date": (
    "token": "ld",
    "color": #e6db74,
  ),
);

$monokai-highlight-selectors-literal-string: (
  "default": (
    "token": "s",
    "color": #e6db74,
  ),
  "backtick": (
    "token": "sb",
    "color": #e6db74,
  ),
  "char": (
    "token": "sc",
    "color": #e6db74,
  ),
  "doc": (
    "token": "sd",
    "color": #e6db74,
  ),
  "double": (
    "token": "s2",
    "color": #e6db74,
  ),
  "escape": (
    "token": "se",
    "color": #ae81ff,
  ),
  "heredoc": (
    "token": "sh",
    "color": #e6db74,
  ),
  "interpol": (
    "token": "si",
    "color": #e6db74,
  ),
  "other": (
    "token": "sx",
    "color": #e6db74,
  ),
  "regex": (
    "token": "sr",
    "color": #e6db74,
  ),
  "single": (
    "token": "s1",
    "color": #e6db74,
  ),
  "symbol": (
    "token": "ss",
    "color": #e6db74,
  ),
);

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

$monokai-highlight-selectors-comment: (
  "default": (
    "token": "c",
    "color": #75715e,
  ),
  "multiline": (
    "token": "cm",
    "color": #75715e,
  ),
  "preproc": (
    "token": "cp",
    "color": #75715e,
  ),
  "single": (
    "token": "c1",
    "color": #75715e,
  ),
  "special": (
    "token": "cs",
    "color": #75715e,
  ),
);

$monokai-highlight-selectors-generic: (
  "default": (
    "token": "g",
  ),
  "deleted": (
    "token": "gd",
    "color": #f92672,
  ),
  "emph": (
    "token": "ge",
    "italic": true,
  ),
  "error": (
    "token": "gr",
  ),
  "heading": (
    "token": "gh",
  ),
  "inserted": (
    "token": "gi",
    "color": #a6e22e,
  ),
  "output": (
    "token": "go",
  ),
  "prompt": (
    "token": "gp",
  ),
  "strong": (
    "token": "gs",
    "bold": true,
  ),
  "subheading": (
    "token": "gu",
    "color": #75715e,
  ),
  "traceback": (
    "token": "gt",
  ),
  "lineno": (
    "token": "gl",
  )
);

$monokai-highlight-selectors-misc: (
  "text.whitespace": (
    "token": "w",
    "color": #f8f8f2,
  ),
  "error": (
    "token": "err",
    "color": #960050,
    "background": #1e0010,
  ),
  "other": (
    "token": "x",
  ),
  "operator": (
    "token": "o",
    "color": #f92672,
  ),
  "operator.word": (
    "token": "ow",
    "color": #f92672,
  ),
  "punctuation": (
    "token": "p",
    "color": #f8f8f2,
  ),
);

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

$monokai-highlight-background: #272822;
$monokai-highlight-text-color: #f8f8f2;
