Closed Bug 1314145 Opened 9 years ago Closed 8 years ago

Setting theme.colors.toolbar to any value just applies white

Categories

(WebExtensions :: Frontend, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ntim, Unassigned)

References

Details

(Whiteboard: triaged)

- Install https://github.com/nt1m/vivaldi-fox/tree/webextension on cedar - Go to http://material.google.com - The navbar should be light blue (same color as the web page header) Seems like --tab-background-color is set to the value I want, but the Firefox toolbars just remain white.
Component: General → WebExtensions: Frontend
Product: Firefox → Toolkit
Mike de Boer says that this will probably get fixed by the devedition theme bug, bug 1311352.
Depends on: 1311352
Priority: -- → P3
Whiteboard: triaged
Hey Tim, now that bug 1311352 has landed can you see if this was fixed for you?
Flags: needinfo?(ntim.bugs)
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2) > Hey Tim, now that bug 1311352 has landed can you see if this was fixed for > you? theme.colors.toolbar still does not work, but theme.colors.frame does work though.
Flags: needinfo?(ntim.bugs)
(In reply to Tim Nguyen :ntim (use needinfo?) from comment #3) > theme.colors.toolbar still does not work, but theme.colors.frame does work > though. That's the idea, though. 'tab_text' is the magic property in the 'colors' section that will set the global text color in chrome. 'frame' sets the color of, well, the entire frame and 'toolbar_button' in the 'gradients' section of the manifest may be used to set the background color of the navbar, separately. Note that these colors need to be in the `[h, s, l]` format, with values 0 <= x <= 1.
When in doubt, or looking for a good example, you can always check out the unit test that are in browser/components/extensions/test/browser/browser_ext_theme*.js.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Why did this get resolved invalid? Is it no longer reproducible? When closing bugs, please include some reasoning (a short one-sentence reasoning is often all that is necessary).
Flags: needinfo?(ntim.bugs)
theme.colors.toolbars now works properly in mozilla-central
Flags: needinfo?(ntim.bugs)
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.