#3095 Added support for commit & tag label font size

This commit is contained in:
ashishj
2022-06-14 20:36:26 +02:00
parent 3b8d74f1f9
commit e29c3d6125
7 changed files with 71 additions and 3 deletions

View File

@@ -215,8 +215,10 @@ class Theme {
this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
this.tagLabelFontSize = this.tagLabelFontSize || '10px';
this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
this.commitLabelFontSize = this.commitLabelFontSize || '10px';
}
calculate(overrides) {
if (typeof overrides !== 'object') {