branch: elpa/moe-theme
commit ea49a2ef20f65b15e53f3652734df39984a507de
Author: kuanyui <[email protected]>
Commit: kuanyui <[email protected]>
1. Add support for rst-mode.
---
moe-dark-theme.el | 13 ++++++++++++-
moe-light-theme.el | 13 +++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index 6e8404ed7a..d3e75b3ba8 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -442,7 +442,18 @@ Moe, moe, kyun!")
`(erc-prompt-face ((,class (:bold t :foreground ,green-01 :background
,black-2-5))))
`(erc-timestamp-face ((,class (:foreground ,orange-2))))
-
+ ;; ReStructuredText
+ `(rst-level-1-face ((,class (:foreground ,green-2 :background ,black-5
:bold t))))
+ `(rst-level-2-face ((,class (:foreground ,green-2 :background ,black-5
:bold t))))
+ `(rst-level-3-face ((,class (:foreground ,green-2 :background ,black-5
:bold t))))
+ `(rst-level-4-face ((,class (:foreground ,green-2 :background ,black-5
:bold t))))
+ `(rst-level-5-face ((,class (:foreground ,green-2 :background ,black-5
:bold t))))
+ `(rst-level-6-face ((,class (:foreground ,green-2 :background ,black-5
:bold t))))
+ `(rst-block ((,class (:foreground ,orange-2 :background ,black-5 :bold t))))
+ `(rst-reference ((,class (:foreground ,magenta-2 :background ,black-5))))
+ `(rst-definition ((,class (:foreground ,yellow-1 :background ,black-5))))
+ `(rst-external ((,class (:foreground ,blue-1 :background ,black-5))))
+
)
(custom-theme-set-variables
diff --git a/moe-light-theme.el b/moe-light-theme.el
index 82c0d8c4f4..d711b2bc13 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -441,6 +441,19 @@ Moe, moe, kyun!")
`(erc-pal-face ((,class (:foreground ,purple-1))))
`(erc-prompt-face ((,class (:bold t :foreground ,black-3 :background
,green-01))))
`(erc-timestamp-face ((,class (:foreground ,orange-2))))
+
+ ;; ReStructuredText
+ `(rst-level-1-face ((,class (:foreground ,green-3 :background ,green-00
:bold t))))
+ `(rst-level-2-face ((,class (:foreground ,green-3 :background ,green-00
:bold t))))
+ `(rst-level-3-face ((,class (:foreground ,green-3 :background ,green-00
:bold t))))
+ `(rst-level-4-face ((,class (:foreground ,green-3 :background ,green-00
:bold t))))
+ `(rst-level-5-face ((,class (:foreground ,green-3 :background ,green-00
:bold t))))
+ `(rst-level-6-face ((,class (:foreground ,green-3 :background ,green-00
:bold t))))
+ `(rst-block ((,class (:foreground ,orange-2 :background ,LIGHT_BG :bold
t))))
+ `(rst-reference ((,class (:foreground ,magenta-3 :background ,LIGHT_BG))))
+ `(rst-definition ((,class (:foreground ,yellow-3 :background ,LIGHT_BG))))
+ `(rst-external ((,class (:foreground ,blue-2 :background ,LIGHT_BG))))
+
)
(custom-theme-set-variables