diff options
author | Valentin Popov <info@valentineus.link> | 2019-02-22 12:50:11 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-02-22 13:04:24 +0300 |
commit | 439efb56db62cf314424e6eb224c36c4235121aa (patch) | |
tree | 4190906a588f050e3e485787e153782f0d3aa3e0 /_scss | |
parent | ec65513e8a826e6e71fda6ca0bd044969b708560 (diff) | |
download | popov.link-439efb56db62cf314424e6eb224c36c4235121aa.tar.xz popov.link-439efb56db62cf314424e6eb224c36c4235121aa.zip |
Update syntax highlighting color palette
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r-- | _scss/highlight/_main.scss | 388 |
1 files changed, 171 insertions, 217 deletions
diff --git a/_scss/highlight/_main.scss b/_scss/highlight/_main.scss index 86fbfc5..69a6c6e 100644 --- a/_scss/highlight/_main.scss +++ b/_scss/highlight/_main.scss @@ -1,263 +1,217 @@ -.highlight { - background: $color-01; - color: $color-08; - - .bp { - color: $color-08; - } - - .c { - color: $color-05; - } - - .c1 { - color: $color-05; - } - - .cm { - color: $color-05; - } - - .cp { - color: $color-05; - } - - .cs { - color: $color-05; - } - - .err { - color: $color-09; - } - - .gd { - color: $color-09; - } - - .ge { - font-style: italic; - } - - .gh { - color: $color-08; - font-weight: bold; - } - - .gi { - color: $color-07; - } - - .gp { - color: $color-05; - font-weight: bold; - } - - .gs { - font-weight: bold; - } - - .gu { - color: $color-04; - font-weight: bold; - } - - .hll { - background-color: $color-02; - } - - .il { - color: $color-10; - } - - .k { - color: $color-06; - } - - .kc { - color: $color-06; - } - - .kd { - color: $color-06; - } +$color01: #000; +$color02: #000080; +$color03: #00f; +$color04: #008080; +$color05: #080; +$color06: #555; +$color07: #800080; +$color08: #888; +$color09: #999; +$color10: #a61717; +$color11: #a00; +$color12: #aaa; +$color13: #bbb; +$color14: #dfd; +$color15: #e3d2d2; +$color16: #f00; +$color17: #fdd; +$color18: #ffc; + +.highlight.hll { + background-color: $color18; +} - .kn { - color: $color-04; - } +.highlight .c { + color: $color05; + font-style: italic; +} - .kp { - color: $color-06; - } +.highlight .err { + background-color: $color15; + color: $color10; +} - .kr { - color: $color-06; - } +.highlight .k { + color: $color02; + font-weight: bold; +} - .kt { - color: $color-11; - } +.highlight .cm { + color: $color05; + font-style: italic; +} - .l { - color: $color-10; - } +.highlight .cp { + color: $color04; +} - .ld { - color: $color-07; - } +.highlight .c1 { + color: $color05; + font-style: italic; +} - .m { - color: $color-10; - } +.highlight .cs { + color: $color05; + font-weight: bold; +} - .mf { - color: $color-10; - } +.highlight .gd { + background-color: $color17; + color: $color01; +} - .mh { - color: $color-10; - } +.highlight .ge { + font-style: italic; +} - .mi { - color: $color-10; - } +.highlight .gr { + color: $color11; +} - .mo { - color: $color-10; - } +.highlight .gh { + color: $color09; +} - .n { - color: $color-08; - } +.highlight .gi { + background-color: $color14; + color: $color01; +} - .na { - color: $color-03; - } +.highlight .go { + color: $color08; +} - .nb { - color: $color-08; - } +.highlight .gp { + color: $color06; +} - .nc { - color: $color-11; - } +.highlight .gs { + font-weight: bold; +} - .nd { - color: $color-04; - } +.highlight .gu { + color: $color12; +} - .ne { - color: $color-09; - } +.highlight .gt { + color: $color11; +} - .nf { - color: $color-03; - } +.highlight .kc { + color: $color02; + font-weight: bold; +} - .ni { - color: $color-08; - } +.highlight .kd { + color: $color02; + font-weight: bold; +} - .nl { - color: $color-08; - } +.highlight .kn { + color: $color02; + font-weight: bold; +} - .nn { - color: $color-11; - } +.highlight .kp { + color: $color02; + font-weight: bold; +} - .no { - color: $color-09; - } +.highlight .kr { + color: $color02; + font-weight: bold; +} - .nt { - color: $color-04; - } +.highlight .kt { + color: $color02; + font-weight: bold; +} - .nv { - color: $color-09; - } +.highlight .m { + color: $color03; +} - .nx { - color: $color-03; - } +.highlight .s { + color: $color03; +} - .o { - color: $color-04; - } +.highlight .na { + color: $color16; +} - .ow { - color: $color-04; - } +.highlight .nt { + color: $color02; + font-weight: bold; +} - .p { - color: $color-08; - } +.highlight .ow { + font-weight: bold; +} - .py { - color: $color-08; - } +.highlight .w { + color: $color13; +} - .s { - color: $color-07; - } +.highlight .mf { + color: $color03; +} - .s1 { - color: $color-07; - } +.highlight .mh { + color: $color03; +} - .s2 { - color: $color-07; - } +.highlight .mi { + color: $color03; +} - .sb { - color: $color-07; - } +.highlight .mo { + color: $color03; +} - .sc { - color: $color-08; - } +.highlight .sb { + color: $color03; +} - .sd { - color: $color-05; - } +.highlight .sc { + color: $color07; +} - .se { - color: $color-10; - } +.highlight .sd { + color: $color03; +} - .sh { - color: $color-07; - } +.highlight .s2 { + color: $color03; +} - .si { - color: $color-10; - } +.highlight .se { + color: $color03; +} - .sr { - color: $color-07; - } +.highlight .sh { + color: $color03; +} - .ss { - color: $color-07; - } +.highlight .si { + color: $color03; +} - .sx { - color: $color-07; - } +.highlight .sx { + color: $color03; +} - .vc { - color: $color-09; - } +.highlight .sr { + color: $color03; +} - .vg { - color: $color-09; - } +.highlight .s1 { + color: $color03; +} - .vi { - color: $color-09; - } +.highlight .ss { + color: $color03; +} - .w { - color: $color-08; - } +.highlight .il { + color: $color03; } |