Exclude Images from Darkmode
-
Dear developer,
first of all: thank you for the cool plugin and thanks to Sandoche for the method!
I already figured out how to change the colors to what I would like to have.My only problem are the images because I want to exclude them from being affected by the darkmode. Basically it’s only the background and the text color that I wanted to adjust and I am really happy with the result. How do I “save” the images?
On Sandoche’s site https://darkmodejs.learn.uno/ I found the solutions
isolation: isolate;
and
mix-blend-mode: difference;
and tried both of them but none worked. Please tell me what I need to change.Here’s what I did: Just like the color styles (which worked) I added
.darkmode--activated img { isolation: isolate; }
in the style.css. There’s an error called “Unknown Property: isolation”. The same problem occurs with “Unknown Property: mix-blend-mode”.
I would like to exclude all images and emojis OR limit the darkmode to background color and text color, whatever is better to implement.
Please tell me what I need to do.Thank you so much in advance!
TifaThe page I need help with: [log in to see the link]
- The topic ‘Exclude Images from Darkmode’ is closed to new replies.