From 367170a92aed7079aa5839a54a15f6b4bda0b191 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Thu, 16 May 2024 11:28:33 +0200 Subject: [PATCH] Colour for fading in a comment adjusted When a comment is called up via the notification, the comment is highlighted brightly. With a dark theme, this is disproportionately bright. The changed colour values represent a compromise between light and dark themes. https://github.com/friendica/friendica/issues/14052 --- view/theme/frio/js/theme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 83cc15751a..2eb9c2b7f6 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -741,8 +741,8 @@ function scrollToItem(elementId) { } // Define the colors which are used for highlighting - var colWhite = { backgroundColor: "#F5F5F5" }; - var colShiny = { backgroundColor: "#FFF176" }; + var colWhite = { backgroundColor: "#7f7f7f" }; + var colShiny = { backgroundColor: "#7e763a" }; // Get the Item Position (we need to substract 100 to match correct position var itemPos = $el.offset().top - 100;