From e4cf7abcdce4c5ce41b149d72355d57a136a835a Mon Sep 17 00:00:00 2001 From: lutinglt Date: Thu, 11 Sep 2025 19:08:11 +0800 Subject: [PATCH] =?UTF-8?q?display=20=E4=B8=BB=E9=A2=98=E6=8C=89=E9=92=AE?= =?UTF-8?q?=20hover=20=E9=A2=9C=E8=89=B2=E4=BA=AE=E5=BA=A6=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 3 +-- src/core/display.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/release.md b/.github/release.md index edfbe30..76ed1c0 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,4 +1,3 @@ - ### 🌈 Style ##### 更符合 GitHub 风格 @@ -7,4 +6,4 @@ ### 🐞 Fix -- 修复后台账户管理排序菜单项的宽度问题 \ No newline at end of file +- 修复后台账户管理排序菜单项的宽度问题 diff --git a/src/core/display.ts b/src/core/display.ts index 1e17a3d..b4358ef 100644 --- a/src/core/display.ts +++ b/src/core/display.ts @@ -54,7 +54,7 @@ export function display2GithubColor( bgColor: { ...baseGithubColor.button.primary.bgColor, 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: {