Re: [code] [textadept] Theming

From: Mitchell <m.att.foicica.com>
Date: Tue, 18 Jun 2013 10:59:33 -0400 (Eastern Daylight Time)

Robert,

On Thu, 13 Jun 2013, Robert wrote:

> On Wed, Jun 12, 2013 at 9:32 PM, Mitchell <m.att.foicica.com> wrote:
>>>
>>> I don't have these in the themes I posted the other day, they are just
>>> called color.base01 etc. - I could change the color names though, but
>>> in the green theme there is no red :-). Would you accept a patch that
>>> changed the style in these lexers to styles that have the appropriate
>>> colors in the default dark/light themes?
>>
>> Yes, I'd like to see what you come up with.
>>
> Attached a proposal for using styles instead of hard-coded colors in
> the Markdown, Diff and D lexers.
> I don't know D so I am not sure if there might be a better styling
> choice for traits (Brian?), the other two look good with 'dark' and
> 'light' themes and are colored as the chosen styles are in the base16
> themes.

I'm not a fan of this. It is a head-scratcher and if users change one of
those colors, diff files will start looking weird.

Is there a problem with defining 'color.red' = '%(your.base.color)' at the
bottom of your theme and making a comment about it being needed by the
diff lexer?

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 18 Jun 2013 - 10:59:33 EDT

This archive was generated by hypermail 2.2.0 : Wed 19 Jun 2013 - 06:48:55 EDT