branch: elpa/spacemacs-theme
commit 98e0a1721000e3e27ad7e90963838da0a11051d6
Author: nashamri <[email protected]>
Commit: nashamri <[email protected]>
Refactor org headings
---
spacemacs-common.el | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/spacemacs-common.el b/spacemacs-common.el
index 32a4ada3a6..0322ad3ae7 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -88,6 +88,14 @@
(comp (if (eq variant 'dark) (if (display-graphic-p)
"#c56ec3" "#d75fd7") (if (display-graphic-p) "#6c4173" "#8700af")))
(err (if (eq variant 'dark) (if (display-graphic-p)
"#e0211d" "#e0211d") (if (display-graphic-p) "#e0211d" "#e0211d")))
(func (if (eq variant 'dark) (if (display-graphic-p)
"#bc6ec5" "#d75fd7") (if (display-graphic-p) "#6c3163" "#8700af")))
+ (head1 (if (eq variant 'dark) (if (display-graphic-p)
"#4f97d7" "#268bd2") (if (display-graphic-p) "#3a81c3" "#268bd2")))
+ (head1-bg (if (eq variant 'dark) (if (display-graphic-p)
"#293239" "#262626") (if (display-graphic-p) "#edf1ed" "#ffffff")))
+ (head2 (if (eq variant 'dark) (if (display-graphic-p)
"#2d9574" "#2aa198") (if (display-graphic-p) "#2d9574" "#2aa198")))
+ (head2-bg (if (eq variant 'dark) (if (display-graphic-p)
"#293235" "#262626") (if (display-graphic-p) "#edf2e9" "#ffffff")))
+ (head3 (if (eq variant 'dark) (if (display-graphic-p)
"#67b11d" "#67b11d") (if (display-graphic-p) "#67b11d" "#5faf00")))
+ (head3-bg (if (eq variant 'dark) (if (display-graphic-p)
"#293235" "#262626") (if (display-graphic-p) "#edf2e9" "#ffffff")))
+ (head4 (if (eq variant 'dark) (if (display-graphic-p)
"#b1951d" "#875f00") (if (display-graphic-p) "#b1951d" "#875f00")))
+ (head4-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")))
(keyword (if (eq variant 'dark) (if (display-graphic-p)
"#4f97d7" "#268bd2") (if (display-graphic-p) "#3a81c3" "#268bd2")))
(lnum (if (eq variant 'dark) (if (display-graphic-p)
"#44505c" "#444444") (if (display-graphic-p) "#a8a8bf" "#af87af")))
@@ -448,14 +456,14 @@
`(org-footnote ((,class (:underline t :foreground ,base))))
`(org-hide ((,class (:foreground ,base))))
`(org-kbd ((,class (:inherit region :foreground ,base :box (:line-width 1
:style released-button)))))
- `(org-level-1 ((,class (:bold t :foreground ,blue :height ,(if
spacemacs-theme-org-height 1.3 1.0) :background ,(when
spacemacs-theme-org-highlight blue-bg)))))
- `(org-level-2 ((,class (:bold t :foreground ,aqua :height ,(if
spacemacs-theme-org-height 1.2 1.0) :background ,(when
spacemacs-theme-org-highlight aqua-bg)))))
- `(org-level-3 ((,class (:bold nil :foreground ,green :height ,(if
spacemacs-theme-org-height 1.1 1.0) :background ,(when
spacemacs-theme-org-highlight green-bg)))))
- `(org-level-4 ((,class (:bold nil :foreground ,yellow :background ,(when
spacemacs-theme-org-highlight yellow-bg)))))
- `(org-level-5 ((,class (:bold nil :foreground ,blue))))
- `(org-level-6 ((,class (:bold nil :foreground ,aqua))))
- `(org-level-7 ((,class (:bold nil :foreground ,green))))
- `(org-level-8 ((,class (:bold nil :foreground ,yellow))))
+ `(org-level-1 ((,class (:bold t :foreground ,head1 :height ,(if
spacemacs-theme-org-height 1.3 1.0) :background ,(when
spacemacs-theme-org-highlight head1-bg)))))
+ `(org-level-2 ((,class (:bold t :foreground ,head2 :height ,(if
spacemacs-theme-org-height 1.2 1.0) :background ,(when
spacemacs-theme-org-highlight head2-bg)))))
+ `(org-level-3 ((,class (:bold nil :foreground ,head3 :height ,(if
spacemacs-theme-org-height 1.1 1.0) :background ,(when
spacemacs-theme-org-highlight head3-bg)))))
+ `(org-level-4 ((,class (:bold nil :foreground ,head4 :background ,(when
spacemacs-theme-org-highlight head4-bg)))))
+ `(org-level-5 ((,class (:bold nil :foreground ,head1))))
+ `(org-level-6 ((,class (:bold nil :foreground ,head2))))
+ `(org-level-7 ((,class (:bold nil :foreground ,head3))))
+ `(org-level-8 ((,class (:bold nil :foreground ,head4))))
`(org-link ((,class (:underline t :foreground ,comment))))
`(org-meta-line ((,class (:foreground ,meta))))
`(org-mode-line-clock-overrun ((,class (:foreground ,err))))