Edited 2 years ago by admin
It can be usefull if the web viewer detect system dark or light mode like browsers' css media :
@media (prefers-color-scheme: dark) {}
It can be usefull if the web viewer detect system dark or light mode like browsers' css media :
@media (prefers-color-scheme: dark) {}
@msaroid We will discuss on any such possibility and will implement if possible.
Hi.
Try using Javascript as this is the correct function for any modern browser (HTML5):
window.matchMedia('(prefers-color-scheme: dark)').matches
Source and Example: https://flaviocopes.com/javascript-detect-dark-mode/
DevWithCoffee Thanks for the explanation, I'll try to do it here! Thank you even now I understand the flaws.