-
Notifications
You must be signed in to change notification settings - Fork 30
Automatic dark/light mode toggle, force dark mode #453
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
Conversation
…n 'always' to enableDarkMode
Could you update your branch with main? Cypress CI tests are not triggered automatically |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think of auto
instead of always
?
Wouldn't |
I think The naming of |
That would be a breaking change right? Until now |
…ls dark and false light mode
Oke indeed you are right! I misunderstood the PR. So just to be sure, the difference between the modes as for now is:
|
I changed the PR according to your suggestion:
|
That seems like the best option! I will review the code ASAP :) Probably not today |
@bidoubiwa thank you for the input. I have changed it accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥 Thanks for this PR. This was very very needed 🎉
For the 200'th time 😂 If you are participating in Hacktoberfest, and you would like to receive a small gift from MeiliSearch too, please complete this form.
Thanka so much for you involvement and you great PR's
bors merge |
Build succeeded: |
This adds a new event listener to the color scheme, and
always
as a third option forenableDarkMode
Any objection against the option value
always
? It could also beforce
or something like that?What do you think?
Closes #369