From 9a51ab3848614bb0c55a87ed74fb16a391c4d428 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Fri, 7 Nov 2014 10:54:50 +0200 Subject: [PATCH] Backport from trunk documentation of shr-color-visible-* variables. 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 a9a5550a85e..0518909ff90 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-10-31 Eric S. Raymond * efaq-w32.texi: Neutralized language specific to a repository type. diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi index 827c35f02ef..fde77745984 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