我试图找到一种方法来更改它们,修改自定义主题文件,但是这些徽章似乎没有直接的范围。 它们采用与commit分支和标记徽章相同的颜色。
我已经完成了我想要实现的目标的快速建模:Current vs Proposed colors。 它类似于Sourcetree所做的事情,并且我认为对评估更改非常有用。
答案 0 :(得分:1)
目前不可能。根据我在主题文件中看到的内容,可以更改徽章的颜色,但是该颜色在A,D,M徽章和分支徽章之间共享
theme['badge'] = {
foreground = {
normal = '#E1E5F2',
selected = '#2A82DA'
},
background = {
normal = '#2A82DA', -- the default color
selected = '#E1E5F2', -- the color when a list item is selected
conflicted = '#DA2ADA', -- the color of conflicted items
head = '#52A500', -- a bolder color to indicate the HEAD
notification = '#8C2026' -- the color of toolbar notifications badges
}
}
正常-适用于非活动徽章
已选择-用于有效徽章
如果您希望对其进行更改,则应在此处提出有关功能请求的问题:https://github.com/gitahead/gitahead/issues