GTK 3.0 Evolution css theme gtk.css

Viewed 1522

I have looked all over the place and can't seem to find the CSS ID's for Evolution..

I want to be able to customize the colors in Evolution. I have found some CSS tags that were changing sizes but nothing to do with unread email.

My primary goal is to have unread email have a different font color... Any help is greatly appreciated!!

2 Answers

create file called gtk.css in directory ~/.config/gtk-3.0

Edit gtk.css with the following:

MessageList,* {
        -MessageList-new-mail-bg-color: SteelBlue;
}

save changes made to gtk.css file and restart evolution mail client

If you prefer to change the font and not the background, you can use the foreground attribute to change just the text color.

Note the change from bg to fg below:

MessageList,* {
        -MessageList-new-mail-fg-color: SteelBlue;
}

This is currently working for me on Evolution 3.36.5-0ubuntu1

As stated above, file location: ~/.config/gtk-3.0/gtk.css

If you clone the source code from github, the code is located in: evolution/src/mail/message-list.c

Related