Permalink
Browse files

Merge pull request #116 from jturner314/emacs-term-colors

Add definitions for Emacs term colors
  • Loading branch information...
2 parents d618ced + 97d1772 commit 42f4e1629a277bdd2ced39e204568312b4bf8ac5 @chriskempson committed Jan 21, 2014
Showing with 20 additions and 0 deletions.
  1. +10 −0 templates/emacs/-dark-theme.el.erb
  2. +10 −0 templates/emacs/-light-theme.el.erb
@@ -230,6 +230,16 @@
`(diredp-symlink ((t (:foreground ,base0E))))
`(diredp-write-priv ((t (:foreground ,base0A :background nil))))
+ ;; term and ansi-term
+ `(term-color-black ((t (:foreground ,base02 :background ,base00))))
+ `(term-color-white ((t (:foreground ,base05 :background ,base07))))
+ `(term-color-red ((t (:foreground ,base08 :background ,base08))))
+ `(term-color-yellow ((t (:foreground ,base0A :background ,base0A))))
+ `(term-color-green ((t (:foreground ,base0B :background ,base0B))))
+ `(term-color-cyan ((t (:foreground ,base0C :background ,base0C))))
+ `(term-color-blue ((t (:foreground ,base0D :background ,base0D))))
+ `(term-color-magenta ((t (:foreground ,base0E :background ,base0E))))
+
;; Magit (a patch is pending in magit to make these standard upstream)
`(magit-branch ((t (:foreground ,base0B))))
`(magit-header ((t (:inherit nil :weight bold))))
@@ -230,6 +230,16 @@
`(diredp-symlink ((t (:foreground ,base0E))))
`(diredp-write-priv ((t (:foreground ,base0A :background nil))))
+ ;; term and ansi-term
+ `(term-color-black ((t (:foreground ,base02 :background ,base00))))
+ `(term-color-white ((t (:foreground ,base05 :background ,base07))))
+ `(term-color-red ((t (:foreground ,base08 :background ,base08))))
+ `(term-color-yellow ((t (:foreground ,base0A :background ,base0A))))
+ `(term-color-green ((t (:foreground ,base0B :background ,base0B))))
+ `(term-color-cyan ((t (:foreground ,base0C :background ,base0C))))
+ `(term-color-blue ((t (:foreground ,base0D :background ,base0D))))
+ `(term-color-magenta ((t (:foreground ,base0E :background ,base0E))))
+
;; Magit (a patch is pending in magit to make these standard upstream)
`(magit-branch ((t (:foreground ,base0B))))
`(magit-header ((t (:inherit nil :weight bold))))

0 comments on commit 42f4e16

Please sign in to comment.