Closed Bug 1387723 Opened 7 years ago Closed 7 years ago

Remove --toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted

Categories

(Firefox :: Theme, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: dao, Assigned: dao)

Details

Attachments

(1 file)

--toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted are largely unused; only the dark theme uses --toolbarbutton-icon-fill-inverted as intended to change icon colors. The variables are footguns in that people think they should somehow use them when they really shouldn't, see bug 1384898, bug 1384893, bug 1384895, and pocket.css.
It would be nice if we could simply use currentColor + some (fill-)opacity rules, and avoid setting any colors.

This way, it's possible to get rid of the clumsy brighttext attributes/pseudo selectors and simply rely on the text color.
Comment on attachment 8894086 [details]
Bug 1387723 - Remove --toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted.

https://reviewboard.mozilla.org/r/165182/#review170684
Attachment #8894086 - Flags: review?(jhofmann) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2526325fcf8e
Remove --toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted. r=johannh
https://hg.mozilla.org/mozilla-central/rev/2526325fcf8e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: