]> git.eshelyaron.com Git - emacs.git/commitdiff
Document how to increase contrast in EWW/shr
authorTassilo Horn <tsdh@gnu.org>
Fri, 7 Nov 2014 07:39:00 +0000 (08:39 +0100)
committerTassilo Horn <tsdh@gnu.org>
Fri, 7 Nov 2014 07:39:00 +0000 (08:39 +0100)
* doc/misc/eww.texi (Advanced): Document increasing contrast with
shr-color-visible-distance-min and
shr-color-visible-luminance-min.

doc/misc/ChangeLog
doc/misc/eww.texi

index 36134cdc8d1391901cebe0497b69712b94b58819..441285647bd5e2a47d2c73c0bb5069f4fd11e63e 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-07  Tassilo Horn  <tsdh@gnu.org>
+
+       * eww.texi (Advanced): Document increasing contrast with
+       shr-color-visible-distance-min and
+       shr-color-visible-luminance-min.
+
 2014-11-02  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * auth.texi (Help for users): Explain quoting rules better.
index c22a41e451c638463e30971e8867479f2e10e873..f8f87d37a39957ff75194a9f8b7d57ebf6b11656 100644 (file)
@@ -195,6 +195,15 @@ of the width and height.  If Emacs supports image scaling (ImageMagick
 support required) then larger images are scaled down.  You can block
 specific images completely by customizing @code{shr-blocked-images}.
 
+@vindex shr-color-visible-distance-min
+@vindex shr-color-visible-luminance-min
+@cindex Contrast
+  EWW (or rather its HTML renderer @code{shr}) use the colors declared
+in the HTML page but adjust them if needed to keep a certain minimum
+contrast.  If that is still to low for you, have a look at the
+variables @code{shr-color-visible-distance-min} and
+@code{shr-color-visible-luminance-min}.
+
 @node History and Acknowledgments
 @appendix History and Acknowledgments