I got this css class (its applied on the body) and i don't wan't to invert the color of the images. how can i prevent this?
.dark{ filter: invert(1); background-color: #222; }
Try using :not selector.
:not
Edit: Using :not won't work here