mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
#1542 Some tweaks for sequence diagram
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { darken } from 'khroma';
|
||||||
class Theme {
|
class Theme {
|
||||||
constructor() {
|
constructor() {
|
||||||
/* Base vales */
|
/* Base vales */
|
||||||
@@ -78,7 +79,7 @@ class Theme {
|
|||||||
|
|
||||||
/* Sequence Diagram variables */
|
/* Sequence Diagram variables */
|
||||||
|
|
||||||
this.actorBorder = this.border1;
|
this.actorBorder = darken(this.mainBkg, 20);
|
||||||
this.actorBkg = this.mainBkg;
|
this.actorBkg = this.mainBkg;
|
||||||
this.labelBoxBkgColor = this.actorBkg;
|
this.labelBoxBkgColor = this.actorBkg;
|
||||||
this.labelTextColor = this.actorTextColor;
|
this.labelTextColor = this.actorTextColor;
|
||||||
|
@@ -93,7 +93,7 @@ class Theme {
|
|||||||
|
|
||||||
/* Sequence Diagram variables */
|
/* Sequence Diagram variables */
|
||||||
|
|
||||||
this.actorBorder = this.border1;
|
this.actorBorder = lighten(this.border1, 23);
|
||||||
this.actorBkg = this.mainBkg;
|
this.actorBkg = this.mainBkg;
|
||||||
this.actorTextColor = this.text;
|
this.actorTextColor = this.text;
|
||||||
this.actorLineColor = this.lineColor;
|
this.actorLineColor = this.lineColor;
|
||||||
|
Reference in New Issue
Block a user