From 1367261dc669476df3a799f0de45e4bfb2437b8b Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 2 Jun 2005 22:50:02 -0400 Subject: snapshot of project "lynx", label v2-8-6dev_12 --- samples/lynx.lss | 154 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 85 insertions(+), 69 deletions(-) (limited to 'samples/lynx.lss') diff --git a/samples/lynx.lss b/samples/lynx.lss index 9c6477e6..9349de72 100644 --- a/samples/lynx.lss +++ b/samples/lynx.lss @@ -1,40 +1,47 @@ -# It's best to put these in a .lss file and use "lynx -lss=file.lss whatever" -# for now. +# Setting the normal and default types lets us keep (almost) the same colors +# whether the terminal's default colors are white-on-black or black-on-white. +# It is not exact since the default "white" is not necessarily the same color +# as the ANSI lightgray, but is as close as we can get in a standard way. # +# If you really want the terminal's default colors, and if lynx is built using +# ncurses' default-color support, remove these two lines: +normal: normal: lightgray:black +default: normal: white:black + # Normal type styles correspond to HTML tags. # # The next line (beginning with "em") means: use bold if mono, otherwise # brightblue on -em:bold:brightblue -strong:bold:brightred -b:bold:red -i:bold:brightblue -a:bold:green -img:dim:brown -fig:normal:gray -caption:reverse:brown -hr:normal:yellow -blockquote:normal:brightblue -ul:normal:brown -address:normal:magenta -title:normal:magenta -tt:dim:brightmagenta:default -h1:bold:yellow:blue -label:normal:magenta -q:normal:yellow:magenta -small:dim:default -big:bold:yellow -sup:bold:yellow -sub:dim:gray -lh:bold:yellow:magenta -li:normal:magenta -code:normal:cyan -cite:normal:cyan +em: bold: brightblue +strong: bold: brightred +b: bold: red +i: bold: brightblue +a: bold: green +img: dim: brown +fig: normal: gray +caption: reverse: brown +hr: normal: yellow +blockquote: normal: brightblue +ul: normal: brown +address: normal: magenta +title: normal: magenta +tt: dim: brightmagenta: black +h1: bold: yellow: blue +label: normal: magenta +q: normal: yellow: magenta +small: dim: default +big: bold: yellow +sup: bold: yellow +sub: dim: gray +lh: bold: yellow: magenta +li: normal: magenta +code: normal: cyan +cite: normal: cyan -table:normal:brightcyan -tr:bold:brown -td:normal:default -br:normal:default +table: normal: brightcyan +tr: bold: brown +td: normal: default +br: normal: default # Special styles - not corresponding directly to HTML tags # alert - status bar, when message begins "Alert". @@ -44,58 +51,67 @@ br:normal:default # whereis - whereis search target # #normal:normal:default:blue -alink:reverse:yellow:black -status:reverse:yellow:blue -alert:bold:yellow:red -whereis:reverse+underline:magenta:cyan +alink: reverse: yellow: black +status: reverse: yellow: blue +alert: bold: yellow: red +whereis: reverse+underline: magenta: cyan # currently not used #value:normal:green #high:bold:brightmagenta + +menu.bg: normal: black: lightgray +menu.frame: normal: black: lightgray +menu.entry: normal: lightgray: black +menu.n: normal: red: gray +menu.active: normal: yellow: black +menu.sb: normal: brightred: lightgray + forwbackw.arrow:reverse +hot.paste: normal: brightred: gray # Styles with classes -