"Fossies" - the Fresh Open Source Software Archive

Member "lynx2.9.0dev.1/samples/mild-colors.lss" (19 Sep 2006, 1858 Bytes) of package /linux/www/lynx2.9.0dev.1.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # From: Vlad Harchev <hvv@hippo.ru> 
    2 # Setting the normal and default types lets us keep (almost) the same colors
    3 # whether the terminal's default colors are white-on-black or black-on-white.
    4 # It is not exact since the default "white" is not necessarily the same color
    5 # as the ANSI lightgray, but is as close as we can get in a standard way.
    6 #
    7 # If you really want the terminal's default colors, and if lynx is built using
    8 # ncurses' default-color support, remove these two lines:
    9 normal:		normal:			lightgray:black
   10 default:	normal:			white:black
   11 
   12 # Notes:
   13 # better for eyes - it sets black background with mild colors that
   14 # have approximately the same intensity.
   15 #
   16 # grey normal text on black background with green links and brightgreen  
   17 # highlighted links. 
   18 em:		bold:			cyan
   19 strong:		bold:			cyan
   20 dt:		bold:			cyan
   21 var:		bold:			cyan
   22 samp:		bold:			cyan
   23 b:		bold:			cyan
   24 i:		bold:			cyan
   25 alink:		reverse:		brightgreen:	black
   26 a:		bold:			green
   27 img:		dim:			cyan:		black
   28 status:		reverse:		cyan:		black
   29 fig:		normal:			gray
   30 caption:	reverse:		cyan
   31 hr:		normal:			gray
   32 blockquote:	normal:			cyan:		black
   33 address:	normal:			cyan
   34 title:		normal:			cyan:		black
   35 tt:		normal:			white:		black
   36 h1:		bold:			cyan:		black
   37 label:		normal:			cyan
   38 value:		normal:			cyan
   39 q:		normal:			cyan
   40 small:		dim:			cyan
   41 big:		bold:			cyan
   42 sup:		bold:			cyan
   43 sub:		dim:			cyan
   44 code:		normal:			cyan
   45 
   46 span.htmlsrc_comment:normal:white
   47 span.htmlsrc_tag:normal:cyan
   48 ##the following makes no difference (except increasing the speed) since tag
   49 ##is already in cyan.
   50 #span.htmlsrc_attrib:normal:cyan
   51 #span.htmlsrc_attrval:normal:magenta
   52 span.htmlsrc_abracket:normal:cyan
   53 span.htmlsrc_entity:normal:white
   54 ##span.htmlsrc_href:
   55 ##span.htmlsrc_entire:
   56 span.htmlsrc_badseq:normal:red
   57 span.htmlsrc_badtag:normal:red
   58 span.htmlsrc_badattr:normal:red
   59 span.htmlsrc_sgmlspecial:normal:yellow