From a5671e20e50cfa6cff2584f3cbed1a124ff3ff70 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 8 Jan 2022 09:14:04 +0800 Subject: [PATCH] Theme: use a FFFFFF background for pure theme --- src/data/extra/themes/pure/highlight.css | 4 ++-- src/data/extra/themes/pure/palette.json | 4 ++-- src/data/extra/themes/pure/text-editor.theme | 10 +++++----- src/data/extra/themes/pure/web.css | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/data/extra/themes/pure/highlight.css b/src/data/extra/themes/pure/highlight.css index 2c1818fd..b5a74338 100644 --- a/src/data/extra/themes/pure/highlight.css +++ b/src/data/extra/themes/pure/highlight.css @@ -32,14 +32,14 @@ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selectio code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { text-shadow: none; background-color: #1976d2; - color: #f5f5f5; + color: #ffffff; } pre[class*="language-"]::selection, pre[class*="language-"] ::selection, code[class*="language-"]::selection, code[class*="language-"] ::selection { text-shadow: none; background-color: #1976d2; - color: #f5f5f5; + color: #ffffff; } @media print { diff --git a/src/data/extra/themes/pure/palette.json b/src/data/extra/themes/pure/palette.json index f51d1214..16a9945c 100644 --- a/src/data/extra/themes/pure/palette.json +++ b/src/data/extra/themes/pure/palette.json @@ -19,8 +19,8 @@ "bg3_3" : "#d2d2d2", "bg3_4" : "#dadada", "bg3_41" : "#e0e0e0", - "bg3_5" : "#eaeaea", - "bg3_6" : "#f5f5f5", + "bg3_5" : "#f5f5f5", + "bg3_6" : "#ffffff", "fg3_5" : "#222222", "fg3_6" : "#646464", "fg3_7" : "#7a7a7a", diff --git a/src/data/extra/themes/pure/text-editor.theme b/src/data/extra/themes/pure/text-editor.theme index 405ec3bd..597a5fc3 100644 --- a/src/data/extra/themes/pure/text-editor.theme +++ b/src/data/extra/themes/pure/text-editor.theme @@ -10,8 +10,8 @@ "font-family" : "YaHei Consolas Hybrid, Consolas, Monaco, Andale Mono, Monospace, Courier New", "font-size" : 12, "text-color" : "#222222", - "background-color" : "#f5f5f5", - "selected-text-color" : "#f5f5f5", + "background-color" : "#ffffff", + "selected-text-color" : "#ffffff", "selected-background-color" : "#1976d2" }, "CursorLine" : { @@ -30,7 +30,7 @@ }, "IndicatorsBorder" : { "text-color" : "#aaaaaa", - "background-color" : "#f1f1f1" + "background-color" : "#fafafa" }, "CurrentLineNumber" : { "text-color" : "#222222" @@ -70,8 +70,8 @@ "font-family" : "YaHei Consolas Hybrid, 冬青黑体, Microsoft YaHei, 微软雅黑, Microsoft YaHei UI, WenQuanYi Micro Hei, 文泉驿雅黑, Dengxian, 等线体, STXihei, 华文细黑, Liberation Sans, Droid Sans, NSimSun, 新宋体, SimSun, 宋体, Verdana, Helvetica, Tahoma, Arial, Geneva, Georgia, Times New Roman", "font-size" : 12, "text-color" : "#222222", - "background-color" : "#f5f5f5", - "selected-text-color" : "#f5f5f5", + "background-color" : "#ffffff", + "selected-text-color" : "#ffffff", "selected-background-color" : "#1976d2" } }, diff --git a/src/data/extra/themes/pure/web.css b/src/data/extra/themes/pure/web.css index 5b36368b..0b94a9dd 100644 --- a/src/data/extra/themes/pure/web.css +++ b/src/data/extra/themes/pure/web.css @@ -4,7 +4,7 @@ body { color: #222222; line-height: 1.5; padding: 16px; - background-color: #f5f5f5; + background-color: #ffffff; font-size: 16px; } @@ -201,25 +201,25 @@ div.vx-plantuml-graph { ::selection { background-color: #1976d2; - color: #f5f5f5; + color: #ffffff; } ::-webkit-scrollbar { - background-color: #eaeaea; + background-color: #f5f5f5; width: 14px; height: 14px; border: none; } ::-webkit-scrollbar-corner { - background-color: #eaeaea; + background-color: #f5f5f5; } ::-webkit-scrollbar-button { /* This selector affects the styling of both the up & down and left & right buttons of a scrollbar */ height: 14px; width: 14px; - background-color: #eaeaea; + background-color: #f5f5f5; } ::-webkit-scrollbar-button:hover { @@ -232,7 +232,7 @@ div.vx-plantuml-graph { ::-webkit-scrollbar-track { /* This selector affects the styling of the area in the scrollbar between the two buttons */ - background-color: #eaeaea; + background-color: #f5f5f5; } ::-webkit-scrollbar-thumb {