Skip to content

Commit

Permalink
Got the color-theme and emacs24 versions slightly more aligned, altho…
Browse files Browse the repository at this point in the history
…ugh didn't change any colors we differ on.
  • Loading branch information
sellout committed Apr 22, 2011
1 parent dc3b813 commit 4d1d174
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 39 deletions.
4 changes: 4 additions & 0 deletions color-theme-solarized.el
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
(fringe ((t (:foreground ,base01 :background ,base02))))
(header-line ((t (:foreground ,base0 :background ,base2))))
(highlight ((t (:background ,base02))))
(hl-line ((t (:background ,base2))))
(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))))
(minibuffer-prompt ((t (:foreground ,blue))))
(mode-line
Expand Down
40 changes: 21 additions & 19 deletions emacs24/solarized-light-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,24 @@
(custom-theme-set-faces
'solarized-light
`(default ((t (:background ,base3 :foreground ,base03))))
`(button ((t (:background ,base1 :underline t))))
`(cursor ((t (:background ,base1 :foreground ,base02))))
`(region ((t (:background ,base2 :foreground ,base01))))
`(mode-line ((t (:background ,base1 :foreground ,base01))))
`(mode-line-inactive ((t (:background ,base2 :foreground ,base01))))
`(escape-glyph-face ((t (:foreground ,red))))
`(fringe ((t (:background ,base2))))
`(minibuffer-prompt ((t (:background ,base3 :foreground ,blue :weight bold))))
`(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))))
`(header-line ((t (:background ,base2 :foreground ,base01))))
`(highlight ((t (:background ,base02))))
`(hl-line ((t (:background ,base2))))
`(isearch ((t (:background ,base2 :foreground ,base01))))
`(lazy-highlight ((t (:background ,base2 :foreground ,base00))))
`(link ((t (:foreground ,violet :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))))
`(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-inactive ((t (:background ,base2 :foreground ,base01))))
`(region ((t (:background ,base2 :foreground ,base01))))
`(secondary-selection ((t (:background ,base02))))
`(trailing-whitespace ((t (:foreground ,red :inverse-video t))))
`(vertical-border ((t (:foreground ,base0))))
Expand All @@ -77,7 +69,7 @@
`(compilation-warning ((t (:foreground ,orange :bold t))))
;; customize
`(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-pressed
((t (:inherit custom-button-mouse
Expand All @@ -97,6 +89,16 @@
`(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t))))
`(emacs-wiki-link-face ((t (:foreground ,blue :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-xref ((t (:foreground ,blue :underline t))))
`(info-xref-visited ((t (:inherit info-xref :foreground ,magenta))))
Expand Down
41 changes: 21 additions & 20 deletions emacs24/solarized-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,24 @@
(custom-theme-set-faces
'solarized
`(default ((t (:background ,base3 :foreground ,base03))))
`(button ((t (:background ,base1 :underline t))))
`(cursor ((t (:background ,base1 :foreground ,base02))))
`(region ((t (:background ,base2 :foreground ,base01))))
`(mode-line ((t (:background ,base1 :foreground ,base02))))
`(mode-line-inactive ((t (:background ,base2 :foreground ,base01))))
`(escape-glyph-face ((t (:foreground ,red))))
`(fringe ((t (:background ,base2))))
`(minibuffer-prompt ((t (:background ,base3 :foreground ,blue :weight bold))))
`(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))))
`(header-line ((t (:background ,base2 :foreground ,base01))))
`(highlight ((t (:background ,base02))))
`(hl-line ((t (:background ,base2))))
`(isearch ((t (:background ,base2 :foreground ,base01))))
`(lazy-highlight ((t (:background ,base2 :foreground ,base00))))
`(link ((t (:foreground ,violet :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))))
`(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-inactive ((t (:background ,base2 :foreground ,base01))))
`(region ((t (:background ,base2 :foreground ,base01))))
`(secondary-selection ((t (:background ,base02))))
`(trailing-whitespace ((t (:foreground ,red :inverse-video t))))
`(vertical-border ((t (:foreground ,base0))))
Expand All @@ -82,7 +73,7 @@
`(custom-button-mouse ((t (:inherit custom-button :foreground ,base1))))
`(custom-button-pressed
((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-documentation ((t (:inherit default))))
Expand All @@ -98,6 +89,16 @@
`(emacs-wiki-bad-link-face ((t (:foreground ,red :underline t))))
`(emacs-wiki-link-face ((t (:foreground ,blue :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-xref ((t (:foreground ,blue :underline t))))
`(info-xref-visited ((t (:inherit info-xref :foreground ,magenta))))
Expand Down

0 comments on commit 4d1d174

Please sign in to comment.