picocss / pico

Minimal CSS Framework for semantic HTML
https://picocss.com
MIT License
13.82k stars 406 forks source link

Setting to control the creation of dark/light mode CSS #574

Open gardenbaum opened 4 months ago

gardenbaum commented 4 months ago

It would be great if it were possible to deactivate dark mode. Or that the CSS for dark mode is not created in the first place. That would be much more convenient than rewriting variables. For many browsers, something like ‘data-theme’ does not work. The reverse case, that styles should not be created for light mode, probably also exists :-)