Merge pull request #3440 from LooseLi/fix-hexoThemeColor

fix: hexo主题中,移动端菜单适配主题色失效
This commit is contained in:
tangly1024
2025-06-15 20:34:23 +08:00
committed by GitHub

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;
}