Fix the display of diff errors in dark mode.

Review Request #13879 — Created May 20, 2024 and submitted

Information

Review Board
release-7.x

Reviewers

Diff errors had a white-on-yellow background on dark mode, due to using
a hard-coded background color and the default text color.

We now use the text-on-light color, and the warning alert color for the
background. This matches the warning alert style we use elsewhere, which
is designed to be quite noticeable on light and dark modes.

Tested diff errors on both dark and light modes.

Summary ID
Fix the display of diff errors in dark mode.
Diff errors had a white-on-yellow background on dark mode, due to using a hard-coded background color and the default text color. We now use the text-on-light color, and the warning alert color for the background. This matches the warning alert style we use elsewhere, which is designed to be quite noticeable on light and dark modes.
d22d56033b67c147d2d8d9251f10165b3ab08c42

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