branch: elpa/cyberpunk-theme
commit 3aedd1ec3568d6e38304a5ffba6549b0a9b57f80
Author: 7696122 <[email protected]>
Commit: 7696122 <[email protected]>
Add custom variable for transparent background
When background color is "ARGBBB000000",
focus-mode(https://github.com/larstvei/Focus) insn't working.
Focus-mode check defined color by `color-defined-p`.
---
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")