From fd53e3db21e4cd779cbe227f04931ad267accdd7 Mon Sep 17 00:00:00 2001 From: brecert <11599528+Brecert@users.noreply.github.com> Date: Wed, 10 Jul 2019 01:09:08 -0400 Subject: [PATCH] updated theme --- src/styles/hljs-shisutakia-theme.scss | 55 ++++++++++++++++++++------- 1 file changed, 42 insertions(+), 13 deletions(-) diff --git a/src/styles/hljs-shisutakia-theme.scss b/src/styles/hljs-shisutakia-theme.scss index 30d615b..745c7cc 100644 --- a/src/styles/hljs-shisutakia-theme.scss +++ b/src/styles/hljs-shisutakia-theme.scss @@ -1,20 +1,25 @@ $orange: #ffa243; +$pink: #e784a2; +$blue: #5cbffc; +$faded: #7d8c93; +$gray: #bdc1c7; + +$red: rgb(200, 50, 100); +$green: rgb(50, 200, 100); $primary-color: #fff; $attribute-color: #e86070 / 0.9; $variable-color: scale-color(#e4d6ff, $saturation: -90%); -$string-color: #bdc1c7; -$comment-color: #7d8c93; +$string-color: $gray; +$comment-color: $faded; $keyword-color: scale-color(#e784a2, $saturation: 100%); -$name-color: #e784a2; +$name-color: $pink; $title-color: #85b5c7; -$symbol-color: $orange; -$number-color: #5cbffc; +$number-color: $blue; $tag-color: #e8e2b7; $regexp-color: #6b60aa; $section-color: #99f; -$meta-color: $orange; .hljs- { &keyword { @@ -43,10 +48,6 @@ $meta-color: $orange; font-weight: bold; } - &symbol { - color: $symbol-color; - } - &title { color: $title-color; } @@ -71,11 +72,39 @@ $meta-color: $orange; color: $section-color; } - &meta { - color: $meta-color; + "e { + color: $faded; } - &literal, &template-variable, &tag .hljs-attr { + &bullet { + color: $gray; + } + + &meta, &link, &symbol { + color: $orange; + } + + &literal, &template-variable, &tag &attr, &addition, &deletion { color: $primary-color; } +} + +code[lang="diff"] { + .hljs- { + &deletion { + background: rgba($red, 0.5) / 2; + } + + &addition { + background: rgba($green, 0.5) / 2; + } + } +} + +.xml { + .hljs- { + &tag { + color: $faded; + } + } } \ No newline at end of file