syntax-highlighting
Version:
Syntax Highlighting Colorschemes for many applications
117 lines (102 loc) • 2.06 kB
text/less
/*
Name: Base16 Duotone-DarkPool Dark
Author: adapted from: Simurai (https://github.com/simurai/duotone-dark-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: #1e2138;
@base01: #292c47;
@base02: #44486f;
@base03: #51557b;
@base04: #5e6287;
@base05: #6771c5;
@base06: #a5adfe;
@base07: #e1e4ff;
@base08: #2d3dd2;
@base09: #ed5e87;
@base0a: #f4769a;
@base0b: #ad8590;
@base0c: #ffa8c1;
@base0d: #f990ad;
@base0e: #5762c7;
@base0f: #3f4ecf;
// Duotone-DarkPool Comment
.hljs-comment {
color: @base04;
}
// Duotone-DarkPool 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-DarkPool Orange
.hljs-number,
.hljs-preprocessor,
.hljs-built_in,
.hljs-literal,
.hljs-params,
.hljs-constant {
color: @base09;
}
// Duotone-DarkPool Yellow
.ruby .hljs-class .hljs-title,
.css .hljs-rules .hljs-attribute {
color: @base0a;
}
// Duotone-DarkPool Green
.hljs-string,
.hljs-value,
.hljs-inheritance,
.hljs-header,
.ruby .hljs-symbol,
.xml .hljs-cdata {
color: @base0b;
}
// Duotone-DarkPool Aqua
.hljs-title,
.css .hljs-hexcolor {
color: @base0c;
}
// Duotone-DarkPool 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-DarkPool 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;
}