Skip to content

Commit

Permalink
OldDiffColors: handle recent DiscussionTools color changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Jul 7, 2024
1 parent e66b582 commit 7eae6b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions OldDiffColors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Changes diff colors from yellow for removal and purple for addition, back to yellow for removal and blue for addition.
// Fixes diff "black dot" bug when interacting with some user scripts.
// Changes DiscussionTools published comment color from teal to light blue.

// Forked from code by https://en.wikipedia.org/wiki/User:Hgzh, CC BY-SA 4.0, https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)/Archive_213#Heads-up%3A_Diff_colour

Expand All @@ -25,4 +27,11 @@ a.mw-diff-movedpara-right {
color: transparent;
}
.ext-discussiontools-init-targetcomment {
background-color: #eaf3ff;
}
.ext-discussiontools-init-publishedcomment {
background-color: #eaf3ff; /* not #d5fdf4 */
}
` );

0 comments on commit 7eae6b2

Please sign in to comment.