Browse Source

theme: refine styles for MARK

Le Tan 7 years ago
parent
commit
0ae6b1a810

+ 1 - 1
src/pegmarkdownhighlighter.cpp

@@ -15,7 +15,7 @@ PegMarkdownHighlighter::PegMarkdownHighlighter(QTextDocument *p_doc)
       m_doc(p_doc),
       m_timeStamp(0),
       m_parser(NULL),
-      m_parserExts(pmh_EXT_NOTES | pmh_EXT_STRIKE | pmh_EXT_FRONTMATTER)
+      m_parserExts(pmh_EXT_NOTES | pmh_EXT_STRIKE | pmh_EXT_FRONTMATTER | pmh_EXT_MARK)
 {
 }
 

+ 0 - 4
src/resources/themes/v_detorte/v_detorte.css

@@ -16,10 +16,6 @@ h1, h2, h3, h4, h5, h6 {
     padding: 0;
 }
 
-strong, em {
-    color: #E0E0E0;
-}
-
 p {
     padding: 0;
     margin-top: 16px;

+ 4 - 0
src/resources/themes/v_detorte/v_detorte.mdhl

@@ -200,3 +200,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
 DISPLAYFORMULA
 foreground: 93d3cc
 font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
+
+MARK
+foreground: dadada
+background: 802090

+ 1 - 1
src/resources/themes/v_detorte/v_detorte.palette

@@ -9,7 +9,7 @@ mdhl_file=v_detorte.mdhl
 css_file=v_detorte.css
 codeblock_css_file=v_detorte_codeblock.css
 mermaid_css_file=v_detorte_mermaid.css
-version=6
+version=7
 
 ; 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.

+ 4 - 0
src/resources/themes/v_moonlight/v_moonlight.mdhl

@@ -199,3 +199,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
 DISPLAYFORMULA
 foreground: 4db6ac
 font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
+
+MARK
+foreground: abb2bf
+background: 551560

+ 1 - 1
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=17
+version=18
 
 ; 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.

+ 4 - 0
src/resources/themes/v_native/v_native.mdhl

@@ -195,3 +195,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
 DISPLAYFORMULA
 foreground: 00897b
 font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
+
+MARK
+foreground: 363636
+background: ffff76

+ 1 - 1
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=14
+version=15
 
 [phony]
 ; Abstract color attributes.

+ 4 - 0
src/resources/themes/v_pure/v_pure.mdhl

@@ -196,3 +196,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
 DISPLAYFORMULA
 foreground: 00897b
 font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
+
+MARK
+foreground: 222222
+background: ffff76

+ 1 - 1
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=15
+version=16
 
 [phony]
 ; Abstract color attributes.