From 87718b0dae4e72facdcc9aab0e6245686fc6d1a3 Mon Sep 17 00:00:00 2001 From: drake Date: Sun, 4 Sep 2022 15:30:07 +0800 Subject: [PATCH] fix: #102 mermaid type --- drake-ayu.css | 34 ++++++++++++++++++++++++++++++++-- drake-black.css | 34 ++++++++++++++++++++++++++++++++-- drake-dark.css | 36 +++++++++++++++++++++++++++++++++--- drake-google.css | 34 ++++++++++++++++++++++++++++++++-- drake-jb.css | 34 ++++++++++++++++++++++++++++++++-- drake-juejin.css | 34 ++++++++++++++++++++++++++++++++-- drake-light.css | 34 ++++++++++++++++++++++++++++++++-- drake-material.css | 34 ++++++++++++++++++++++++++++++++-- drake-purple.css | 34 ++++++++++++++++++++++++++++++++-- drake-vue.css | 34 ++++++++++++++++++++++++++++++++-- drake-vue3.css | 34 ++++++++++++++++++++++++++++++++-- drake.css | 34 ++++++++++++++++++++++++++++++++-- 12 files changed, 385 insertions(+), 25 deletions(-) diff --git a/drake-ayu.css b/drake-ayu.css index 3c9d85e..4edfca7 100644 --- a/drake-ayu.css +++ b/drake-ayu.css @@ -108,6 +108,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -120,7 +150,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -189,7 +219,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-black.css b/drake-black.css index 5040250..04f7f9b 100644 --- a/drake-black.css +++ b/drake-black.css @@ -108,6 +108,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -120,7 +150,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -189,7 +219,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-dark.css b/drake-dark.css index dbc369d..31c8671 100644 --- a/drake-dark.css +++ b/drake-dark.css @@ -108,11 +108,41 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } [id^=mermaidChart] rect.rect { - fill: rgba(175, 255, 212, 0.2) !important; + fill: rgba(175, 255, 212, 0.3) !important; } .md-diagram-panel-preview text.actor > tspan { /*方块文字*/ fill: var(--code-block-color) !important; @@ -120,7 +150,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -189,7 +219,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-google.css b/drake-google.css index 1591304..a649a31 100644 --- a/drake-google.css +++ b/drake-google.css @@ -101,6 +101,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -113,7 +143,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -182,7 +212,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-jb.css b/drake-jb.css index 50a7b0b..dbb1a37 100644 --- a/drake-jb.css +++ b/drake-jb.css @@ -105,6 +105,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -117,7 +147,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -186,7 +216,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-juejin.css b/drake-juejin.css index 2a1c615..e2eccb0 100644 --- a/drake-juejin.css +++ b/drake-juejin.css @@ -111,6 +111,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -123,7 +153,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -192,7 +222,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-light.css b/drake-light.css index 289295e..b044505 100644 --- a/drake-light.css +++ b/drake-light.css @@ -100,6 +100,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -112,7 +142,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -181,7 +211,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-material.css b/drake-material.css index f12d174..4e9a564 100644 --- a/drake-material.css +++ b/drake-material.css @@ -108,6 +108,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -120,7 +150,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -189,7 +219,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-purple.css b/drake-purple.css index a1fd8fa..e5aa507 100644 --- a/drake-purple.css +++ b/drake-purple.css @@ -108,6 +108,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -120,7 +150,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -189,7 +219,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-vue.css b/drake-vue.css index b40da88..475cb26 100644 --- a/drake-vue.css +++ b/drake-vue.css @@ -100,6 +100,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -112,7 +142,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -181,7 +211,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake-vue3.css b/drake-vue3.css index 9573aab..b2f95f2 100644 --- a/drake-vue3.css +++ b/drake-vue3.css @@ -108,6 +108,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -120,7 +150,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -189,7 +219,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; } diff --git a/drake.css b/drake.css index d462f7c..8bdf381 100644 --- a/drake.css +++ b/drake.css @@ -105,6 +105,36 @@ p { } /*mermaid*/ +[mermaid-type="journey"] line { + stroke: #7a7a7a !important; +} +[mermaid-type="journey"] .label { + color: #333 !important; +} +[id^=mermaidChart] .relationshipLabelBox { + fill: var(--bg-color) !important; + opacity: 1 !important; + background-color: var(--bg-color) !important; +} +[id^=mermaidChart] .legend { + fill: var(--text-color) !important; +} +[id^=mermaidChart] g.label { + font-size: 1rem !important; +} +[id^=mermaidChart] line.divider { + stroke: var(--table-border-color) !important; +} +[id^=mermaidChart] span.nodeLabel { + color: var(--code-block-color) !important; + line-height: 1.8rem; +} +tspan { + color: var(--text-color) +} +[id^=mermaidChart] .entityLabel { + fill: var(--code-block-color) !important; +} [id^=mermaidChart] { fill: var(--text-color) !important; } @@ -117,7 +147,7 @@ p { font-family: var(--text-font) !important; font-size: 1rem !important; } -.md-diagram-panel-preview .actor { /*方块*/ +.md-diagram-panel-preview .actor, .md-diagram-panel-preview .entityBox { /*方块*/ stroke: var(--table-border-color) !important; fill: var(--code-block-bg-color) !important; } @@ -186,7 +216,7 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel { fill: var(--code-block-bg-color) !important; } #write .md-diagram-panel .md-diagram-panel-preview div { /*形状内文字*/ - color: var(--code-block-color) !important; + color: var(--code-block-color); font-family: var(--text-font) !important; font-size: 1rem !important; }