From 715791f41e666ae9a494bcbf103916939e17f71f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 16 Dec 2022 01:37:19 +0800 Subject: [PATCH] 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 --- src/index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.css b/src/index.css index 7788a4f7..72d2b77f 100644 --- a/src/index.css +++ b/src/index.css @@ -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); }