mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
feat(arch): added theme variables for dark and default
This commit is contained in:
parent
634b00b379
commit
b21fc9fe22
@ -85,6 +85,13 @@ class Theme {
|
||||
this.personBorder = this.primaryBorderColor;
|
||||
this.personBkg = this.mainBkg;
|
||||
|
||||
/* Architecture Diagram variables */
|
||||
this.archEdgeStrokeColor = 'calculated';
|
||||
this.archEdgeArrowColor = 'calculated';
|
||||
this.archEdgeStrokeWidth = 'calculated';
|
||||
this.archGroupBorderStrokeColor = '#FFF';
|
||||
this.archGroupBorderStrokeWidth = 'calculated';
|
||||
|
||||
/* state colors */
|
||||
this.labelColor = 'calculated';
|
||||
|
||||
|
@ -112,6 +112,13 @@ class Theme {
|
||||
this.personBorder = this.primaryBorderColor;
|
||||
this.personBkg = this.mainBkg;
|
||||
|
||||
/* Architecture Diagram variables */
|
||||
this.archEdgeStrokeColor = 'calculated';
|
||||
this.archEdgeArrowColor = 'calculated';
|
||||
this.archEdgeStrokeWidth = 'calculated';
|
||||
this.archGroupBorderStrokeColor = 'calculated';
|
||||
this.archGroupBorderStrokeWidth = 'calculated';
|
||||
|
||||
/* state colors */
|
||||
this.labelColor = 'black';
|
||||
this.errorBkgColor = '#552222';
|
||||
|
Loading…
x
Reference in New Issue
Block a user