Navigation Buttons not highlighting on Hover | Darkmode
arno-fukuda opened this issue · comments
Arno Fukuda commented
On dark-mode, the navigation elements don't change color upon hover due to the darkmode css having higher specificity:
:is(html[class~=dark] .dark\:nx-text-gray-300)
Can potentially workaround by using !important here:
.hover\:nx-text-primary-600:hover {
--tw-text-opacity: 1;
color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 45% / var(--tw-text-opacity)) !important;
}