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

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

[nongnu] elpa/cyberpunk-theme eb6ee11 096/132: Merge pull request #26 fr


From: ELPA Syncer
Subject: [nongnu] elpa/cyberpunk-theme eb6ee11 096/132: Merge pull request #26 from 7696122/master
Date: Thu, 21 Oct 2021 18:03:56 -0400 (EDT)

branch: elpa/cyberpunk-theme
commit eb6ee11315180ae27b17b351163f47a1014348a0
Merge: db5e866 3aedd1e
Author: Nicholas M. Van Horn <nemo1211@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #26 from 7696122/master
    
    Add custom variable for transparent background
---
 cyberpunk-theme.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/cyberpunk-theme.el b/cyberpunk-theme.el
index 5b82d02..c0b8892 100644
--- a/cyberpunk-theme.el
+++ b/cyberpunk-theme.el
@@ -37,6 +37,9 @@
 
 (deftheme cyberpunk "The Cyberpunk color theme")
 
+(defcustom cyberpunk-transparent-background nil
+  "Make transparent background in terminal. (Workaround)")
+
 (let ((class '((class color) (min-colors 89)))
       ;; Cyberpunk palette
       (cyberpunk-fg "#dcdccc")
@@ -84,7 +87,9 @@
       (cyberpunk-blue-7 "#00ffff")
       (cyberpunk-blue-8 "#4F94CD")
       (cyberpunk-magenta "#dc8cc3")
-      (cyberpunk-black (if (and (not (display-graphic-p)) (eq system-type 
'darwin))
+      (cyberpunk-black (if (and cyberpunk-transparent-background
+                                (not (display-graphic-p))
+                                (eq system-type 'darwin))
                            "ARGBBB000000"
                          "#000000"))
       (cyberpunk-black-2 "#0C1021")



reply via email to

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