help-gnu-emacs
[Top][All Lists]
Advanced

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

Using variables instead of hex values


From: irenezerafa
Subject: Using variables instead of hex values
Date: Mon, 08 Nov 2021 08:00:04 +0000

I have the following piece of code and would like to use variable names instead 
of
using hex values directly.

(eval-when-compile
(defmacro rich-faces ()
(let ( (faces '())
(light-colors [ "#a8007f" "#005f88" "#904200" "#7f10d0"
"#006800" "#b60000" "#1f1fce" "#605b00" "#000000"])
(dark-colors [ "#ff62d4" "#3fdfd0" "#fba849" "#9f80ff"
"#4fe42f" "#fe6060" "#4fafff" "#f0dd60" "#ffffff" ]) )

reply via email to

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