Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Change TEXT color of thunderbird 68 dark theme

  • 27 ردًا
  • 2 have this problem
  • 1 view
  • آخر ردّ كتبه Tommaso Cora

more options

Looking for a way to change the TEXT color of the subject pane of the dark theme in tbird 68 from the default blue to white or cyan. On my screen the blue is to hard to read.

Running on a win7 box if it matters

Thanks

Looking for a way to change the TEXT color of the subject pane of the dark theme in tbird 68 from the default blue to white or cyan. On my screen the blue is to hard to read. Running on a win7 box if it matters Thanks
Attached screenshots

الحل المُختار

No worries. It was entirely possible your computer setup was not helping you before being required to do the following.

You need to do the following. Make Hidden files and folder visible:

In Thunderbird:

  • Help > Troubleshooting Information
  • click on 'Open folder' button

a new window opens showing the contents of your Profile folder.

  • Close Thunderbird now - this is important.
  • Create new folder and call it chrome note the spelling - use a lower case 'c' It should be in the same place as the 'Mail' folder.
  • open Notepad
  • Copy everything - all the text between lines below and paste it into the Notepad document.

/*
 
* Do not remove the @namespace line -- it's required for correct functioning
 */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 

/* set default namespace to XUL */
/*Change font color to white*/

#threadTree treechildren::-moz-tree-cell-text(unread) {
-moz-appearance: none !important;
color: #ffffff !important;
font-weight: bold !important;
}


  • Save the document as filename userChrome.css in the 'chrome' folder. Note the spelling all lower case except for the 'C'.

Start Thunderbird.

Read this answer in context 👍 4

All Replies (7)

more options

In dark theme unread messages no longer shown in blue to distinguish from tagged messages

How do i revert back to this... i can not tell what is read or unread now...

more options

capcept I've already written the code for changing font colour. It is selected as the 'Chosen Solution'. The 'Chosen Solution' could be used to change from blue to white as per the request, but equally it can be used to set any colour you want.

All you need to do is use the code as advised, but change the prefered color hex info. eg: #ffffff is white #2e9af6 is a mid blue

Choose the colour you want. Use this link to get colour and hex code. https://htmlcolorcodes.com/color-picker/

more options

The color picker URL is a nice, handy tool, but it doesn't fix the problem.

Before version68 you could change the text color in a message body, Now, you can't.

Seriously.

more options

dennisburnham Please stop posting your completely different issue in this question. Start a new question about your issue.

more options

I have similar problem in 68.3.1 on a Mac. No idea how to solve to distinguish unread and read mail titles. "New" unread mail titles are shown in blu (that's ok) but "old" unread mails and folder are in white. The only difference between read and unread mails is bold or not .... and on a dark backgroud this is so hard to distinguish ... (see attached images) Please help!!!

more options

Tommaso Cora

You will need to create a 'userChrome.css' file to control the font colour. The code below keeps the same blue but on Folders with unread mail and also unread messages in bold font. But New mail received in Folder uses slightly lighter blue and made italic to draw attention. See if this works for you by doing the following:

In Thunderbird:

  • Help > Troubleshooting Information
  • click on 'Open Finder' button (MAC)

a new window opens showing the contents of your Profile name folder.

  • Close Thunderbird now - this is important.
  • Create new folder and call it chrome note the spelling - use a lower case 'c' It should be in the same place as the 'Mail' folder. See image below.
  • open Notepad or any similar basic text editor program
  • Copy everything - all the text between lines below and paste it into the Notepad document.

IMPORTANT NOTE: It has recently become noticed there is a bug in firefox when it sends people emails of posted comments. Part of the code has the words !important and it gets omitted in the email you see....so compare with the code as shown in the forum comment to make sure you do not get an error.



/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");


/* make folders with New & Unread mail stay Blue using two blues and italic on new*/

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true){
color: #7bc3ff !important;
font-weight: bold !important;
}

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected) {
font-weight: bold !important;
color: #2492d1 !important;
}

treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true) {
color: #2492d1 !important;
font-weight: bold !important;
}

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true, selected) {
font-weight: bold !important; 
color: #2492d1 !important;
}

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true) {
font-weight: bold !important;
color: #7bc3ff !important;
}

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true, selected) {
font-weight: bold !important;
color: #2492d1 !important;
}

/* new mail */
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
font-weight: bold !important;
color: #7bc3ff !important;
font-style: italic !important;
}

#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true, selected),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected),
#folderTree > treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true, selected) {
font-weight: bold !important;
color: #2492d1 !important;
}

/*Change font color of unread messages to Blue*/
#threadTree treechildren::-moz-tree-cell-text(unread) {
-moz-appearance: none !important;
color: #2492d1 !important;
font-weight: bold !important;
}




You can choose whatever colour you prefer by changing the hex code. #2492d1 is the hex code for Blue #7bc3ff is the hex code used for slightly paler blue

This is a link to a colour picker where you can get the hex codes:


  • Save the document as filename userChrome.css in the 'chrome' folder. Note the spelling all lower case except for the 'C'.

Start Thunderbird.

more options

It works!!! Thankyou ;)

  1. 1
  2. 2