From 1b8601e2a71e99ef0998288c6ea170719d6c8f7d Mon Sep 17 00:00:00 2001 From: LooseLi <1329307562@qq.com> Date: Mon, 19 May 2025 14:48:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E8=89=B2=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/hexo/style.js | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/themes/hexo/style.js b/themes/hexo/style.js index 6c361e8f..60554f62 100644 --- a/themes/hexo/style.js +++ b/themes/hexo/style.js @@ -42,6 +42,62 @@ const Style = () => { color: var(--theme-color); } + /* 下拉菜单悬浮背景色 */ + li[class*='hover:bg-indigo-500']:hover { + background-color: var(--theme-color) !important; + } + + /* tag标签悬浮背景色 */ + a[class*='hover:bg-indigo-400']:hover { + background-color: var(--theme-color) !important; + } + + /* 社交按钮悬浮颜色 */ + i[class*='hover:text-indigo-600']:hover { + color: var(--theme-color) !important; + } + .dark i[class*='dark:hover:text-indigo-400']:hover { + color: var(--theme-color) !important; + } + + /* MenuGroup 悬浮颜色 */ + #theme-hexo #nav div[class*='hover:text-indigo-600']:hover { + color: var(--theme-color) !important; + } + .dark #theme-hexo #nav div[class*='dark:hover:text-indigo-400']:hover { + color: var(--theme-color) !important; + } + + /* 最新发布文章悬浮颜色 */ + div[class*='hover:text-indigo-600']:hover, + div[class*='hover:text-indigo-400']:hover { + color: var(--theme-color) !important; + } + + /* 分页组件颜色 */ + .text-indigo-400 { + color: var(--theme-color) !important; + } + .border-indigo-400 { + border-color: var(--theme-color) !important; + } + a[class*='hover:bg-indigo-400']:hover { + background-color: var(--theme-color) !important; + color: white !important; + } + .bg-indigo-400 { + background-color: var(--theme-color) !important; + } + a[class*='hover:bg-indigo-600']:hover { + background-color: var(--theme-color) !important; + color: white !important; + } + + /* 右下角悬浮按钮背景色 */ + .bg-indigo-500 { + background-color: var(--theme-color) !important; + } + /* 设置了从上到下的渐变黑色 */ #theme-hexo .header-cover::before { content: '';