… Lightweight browser themes on the Web (Update)
Starting with the very latest nightly, lightweight themes can be applied to XUL windows.
There’s no UI for installing or managing these themes, but you can still test it. Just open the Error Console and execute this:
Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {id:"2538",name:"LOLFace",dominantColor:"#6b6b6b",textColor:"white",headerURL:"http://getpersonas.com/static/3/8/2538/LOL.png",footerURL:"http://getpersonas.com/static/3/8/2538/LOL2.png"}
Your Firefox main window should now be styled with an example theme, and this should persist across sessions. To get rid of it again, execute this:
Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = null
The next steps will be to list lightweight themes in the Add-ons manager and to provide a way to install them from the Web.
In what way will this be combined to theming? I like personas, but the relation between personas and themes is pretty confusing to me, despite me trying to follow this a bit. For ‘normal’ people I imagine the confusion will be greater.
Themes usually bring their own background, do these get replaced or does this feature only work on the default theme? If they get replaced, shouldn’t themes merely become iconsets (that can possibly bring their own personas with it)? The fact that themes and lightweight themes overlap (If I understand correctly) is strange, separating them by making one about background other about icons might solve that.
Cool, as long as this is secure so that random webpages can’t change it! I wouldn’t want it to be like how webpages used to be able to change the colour of scrollbars in IE…
Pino, for 3.6 they will be presented just like themes in the add-ons manager and only work with the default theme.
Dan, only whitelisted sites will be allowed to do it without the user’s confirmation.
dao (in comment 3):
[quote]
Dan, only whitelisted sites will be allowed to do it without the user’s confirmation.
[en-quote]
What does that mean ? Who does the whitelisting ? The User ? MoCo ? If the latter, that opens the door for a deep pocketed site to inject publicity into the chrome…
By default, addons.mozilla.org and getpersonas.com will be whitelisted.
How are light-weight themes different from Personas? Is it the same idea, without requiring the Personas add-on?
Yes, this is based on Personas, but doesn’t require the add-on.
dao, why are they only going to work with the default theme, and is that only meant to be temporary? I ask for selfish reasons;~) I’ve been keeping Orbit alive sporadically for a few years now, and recently resurrected it again. When developing this latest incarnation, Ed Hume commented that it worked beautifully with Personas…
https://addons.mozilla.org/en-US/firefox/addon/11953/
Vielen Dank.
I hope it will be temporary, but that’s not clear yet.
[…] parts that allow users to see and select between lightweight themes they have used recently. Dão landed most of the backend last week but we’re still waiting on the support for installing new lightweight themes […]
Wouldn’t it make more sense to call these “skins” instead?
I don’t think users would understand the difference between skins and themes.
Dao,
can you please make sure that there will be a possibility for non-default themes to be activated with a lwtheme? For this purpose, I have raised:
Bug 520124 – Enable to activate a ‘heavy weight theme’ together with ‘lwtheme’.
Greetings, Alfred