Bug 1542023 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to ExE Boss from comment #2)

> I think `browser.theme.getCurrent()` should return the colours used by the default theme.
> 
> That way, it’d possible to write theme agnostic code without needing to hardcode Photon theme values.

This bug is just about restoring the old behaviour to avoid breaking add-ons, whether returning default theme colors is a different bug.
(In reply to ExE Boss from comment #2)

> I think `browser.theme.getCurrent()` should return the colours used by the default theme.
> 
> That way, it’d possible to write theme agnostic code without needing to hardcode Photon theme values.

This bug is just about restoring the old behaviour to avoid breaking add-ons, returning default theme colors is a different bug.

Back to Bug 1542023 Comment 3