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
pull/14164/head
loma-one 2024-05-16 11:28:33 +02:00 committed by GitHub
parent cad3a01b1c
commit 367170a92a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View 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;