theme: refine styles for MARK

This commit is contained in:
Le Tan 2018-07-25 21:19:20 +08:00
parent 5c7bc6d537
commit 0ae6b1a810
10 changed files with 21 additions and 9 deletions

View File

@ -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)
{
}

View File

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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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.