emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/gotham-theme 885ea8c8dd 213/214: Support 24-bit terminals


From: ELPA Syncer
Subject: [nongnu] elpa/gotham-theme 885ea8c8dd 213/214: Support 24-bit terminals
Date: Fri, 7 Jan 2022 17:58:56 -0500 (EST)

branch: elpa/gotham-theme
commit 885ea8c8dd19686bdf152f363cbf4c38f1096ab2
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Vasilij Schneidermann <mail@vasilij.de>

    Support 24-bit terminals
---
 gotham-theme.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gotham-theme.el b/gotham-theme.el
index 831b8f0b13..16209750a9 100644
--- a/gotham-theme.el
+++ b/gotham-theme.el
@@ -92,8 +92,8 @@ the rules that are applied to the face attributes."
          (spec (cdr face))
          (graphic-spec (gotham-transform-spec spec 'graphic))
          (tty-spec (gotham-transform-spec spec 'tty)))
-    `(,name ((((type graphic)) ,@graphic-spec)
-             (((type tty)) ,@tty-spec)))))
+    `(,name ((((class color) (min-colors 257)) ,@graphic-spec)
+             (((class color) (min-colors 16)) ,@tty-spec)))))
 
 (defun gotham-transform-spec (spec display)
   "Helper function that transforms SPEC for DISPLAY.



reply via email to

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