MozillaZine

Thunderbird Theme Changes

Discuss application theming and theme development.
rsx11m
Moderator
 
Posts: 14420
Joined: May 3rd, 2007, 7:40 am
Location: US

Post Posted September 22nd, 2015, 7:24 am

As companion thread to viewtopic.php?f=18&t=2963255 for SeaMonkey, I'm opening this thread for discussions and alert on significant theme changes in Thunderbird.

x2a
 
Posts: 1
Joined: September 23rd, 2015, 3:42 pm

Post Posted September 23rd, 2015, 3:50 pm

It's kind of ridiculous how hard it is to find info on the topic. Many of the links floating about suffer from link rot and only tangentially related info, mostly focusing on FF. Short of unpacking a .jar theme file, where can I find resources on how to create a theme/what's in a theme?

Thanks in advance for your help. Apologies if this is answered somewhere that I just couldn't find.

LoudNoise
Moderator

User avatar
 
Posts: 40048
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post Posted September 23rd, 2015, 9:17 pm

Merged to this in the hope you share what you find and the theme folks come by with suggestions.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."

Frank Lion

User avatar
 
Posts: 19425
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted September 25th, 2015, 3:17 pm

x2a wrote:It's kind of ridiculous how hard it is to find info on the topic

Kind of ridiculous how long stuff like that takes to write as well.

x2a wrote: Short of unpacking a .jar theme

That is likely the easiest way to start. Extract it using Winrar and examine it. Then do the same with any existing T/Bird theme, paying particular attention to how the install.rdf and chrome.manifest are written.

Then install the following extensions - DOM Inspector, Element Inspector and any of the Restart extensions.

Initially write your theme in userChrome.css, which will allow you to concentrate on just the .css theme coding and not get complicated by any theme structure. Once done, that code would then get moved to a proper theme.jar.

To make a theme, everything revolves around the DOM Inspector - with just that I can read existing styling rules within .css files in omni.ja and elsewhere and also all images, etc.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Frank Lion

User avatar
 
Posts: 19425
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted October 17th, 2016, 12:25 pm

As expected, T/bird 50.0b2 has the same problem as outlined here - viewtopic.php?p=14716797#p14716797
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Paenglab

User avatar
 
Posts: 198
Joined: December 30th, 2006, 2:20 am
Location: Switzerland

Post Posted October 18th, 2016, 5:30 am

Frank Lion wrote:As expected, T/bird 50.0b2 has the same problem as outlined here - viewtopic.php?p=14716797#p14716797

This is because toolkit uses overrides https://dxr.mozilla.org/comm-central/source/mozilla/toolkit/themes/shared/non-mac.jar.inc.mn#133 to reuse icons.
Nuvola theme for Firefox and Thunderbird

Frank Lion

User avatar
 
Posts: 19425
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted October 18th, 2016, 11:17 am

Paenglab wrote:
Frank Lion wrote:As expected, T/bird 50.0b2 has the same problem as outlined here - viewtopic.php?p=14716797#p14716797

This is because toolkit uses overrides https://dxr.mozilla.org/comm-central/source/mozilla/toolkit/themes/shared/non-mac.jar.inc.mn#133 to reuse icons.

Thanks. I figured a fix was more useful to people than an explanation of dev lunacy, so just kept things simple.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Frank Lion

User avatar
 
Posts: 19425
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted April 11th, 2017, 8:03 am

If you're messing around with changing the T/bird tabs, the following is useful to know/use -

Code: Select all
#tabs-toolbar {
  --tabHeight: unset !important;
}
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

disposable101
 
Posts: 1
Joined: May 12th, 2017, 10:28 am

Post Posted May 12th, 2017, 10:34 am

I am using Thunderbird in OSx and and would like to develop a theme. However, wanted to know:

- Are the folder or message list panes styleable via themes?
- If so, whereabouts are the styles / icons?
- If not, is there another way to do this?

Return to Theme Development


Who is online

Users browsing this forum: No registered users and 2 guests