mlgualtieri / CSS-Exfil-Protection

Official repository for the CSS Exfil Protection browser extensions.
MIT License
149 stars 11 forks source link

Add support of auto dark mode #19

Closed ghost closed 5 years ago

ghost commented 5 years ago

@mlgualtieri This code in the CSS will allow the extension to change the background color to honor the prefered color of the user.

For instance on windows if you use firefox or chrome, this code will change the color of the extension if the user change dark to light in the system parameter.

i have took a screen shot of the result on windows 10 with this code (i don't have firefox or a mac for test but it normally work).

Darkmode Image

Edit : now i switch to light in windows 10 settings, and it change the color back to the default one 👍

Darkmode Image

mlgualtieri commented 5 years ago

I like it! Merged!

ghost commented 4 years ago

one question, when do you have time, can you update your app to implement in the online version the change we have made to the app thanks @mlgualtieri

mlgualtieri commented 4 years ago

That's the plan. I should have another update out soon. I haven't had the chance to work on the plugin for the last several weeks.

mlgualtieri commented 4 years ago

Sorry it took a bit to get your patches out. My work schedule was pretty crazy for a bit. Just merged and tested your edits. Release 1.0.16 will be out today. Thanks again for your help!