Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: garoth@gmail.com (Andrei Thorp)
Subject: [sup-talk] colour customisation
Date: Fri, 03 Jul 2009 13:13:29 -0400	[thread overview]
Message-ID: <1246641077-sup-9945@Longbow> (raw)
In-Reply-To: <91de50e10907030905l6673a7c3n380f6daeccfb14ab@mail.gmail.com>

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)


  reply	other threads:[~2009-07-03 17:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-03 16:05 Jörg-Hendrik Bach
2009-07-03 17:13 ` Andrei Thorp [this message]
2009-07-03 18:54   ` William Morgan
2009-07-04 12:01     ` Jörg-Hendrik Bach
2009-07-06 13:47       ` Andrei Thorp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1246641077-sup-9945@Longbow \
    --to=garoth@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox