Open Bug 1530266 Opened 7 years ago Updated 3 years ago

Add a sanity check for accentcolor

Categories

(WebExtensions :: Themes, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: dao, Unassigned)

References

Details

(In reply to Dão Gottwald [::dao] from bug 1506913 comment #2)

Galaxy Blue sets both accentcolor and textcolor to white which obviously
cannot work.

Checking that accentcolor isn't the same as textcolor would be trivial. With slightly more effort we could also check their contrast. On failure it could fall back to black or white, depending on what provides more contrast with textcolor.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.