Page MenuHomePhabricator

Fix highlighted states of tools to use CSS only solution
Closed, ResolvedPublic

Description

In the fix for T177278 we added this.setFlags( { progressive: true } ); in the setActive method for the tool.

Flags should not be changed dynamically to indicate interaction state (at least not the progressive flag). We should instead apply the relevant styles to the active state.

Event Timeline

Change 419401 had a related patch set uploaded (by Esanders; owner: Esanders):
[oojs/ui@master] Use theme rules to define which tools should get blue icons, not flags

https://gerrit.wikimedia.org/r/419401

Change 419401 merged by Bartosz Dziewoński:
[oojs/ui@master] Use theme rules to define which tools should get blue icons, not flags

https://gerrit.wikimedia.org/r/419401

Volker_E edited projects, added OOUI (OOUI-0.26.0); removed OOUI.