branch: elpa/material-theme
commit 4185d6da765502d9b07706914e80682120210f53
Author: Christoph Paulik <[email protected]>
Commit: Christoph Paulik <[email protected]>
Style org mode headlines and code blocks with button boxes
---
material-light-theme.el | 11 +++++++----
material-theme.el | 10 ++++++----
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/material-light-theme.el b/material-light-theme.el
index d9aa417..134b28f 100644
--- a/material-light-theme.el
+++ b/material-light-theme.el
@@ -454,19 +454,22 @@
`(org-todo ((,class (:background ,"#ffcdd2" :bold t :foreground
,"#c62828"))))
`(org-upcoming-deadline ((,class (:foreground ,orange))))
`(org-warning ((,class (:weight bold :foreground ,red))))
- `(org-block-begin-line ((,class (:foreground ,"#4e342e" :background
"#efebe9" :underline ,"#a1887f"))))
- `(org-block-end-line ((,class (:foreground ,"#4e342e" :background "#efebe9"
:overline ,"#a1887f"))))
+ `(org-block-begin-line ((,class (:foreground ,"#4e342e" :background
"#efebe9"
+ :box (:style released-button)
+ ))))
+ `(org-block-end-line ((,class (:foreground ,"#4e342e" :background "#efebe9"
+ :box (:style released-button)))))
`(org-kbd ((,class (:background ,inactive-gray :foreground ,foreground
:box (:line-width 1 :color nil :style
pressed-button)))))
`(org-level-1 ((,class (:inherit outline-1
- :overline ,"#b0bec5"
:background ,inactive-gray
:weight bold
+ :box (:style released-button)
:height 1.3))))
`(org-level-2 ((,class (:inherit outline-2
:background ,"#C8E6C9"
- :overline ,"#E8F5E9"
+ :box (:style released-button)
:height 1.2))))
`(org-level-3 ((,class (:inherit outline-3 :height 1.1))))
`(org-level-4 ((,class (:inherit outline-4 :height 1.0))))
diff --git a/material-theme.el b/material-theme.el
index 0f65b48..7f37688 100644
--- a/material-theme.el
+++ b/material-theme.el
@@ -449,19 +449,21 @@
`(org-todo ((,class (:foreground ,"#ffab91" :bold t :background
,"#dd2c00"))))
`(org-upcoming-deadline ((,class (:foreground ,orange))))
`(org-warning ((,class (:weight bold :foreground ,red))))
- `(org-block-begin-line ((,class (:foreground ,"#b3e5fc" :background
"#1e2930" :underline ,"#e1f5fe"))))
- `(org-block-end-line ((,class (:foreground ,"#b3e5fc" :background "#1e2930"
:overline ,"#e1f5fe"))))
+ `(org-block-begin-line ((,class (:foreground ,"#b3e5fc" :background
"#1e2930"
+ :box (:style
released-button)))))
+ `(org-block-end-line ((,class (:foreground ,"#b3e5fc" :background "#1e2930"
+ :box (:style released-button)))))
`(org-kbd ((,class (:background ,inactive-gray :foreground ,foreground
:box (:line-width 1 :color nil :style
pressed-button)))))
`(org-level-1 ((,class (:inherit outline-1
- :overline ,"#b0bec5"
:background ,header-color
:weight bold
+ :box (:style released-button)
:height 1.3))))
`(org-level-2 ((,class (:inherit outline-2
:background ,"#35575b"
- :overline ,"#65757e"
+ :box (:style released-button)
:height 1.2))))
`(org-level-3 ((,class (:inherit outline-3 :height 1.1))))
`(org-level-4 ((,class (:inherit outline-4 :height 1.0))))