Try disable this less-bright images fancy CSS for dark mode

Copied from webkit blog but I guess this is a bit fancy

Also possibly conflicting with other styles
This commit is contained in:
Lim Chee Aun 2022-12-16 01:37:19 +08:00
parent 5148462670
commit 715791f41e

View file

@ -194,7 +194,7 @@ code {
}
@media (prefers-color-scheme: dark) {
img,
/* img,
video {
filter: brightness(0.7);
transition: filter 0.3s ease-out;
@ -202,7 +202,7 @@ code {
img:hover,
video:hover {
filter: brightness(1);
}
} */
:is(button, .button).plain2 {
backdrop-filter: blur(12px) brightness(0.5);
}