branch: elpa/gruvbox-theme
commit b0e67e42a44374be7176e199414a40309cd8d6fb
Author: Aaron Jacobs <[email protected]>
Commit: Jason Milkins <[email protected]>
Add support for org-mode (#38)
* Add preliminary support for org-mode.
This commit adds a fairly complete set of faces for org-mode, based on
the `org-faces.el` file and a cursory look at what other themes do or do
not modify.
* Add support for org-habit.
* Add support for link and shadow faces, used by org-mode.
---
gruvbox-theme.el | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gruvbox-theme.el b/gruvbox-theme.el
index b819aa0597..baa7399dc9 100644
--- a/gruvbox-theme.el
+++ b/gruvbox-theme.el
@@ -118,6 +118,8 @@
`(secondary-selection ((t (:background ,gruvbox-dark1))))
`(minibuffer-prompt ((t (:background ,gruvbox-bg
:foreground ,gruvbox-neutral_green :bold t))))
`(vertical-border ((t (:foreground ,gruvbox-dark2))))
+ `(link ((t (:foreground ,gruvbox-faded_blue
:underline t))))
+ `(shadow ((t (:foreground ,gruvbox-dark4))))
;; Built-in syntax
`(font-lock-builtin-face ((t (:foreground
,gruvbox-neutral_orange))))
@@ -289,6 +291,56 @@
`(message-cited-text ((t (:inherit
font-lock-comment-face))))
`(message-mml ((t (:foreground ,gruvbox-faded_green
:weight bold))))
+ ;; org-mode
+ `(org-hide ((t (:foreground ,gruvbox-dark0))))
+ `(org-level-1 ((t (:foreground
,gruvbox-neutral_blue))))
+ `(org-level-2 ((t (:foreground
,gruvbox-neutral_yellow))))
+ `(org-level-3 ((t (:foreground
,gruvbox-neutral_purple))))
+ `(org-level-4 ((t (:foreground
,gruvbox-neutral_red))))
+ `(org-level-5 ((t (:foreground
,gruvbox-neutral_green))))
+ `(org-level-6 ((t (:foreground
,gruvbox-neutral_aqua))))
+ `(org-level-7 ((t (:foreground
,gruvbox-faded_blue))))
+ `(org-level-8 ((t (:foreground
,gruvbox-neutral_orange))))
+ `(org-special-keyword ((t (:inherit
font-lock-comment-face))))
+ `(org-drawer ((t (:inherit
font-lock-function-face))))
+ `(org-column ((t (:background ,gruvbox-dark0))))
+ `(org-column-title ((t (:background ,gruvbox-dark0
:underline t :weight bold))))
+ `(org-warning ((t (:bold t :foreground
,gruvbox-neutral_red :weight bold :underline nil))))
+ `(org-archived ((t (:foreground ,gruvbox-light0
:weight bold))))
+ `(org-link ((t (:foreground ,gruvbox-faded_aqua
:underline t))))
+ `(org-footnote ((t (:foreground ,gruvbox-neutral_aqua
:underline t))))
+ `(org-ellipsis ((t (:foreground ,gruvbox-light4
:underline t))))
+ `(org-date ((t (:foreground ,gruvbox-neutral_blue
:underline t))))
+ `(org-sexp-date ((t (:foreground ,gruvbox-faded_blue
:underline t))))
+ `(org-tag ((t (:bold t :weight bold))))
+ `(org-list-dt ((t (:bold t :weight bold))))
+ `(org-todo ((t (:bold t :foreground
,gruvbox-neutral_red :weight bold))))
+ `(org-done ((t (:bold t :foreground
,gruvbox-neutral_aqua :weight bold))))
+ `(org-agenda-done ((t (:foreground
,gruvbox-neutral_aqua))))
+ `(org-headline-done ((t (:foreground
,gruvbox-neutral_aqua))))
+ `(org-table ((t (:foreground
,gruvbox-neutral_blue))))
+ `(org-formula ((t (:foreground
,gruvbox-neutral_yellow))))
+ `(org-document-title ((t (:foreground
,gruvbox-faded_blue))))
+ `(org-document-info ((t (:foreground
,gruvbox-faded_blue))))
+ `(org-agenda-structure ((t (:inherit
font-lock-comment-face))))
+ `(org-agenda-date-today ((t (:foreground ,gruvbox-light0
:weight bold :italic t))))
+ `(org-scheduled ((t (:foreground
,gruvbox-neutral_yellow))))
+ `(org-scheduled-today ((t (:foreground
,gruvbox-neutral_blue))))
+ `(org-scheduled-previously ((t (:foreground ,gruvbox-faded_red))))
+ `(org-upcoming-deadline ((t (:inherit
font-lock-keyword-face))))
+ `(org-deadline-announce ((t (:foreground ,gruvbox-faded_red))))
+ `(org-time-grid ((t (:foreground
,gruvbox-faded_orange))))
+
+ ;; org-habit
+ `(org-habit-clear-face ((t (:background
,gruvbox-faded_blue))))
+ `(org-habit-clear-future-face ((t (:background
,gruvbox-neutral_blue))))
+ `(org-habit-ready-face ((t (:background
,gruvbox-faded_green))))
+ `(org-habit-ready-future-face ((t (:background
,gruvbox-neutral_green))))
+ `(org-habit-alert-face ((t (:background
,gruvbox-faded_yellow))))
+ `(org-habit-alert-future-face ((t (:background
,gruvbox-neutral_yellow))))
+ `(org-habit-overdue-face ((t (:background ,gruvbox-faded_red))))
+ `(org-habit-overdue-future-face ((t (:background
,gruvbox-neutral_red))))
+
;; Smart-mode-line
`(sml/global ((t (:foreground ,gruvbox-burlywood4
:inverse-video nil))))
`(sml/modes ((t (:foreground ,gruvbox-bright_green))))