summaryrefslogtreecommitdiffstats
path: root/samples/mild-colors.lss
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:21:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:21:21 +0000
commit510ed32cfbffa6148018869f5ade416505a450b3 (patch)
tree0aafabcf3dfaab7685fa0fcbaa683dafe287807e /samples/mild-colors.lss
parentInitial commit. (diff)
downloadlynx-510ed32cfbffa6148018869f5ade416505a450b3.tar.xz
lynx-510ed32cfbffa6148018869f5ade416505a450b3.zip
Adding upstream version 2.9.0rel.0.upstream/2.9.0rel.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'samples/mild-colors.lss')
-rw-r--r--samples/mild-colors.lss59
1 files changed, 59 insertions, 0 deletions
diff --git a/samples/mild-colors.lss b/samples/mild-colors.lss
new file mode 100644
index 0000000..2807e50
--- /dev/null
+++ b/samples/mild-colors.lss
@@ -0,0 +1,59 @@
+# From: Vlad Harchev <hvv@hippo.ru>
+# 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
+
+# Notes:
+# better for eyes - it sets black background with mild colors that
+# have approximately the same intensity.
+#
+# grey normal text on black background with green links and brightgreen
+# highlighted links.
+em: bold: cyan
+strong: bold: cyan
+dt: bold: cyan
+var: bold: cyan
+samp: bold: cyan
+b: bold: cyan
+i: bold: cyan
+alink: reverse: brightgreen: black
+a: bold: green
+img: dim: cyan: black
+status: reverse: cyan: black
+fig: normal: gray
+caption: reverse: cyan
+hr: normal: gray
+blockquote: normal: cyan: black
+address: normal: cyan
+title: normal: cyan: black
+tt: normal: white: black
+h1: bold: cyan: black
+label: normal: cyan
+value: normal: cyan
+q: normal: cyan
+small: dim: cyan
+big: bold: cyan
+sup: bold: cyan
+sub: dim: cyan
+code: normal: cyan
+
+span.htmlsrc_comment:normal:white
+span.htmlsrc_tag:normal:cyan
+##the following makes no difference (except increasing the speed) since tag
+##is already in cyan.
+#span.htmlsrc_attrib:normal:cyan
+#span.htmlsrc_attrval:normal:magenta
+span.htmlsrc_abracket:normal:cyan
+span.htmlsrc_entity:normal:white
+##span.htmlsrc_href:
+##span.htmlsrc_entire:
+span.htmlsrc_badseq:normal:red
+span.htmlsrc_badtag:normal:red
+span.htmlsrc_badattr:normal:red
+span.htmlsrc_sgmlspecial:normal:yellow