From 361ffe132463580de4ca62f923796b54737a46fe Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Fri, 7 Nov 2014 08:39:00 +0100 Subject: [PATCH] Document how to increase contrast in EWW/shr * doc/misc/eww.texi (Advanced): Document increasing contrast with shr-color-visible-distance-min and shr-color-visible-luminance-min. --- doc/misc/ChangeLog | 6 ++++++ doc/misc/eww.texi | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 36134cdc8d1..441285647bd 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,9 @@ +2014-11-07 Tassilo Horn + + * eww.texi (Advanced): Document increasing contrast with + shr-color-visible-distance-min and + shr-color-visible-luminance-min. + 2014-11-02 Teodor Zlatanov * auth.texi (Help for users): Explain quoting rules better. diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi index c22a41e451c..f8f87d37a39 100644 --- a/doc/misc/eww.texi +++ b/doc/misc/eww.texi @@ -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 -- 2.39.5