From 4f68d70125c881d2f2fd9ab771576b929510b483 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 11 Apr 2024 15:54:29 +0300 Subject: [PATCH 1/1] Darken/lighten trace images to match their backgrounds --- app/assets/stylesheets/common.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index cd45d0381..6ec251a17 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1038,9 +1038,14 @@ div.secondary-actions { /* Rules for traces */ +img.trace_image { + mix-blend-mode: darken; +} + @include color-mode(dark) { img.trace_image { filter: invert(1); + mix-blend-mode: lighten; } } -- 2.45.1