[publican-list] Code Samples highlighting colours

misty at redhat.com misty at redhat.com
Mon Oct 18 03:04:25 UTC 2010


For accessibility, #ff00ff, #ffa500, #96b9ff need to go. #9b30ff is debatable.

----- "Ryan Lerch" <rlerch at redhat.com> wrote:

> From: "Ryan Lerch" <rlerch at redhat.com>
> To: "Publican discussions" <publican-list at redhat.com>
> Sent: Monday, October 18, 2010 12:41:05 PM GMT +10:00 Brisbane
> Subject: Re: [publican-list] Code Samples highlighting colours
>
> On 10/18/2010 10:48 AM, Jeffrey Fearn wrote:
> > Ryan Lerch wrote:
> >>  I was looking at the updated styles for <programlisting>s and 
> >> noticed that some of the colours used to highlight the different 
> >> elements of code in them can be a little hard to see (and sometimes
> a 
> >> bit jarring)
> >>
> >> Does anyone have any thoughts on the current default colours used,
> >
> > They are bad.
> +1
> 
> Here the colours listed below (by Jeff) can be viewed in context in
> the 
> image attached.
> 
> cheers,
> ryanlerch
> >
> > Here is the existing pallet in cut down form:
> >
> > Alert:    #0000ff
> > BaseN:    #007f00
> > BString:  #5C3566
> > Char:     #ff00ff
> > Comment:  #FF00FF
> > DataType: #0000ff
> > DecVal:   #00007f
> > Error:    #ff0000
> > Float:    #00007f
> > Function: #007f00
> > IString:  #5C3566
> > Keyword:  #002F5D
> > Operator: #ffa500
> > Others:   #b03060
> > RegionMarker: #96b9ff
> > Reserved: #9b30ff
> > String:   #5C3566
> > Variable: #0000ff
> > Warning:  #0000ff
> >
> > The exact mapping is language specific, you have to read the 
> > individual modules to know the exact mapping, but it's probably
> better 
> > to try and abstract from that.
> >
> > Cheers, Jeff.
> >
> 
> 
> _______________________________________________
> publican-list mailing list
> publican-list at redhat.com
> https://www.redhat.com/mailman/listinfo/publican-list
> Wiki: https://fedorahosted.org/publican

-- 


Misty Stanley-Jones, RHCE 
Content Author, ECS Brisbane 
Projects: https://engineering.redhat.com/trac/ContentServices/wiki/MistySchedule 
IRC: misty_wrk (Freenode) / Ph: +61 7 3514 8105 




More information about the publican-list mailing list