mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
Merge pull request #1472 from chrismoran-bkt/develop
Fixed theme rendering for note text on non-dark themes.
This commit is contained in:
commit
d145310447
1185
dist/mermaid.core.js
vendored
1185
dist/mermaid.core.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mermaid.core.js.map
vendored
2
dist/mermaid.core.js.map
vendored
File diff suppressed because one or more lines are too long
1442
dist/mermaid.js
vendored
1442
dist/mermaid.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mermaid.js.map
vendored
2
dist/mermaid.js.map
vendored
File diff suppressed because one or more lines are too long
12
dist/mermaid.min.js
vendored
12
dist/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mermaid.min.js.map
vendored
2
dist/mermaid.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -31,6 +31,7 @@ $labelTextColor: $mainContrastColor;
|
|||||||
$loopTextColor: $mainContrastColor;
|
$loopTextColor: $mainContrastColor;
|
||||||
$noteBorderColor: $border2;
|
$noteBorderColor: $border2;
|
||||||
$noteBkgColor: #fff5ad;
|
$noteBkgColor: #fff5ad;
|
||||||
|
$noteTextColor: $mainBkg;
|
||||||
$activationBorderColor: $border1;
|
$activationBorderColor: $border1;
|
||||||
$activationBkgColor: $secondBkg;
|
$activationBkgColor: $secondBkg;
|
||||||
$sequenceNumberColor: white;
|
$sequenceNumberColor: white;
|
||||||
|
@ -29,6 +29,7 @@ $labelTextColor: $actorTextColor;
|
|||||||
$loopTextColor: $actorTextColor;
|
$loopTextColor: $actorTextColor;
|
||||||
$noteBorderColor: $border2;
|
$noteBorderColor: $border2;
|
||||||
$noteBkgColor: #fff5ad;
|
$noteBkgColor: #fff5ad;
|
||||||
|
$noteTextColor: $actorTextColor;
|
||||||
$activationBorderColor: #666;
|
$activationBorderColor: #666;
|
||||||
$activationBkgColor: #f4f4f4;
|
$activationBkgColor: #f4f4f4;
|
||||||
$sequenceNumberColor: white;
|
$sequenceNumberColor: white;
|
||||||
|
@ -30,6 +30,7 @@ $labelTextColor: $actorTextColor;
|
|||||||
$loopTextColor: $actorTextColor;
|
$loopTextColor: $actorTextColor;
|
||||||
$noteBorderColor: $border2;
|
$noteBorderColor: $border2;
|
||||||
$noteBkgColor: #fff5ad;
|
$noteBkgColor: #fff5ad;
|
||||||
|
$noteTextColor: $actorTextColor;
|
||||||
$activationBorderColor: #666;
|
$activationBorderColor: #666;
|
||||||
$activationBkgColor: #f4f4f4;
|
$activationBkgColor: #f4f4f4;
|
||||||
$sequenceNumberColor: white;
|
$sequenceNumberColor: white;
|
||||||
|
@ -34,6 +34,7 @@ $labelTextColor: $text;
|
|||||||
$loopTextColor: $text;
|
$loopTextColor: $text;
|
||||||
$noteBorderColor: darken($note, 60%);
|
$noteBorderColor: darken($note, 60%);
|
||||||
$noteBkgColor: $note;
|
$noteBkgColor: $note;
|
||||||
|
$noteTextColor: $actorTextColor;
|
||||||
$activationBorderColor: #666;
|
$activationBorderColor: #666;
|
||||||
$activationBkgColor: #f4f4f4;
|
$activationBkgColor: #f4f4f4;
|
||||||
$sequenceNumberColor: white;
|
$sequenceNumberColor: white;
|
||||||
|
@ -75,8 +75,8 @@ text.actor > tspan {
|
|||||||
fill: $noteBkgColor;
|
fill: $noteBkgColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.noteText {
|
.noteText, .noteText > tspan {
|
||||||
fill: $actorBkg;
|
fill: $noteTextColor;
|
||||||
stroke: none;
|
stroke: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,14 +94,3 @@ text.actor > tspan {
|
|||||||
fill: $activationBkgColor;
|
fill: $activationBkgColor;
|
||||||
stroke: $activationBorderColor;
|
stroke: $activationBorderColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
g > rect[class="note"] {
|
|
||||||
stroke: $noteBorderColor;
|
|
||||||
fill: $noteBkgColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
g > text[class="noteText"] > tspan {
|
|
||||||
stroke: $actorBkg;
|
|
||||||
fill: $actorBkg;
|
|
||||||
stroke-width: 1px;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user