Skip to content

Commit

Permalink
fix: #135 流程图条件文字背景色
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Apr 14, 2023
1 parent b45b57e commit 230d835
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 12 deletions.
3 changes: 2 additions & 1 deletion drake-ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-black.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-google.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-jb.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-juejin.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-material.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-purple.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-vue.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake-vue3.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down
3 changes: 2 additions & 1 deletion drake.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ pre.md-fences-advanced.md-focus .md-fences-adv-panel {
fill: var(--bg-color) !important;
}
.md-diagram-panel-preview .edgeLabel span { /*条件文字*/
color: var(--text-color);
color: var(--text-color) !important;
background: var(--bg-color) !important;
}
.md-diagram-panel-preview .node rect,
.md-diagram-panel-preview .node circle,
Expand Down

0 comments on commit 230d835

Please sign in to comment.