Open pontakornth opened 10 months ago
I've thought about this, most of my sites use a bit of JS in the
to handle automatic light/dark by default, but this would be a good addition. The issue is the format of@media
is a bit different from a normal selector so it's not possible to do with the current selector option.
A hacky solution might be to try and detect unclosed braces in light/darkselector and close them, or maybe another option entirely for media mode.
It seems that it uses dark and light selector and there is no
media
option. I think it would be nice if it follows the Mini preset for dark mode setting.