#1252 Adding background on commit labels

This commit is contained in:
Knut Sveidqvist
2022-03-25 08:56:22 +01:00
parent 3ee141ff9b
commit 22aca7b3ee
21 changed files with 6189 additions and 3619 deletions

View File

@@ -206,6 +206,12 @@ class Theme {
this.gitInv5 = invert(this.git5);
this.gitInv6 = invert(this.git6);
this.gitInv7 = invert(this.git7);
this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
}
calculate(overrides) {
if (typeof overrides !== 'object') {