summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2026-04-10 12:45:32 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2026-04-10 12:45:32 +0300
commit937ee8047bf5bc0ffd4aa2f7f07edb2b6b67ed67 (patch)
tree0e1838752e665cb9b768d53d1520db3f44a762c4
parent7d234fd65f835b0e5608404000cef12b2c9f97b3 (diff)
Make stylistic change to modus-themes--hex-to-rgb
-rw-r--r--modus-themes.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/modus-themes.el b/modus-themes.el
index cf32fab..1949cf9 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -3748,8 +3748,10 @@ instead of `color-name-to-rgb' to avoid dependence on a display
connection. This matters when loading a theme during early init on
GUI Emacs, where `color-values' returns nil before the display is
ready (per issue #198)."
- (mapcar (lambda (x) (/ x 65535.0))
- (color-values-from-color-spec hex-color)))
+ (mapcar
+ (lambda (x)
+ (/ x 65535.0))
+ (color-values-from-color-spec hex-color)))
;; This is the WCAG formula: https://www.w3.org/TR/WCAG20-TECHS/G18.html
(defun modus-themes--wcag-contribution (channel weight)