fix: 移动端菜单适配主题色失效

This commit is contained in:
LooseLi
2025-06-13 15:28:48 +08:00
parent cc49407bf1
commit e6ad729110

View File

@@ -116,11 +116,9 @@ const Style = () => {
.dark #theme-hexo .dark\:bg-indigo-500 {
background-color: var(--theme-color) !important;
}
/* 移动设备菜单栏背景色 */
#theme-hexo .hover\:bg-indigo-500:hover {
background-color: var(--theme-color) !important;
}
.dark #theme-hexo .dark\:hover\:bg-indigo-500:hover {
// 移动设备菜单栏选中背景色
#theme-hexo div[class*='hover:bg-indigo-500']:hover {
background-color: var(--theme-color) !important;
}