From 660e2ba86aeb1a88a81fed5ab864c19d66627bba Mon Sep 17 00:00:00 2001 From: Le Tan Date: Fri, 4 May 2018 20:37:03 +0800 Subject: [PATCH] theme: refine selection color --- src/resources/themes/v_moonlight/v_moonlight.css | 3 ++- src/resources/themes/v_moonlight/v_moonlight.mdhl | 6 +++--- src/resources/themes/v_moonlight/v_moonlight.palette | 2 +- src/resources/themes/v_native/v_native.css | 3 ++- src/resources/themes/v_native/v_native.mdhl | 4 ++-- src/resources/themes/v_native/v_native.palette | 2 +- src/resources/themes/v_pure/v_pure.css | 3 ++- src/resources/themes/v_pure/v_pure.mdhl | 4 ++-- src/resources/themes/v_pure/v_pure.palette | 2 +- 9 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/resources/themes/v_moonlight/v_moonlight.css b/src/resources/themes/v_moonlight/v_moonlight.css index 34e8c370..38b7afc5 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.css +++ b/src/resources/themes/v_moonlight/v_moonlight.css @@ -311,5 +311,6 @@ table.hljs-ln tr td.hljs-ln-code { } ::selection { - background: #64B5F6; + background: #1976D2; + color: #BCBCBC; } diff --git a/src/resources/themes/v_moonlight/v_moonlight.mdhl b/src/resources/themes/v_moonlight/v_moonlight.mdhl index eb69c559..5bee2811 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.mdhl +++ b/src/resources/themes/v_moonlight/v_moonlight.mdhl @@ -41,8 +41,8 @@ preview-image-line-foreground: 6f5799 mathjax-foreground: 4db6ac editor-selection -foreground: dadada -background: 1e88e5 +foreground: bcbcbc +background: 1976d2 editor-current-line background: 353d49 @@ -51,7 +51,7 @@ vim-insert-background: 353d49 # [VNote] Vim normal mode cursor line background vim-normal-background: 373c47 # [VNote] Vim visual mode cursor line background -vim-visual-background: 105fa2 +vim-visual-background: 0d47a1 # [VNote] Vim replace mode cursor line background vim-replace-background: 2f3377 diff --git a/src/resources/themes/v_moonlight/v_moonlight.palette b/src/resources/themes/v_moonlight/v_moonlight.palette index e599f9b6..12d65b7d 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.palette +++ b/src/resources/themes/v_moonlight/v_moonlight.palette @@ -7,7 +7,7 @@ mdhl_file=v_moonlight.mdhl css_file=v_moonlight.css codeblock_css_file=v_moonlight_codeblock.css mermaid_css_file=v_moonlight_mermaid.css -version=9 +version=10 ; This mapping will be used to translate colors when the content of HTML is copied ; without background. You could just specify the foreground colors mapping here. diff --git a/src/resources/themes/v_native/v_native.css b/src/resources/themes/v_native/v_native.css index f1eaefc0..f83ea116 100644 --- a/src/resources/themes/v_native/v_native.css +++ b/src/resources/themes/v_native/v_native.css @@ -241,5 +241,6 @@ table.hljs-ln tr td.hljs-ln-code { } ::selection { - background: #64B5F6; + background: #1976D2; + color: white; } diff --git a/src/resources/themes/v_native/v_native.mdhl b/src/resources/themes/v_native/v_native.mdhl index 05b229ff..93a50332 100644 --- a/src/resources/themes/v_native/v_native.mdhl +++ b/src/resources/themes/v_native/v_native.mdhl @@ -40,8 +40,8 @@ preview-image-line-foreground: 9575cd mathjax-foreground: 00897b editor-selection -foreground: eeeeee -background: 005fff +foreground: ffffff +background: 1976d2 editor-current-line background: c5cae9 diff --git a/src/resources/themes/v_native/v_native.palette b/src/resources/themes/v_native/v_native.palette index 4db985c4..7cc808c0 100644 --- a/src/resources/themes/v_native/v_native.palette +++ b/src/resources/themes/v_native/v_native.palette @@ -7,7 +7,7 @@ mdhl_file=v_native.mdhl css_file=v_native.css codeblock_css_file=v_native_codeblock.css mermaid_css_file=v_native_mermaid.css -version=9 +version=10 [phony] ; Abstract color attributes. diff --git a/src/resources/themes/v_pure/v_pure.css b/src/resources/themes/v_pure/v_pure.css index f2a696bb..7961c77a 100644 --- a/src/resources/themes/v_pure/v_pure.css +++ b/src/resources/themes/v_pure/v_pure.css @@ -311,5 +311,6 @@ table.hljs-ln tr td.hljs-ln-code { } ::selection { - background: #64B5F6; + background: #1976D2; + color: #F5F5F5; } diff --git a/src/resources/themes/v_pure/v_pure.mdhl b/src/resources/themes/v_pure/v_pure.mdhl index a2d8a19f..402b27ea 100644 --- a/src/resources/themes/v_pure/v_pure.mdhl +++ b/src/resources/themes/v_pure/v_pure.mdhl @@ -41,8 +41,8 @@ preview-image-line-foreground: 9575cd mathjax-foreground: 00897b editor-selection -foreground: eeeeee -background: 005fff +foreground: f5f5f5 +background: 1976d2 editor-current-line background: c5cae9 diff --git a/src/resources/themes/v_pure/v_pure.palette b/src/resources/themes/v_pure/v_pure.palette index eca267ce..c96eced6 100644 --- a/src/resources/themes/v_pure/v_pure.palette +++ b/src/resources/themes/v_pure/v_pure.palette @@ -7,7 +7,7 @@ mdhl_file=v_pure.mdhl css_file=v_pure.css codeblock_css_file=v_pure_codeblock.css mermaid_css_file=v_pure_mermaid.css -version=9 +version=10 [phony] ; Abstract color attributes.