/* https://github.com/MozMorris/tomorrow-pygments */

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

$dark-highlight-selectors-keyword: (
  "default": (
    "token": "k",
    "color": #b294bb,
  ),
  "constant": (
    "token": "kc",
    "color": #b294bb,
  ),
  "declaration": (
    "token": "kd",
    "color": #b294bb,
  ),
  "namespace": (
    "token": "kn",
    "color": #8abeb7,
  ),
  "pseudo": (
    "token": "kp",
    "color": #b294bb,
  ),
  "reserved": (
    "token": "kr",
    "color": #b294bb,
  ),
  "type": (
    "token": "kt",
    "color": #f0c674,
  ),
);

$dark-highlight-selectors-name: (
  "default": (
    "token": "n",
    "color": #c5c8c6,
  ),
  "attribute": (
    "token": "na",
    "color": #81a2be,
  ),
  "builtin": (
    "token": "nb",
    "color": #c5c8c6,
  ),
  "builtin.pseudo": (
    "token": "np",
  ),
  "class": (
    "token": "nc",
    "color": #f0c674,
  ),
  "constant": (
    "token": "no",
    "color": #c66,
  ),
  "decorator": (
    "token": "nd",
    "color": #8abeb7,
  ),
  "entity": (
    "token": "ni",
    "color": #c5c8c6,
  ),
  "exception": (
    "token": "ne",
    "color": #c66,
  ),
  "function": (
    "token": "nf",
    "color": #81a2be,
  ),
  "property": (
    "token": "py",
    "color": #c5c8c6,
  ),
  "label": (
    "token": "nl",
    "color": #c5c8c6,
  ),
  "namespace": (
    "token": "nn",
    "color": #f0c674,
  ),
  "other": (
    "token": "nx",
    "color": #81a2be,
  ),
  "tag": (
    "token": "nt",
    "color": #8abeb7,
  ),
  "variable": (
    "token": "nv",
    "color": #c66,
  ),
  "variable.class": (
    "token": "vc",
    "color": #c66,
  ),
  "variable.global": (
    "token": "vg",
    "color": #c66,
  ),
  "variable.instance": (
    "token": "vi",
    "color": #c66,
  ),
);

$dark-highlight-selectors-literal: (
  "default": (
    "token": "l",
    "color": #de935f,
  ),
  "date": (
    "token": "ld",
    "color": #b5bd68,
  ),
);

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

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

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

$dark-highlight-selectors-generic: (
  "default": (
    "token": "g",
  ),
  "deleted": (
    "token": "gd",
    "color": #c66,
  ),
  "emph": (
    "token": "ge",
    "italic": true,
  ),
  "error": (
    "token": "gr",
  ),
  "heading": (
    "token": "gh",
    "color": #c5c8c6,
    "bold": true,
  ),
  "inserted": (
    "token": "gi",
    "color": #b5bd68,
  ),
  "output": (
    "token": "go",
  ),
  "prompt": (
    "token": "gp",
    "color": #555,
    "bold": true,
  ),
  "strong": (
    "token": "gs",
    "bold": true,
  ),
  "subheading": (
    "token": "gu",
    "color": #8abeb7,
    "bold": true,
  ),
  "traceback": (
    "token": "gt",
  ),
  "lineno": (
    "token": "gl",
  )
);

$dark-highlight-selectors-misc: (
  "text.whitespace": (
    "token": "w",
    "color": #c5c8c6,
  ),
  "error": (
    "token": "err",
    "color": #c66,
  ),
  "other": (
    "token": "x",
  ),
  "operator": (
    "token": "o",
  ),
  "operator.word": (
    "token": "ow",
    "color": #8abeb7,
  ),
  "punctuation": (
    "token": "p",
    "color": #c5c8c6,
  ),
);

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

$dark-highlight-background: #1d1f21;
$dark-highlight-text-color: #c5c8c6;
