How to toggle between light and dark mode #2914
Unanswered
AnthonyPhan
asked this question in
Q&A
Replies: 1 comment
-
There is a general Problem by flatpickr to change styles after loading, so it gives no default solution, but I found a hotfix, you can apply the style bevor importing the picker.
use carefully |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Is there an easy way to toggle between themes when using flatpickr? We would like to support both light and dark modes however it looks like you would have to use SCSS to achieve this functionality. Is there a way this can be done with just javascript or a flatpickr config?
Beta Was this translation helpful? Give feedback.
All reactions