]> git.mxchange.org Git - friendica.git/commitdiff
Colour for fading in a comment adjusted
authorloma-one <44441246+loma-one@users.noreply.github.com>
Thu, 16 May 2024 09:28:33 +0000 (11:28 +0200)
committerGitHub <noreply@github.com>
Thu, 16 May 2024 09:28:33 +0000 (11:28 +0200)
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

index 83cc15751aee63f4a181b979333ad8a5b58a4cc7..2eb9c2b7f62603a2e8b6e53eba1ea9040ba14d72 100644 (file)
@@ -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;