From 72378b9f2aa784425f6685a980652f8b7bfeb6ae Mon Sep 17 00:00:00 2001 From: Sascha Brendel Date: Tue, 17 Mar 2020 13:25:29 +0100 Subject: [PATCH 1/3] Fixed default white font. Closes blinkfox/typora-vue-theme#27 --- vue-dark.css | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/vue-dark.css b/vue-dark.css index ac04d35..0e5de76 100755 --- a/vue-dark.css +++ b/vue-dark.css @@ -2,12 +2,12 @@ .md-rawblock-control:not(.md-rawblock-tooltip) { background: #555; - color: #fff; + color: #eeeeee; } .md-rawblock-on-edit>.md-rawblock-tooltip, .md-rawblock:hover>.md-rawblock-container, .md-rawblock:hover>.md-rawblock-tooltip { background: #555; - color: #fff; + color: #eeeeee; } /* code color */ @@ -133,16 +133,18 @@ div.CodeMirror span.CodeMirror-matchingbracket { div.CodeMirror span.CodeMirror-nonmatchingbracket { color: #ff9090 -}:root { - --side-bar-bg-color: #343333; - /* --side-bar-bg-color: #fff; */ - --control-text-color: #ffffff; +} + +:root { + --side-bar-bg-color: #1d1d1d; + /* --side-bar-bg-color: #eeeeee; */ + --control-text-color: #aaaaaa; /* --control-text-color: #777; */ /* --select-text-bg-color: hsla(153, 47%, 49%, 0.5); */ --select-text-bg-color: hsl(153, 47%, 40%); - --select-text-font-color: #fff; + --select-text-font-color: #aaaaaa; --bg-color: #1d1d1d; - --item-hover-bg-color: #fff; + --item-hover-bg-color: #eeeeee; } /* cyrillic-ext */ @@ -403,7 +405,7 @@ html { body { font-family: Source Sans Pro, Helvetica Neue, Arial, sans-serif !important; - color: #ffffff; + color: #eeeeee; background-color: #1f1f1f; -webkit-font-smoothing: antialiased; line-height: 1.6rem; @@ -624,7 +626,7 @@ ol:last-child { blockquote { border-left: 4px solid #42b983; padding: 10px 0px 10px 15px; - color: #fff; + color: #eeeeee; background-color: rgba(66, 185, 131, .1); } @@ -941,7 +943,7 @@ footer { } .file-node-content:hover { - color: #fff; + color: #eeeeee; } html{ @@ -959,7 +961,7 @@ html{ } .dropdown-menu>li>a { - color: #fff; + color: #eeeeee; } .autoComplt-hint { @@ -985,7 +987,7 @@ html{ /* } */ .auto-suggest-container li:hover { - color: #fff !important; + color: #eeeeee !important; background-color: #42b983 !important; /* text-align: right !important; */ } @@ -1012,5 +1014,5 @@ html{ /* selected text */ /* .CodeMirror-selecte { */ /* background-color: hsla(153, 47%, 49%, 0.5) !important; */ - /* color: #fff !important; */ + /* color: #eeeeee !important; */ /* } */ \ No newline at end of file From b3cd7355da65bd300b9c214d04271cb9cd24e097 Mon Sep 17 00:00:00 2001 From: Sascha Brendel Date: Tue, 17 Mar 2020 13:34:42 +0100 Subject: [PATCH 2/3] Fixed scrollbar on tables. Closes blinkfox/typora-vue-theme#26 --- vue-dark.css | 1 + 1 file changed, 1 insertion(+) diff --git a/vue-dark.css b/vue-dark.css index ac04d35..bf20167 100755 --- a/vue-dark.css +++ b/vue-dark.css @@ -632,6 +632,7 @@ table { font-family: Menlo, Source Sans Pro, Monaco, courier, monospace !important; font-size: 0.85rem; padding: 0; + overflow: hidden; word-break: initial; } From 3cd82a30d408ec536d9302277624e078985c6d98 Mon Sep 17 00:00:00 2001 From: Sascha Brendel Date: Tue, 17 Mar 2020 14:24:07 +0100 Subject: [PATCH 3/3] Fixed ordered list line indention bug. --- vue.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.css b/vue.css index c671f29..ec13b2b 100755 --- a/vue.css +++ b/vue.css @@ -281,7 +281,7 @@ body { } #write ol li { - text-indent: 0.5rem; + padding-left: 0.5rem; } #write > ul:first-child,