From 937ee8047bf5bc0ffd4aa2f7f07edb2b6b67ed67 Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Fri, 10 Apr 2026 12:45:32 +0300 Subject: Make stylistic change to modus-themes--hex-to-rgb --- modus-themes.el | 6 ++++-- 1 file 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) -- cgit v1.0