Repository navigation
Force light mode? #145
Answered
by
zerodevx
VentoZwerg
asked this question in
Q&A
|
Hi! Some of the visitors have problems when their browser is in dark mode. Can I force "light" mode for zero-md somehow, ignoring user/browser settings? |
Answered by
zerodevx
Oct 8, 2026
Replies: 1 comment 1 reply
|
Hey there, normally one can force light (or dark) theme when importing the library as described here: https://zerodevx.github.io/zero-md/?a=advanced-usage.md#set-themes-globally - in your case however, you'll need a custom build with these requirements:
For your convenience, I've gone ahead and built one for you: dist.zip Just replace with the dist I attached and you should be good to go. |
1 reply
Answer selected by
VentoZwerg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there, normally one can force light (or dark) theme when importing the library as described here: https://zerodevx.github.io/zero-md/?a=advanced-usage.md#set-themes-globally - in your case however, you'll need a custom build with these requirements:
For your convenience, I've gone ahead and built one for you: dist.zip
Just replace with the dist I attached and you should be good to go.