mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 04:40:31 +00:00
修复display主题下差异对比展开折叠代码按钮颜色
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user