From ae5d181b854d3ccb373b6bc01b4869e44ff4d87a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:37:15 +0200 Subject: Adding upstream version 2.9.0dev.12. Signed-off-by: Daniel Baumann --- samples/mild-colors.lss | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 samples/mild-colors.lss (limited to 'samples/mild-colors.lss') 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 +# 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 -- cgit v1.2.3