#1542 Some tweaks for sequence diagram

This commit is contained in:
Knut Sveidqvist
2020-07-20 10:05:46 +02:00
parent ceb84ce020
commit fa68b8bb35
2 changed files with 3 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;