mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
changed some color aspects for vertline based on theme
This commit is contained in:
@@ -238,13 +238,15 @@ const getStyles = (options) =>
|
||||
}
|
||||
|
||||
.vert {
|
||||
stroke: maroon;
|
||||
// stroke: #00FFFF;
|
||||
stroke: ${options.vertLineColor};
|
||||
}
|
||||
|
||||
.vertText {
|
||||
font-size: 15px;
|
||||
text-anchor: middle;
|
||||
fill: maroon;
|
||||
// fill: #00FFFF;
|
||||
fill: ${options.vertLineColor} !important;
|
||||
}
|
||||
|
||||
.activeCritText0,
|
||||
|
@@ -98,6 +98,7 @@ class Theme {
|
||||
this.critBorderColor = this.critBorderColor || '#ff8888';
|
||||
this.critBkgColor = this.critBkgColor || 'red';
|
||||
this.todayLineColor = this.todayLineColor || 'red';
|
||||
this.vertLineColor = this.vertLineColor || 'navy';
|
||||
this.taskTextColor = this.taskTextColor || this.textColor;
|
||||
this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor;
|
||||
this.taskTextLightColor = this.taskTextLightColor || this.textColor;
|
||||
|
@@ -79,6 +79,7 @@ class Theme {
|
||||
this.critBkgColor = '#E83737';
|
||||
this.taskTextDarkColor = 'calculated';
|
||||
this.todayLineColor = '#DB5757';
|
||||
this.vertLineColor = '#00BFFF';
|
||||
|
||||
/* C4 Context Diagram variables */
|
||||
this.personBorder = this.primaryBorderColor;
|
||||
|
@@ -88,6 +88,7 @@ class Theme {
|
||||
this.critBorderColor = 'calculated';
|
||||
this.critBkgColor = 'calculated';
|
||||
this.todayLineColor = 'calculated';
|
||||
this.vertLineColor = 'calculated';
|
||||
|
||||
this.sectionBkgColor = rgba(102, 102, 255, 0.49);
|
||||
this.altSectionBkgColor = 'white';
|
||||
@@ -107,6 +108,7 @@ class Theme {
|
||||
this.critBorderColor = '#ff8888';
|
||||
this.critBkgColor = 'red';
|
||||
this.todayLineColor = 'red';
|
||||
this.vertLineColor = 'navy';
|
||||
|
||||
/* C4 Context Diagram variables */
|
||||
this.personBorder = this.primaryBorderColor;
|
||||
|
@@ -81,6 +81,7 @@ class Theme {
|
||||
this.critBorderColor = '#ff8888';
|
||||
this.critBkgColor = 'red';
|
||||
this.todayLineColor = 'red';
|
||||
this.vertLineColor = '#00BFFF';
|
||||
|
||||
/* C4 Context Diagram variables */
|
||||
this.personBorder = this.primaryBorderColor;
|
||||
|
@@ -93,6 +93,7 @@ class Theme {
|
||||
this.critBkgColor = 'calculated';
|
||||
this.critBorderColor = 'calculated';
|
||||
this.todayLineColor = 'calculated';
|
||||
this.vertLineColor = 'calculated';
|
||||
|
||||
/* C4 Context Diagram variables */
|
||||
this.personBorder = this.primaryBorderColor;
|
||||
@@ -209,6 +210,7 @@ class Theme {
|
||||
this.critBorderColor = darken(this.critBkgColor, 10);
|
||||
|
||||
this.todayLineColor = this.critBkgColor;
|
||||
this.vertLineColor = this.critBkgColor;
|
||||
|
||||
/* Architecture Diagram variables */
|
||||
this.archEdgeColor = this.lineColor;
|
||||
|
Reference in New Issue
Block a user