-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using html element with dark mode #40
Comments
It seems that my luck not good to find someone will answer me |
I think the CSS code should like this: [data-theme="dark"] a.bg-light:focus,
[data-theme="dark"] a.bg-light:hover,
[data-theme="dark"] button.bg-light:focus,
[data-theme="dark"] button.bg-light:hover {
background-color: #6c757d!important;
} or if you use SASS: [data-theme="dark"] {
a.bg-light:focus,
a.bg-light:hover,
button.bg-light:focus,
button.bg-light:hover {
background-color: #6c757d!important;
}
} |
Thanks I will try it 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to use the script and it worked with me on all class but Bootstrap is known to be having effect like
:focus
and:hover
so if you use
And you switched between the dark mode and the normal mode, you will find that the dark mode applies these changes and cannot be changed completely until you remove
!important
frombackground-color
as example and when you do, you are not able to implement these changes at allMy question is, Is there a solution to this problem?
And I thank you with all my heart for your wonderful effort
The text was updated successfully, but these errors were encountered: