This should fix the concern raised in D191407. I went through a bunch of
themes with images and I don't see why the three layers of backgrounds
were needed tbh.
Depends on D191408
Differential Revision: https://phabricator.services.mozilla.com/D191466
This should fix the concern raised in D191407. I went through a bunch of
themes with images and I don't see why the three layers of backgrounds
were needed tbh.
Depends on D191408
Differential Revision: https://phabricator.services.mozilla.com/D191466
Bug 1858711 removed the optionalElementId from the sidebar background
color because we no longer set the lwt-sidebar attribute in the
sidebar-box itself.
Do the same for sidebar border and text color for consistency.
Differential Revision: https://phabricator.services.mozilla.com/D191622
When a theme doesn't specify popup colors, it makes sense to follow the
system-preferred color scheme. Refactor theming attributes so that we
can distinguish this. Instead of a single [lwt-popup-brighttext], we get
lwt-popup="dark"/"light", and handle it appropriately.
Same for the other relevant attributes.
Refactor sidebar theming (which already did this tri-state thing via
lwt-sidebar and lwt-sidebar-brighttext) to do the same using a single
lwt-sidebar attribute, and update the docs.
Differential Revision: https://phabricator.services.mozilla.com/D190919