#1252 Adding support for tags

This commit is contained in:
Knut Sveidqvist
2022-03-24 20:25:22 +01:00
parent 2ab275b5b5
commit c0335cf5fb
7 changed files with 245 additions and 17 deletions

View File

@@ -224,6 +224,9 @@ class Theme {
this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor;
this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor;
this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor;
this.tagLabelColor = this.tagLabelColor || this.darkMode ? this.branchLabelColor : 'white';
this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
}
calculate(overrides) {
if (typeof overrides !== 'object') {