From 86e79bad537620f5ca77ad1847d4b524c3ff3e87 Mon Sep 17 00:00:00 2001 From: LooseLi <1329307562@qq.com> Date: Thu, 22 May 2025 13:40:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E5=8A=A8=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E4=B8=8B=EF=BC=8C=E5=88=86=E7=B1=BB=E9=80=89=E4=B8=AD=E9=AB=98?= =?UTF-8?q?=E4=BA=AE=E9=80=82=E9=85=8D=E4=B8=BB=E9=A2=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/hexo/style.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/themes/hexo/style.js b/themes/hexo/style.js index feb80b6b..dcba9a2d 100644 --- a/themes/hexo/style.js +++ b/themes/hexo/style.js @@ -94,6 +94,13 @@ const Style = () => { background-color: var(--theme-color) !important; color: white !important; } + /* 移动设备下,搜索组件中选中分类的高亮背景色 */ + div[class*='hover:bg-indigo-400']:hover { + background-color: var(--theme-color) !important; + } + .hover\:bg-indigo-400:hover { + background-color: var(--theme-color) !important; + } .bg-indigo-400 { background-color: var(--theme-color) !important; }