mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
display 主题按钮 hover 颜色亮度错误
This commit is contained in:
3
.github/release.md
vendored
3
.github/release.md
vendored
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
### 🌈 Style
|
### 🌈 Style
|
||||||
|
|
||||||
##### 更符合 GitHub 风格
|
##### 更符合 GitHub 风格
|
||||||
@@ -7,4 +6,4 @@
|
|||||||
|
|
||||||
### 🐞 Fix
|
### 🐞 Fix
|
||||||
|
|
||||||
- 修复后台账户管理排序菜单项的宽度问题
|
- 修复后台账户管理排序菜单项的宽度问题
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export function display2GithubColor(
|
|||||||
bgColor: {
|
bgColor: {
|
||||||
...baseGithubColor.button.primary.bgColor,
|
...baseGithubColor.button.primary.bgColor,
|
||||||
rest: soft ? saturate(-0.1, scaleColorLight(displayColor.num5, -2)) : displayColor.num5,
|
rest: soft ? saturate(-0.1, scaleColorLight(displayColor.num5, -2)) : displayColor.num5,
|
||||||
hover: soft ? saturate(-0.1, scaleColorLight(displayColor.num5, -7)) : scaleColorLight(displayColor.num5, 5),
|
hover: soft ? saturate(-0.1, scaleColorLight(displayColor.num5, 3)) : scaleColorLight(displayColor.num5, 5),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
star: {
|
star: {
|
||||||
|
|||||||
Reference in New Issue
Block a user