CSS variables

Discuss application theming and theme development.

User avatar
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post Posted December 7th, 2014, 8:09 pm

About CSS variables being used in Firefox .. does their use in Firefox *mandate* any changes in how we do what we do, or can we just keep on trucking as before? I haven't looked at this yet so I have no idea.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed


User avatar
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 7th, 2014, 9:17 pm

I don't think so. I'm actually somewhat hopeful that once they go mainstream we'll be able to do things like create a custom universal background color variable and text color variable and be able to change the entire theme on the fly. Like imagine having 5 or 6 colors that control every single aspect of a theme... you could swap from dark to light with a JS light-switch. Or imagine putting the variable definition into a file that is loaded in chrome.manifest based on OS flags... you'd be able to use totally different color schemes on different OS's (including using OS-defined colors) with a very minimal amount of coding.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about:

Return to Theme Development

Who is online

Users browsing this forum: No registered users and 2 guests