From a1bef712151bf95c538f0adf7bf432a3a957f4b2 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Wed, 6 Jun 2018 21:53:19 +0800 Subject: [PATCH] theme: refine v_moonlight --- src/resources/themes/v_moonlight/v_moonlight.css | 2 +- src/resources/themes/v_moonlight/v_moonlight.mdhl | 10 +++++----- src/resources/themes/v_moonlight/v_moonlight.palette | 10 +++++----- .../themes/v_moonlight/v_moonlight_codeblock.css | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/resources/themes/v_moonlight/v_moonlight.css b/src/resources/themes/v_moonlight/v_moonlight.css index 5bc268d9..99d26b38 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.css +++ b/src/resources/themes/v_moonlight/v_moonlight.css @@ -98,7 +98,7 @@ pre code { overflow-x: auto; padding: 0.5em; color: #98C379; - background-color: #2C313A; + background-color: #343A45; line-height: 1.5; font-family: Consolas, Monaco, Monospace, Courier; white-space: pre; diff --git a/src/resources/themes/v_moonlight/v_moonlight.mdhl b/src/resources/themes/v_moonlight/v_moonlight.mdhl index 2a63b274..1cd0fd5e 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.mdhl +++ b/src/resources/themes/v_moonlight/v_moonlight.mdhl @@ -19,7 +19,7 @@ background: 282c34 trailing-space: 636d81 # [VNote] Style for line number line-number-background: 2c313a -line-number-foreground: 5c6370 +line-number-foreground: 6e7686 # [VNote] Style for selected word highlight selected-word-foreground: 222222 selected-word-background: dfdf00 @@ -127,7 +127,7 @@ HTML_ENTITY foreground: abb2bf COMMENT -foreground: 5c6370 +foreground: 6e7686 VERBATIM foreground: 98c379 @@ -135,8 +135,8 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New # [VNote] Codeblock sylte from HighlightJS (bold, italic, underlined, strikeout, color) # The last occurence of the same attribute takes effect # Could specify multiple attribute in one line -hljs-comment: 5c6370 -hljs-quote: 5c6370 +hljs-comment: 6e7686 +hljs-quote: 6e7686 hljs-doctag: c678dd hljs-keyword: c678dd hljs-formula: c678dd @@ -171,7 +171,7 @@ hljs-emphasis: italic hljs-strong: bold BLOCKQUOTE -foreground: 5c6370 +foreground: 6e7686 STRIKE foreground: e57373 diff --git a/src/resources/themes/v_moonlight/v_moonlight.palette b/src/resources/themes/v_moonlight/v_moonlight.palette index 5b0ddf13..ce6656ce 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.palette +++ b/src/resources/themes/v_moonlight/v_moonlight.palette @@ -13,7 +13,7 @@ version=12 ; without background. You could just specify the foreground colors mapping here. ; It is useful for dark mode theme. '#aabbcc' or 'red' formats are supported. ; col1:col1_new,col2:col2_new -css_color_mapping=#abb2bf:#222222,#282c34:#f5f5f5,#61afef:#0099ff,#98c379:#8e24aa,#2c313a:#e0e0e0,#5c6370:#666666,#373e47:#999999,#6c6c6c:#444444,#c678dd:#0000ee,#e06c75:#880000,#56b6c2:#af00d7,#e6c07b:#008700,#d19a66:#bc6060,#61aeee:#bc6060 +css_color_mapping=#abb2bf:#222222,#282c34:#f5f5f5,#61afef:#0099ff,#98c379:#8e24aa,#343a45:#e0e0e0,#6e7686:#666666,#373e47:#999999,#6c6c6c:#444444,#c678dd:#0000ee,#e06c75:#880000,#56b6c2:#af00d7,#e6c07b:#008700,#d19a66:#bc6060,#61aeee:#bc6060 [phony] ; Abstract color attributes. @@ -39,14 +39,14 @@ disabled_fg=#4D5765 content_fg=@base_fg content_bg=@base_bg -border_bg=#181A1F +border_bg=#4e5666 -separator_bg=#373E47 +separator_bg=#576071 -hover_fg=#D7DAE0 +hover_fg=#C9CED6 hover_bg=#31363F -selected_fg=#FFFFFF +selected_fg=#C9CED6 selected_bg=#3A3F4B active_fg=@selected_fg diff --git a/src/resources/themes/v_moonlight/v_moonlight_codeblock.css b/src/resources/themes/v_moonlight/v_moonlight_codeblock.css index 5a604e0b..2fbd2b1e 100644 --- a/src/resources/themes/v_moonlight/v_moonlight_codeblock.css +++ b/src/resources/themes/v_moonlight/v_moonlight_codeblock.css @@ -3,7 +3,7 @@ Atom One Dark by Daniel Gamage Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax -base: #2c313a +base: #343a45 mono-1: #abb2bf mono-2: #818896 mono-3: #5c6370 @@ -23,12 +23,12 @@ hue-6-2: #e6c07b overflow-x: auto; padding: 0.5em; color: #abb2bf; - background: #2c313a; + background: #343a45; } .hljs-comment, .hljs-quote { - color: #5c6370; + color: #6e7686; font-style: italic; }