emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b6c7780: ; * lisp/faces.el (color-luminance-dark-limit): Better d


From: Mattias Engdegård
Subject: master b6c7780: ; * lisp/faces.el (color-luminance-dark-limit): Better doc string.
Date: Thu, 18 Jun 2020 15:57:32 -0400 (EDT)

branch: master
commit b6c7780bb02465e3af2ccec332fc2d8b79fe7a2a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * lisp/faces.el (color-luminance-dark-limit): Better doc string.
---
 lisp/faces.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index 2480aaa..ba85973 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1795,9 +1795,10 @@ on which one provides better contrast with COLOR."
       "#ffffff" "black"))
 
 (defconst color-luminance-dark-limit 0.325
-  "The relative luminance below which a color is considered 'dark',
-in the sense that white text is more readable than black with the
-color as background.  This value was determined experimentally.")
+  "The relative luminance below which a color is considered 'dark'.
+A 'dark' color in this sense provides better contrast with white
+than with black; see `color-dark-p'.
+This value was determined experimentally.")
 
 (defun color-dark-p (rgb)
   "Whether RGB is more readable against white than black.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]