修复display主题下差异对比展开折叠代码按钮颜色

This commit is contained in:
lutinglt
2025-09-11 11:48:35 +08:00
parent ced954c1d0
commit 5d96a6896d

View File

@@ -22,6 +22,10 @@ export function display2GithubColor(
): GithubColor { ): GithubColor {
return { return {
...baseGithubColor, ...baseGithubColor,
diffBlob: {
...baseGithubColor.diffBlob,
hunkNum: { bgColor: { rest: soft ? displayColor.num2 : displayColor.num1 } },
},
fgColor: { fgColor: {
...baseGithubColor.fgColor, ...baseGithubColor.fgColor,
accent: soft ? displayColor.num7 : displayColor.num6, accent: soft ? displayColor.num7 : displayColor.num6,