branch: elpa/spacemacs-theme
commit d90bf30b1e48cb4c23e887b6b0db0b7223560a1f
Author: nashamri <[email protected]>
Commit: nashamri <[email protected]>
Fixed org headings backgrounds
---
spacemacs-theme.el | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/spacemacs-theme.el b/spacemacs-theme.el
index 30ab12cca7..b377addb1e 100644
--- a/spacemacs-theme.el
+++ b/spacemacs-theme.el
@@ -75,6 +75,10 @@
(active1 (if (eq variant 'dark) (if (display-graphic-p) "#222226"
"#121212") (if (display-graphic-p) "#e7e5eb" "#d7dfff")))
(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")))
+ (org-h1-bg (if (eq variant 'dark) (if (display-graphic-p) "#293239"
"#262626") (if (display-graphic-p) "#edf1ed" "#ffffff")))
+ (org-h2-bg (if (eq variant 'dark) (if (display-graphic-p) "#293235"
"#262626") (if (display-graphic-p) "#edf2e9" "#ffffff")))
+ (org-h3-bg (if (eq variant 'dark) (if (display-graphic-p) "#2d332c"
"#262626") (if (display-graphic-p) "#f1f3e1" "#ffffff")))
+ (org-h4-bg (if (eq variant 'dark) (if (display-graphic-p) "#32322c"
"#262626") (if (display-graphic-p) "#f6f1e1" "#ffffff")))
(highlight (if (eq variant 'dark) (if (display-graphic-p) "#333c45"
"#444444") (if (display-graphic-p) "#d3d3e7" "#d7d7ff"))))
(custom-theme-set-faces
@@ -349,10 +353,10 @@
`(org-ellipsis ((,class (:foreground ,builtin))))
`(org-footnote ((,class (:underline t :foreground ,base))))
`(org-hide ((,class (:foreground ,base))))
- `(org-level-1 ((,class (:bold t :foreground ,inf :height ,(if
spacemacs-theme-org-height 1.3 1.0) :background ,(when (display-graphic-p)
"#293239") :overline t))))
- `(org-level-2 ((,class (:bold t :foreground ,str :height ,(if
spacemacs-theme-org-height 1.2 1.0) :background ,(when (display-graphic-p)
"#293235")))))
- `(org-level-3 ((,class (:bold nil :foreground ,green :height ,(if
spacemacs-theme-org-height 1.1 1.0) :background ,(when (display-graphic-p)
"#2d332c")))))
- `(org-level-4 ((,class (:bold nil :foreground ,yellow :background ,(when
(display-graphic-p) "#32322c")))))
+ `(org-level-1 ((,class (:bold t :foreground ,inf :height ,(if
spacemacs-theme-org-height 1.3 1.0) :background ,org-h1-bg :overline t))))
+ `(org-level-2 ((,class (:bold t :foreground ,str :height ,(if
spacemacs-theme-org-height 1.2 1.0) :background ,org-h2-bg))))
+ `(org-level-3 ((,class (:bold nil :foreground ,green :height ,(if
spacemacs-theme-org-height 1.1 1.0) :background ,org-h3-bg))))
+ `(org-level-4 ((,class (:bold nil :foreground ,yellow :background
,org-h4-bg))))
`(org-level-5 ((,class (:bold nil :foreground ,inf))))
`(org-level-6 ((,class (:bold nil :foreground ,str))))
`(org-level-7 ((,class (:bold nil :foreground ,green))))