From 7c4cb8ad1801b3d2ff6420f6c84109a5eb57e50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Israel=20Pe=C3=B1a?= Date: Fri, 25 Aug 2017 12:35:42 -0700 Subject: [PATCH] expose dark-class/light-class variables These represent display lists like the `class` variable currently does, but with an added element specifying the background variant. These can be used just like `class` currently is to specify a face spec for a particular background variant. --- solarized.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solarized.el b/solarized.el index ebe635c..a0a9b31 100644 --- a/solarized.el +++ b/solarized.el @@ -136,6 +136,8 @@ Alpha should be a float between 0 and 1." (defmacro solarized-with-color-variables (variant &rest body) (declare (indent defun)) `(let* ((class '((class color) (min-colors 89))) + (light-class (append '((background light)) class)) + (dark-class (append '((background dark)) class)) (variant ,variant) (s-base03 "#002b36") (s-base02 "#073642")