Skip to content

Commit

Permalink
Colour for fading in a comment adjusted
Browse files Browse the repository at this point in the history
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. 

friendica#14052
  • Loading branch information
loma-one committed May 16, 2024
1 parent cad3a01 commit 367170a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/theme/frio/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 367170a

Please sign in to comment.