feat: adding highlight and reverse commit types and some pathfinding

This commit is contained in:
Knut Sveidqvist
2022-03-10 19:34:49 +01:00
parent 9ddf138683
commit 4ff3b23da5
3 changed files with 129 additions and 38 deletions

View File

@@ -206,6 +206,14 @@ class Theme {
this.git6 = darken(this.git6, 25);
this.git7 = darken(this.git7, 25);
}
this.gitInv0 = invert(this.git0);
this.gitInv1 = invert(this.git1);
this.gitInv2 = invert(this.git2);
this.gitInv3 = invert(this.git3);
this.gitInv4 = invert(this.git4);
this.gitInv5 = invert(this.git5);
this.gitInv6 = invert(this.git6);
this.gitInv7 = invert(this.git7);
}
calculate(overrides) {
if (typeof overrides !== 'object') {