UNPKG

syntax-highlighting

Version:

Syntax Highlighting Colorschemes for many applications

117 lines (102 loc) 2.07 kB
/* Name: Base16 Duotone-DarkEarth Dark Author: adapted from: Simurai (https://github.com/simurai/duotone-dark-earth-syntax/) highlight.js v8.0 template by Jan T. Sott (https://github.com/idleberg/base16-highlight.js) Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ @base00: #322d29; @base01: #3f3a37; @base02: #5b534d; @base03: #6a5f58; @base04: #796b63; @base05: #88786d; @base06: #a48774; @base07: #fff3eb; @base08: #da8952; @base09: #bfa05a; @base0a: #ccad66; @base0b: #a89771; @base0c: #fcc440; @base0d: #d7b975; @base0e: #eba475; @base0f: #e39663; // Duotone-DarkEarth Comment .hljs-comment { color: @base04; } // Duotone-DarkEarth Red .hljs-variable, .hljs-attribute, .hljs-tag, .hljs-regexp, .ruby .hljs-constant, .xml .hljs-tag .hljs-title, .xml .hljs-pi, .xml .hljs-doctype, .html .hljs-doctype, .css .hljs-id, .css .hljs-class, .css .hljs-pseudo { color: @base08; } // Duotone-DarkEarth Orange .hljs-number, .hljs-preprocessor, .hljs-built_in, .hljs-literal, .hljs-params, .hljs-constant { color: @base09; } // Duotone-DarkEarth Yellow .ruby .hljs-class .hljs-title, .css .hljs-rules .hljs-attribute { color: @base0a; } // Duotone-DarkEarth Green .hljs-string, .hljs-value, .hljs-inheritance, .hljs-header, .ruby .hljs-symbol, .xml .hljs-cdata { color: @base0b; } // Duotone-DarkEarth Aqua .hljs-title, .css .hljs-hexcolor { color: @base0c; } // Duotone-DarkEarth Blue .hljs-function, .python .hljs-decorator, .python .hljs-title, .ruby .hljs-function .hljs-title, .ruby .hljs-title .hljs-keyword, .perl .hljs-sub, .javascript .hljs-title, .coffeescript .hljs-title { color: @base0d; } // Duotone-DarkEarth Purple .hljs-keyword, .javascript .hljs-function { color: @base0e; } .hljs { display: block; overflow-x: auto; background: @base00; color: @base05; padding: 0.5em; -webkit-text-size-adjust: none; } .coffeescript .javascript, .javascript .xml, .tex .hljs-formula, .xml .javascript, .xml .vbscript, .xml .css, .xml .hljs-cdata { opacity: 0.5; }