philips_supernote-obsidian-.../styles.css
Brandon Philips d665e33bec main: invert images automatically based on light/dark mode
This adds a feature and setting to invert images when Dark mode is
enabled.

Fixes https://github.com/philips/supernote-obsidian-plugin/issues/23
2024-05-11 08:36:49 -07:00

15 lines
No EOL
282 B
CSS

.theme-dark img[alt*="supernote-invert-dark"] {
filter: invert(1);
}
.theme-light img[alt*="supernote-invert-light"] {
filter: invert(1);
}
.theme-dark img.supernote-invert-dark {
filter: invert(1);
}
.theme-light img.supernote-invert-light {
filter: invert(1);
}