diff options
| author | Protesilaos Stavrou <info@protesilaos.com> | 2026-04-10 12:45:32 +0300 |
|---|---|---|
| committer | Protesilaos Stavrou <info@protesilaos.com> | 2026-04-10 12:45:32 +0300 |
| commit | 937ee8047bf5bc0ffd4aa2f7f07edb2b6b67ed67 (patch) | |
| tree | 0e1838752e665cb9b768d53d1520db3f44a762c4 | |
| parent | 7d234fd65f835b0e5608404000cef12b2c9f97b3 (diff) | |
Make stylistic change to modus-themes--hex-to-rgb
| -rw-r--r-- | modus-themes.el | 6 |
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) |
