Got the color-theme and emacs24 versions slightly more aligned, although didn't change any colors we differ on.

This commit is contained in:
Greg Pfeil 2011-04-22 10:40:35 -04:00
parent dc3b8133a8
commit 4d1d1740aa
3 changed files with 46 additions and 39 deletions

View File

@ -86,7 +86,11 @@ Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
(fringe ((t (:foreground ,base01 :background ,base02)))) (fringe ((t (:foreground ,base01 :background ,base02))))
(header-line ((t (:foreground ,base0 :background ,base2)))) (header-line ((t (:foreground ,base0 :background ,base2))))
(highlight ((t (:background ,base02)))) (highlight ((t (:background ,base02))))
(hl-line ((t (:background ,base2))))
(isearch ((t (:foreground ,yellow :inverse-video t)))) (isearch ((t (:foreground ,yellow :inverse-video t))))
(lazy-highlight ((t (:background ,base2 :foreground ,base00))))
(link ((t (:foreground ,violet :underline t))))
(link-visited ((t (:foreground ,magenta :underline t))))
(menu ((t (:foreground ,base0 :background ,base02)))) (menu ((t (:foreground ,base0 :background ,base02))))
(minibuffer-prompt ((t (:foreground ,blue)))) (minibuffer-prompt ((t (:foreground ,blue))))
(mode-line (mode-line

View File

@ -43,32 +43,24 @@
(custom-theme-set-faces (custom-theme-set-faces
'solarized-light 'solarized-light
`(default ((t (:background ,base3 :foreground ,base03)))) `(default ((t (:background ,base3 :foreground ,base03))))
`(button ((t (:background ,base1 :underline t))))
`(cursor ((t (:background ,base1 :foreground ,base02)))) `(cursor ((t (:background ,base1 :foreground ,base02))))
`(region ((t (:background ,base2 :foreground ,base01)))) `(escape-glyph-face ((t (:foreground ,red))))
`(mode-line ((t (:background ,base1 :foreground ,base01))))
`(mode-line-inactive ((t (:background ,base2 :foreground ,base01))))
`(fringe ((t (:background ,base2)))) `(fringe ((t (:background ,base2))))
`(minibuffer-prompt ((t (:background ,base3 :foreground ,blue :weight bold)))) `(header-line ((t (:background ,base2 :foreground ,base01))))
`(font-lock-builtin-face ((t (:foreground ,green)))) `(highlight ((t (:background ,base02))))
`(font-lock-comment-face ((t (:slant italic :foreground ,base1)))) `(hl-line ((t (:background ,base2))))
`(font-lock-constant-face ((t (:foreground ,cyan))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,green))))
`(font-lock-string-face ((t (:foreground ,cyan))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,blue))))
`(font-lock-warning-face ((t (:foreground ,red :weight bold))))
`(isearch ((t (:background ,base2 :foreground ,base01)))) `(isearch ((t (:background ,base2 :foreground ,base01))))
`(lazy-highlight ((t (:background ,base2 :foreground ,base00)))) `(lazy-highlight ((t (:background ,base2 :foreground ,base00))))
`(link ((t (:foreground ,violet :underline t)))) `(link ((t (:foreground ,violet :underline t))))
`(link-visited ((t (:foreground ,magenta :underline t)))) `(link-visited ((t (:foreground ,magenta :underline t))))
`(button ((t (:background ,base1 :underline t))))
`(header-line ((t (:background ,base2 :foreground ,base01))))
;; from color-theme version
`(escape-glyph-face ((t (:foreground ,red))))
`(highlight ((t (:background ,base02))))
`(menu ((t (:foreground ,base0 :background ,base02)))) `(menu ((t (:foreground ,base0 :background ,base02))))
`(minibuffer-prompt
((t (:background ,base3 :foreground ,blue :weight bold))))
`(mode-line ((t (:background ,base1 :foreground ,base02))))
`(mode-line-buffer-id ((t (:foreground ,base1)))) `(mode-line-buffer-id ((t (:foreground ,base1))))
`(mode-line-inactive ((t (:background ,base2 :foreground ,base01))))
`(region ((t (:background ,base2 :foreground ,base01))))
`(secondary-selection ((t (:background ,base02)))) `(secondary-selection ((t (:background ,base02))))
`(trailing-whitespace ((t (:foreground ,red :inverse-video t)))) `(trailing-whitespace ((t (:foreground ,red :inverse-video t))))
`(vertical-border ((t (:foreground ,base0)))) `(vertical-border ((t (:foreground ,base0))))
@ -77,7 +69,7 @@
`(compilation-warning ((t (:foreground ,orange :bold t)))) `(compilation-warning ((t (:foreground ,orange :bold t))))
;; customize ;; customize
`(custom-button `(custom-button
((t (:background ,base2 :box (:line-width 2 :style released-button))))) ((t (:background ,base02 :box (:line-width 2 :style released-button)))))
`(custom-button-mouse ((t (:inherit custom-button :foreground ,base1)))) `(custom-button-mouse ((t (:inherit custom-button :foreground ,base1))))
`(custom-button-pressed `(custom-button-pressed
((t (:inherit custom-button-mouse ((t (:inherit custom-button-mouse
@ -97,6 +89,16 @@
`(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t)))) `(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t))))
`(emacs-wiki-link-face ((t (:foreground ,blue :underline t)))) `(emacs-wiki-link-face ((t (:foreground ,blue :underline t))))
`(emacs-wiki-verbatim-face ((t (:foreground ,base00 :underline t)))) `(emacs-wiki-verbatim-face ((t (:foreground ,base00 :underline t))))
;; font-lock
`(font-lock-builtin-face ((t (:foreground ,green))))
`(font-lock-comment-face ((t (:slant italic :foreground ,base1))))
`(font-lock-constant-face ((t (:foreground ,cyan))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,green))))
`(font-lock-string-face ((t (:foreground ,cyan))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,blue))))
`(font-lock-warning-face ((t (:foreground ,red :weight bold))))
;; info ;; info
`(info-xref ((t (:foreground ,blue :underline t)))) `(info-xref ((t (:foreground ,blue :underline t))))
`(info-xref-visited ((t (:inherit info-xref :foreground ,magenta)))) `(info-xref-visited ((t (:inherit info-xref :foreground ,magenta))))

View File

@ -43,33 +43,24 @@
(custom-theme-set-faces (custom-theme-set-faces
'solarized 'solarized
`(default ((t (:background ,base3 :foreground ,base03)))) `(default ((t (:background ,base3 :foreground ,base03))))
`(button ((t (:background ,base1 :underline t))))
`(cursor ((t (:background ,base1 :foreground ,base02)))) `(cursor ((t (:background ,base1 :foreground ,base02))))
`(region ((t (:background ,base2 :foreground ,base01)))) `(escape-glyph-face ((t (:foreground ,red))))
`(mode-line ((t (:background ,base1 :foreground ,base02))))
`(mode-line-inactive ((t (:background ,base2 :foreground ,base01))))
`(fringe ((t (:background ,base2)))) `(fringe ((t (:background ,base2))))
`(minibuffer-prompt ((t (:background ,base3 :foreground ,blue :weight bold)))) `(header-line ((t (:background ,base2 :foreground ,base01))))
`(font-lock-builtin-face ((t (:foreground ,green)))) `(highlight ((t (:background ,base02))))
`(font-lock-comment-face ((t (:slant italic :foreground ,base1)))) `(hl-line ((t (:background ,base2))))
`(font-lock-constant-face ((t (:foreground ,cyan))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,green))))
`(font-lock-string-face ((t (:foreground ,cyan))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,blue))))
`(font-lock-warning-face ((t (:foreground ,red :weight bold))))
`(isearch ((t (:background ,base2 :foreground ,base01)))) `(isearch ((t (:background ,base2 :foreground ,base01))))
`(lazy-highlight ((t (:background ,base2 :foreground ,base00)))) `(lazy-highlight ((t (:background ,base2 :foreground ,base00))))
`(link ((t (:foreground ,violet :underline t)))) `(link ((t (:foreground ,violet :underline t))))
`(link-visited ((t (:foreground ,magenta :underline t)))) `(link-visited ((t (:foreground ,magenta :underline t))))
`(button ((t (:background ,base1 :underline t))))
`(header-line ((t (:background ,base2 :foreground ,base01))))
`(hl-line ((t (:background ,base2))))
;; from color-theme version
`(escape-glyph-face ((t (:foreground ,red))))
`(highlight ((t (:background ,base02))))
`(menu ((t (:foreground ,base0 :background ,base02)))) `(menu ((t (:foreground ,base0 :background ,base02))))
`(minibuffer-prompt
((t (:background ,base3 :foreground ,blue :weight bold))))
`(mode-line ((t (:background ,base1 :foreground ,base02))))
`(mode-line-buffer-id ((t (:foreground ,base1)))) `(mode-line-buffer-id ((t (:foreground ,base1))))
`(mode-line-inactive ((t (:background ,base2 :foreground ,base01))))
`(region ((t (:background ,base2 :foreground ,base01))))
`(secondary-selection ((t (:background ,base02)))) `(secondary-selection ((t (:background ,base02))))
`(trailing-whitespace ((t (:foreground ,red :inverse-video t)))) `(trailing-whitespace ((t (:foreground ,red :inverse-video t))))
`(vertical-border ((t (:foreground ,base0)))) `(vertical-border ((t (:foreground ,base0))))
@ -82,7 +73,7 @@
`(custom-button-mouse ((t (:inherit custom-button :foreground ,base1)))) `(custom-button-mouse ((t (:inherit custom-button :foreground ,base1))))
`(custom-button-pressed `(custom-button-pressed
((t (:inherit custom-button-mouse ((t (:inherit custom-button-mouse
:box (:line-width 2 :style pressed-button))))) :box (:line-width 2 :style pressed-button)))))
`(custom-comment-tag ((t (:background ,base02)))) `(custom-comment-tag ((t (:background ,base02))))
`(custom-comment-tag ((t (:background ,base02)))) `(custom-comment-tag ((t (:background ,base02))))
`(custom-documentation ((t (:inherit default)))) `(custom-documentation ((t (:inherit default))))
@ -98,6 +89,16 @@
`(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t)))) `(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t))))
`(emacs-wiki-link-face ((t (:foreground ,blue :underline t)))) `(emacs-wiki-link-face ((t (:foreground ,blue :underline t))))
`(emacs-wiki-verbatim-face ((t (:foreground ,base00 :underline t)))) `(emacs-wiki-verbatim-face ((t (:foreground ,base00 :underline t))))
;; font-lock
`(font-lock-builtin-face ((t (:foreground ,green))))
`(font-lock-comment-face ((t (:slant italic :foreground ,base1))))
`(font-lock-constant-face ((t (:foreground ,cyan))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,green))))
`(font-lock-string-face ((t (:foreground ,cyan))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,blue))))
`(font-lock-warning-face ((t (:foreground ,red :weight bold))))
;; info ;; info
`(info-xref ((t (:foreground ,blue :underline t)))) `(info-xref ((t (:foreground ,blue :underline t))))
`(info-xref-visited ((t (:inherit info-xref :foreground ,magenta)))) `(info-xref-visited ((t (:inherit info-xref :foreground ,magenta))))