DEV Community

Discussion on: Poor Man's Dark Mode Using CSS Filter

Collapse
 
bayuangora profile image
Bayu Angora

Invert filter is only good for monochrome or minimal color. If you have so many color, then you have to add more filter to those part to avoid unnecessary inverted.

One question about dark mode. Observatory (grade checker by Mozilla) will downgrade score to website that still use inline or <script>. </p> <p>How to fix this issue while dark mode toggle needs &quot;onclick&quot; to trigger and switch the light / dark mode?</p>