[publican-list] Code Samples highlighting colours
Ryan Lerch
rlerch at redhat.com
Mon Oct 18 02:41:05 UTC 2010
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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colours.png
Type: image/png
Size: 64702 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/publican-list/attachments/20101018/1226f15c/attachment.png>
More information about the publican-list
mailing list