Bug 2766

Summary: unreadable display font
Product: Claws Mail (GTK 2) Reporter: Geoffroy <gef>
Component: UIAssignee: users
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 3.8.1   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
my email view none

Description Geoffroy 2012-10-26 12:20:38 UTC
hi there, 

not a bug per say, more a where is this setting (but didn't know where else to ask) 

the folder listing and email listing pan have a foreground/background that makes it quite unreadable. I cannot find where to setup the color of the bg/fg and font color. Is it in the gtk?

It seemed caused by the gtk theme I used + default setting of some sort. Attachment of my mail window
Comment 1 Geoffroy 2012-10-26 12:21:31 UTC
Created attachment 1176 [details]
my email view
Comment 2 Paul 2012-11-19 08:10:29 UTC
not a bug at all. This is a question about your GTK+ theme. A better place to ask would've been the users' mailing list, if not a GTK+ theme list.

You need to modify the text entries in your GTK+ theme. Here are some lines from a theme, which should give you the hint you need:

gtk-color-scheme =
"bg_color:#c5c5c5\nfg_color:#000\nbase_color:#cecece\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:#729fcf"

style "default"
{
        fg[NORMAL]              = @fg_color
        fg[ACTIVE]              = @fg_color
        fg[INSENSITIVE]         = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]

        fg[PRELIGHT]            = @fg_color
        fg[SELECTED]            = @selected_fg_color
        
        bg[ACTIVE]              = shade (0.9, @bg_color)
	bg[NORMAL]              = @bg_color
        bg[INSENSITIVE]         = shade (0.95, @bg_color)
        bg[PRELIGHT]            = shade (1.03, @bg_color)
        bg[SELECTED]            = @selected_bg_color

        base[NORMAL]            = @base_color
        base[ACTIVE]            = shade (0.9, @selected_bg_color)
        base[INSENSITIVE]       = shade (0.95, @base_color)
        base[PRELIGHT]          = @bg_color
	base[SELECTED]          = @selected_bg_color
        
        text[NORMAL]            = @text_color
        text[ACTIVE]            = @text_color
        text[PRELIGHT]          = @text_color
        text[SELECTED]          = @selected_fg_color
        text[INSENSITIVE]       = mix (0.5, @text_color, @base_color)
}