change quotation color in plaintext composition

User Help for Mozilla Thunderbird
Locked
pista
Posts: 49
Joined: February 9th, 2008, 1:21 pm

change quotation color in plaintext composition

Post by pista »

I need to change the default color for quoed text in plain text composition. This is because I changed the font color to white and the background color to black using options, but blue over black is practically unreadable!
I've found some very old threads about the same subject (two of them are http://forums.mozillazine.org/viewtopic ... 9&t=378018 and http://forums.mozillazine.org/viewtopic ... 9&t=513670) but none works.
For example, following the suggestion in the second cited thread the color change is that of quoted text in view mode and not composition mode.
Please help me!
Last edited by pista on December 27th, 2017, 2:30 pm, edited 1 time in total.
User avatar
DanRaisch
Moderator
Posts: 127222
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: change quotation color in plaintext composition

Post by DanRaisch »

Plain text messages can not include any colors except black text on a default background. That's because the selection and display of colored fonts requires the presence and use of HTML tags which are not supported in plain text.
pista
Posts: 49
Joined: February 9th, 2008, 1:21 pm

Re: change quotation color in plaintext composition

Post by pista »

NOT AT ALL!
Because in a standard Thundebird installation, when you reply to a message in plain text mode the cited text IS BLUE!!!
User avatar
DanRaisch
Moderator
Posts: 127222
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: change quotation color in plaintext composition

Post by DanRaisch »

Not when it gets to the recipient, unless they have set their email client to display that color. The point is that you have no control over what color the recipient sees when sending a plain text message because what Thunderbird sends does not include any actual color information.
pista
Posts: 49
Joined: February 9th, 2008, 1:21 pm

Re: change quotation color in plaintext composition

Post by pista »

You missed the point completely.
I'm NOT interested AT ALL in how the recipient will read the message.
I need to change the color of quoted text because in dark mode the default color (blue) PREVENTS ME TO WRITE (AND READ) MY REPLY MESSAGE IN A DECENT WAY.
Why don't you try to set the background color to black and foreground color to white in Options > Diplay > Colors, and check if it is readable for you?
No, wait, I've already made such a task for you: https://imgur.com/oPmFlNe
DO YOU UNDERSTAND NOW?
User avatar
Frank Lion
Posts: 21177
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: change quotation color in plaintext composition

Post by Frank Lion »

pista wrote:You missed the point completely.
I'm NOT interested AT ALL in how the recipient will read the message.
I need to change the color of quoted text because in dark mode the default color (blue) PREVENTS ME TO WRITE (AND READ) MY REPLY MESSAGE IN A DECENT WAY.
Why don't you try to set the background color to black and foreground color to white in Options > Diplay > Colors, and check if it is readable for you?
No, wait, I've already made such a task for you: https://imgur.com/oPmFlNe
DO YOU UNDERSTAND NOW?
We seem to have an understanding problem here.

Let me explain how it works. Show a rude attitude towards a Moderator here and the guys who could help you... are not going to. -

Image

Do you understand now?
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
DanRaisch
Moderator
Posts: 127222
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: change quotation color in plaintext composition

Post by DanRaisch »

Your first message is not clear. You speak of changing the colors to white text with a black background but then say that "blue over black is practically unreadable". If you changed the text to white, what does blue have to do with anything?
User avatar
makaiguy
Posts: 16878
Joined: November 18th, 2002, 6:44 pm
Location: Somewhere in SE USA
Contact:

Re: change quotation color in plaintext composition

Post by makaiguy »

I believe he's asking about the color used to display the quote of the original message text when entering a reply. On my system, at least, it is shown in blue, no matter what is chosen as text display color. When specifying a dark background, the blue can be hard to read.
Doug Wilson
Win10 64bit: FF 124.0.2 64bit, TB 102.12.0 32-bit ║ Android 13/10: FF 124.2.0/115.9.0 ║ No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers
User avatar
DanRaisch
Moderator
Posts: 127222
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: change quotation color in plaintext composition

Post by DanRaisch »

Ah, see how helpful it is when the issue is presented clearly and in detail. I suppose the appropriate answer to that problems would be: don't change the background to black.
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: change quotation color in plaintext composition

Post by morat »

@pista

You need to level up your patience.

Try this:

Code: Select all

/* Thunderbird userContent.css */

span[_moz_quote="true"] {
  color: lightgreen !important;
}
pre[_moz_quote="true"] {
  color: lightpink !important;
}
http://kb.mozillazine.org/UserContent.css

How to test:

* open 3pane window
* select a message
* hold shift and click reply button for plain text format
ramasaig
Posts: 479
Joined: September 14th, 2004, 3:04 pm
Location: Isle of Mull, Scotland
Contact:

Re: change quotation color in plaintext composition

Post by ramasaig »

Great to find this thread is still there. And the solution works in Thunderbird 78 as well!
In case it's not already clear, the 'userContent.css' file needs to go in the 'chrome' folder of your profile.
Ramasaig
Maolbhuidhe, Isle of Mull
User avatar
LIMPET235
Moderator
Posts: 39952
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: change quotation color in plaintext composition

Post by LIMPET235 »

Thanks.
Locking this due to the age of the original post.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked