Fix dark mode styling for diff comment tooltips.

Review Request #13822 — Created May 3, 2024 and submitted

Information

Review Board
release-7.x

Reviewers

When hovering over the diff comments on the left of the diff viewer, the
comment preview was showing white on green or white on blue, instead of
black. Same with the save notification bubble when saving or deleting a
comment. This was due to inheriting the default text color on dark mode.

We now force the text color to be an on-light color.

Tested comment previews and save notifications in both light and dark
mode.

Summary ID
Fix dark mode styling for diff comment tooltips.
When hovering over the diff comments on the left of the diff viewer, the comment preview was showing white on green or white on blue, instead of black. Same with the save notification bubble when saving or deleting a comment. This was due to inheriting the default text color on dark mode. We now force the text color to be an on-light color.
c7d0eae66edd18bb14c700c25c4c8e4ce9a37d04

maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.x (28056c4)