Excerpts from J?rg-Hendrik Bach''s message of Fri Jul 03 12:05:23 -0400
2009:> Hello list,
>
> is there any documentation on which parts of the display can be changed via
the
> .sup/colors.yaml? From the wiki entry[1] it is possible to figure out some
of
> the variables, but I haven''t got all.
I don''t really know, but from browsing the source briefly,
I''ve
found (formatted as quote):
> DEFAULT_COLORS = {
> :status => { :fg => "white", :bg => "blue",
:attrs => ["bold"] },
> :index_old => { :fg => "white", :bg =>
"default" },
> :index_new => { :fg => "white", :bg =>
"default", :attrs => ["bold"] },
> :index_starred => { :fg => "yellow", :bg =>
"default", :attrs => ["bold"] },
> :index_draft => { :fg => "red", :bg =>
"default", :attrs => ["bold"] },
> :labellist_old => { :fg => "white", :bg =>
"default" },
> :labellist_new => { :fg => "white", :bg =>
"default", :attrs => ["bold"] },
> :twiddle => { :fg => "blue", :bg =>
"default" },
> :label => { :fg => "yellow", :bg =>
"default" },
> :message_patina => { :fg => "black", :bg =>
"green" },
> :alternate_patina => { :fg => "black", :bg =>
"blue" },
> :missing_message => { :fg => "black", :bg =>
"red" },
> :attachment => { :fg => "cyan", :bg =>
"default" },
> :cryptosig_valid => { :fg => "yellow", :bg =>
"default", :attrs => ["bold"] },
> :cryptosig_unknown => { :fg => "cyan", :bg =>
"default" },
> :cryptosig_invalid => { :fg => "yellow", :bg =>
"red", :attrs => ["bold"] },
> :generic_notice_patina => { :fg => "cyan", :bg =>
"default" },
> :quote_patina => { :fg => "yellow", :bg =>
"default" },
> :sig_patina => { :fg => "yellow", :bg =>
"default" },
> :quote => { :fg => "yellow", :bg =>
"default" },
> :sig => { :fg => "yellow", :bg => "default"
},
> :to_me => { :fg => "green", :bg =>
"default" },
> :starred => { :fg => "yellow", :bg =>
"default", :attrs => ["bold"] },
> :starred_patina => { :fg => "yellow", :bg =>
"green", :attrs => ["bold"] },
> :alternate_starred_patina => { :fg => "yellow", :bg
=> "blue", :attrs => ["bold"] },
> :snippet => { :fg => "cyan", :bg =>
"default" },
> :option => { :fg => "white", :bg =>
"default" },
> :tagged => { :fg => "yellow", :bg =>
"default", :attrs => ["bold"] },
> :draft_notification => { :fg => "red", :bg =>
"default", :attrs => ["bold"] },
> :completion_character => { :fg => "white", :bg =>
"default", :attrs => ["bold"] },
> :horizontal_selector_selected => { :fg => "yellow", :bg
=> "default", :attrs => ["bold"] },
> :horizontal_selector_unselected => { :fg => "cyan", :bg
=> "default" },
> :search_highlight => { :fg => "black", :bg =>
"yellow", :attrs => ["bold"] },
> :system_buf => { :fg => "blue", :bg =>
"default" },
> :regular_buf => { :fg => "white", :bg =>
"default" },
> :modified_buffer => { :fg => "yellow", :bg =>
"default", :attrs => ["bold"] },
> }
You can probably extrapolate how to do colouring based on this? If you
have the energy, please update the wiki to maybe mention this list, etc.
Last I saw, the page was fairly out of date.
Hope this helps,
--
Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)