[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spacemacs-theme 3ddca18a1f 049/336: Theme options now are
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spacemacs-theme 3ddca18a1f 049/336: Theme options now are working fine |
Date: |
Fri, 14 Jan 2022 10:58:56 -0500 (EST) |
branch: elpa/spacemacs-theme
commit 3ddca18a1fdeb63f77e2637b3cfb0aab4959eb97
Author: nashamri <designernasser@gmail.com>
Commit: nashamri <designernasser@gmail.com>
Theme options now are working fine
---
spacemacs-theme.el | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/spacemacs-theme.el b/spacemacs-theme.el
index 9ecb764e36..f0d4a425e7 100644
--- a/spacemacs-theme.el
+++ b/spacemacs-theme.el
@@ -29,14 +29,14 @@
;;; Code:
-;; (defgroup spacemacs-dark nil
-;; "Spacemacs-dark theme options"
-;; :group 'faces)
+(defgroup spacemacs-theme nil
+ "Spacemacs-theme theme options"
+ :group 'faces)
-;; (defcustom spacemacs-dark-comment-bg nil
-;; "Use background color for comments."
-;; :type 'boolean
-;; :group 'spacemacs-dark)
+(defcustom spacemacs-theme-comment-bg nil
+ "Use background color for comments."
+ :type 'boolean
+ :group 'spacemacs-theme)
(defun create-spacemacs-theme (variant theme-name)
(let ((class '((class color) (min-colors 89))) ;; ~~ Dark
~~ ~~ Light ~~
@@ -53,6 +53,7 @@
(keyword (if (eq variant 'dark) (if (display-graphic-p) "#237fbf"
"#268bd2") (if (display-graphic-p) "#237fbf" "#268bd2")))
(const (if (eq variant 'dark) (if (display-graphic-p) "#a45bad"
"#d75fd7") (if (display-graphic-p) "#4e3163" "#8700af")))
(comment (if (eq variant 'dark) (if (display-graphic-p) "#2aa198"
"#2aa198") (if (display-graphic-p) "#2aa198" "#2aa198")))
+ (comment-bg (if (eq variant 'dark) (if (display-graphic-p) "#293234"
"#262626") (if (display-graphic-p) "#eff3ea" "#ffffff")))
(func (if (eq variant 'dark) (if (display-graphic-p) "#bc6ec5"
"#d75fd7") (if (display-graphic-p) "#6c3163" "#8700af")))
(str (if (eq variant 'dark) (if (display-graphic-p) "#2aa198"
"#2aa198") (if (display-graphic-p) "#2aa198" "#2aa198")))
(type (if (eq variant 'dark) (if (display-graphic-p) "#c56ec3"
"#d75fd7") (if (display-graphic-p) "#6c4173" "#8700af")))
@@ -70,8 +71,6 @@
(active2 (if (eq variant 'dark) (if (display-graphic-p) "#5d4d7a"
"#444444") (if (display-graphic-p) "#d3d3e7" "#afafd7")))
(inactive (if (eq variant 'dark) (if (display-graphic-p) "#5d4d7a"
"#111111") (if (display-graphic-p) "#9f8fbd" "#af87d7")))
(highlight (if (eq variant 'dark) (if (display-graphic-p) "#333c45"
"#444444") (if (display-graphic-p) "#d3d3e7" "#d7d7ff"))))
- ;; customizable properties
- ;; (comment-bg (if spacemacs-dark-comment-bg (if (display-graphic-p)
"#293234" "#262626") nil)))
(custom-theme-set-faces
theme-name
@@ -87,8 +86,7 @@
`(link ((,class (:foreground ,comment :underline t))))
`(link-visited ((,class (:foreground ,type :underline t))))
`(font-lock-builtin-face ((,class (:foreground ,builtin))))
- ;; `(font-lock-comment-face ((,class (:foreground ,comment :background
,comment-bg)))) ;;;;;;;;;;;;;;;;;;;; TODO
- `(font-lock-comment-face ((,class (:foreground ,comment))))
+ `(font-lock-comment-face ((,class (:foreground ,comment :background
,(when spacemacs-theme-comment-bg comment-bg)))))
`(font-lock-negation-char-face ((,class (:foreground ,const))))
`(font-lock-reference-face ((,class (:foreground ,const))))
`(font-lock-constant-face ((,class (:foreground ,const))))
- [nongnu] elpa/spacemacs-theme 2f5d5c4ecd 001/336: Initial commit, (continued)
- [nongnu] elpa/spacemacs-theme 2f5d5c4ecd 001/336: Initial commit, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 42e5680327 007/336: Company now in a good state, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 6bf5a6e29b 004/336: More tweaks, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 7f7097de8a 009/336: Dired in good shape, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme d5350c3707 011/336: company and flycheck tweaks, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme f2e3ea373c 030/336: Many little tweaks, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 67e3d4bb0c 013/336: Added Readme, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c0f5fe3771 023/336: Org mode is in a semi good state now., ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 30929e80b3 039/336: Preping for MELPA, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 85674eddbd 047/336: re-implemented the small differences between the two variants after the, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 3ddca18a1f 049/336: Theme options now are working fine,
ELPA Syncer <=
- [nongnu] elpa/spacemacs-theme 13940be5e7 056/336: Update README, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme fad775a7f5 022/336: Updated the screenshot, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c5189f5db0 031/336: Tweaks to company, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 3d48da1803 029/336: ido in good shape, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme a656ae8c19 032/336: More tweaks to company, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 4231cb7403 036/336: ERC support, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme b4fb0f5196 034/336: Make cursor color more visible against background, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 5555655e82 037/336: ein support, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 269d9f2cb8 044/336: Removed duplicate rules for ido, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 83cf5d6fbb 035/336: Cursor now is more visible in the terminal, ELPA Syncer, 2022/01/14