branch: elpa/cyberpunk-theme
commit eb6ee11315180ae27b17b351163f47a1014348a0
Merge: db5e866 3aedd1e
Author: Nicholas M. Van Horn <[email protected]>
Commit: GitHub <[email protected]>

    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