mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
theme: refine styles for MARK
This commit is contained in:
parent
5c7bc6d537
commit
0ae6b1a810
@ -15,7 +15,7 @@ PegMarkdownHighlighter::PegMarkdownHighlighter(QTextDocument *p_doc)
|
|||||||
m_doc(p_doc),
|
m_doc(p_doc),
|
||||||
m_timeStamp(0),
|
m_timeStamp(0),
|
||||||
m_parser(NULL),
|
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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,10 +16,6 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong, em {
|
|
||||||
color: #E0E0E0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
|
@ -200,3 +200,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
|||||||
DISPLAYFORMULA
|
DISPLAYFORMULA
|
||||||
foreground: 93d3cc
|
foreground: 93d3cc
|
||||||
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
||||||
|
|
||||||
|
MARK
|
||||||
|
foreground: dadada
|
||||||
|
background: 802090
|
||||||
|
@ -9,7 +9,7 @@ mdhl_file=v_detorte.mdhl
|
|||||||
css_file=v_detorte.css
|
css_file=v_detorte.css
|
||||||
codeblock_css_file=v_detorte_codeblock.css
|
codeblock_css_file=v_detorte_codeblock.css
|
||||||
mermaid_css_file=v_detorte_mermaid.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
|
; 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.
|
; without background. You could just specify the foreground colors mapping here.
|
||||||
|
@ -199,3 +199,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
|||||||
DISPLAYFORMULA
|
DISPLAYFORMULA
|
||||||
foreground: 4db6ac
|
foreground: 4db6ac
|
||||||
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
||||||
|
|
||||||
|
MARK
|
||||||
|
foreground: abb2bf
|
||||||
|
background: 551560
|
||||||
|
@ -7,7 +7,7 @@ mdhl_file=v_moonlight.mdhl
|
|||||||
css_file=v_moonlight.css
|
css_file=v_moonlight.css
|
||||||
codeblock_css_file=v_moonlight_codeblock.css
|
codeblock_css_file=v_moonlight_codeblock.css
|
||||||
mermaid_css_file=v_moonlight_mermaid.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
|
; 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.
|
; without background. You could just specify the foreground colors mapping here.
|
||||||
|
@ -195,3 +195,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
|||||||
DISPLAYFORMULA
|
DISPLAYFORMULA
|
||||||
foreground: 00897b
|
foreground: 00897b
|
||||||
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
||||||
|
|
||||||
|
MARK
|
||||||
|
foreground: 363636
|
||||||
|
background: ffff76
|
||||||
|
@ -7,7 +7,7 @@ mdhl_file=v_native.mdhl
|
|||||||
css_file=v_native.css
|
css_file=v_native.css
|
||||||
codeblock_css_file=v_native_codeblock.css
|
codeblock_css_file=v_native_codeblock.css
|
||||||
mermaid_css_file=v_native_mermaid.css
|
mermaid_css_file=v_native_mermaid.css
|
||||||
version=14
|
version=15
|
||||||
|
|
||||||
[phony]
|
[phony]
|
||||||
; Abstract color attributes.
|
; Abstract color attributes.
|
||||||
|
@ -196,3 +196,7 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
|||||||
DISPLAYFORMULA
|
DISPLAYFORMULA
|
||||||
foreground: 00897b
|
foreground: 00897b
|
||||||
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
|
||||||
|
|
||||||
|
MARK
|
||||||
|
foreground: 222222
|
||||||
|
background: ffff76
|
||||||
|
@ -7,7 +7,7 @@ mdhl_file=v_pure.mdhl
|
|||||||
css_file=v_pure.css
|
css_file=v_pure.css
|
||||||
codeblock_css_file=v_pure_codeblock.css
|
codeblock_css_file=v_pure_codeblock.css
|
||||||
mermaid_css_file=v_pure_mermaid.css
|
mermaid_css_file=v_pure_mermaid.css
|
||||||
version=15
|
version=16
|
||||||
|
|
||||||
[phony]
|
[phony]
|
||||||
; Abstract color attributes.
|
; Abstract color attributes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user