Closed Bug 1316869 Opened 5 years ago Closed 5 years ago
Custom tabs: Adapt text color based on toolbar color
Bug 1279278 introduced a colored toolbar for custom tabs. However the text color does not adapt. Whenever a custom tab with a very light color is opened the white text is almost unreadable.
This is an easy enough fix, I added ColorUtil functionality that picks black or white as a readable text color based on background color.
Assignee: nobody → droeh
Status: NEW → ASSIGNED
Attachment #8809836 - Flags: review?(s.kaspari)
Attachment #8809836 - Flags: review?(s.kaspari) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0114eda62ce2 Choose black or white title text color for custom tabs toolbar based on background color. r=sebastian
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/b2f9a7cdcb51 checkstyle fixes a=me
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.