#StackBounty: #thunderbird Thunderbird: change "selected" tags background color

Bounty: 100

I have defined tags, with colors:

grep 'mailnews.tags.' prefs.js
user_pref("mailnews.tags.test.color", "#f2a064");
user_pref("mailnews.tags.test.tag", "TEST");
user_pref("mailnews.tags.lists.color", "#3baff4");
user_pref("mailnews.tags.lists.tag", "lists");

When message is tagged, the text has the color as defined above. But when I move around with the cursor, selected tagged message now has this color (or its derivative) used as backgroung color, with white text. This makes the tag unreadable when the tag color is also light tone.

I have tried this in my userChrome.css:

treechildren::-moz-tree-cell(lc-F2A064, selected) { background-color: #B63C29 !important; }
treechildren::-moz-tree-cell-text(lc-F2A064, selected) { color: #F7FF7C !important; }

treechildren::-moz-tree-cell(lc-3BAFF4, selected) { background-color: #B63C29 !important; }
treechildren::-moz-tree-cell-text(lc-3BAFF4, selected) { color: #F7FF7C !important; } 

but this seems to have no effect.

I am using Thunderbird 68.8 on Debian.

So, in short, I know how to define tag text color. But how do I define the background color when tagged message is selected (cursor currently on message) ?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.