Skip to content

Commit

Permalink
Merge pull request #15921 from fchasen/forced-colors-highlights
Browse files Browse the repository at this point in the history
Update highlight background when forced colors are active (bug 1759886)
  • Loading branch information
calixteman authored Jan 16, 2023
2 parents 0e563ee + 0a6b1cd commit e9c8aa6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions web/text_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
background-color: rgba(0, 100, 0, 1);
}

@media (forced-colors: active) {
.textLayer .highlight {
background-color: Highlight;
}
.textLayer .highlight.selected {
background-color: ButtonText;
}
}

.textLayer ::selection {
/*#if !MOZCENTRAL*/
background: blue;
Expand Down

0 comments on commit e9c8aa6

Please sign in to comment.