Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set term faces for ansi-term, rather than ansi-term-color-vector

  • Loading branch information...
commit b224be094f342f6993ee09d7a526edae677234f1 1 parent d132e7b
@purcell authored
Showing with 12 additions and 2 deletions.
  1. +12 −2 color-theme-sanityinc-solarized.el
View
14 color-theme-sanityinc-solarized.el
@@ -543,6 +543,17 @@ names to which it refers are bound."
(custom-variable-tag ((,class (:foreground ,blue))))
(custom-group-tag ((,class (:foreground ,blue))))
(custom-state-tag ((,class (:foreground ,green))))
+
+ ;; ansi-term
+ (term ((,class (:foreground nil :background nil :inherit default))))
+ (term-color-black ((,class (:foreground ,normal :background ,normal))))
+ (term-color-red ((,class (:foreground ,red :background ,red))))
+ (term-color-green ((,class (:foreground ,green :background ,green))))
+ (term-color-yellow ((,class (:foreground ,yellow :background ,yellow))))
+ (term-color-blue ((,class (:foreground ,blue :background ,blue))))
+ (term-color-magenta ((,class (:foreground ,magenta :background ,magenta))))
+ (term-color-cyan ((,class (:foreground ,cyan :background ,cyan))))
+ (term-color-white ((,class (:foreground ,background :background ,background))))
)))
(defmacro color-theme-sanityinc-solarized--frame-parameter-specs ()
@@ -597,8 +608,7 @@ Argument MODE: 'light or 'dark"
`(vc-annotate-very-old-color nil)
`(vc-annotate-background nil)
`(ansi-color-names-vector (vector ,normal ,red ,green ,yellow ,blue ,magenta ,cyan ,background))
- '(ansi-color-faces-vector [default bold shadow italic underline bold bold-italic bold])
- '(ansi-term-color-vector ansi-color-names-vector)))
+ '(ansi-color-faces-vector [default bold shadow italic underline bold bold-italic bold])))
(provide-theme ',name))))
Please sign in to comment.
Something went wrong with that request. Please try again.