From a722477f1324afaabb69bb8f1c635e43b346962f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 16 Dec 2018 18:52:09 +0400 Subject: feat(css): Update the syntax highlighting colors Signed-off-by: Valentin Popov --- _scss/base/_highlight.scss | 368 ++------------------------------------------- 1 file changed, 13 insertions(+), 355 deletions(-) (limited to '_scss/base') diff --git a/_scss/base/_highlight.scss b/_scss/base/_highlight.scss index b4de65f..31c1ad4 100644 --- a/_scss/base/_highlight.scss +++ b/_scss/base/_highlight.scss @@ -1,355 +1,13 @@ -$color01: #000; -$color02: #000080; -$color03: #0000cf; -$color04: #00a000; -$color05: #204a87; -$color06: #3465a4; -$color07: #4e9a06; -$color08: #5c35cc; -$color09: #800080; -$color10: #8f5902; -$color11: #a40000; -$color12: #c4a000; -$color13: #c00; -$color14: #ce5c00; -$color15: #ef2929; -$color16: #f57900; -$color17: #f8f8f8; - -.highlight { - .c { - color: $color10; - font-style: italic; - } - - .err { - border: 1px solid $color15; - color: $color11; - } - - .g { - color: $color01; - } - - .k { - color: $color05; - font-weight: bold; - } - - .l { - color: $color01; - } - - .n { - color: $color01; - } - - .o { - color: $color14; - font-weight: bold; - } - - .x { - color: $color01; - } - - .p { - color: $color01; - font-weight: bold; - } - - .ch { - color: $color10; - font-style: italic; - } - - .cm { - color: $color10; - font-style: italic; - } - - .cp { - color: $color10; - font-style: italic; - } - - .cpf { - color: $color10; - font-style: italic; - } - - .c1 { - color: $color10; - font-style: italic; - } - - .cs { - color: $color10; - font-style: italic; - } - - .gd { - color: $color11; - } - - .ge { - color: $color01; - font-style: italic; - } - - .gr { - color: $color15; - } - - .gh { - color: $color02; - font-weight: bold; - } - - .gi { - color: $color04; - } - - .go { - color: $color01; - font-style: italic; - } - - .gp { - color: $color10; - } - - .gs { - color: $color01; - font-weight: bold; - } - - .gu { - color: $color09; - font-weight: bold; - } - - .gt { - color: $color11; - font-weight: bold; - } - - .kc { - color: $color05; - font-weight: bold; - } - - .kd { - color: $color05; - font-weight: bold; - } - - .kn { - color: $color05; - font-weight: bold; - } - - .kp { - color: $color05; - font-weight: bold; - } - - .kr { - color: $color05; - font-weight: bold; - } - - .kt { - color: $color05; - font-weight: bold; - } - - .ld { - color: $color01; - } - - .m { - color: $color03; - font-weight: bold; - } - - .s { - color: $color07; - } - - .na { - color: $color12; - } - - .nb { - color: $color05; - } - - .nc { - color: $color01; - } - - .no { - color: $color01; - } - - .nd { - color: $color08; - font-weight: bold; - } - - .ni { - color: $color14; - } - - .ne { - color: $color13; - font-weight: bold; - } - - .nf { - color: $color01; - } - - .nl { - color: $color16; - } - - .nn { - color: $color01; - } - - .nx { - color: $color01; - } - - .py { - color: $color01; - } - - .nt { - color: $color05; - font-weight: bold; - } - - .nv { - color: $color01; - } - - .ow { - color: $color05; - font-weight: bold; - } - - .w { - color: $color17; - text-decoration: underline; - } - - .mb { - color: $color03; - font-weight: bold; - } - - .mf { - color: $color03; - font-weight: bold; - } - - .mh { - color: $color03; - font-weight: bold; - } - - .mi { - color: $color03; - font-weight: bold; - } - - .mo { - color: $color03; - font-weight: bold; - } - - .sa { - color: $color07; - } - - .sb { - color: $color07; - } - - .sc { - color: $color07; - } - - .dl { - color: $color07; - } - - .sd { - color: $color10; - font-style: italic; - } - - .s2 { - color: $color07; - } - - .se { - color: $color07; - } - - .sh { - color: $color07; - } - - .si { - color: $color07; - } - - .sx { - color: $color07; - } - - .sr { - color: $color07; - } - - .s1 { - color: $color07; - } - - .ss { - color: $color07; - } - - .bp { - color: $color06; - } - - .fm { - color: $color01; - } - - .vc { - color: $color01; - } - - .vg { - color: $color01; - } - - .vi { - color: $color01; - } - - .vm { - color: $color01; - } - - .il { - color: $color03; - font-weight: bold; - } -} +$color-01: #1d1f21; +$color-02: #373b41; +$color-03: #81a2be; +$color-04: #8abeb7; +$color-05: #969896; +$color-06: #b294bb; +$color-07: #b5bd68; +$color-08: #c5c8c6; +$color-09: #c66; +$color-10: #de935f; +$color-11: #f0c674; + +@import 'highlight/main'; -- cgit v1.2.3