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)
WebExtensions
Frontend
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.
| Reporter | ||
Updated•9 years ago
|
Component: General → WebExtensions: Frontend
Product: Firefox → Toolkit
Comment 1•9 years ago
|
||
Mike de Boer says that this will probably get fixed by the devedition theme bug, bug 1311352.
Depends on: 1311352
Updated•9 years ago
|
Priority: -- → P3
Whiteboard: triaged
Comment 2•9 years ago
|
||
Hey Tim, now that bug 1311352 has landed can you see if this was fixed for you?
Flags: needinfo?(ntim.bugs)
| Reporter | ||
Comment 3•9 years ago
|
||
(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)
Comment 4•9 years ago
|
||
(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.
Comment 5•9 years ago
|
||
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.
| Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Comment 6•8 years ago
|
||
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)
| Reporter | ||
Comment 7•8 years ago
|
||
theme.colors.toolbars now works properly in mozilla-central
Flags: needinfo?(ntim.bugs)
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•