mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
revert styling changes
This commit is contained in:
parent
49a0d0d9bf
commit
099a239207
@ -250,7 +250,7 @@ The theming engine will only recognize hex colors and not color names. So, the v
|
|||||||
| actorBkg | mainBkg | Actor Background Color |
|
| actorBkg | mainBkg | Actor Background Color |
|
||||||
| actorBorder | primaryBorderColor | Actor Border Color |
|
| actorBorder | primaryBorderColor | Actor Border Color |
|
||||||
| actorTextColor | primaryTextColor | Actor Text Color |
|
| actorTextColor | primaryTextColor | Actor Text Color |
|
||||||
| actorLineColor | grey | Actor Line Color |
|
| actorLineColor | actorBorder | Actor Line Color |
|
||||||
| signalColor | textColor | Signal Color |
|
| signalColor | textColor | Signal Color |
|
||||||
| signalTextColor | textColor | Signal Text Color |
|
| signalTextColor | textColor | Signal Text Color |
|
||||||
| labelBoxBkgColor | actorBkg | Label Box Background Color |
|
| labelBoxBkgColor | actorBkg | Label Box Background Color |
|
||||||
|
@ -172,7 +172,7 @@ The theming engine will only recognize hex colors and not color names. So, the v
|
|||||||
| actorBkg | mainBkg | Actor Background Color |
|
| actorBkg | mainBkg | Actor Background Color |
|
||||||
| actorBorder | primaryBorderColor | Actor Border Color |
|
| actorBorder | primaryBorderColor | Actor Border Color |
|
||||||
| actorTextColor | primaryTextColor | Actor Text Color |
|
| actorTextColor | primaryTextColor | Actor Text Color |
|
||||||
| actorLineColor | grey | Actor Line Color |
|
| actorLineColor | actorBorder | Actor Line Color |
|
||||||
| signalColor | textColor | Signal Color |
|
| signalColor | textColor | Signal Color |
|
||||||
| signalTextColor | textColor | Signal Text Color |
|
| signalTextColor | textColor | Signal Text Color |
|
||||||
| labelBoxBkgColor | actorBkg | Label Box Background Color |
|
| labelBoxBkgColor | actorBkg | Label Box Background Color |
|
||||||
|
@ -70,7 +70,7 @@ class Theme {
|
|||||||
this.actorBorder = this.actorBorder || this.primaryBorderColor;
|
this.actorBorder = this.actorBorder || this.primaryBorderColor;
|
||||||
this.actorBkg = this.actorBkg || this.mainBkg;
|
this.actorBkg = this.actorBkg || this.mainBkg;
|
||||||
this.actorTextColor = this.actorTextColor || this.primaryTextColor;
|
this.actorTextColor = this.actorTextColor || this.primaryTextColor;
|
||||||
this.actorLineColor = this.actorLineColor || 'grey';
|
this.actorLineColor = this.actorLineColor || this.actorBorder;
|
||||||
this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg;
|
this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg;
|
||||||
this.signalColor = this.signalColor || this.textColor;
|
this.signalColor = this.signalColor || this.textColor;
|
||||||
this.signalTextColor = this.signalTextColor || this.textColor;
|
this.signalTextColor = this.signalTextColor || this.textColor;
|
||||||
|
@ -109,7 +109,7 @@ class Theme {
|
|||||||
this.actorBorder = this.border1;
|
this.actorBorder = this.border1;
|
||||||
this.actorBkg = this.mainBkg;
|
this.actorBkg = this.mainBkg;
|
||||||
this.actorTextColor = this.mainContrastColor;
|
this.actorTextColor = this.mainContrastColor;
|
||||||
this.actorLineColor = this.mainContrastColor;
|
this.actorLineColor = this.actorBorder;
|
||||||
this.signalColor = this.mainContrastColor;
|
this.signalColor = this.mainContrastColor;
|
||||||
this.signalTextColor = this.mainContrastColor;
|
this.signalTextColor = this.mainContrastColor;
|
||||||
this.labelBoxBkgColor = this.actorBkg;
|
this.labelBoxBkgColor = this.actorBkg;
|
||||||
|
@ -53,7 +53,7 @@ class Theme {
|
|||||||
this.actorBorder = 'calculated';
|
this.actorBorder = 'calculated';
|
||||||
this.actorBkg = 'calculated';
|
this.actorBkg = 'calculated';
|
||||||
this.actorTextColor = 'black';
|
this.actorTextColor = 'black';
|
||||||
this.actorLineColor = 'grey';
|
this.actorLineColor = 'calculated';
|
||||||
this.signalColor = 'calculated';
|
this.signalColor = 'calculated';
|
||||||
this.signalTextColor = 'calculated';
|
this.signalTextColor = 'calculated';
|
||||||
this.labelBoxBkgColor = 'calculated';
|
this.labelBoxBkgColor = 'calculated';
|
||||||
|
@ -46,7 +46,7 @@ class Theme {
|
|||||||
this.actorBorder = 'calculated';
|
this.actorBorder = 'calculated';
|
||||||
this.actorBkg = 'calculated';
|
this.actorBkg = 'calculated';
|
||||||
this.actorTextColor = 'black';
|
this.actorTextColor = 'black';
|
||||||
this.actorLineColor = 'grey';
|
this.actorLineColor = 'calculated';
|
||||||
this.signalColor = '#333';
|
this.signalColor = '#333';
|
||||||
this.signalTextColor = '#333';
|
this.signalTextColor = '#333';
|
||||||
this.labelBoxBkgColor = 'calculated';
|
this.labelBoxBkgColor = 'calculated';
|
||||||
|
@ -58,7 +58,7 @@ class Theme {
|
|||||||
this.actorBorder = 'calculated';
|
this.actorBorder = 'calculated';
|
||||||
this.actorBkg = 'calculated';
|
this.actorBkg = 'calculated';
|
||||||
this.actorTextColor = 'calculated';
|
this.actorTextColor = 'calculated';
|
||||||
this.actorLineColor = 'calculated';
|
this.actorLineColor = this.actorBorder;
|
||||||
this.signalColor = 'calculated';
|
this.signalColor = 'calculated';
|
||||||
this.signalTextColor = 'calculated';
|
this.signalTextColor = 'calculated';
|
||||||
this.labelBoxBkgColor = 'calculated';
|
this.labelBoxBkgColor = 'calculated';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user