mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 06:20:07 +02:00
Set a less prominent color in nested composite state and added demo page of styling
This commit is contained in:
1466
cypress/platform/state-refactor-neo.html
Normal file
1466
cypress/platform/state-refactor-neo.html
Normal file
File diff suppressed because it is too large
Load Diff
@@ -107,7 +107,7 @@ g.stateGroup line {
|
||||
}
|
||||
.end-state-inner {
|
||||
fill: ${options.compositeBackground || options.background};
|
||||
// stroke: ${options.background};
|
||||
stroke: ${options.background};
|
||||
stroke-width: 1.5
|
||||
}
|
||||
|
||||
@@ -152,8 +152,7 @@ g.stateGroup line {
|
||||
fill: ${options.compositeBackground || options.background};
|
||||
}
|
||||
.statediagram-cluster.statediagram-cluster-alt .inner {
|
||||
fill: ${options.altBackground ? options.altBackground : '#efefef'};
|
||||
|
||||
fill: ${options.altBackground ? options.altBackground : '#f0f0f0'};
|
||||
}
|
||||
|
||||
.statediagram-cluster .inner {
|
||||
|
@@ -125,7 +125,7 @@ class Theme {
|
||||
this.stateBkg = this.stateBkg || this.mainBkg;
|
||||
this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
|
||||
this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
|
||||
this.altBackground = this.altBackground || this.tertiaryColor;
|
||||
this.altBackground = this.altBackground || '#f0f0f0';
|
||||
this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
|
||||
this.compositeBorder = this.compositeBorder || this.nodeBorder;
|
||||
this.innerEndBackground = this.nodeBorder;
|
||||
|
Reference in New Issue
Block a user