分页: 1 / 1

[分享]emacs tango light 主题

发表于 : 2009-04-18 6:51
zhuqin_83
本主题基于color-theme-tango,除了背景和主字体颜色其余皆采用tango色板。效果见图:

Re: [分享]emacs tango light 主题

发表于 : 2009-04-18 9:17
kikinj
挺好的,干净

Re: [分享]emacs tango light 主题

发表于 : 2009-04-21 11:41
zhou3345
还有个黑色系的tango2,很漂亮的。

http://github.com/wfarr/color-theme-tan ... tango-2.el

代码: 全选

;;;; color-theme-tango-2.el
;; -*- mode: elisp -*-
;; Copyright (c) 2008-2009 Will Farrington <[email protected]>
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 3 of
;; the License, or (at your option) any later version.
;;
;; This program is distributed in the hope that it will be
;; useful, but WITHOUT ANY WARRANTY; without even the implied
;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;; PURPOSE.  See the GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public
;; License along with this program; if not, write to the Free
;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
;; MA 02111-1307 USA
;;

(defun color-theme-tango-2 ()
  "A color theme based on Tango Palette."
  (interactive)
  (color-theme-install
   '(color-theme-tango-2
     ((background-color . "#121212")
      (background-mode . dark)
      (border-color . "#888a85")
      (foreground-color . "#eeeeec")
      (cursor-color . "#888888")
      (mouse-color . "#333333"))
     ((help-highlight-face . underline)
      (ibuffer-dired-buffer-face . font-lock-function-name-face)
      (ibuffer-help-buffer-face . font-lock-comment-face)
      (ibuffer-hidden-buffer-face . font-lock-warning-face)
      (ibuffer-occur-match-face . font-lock-warning-face)
      (ibuffer-read-only-buffer-face . font-lock-type-face)
      (ibuffer-special-buffer-face . font-lock-keyword-face)
      (ibuffer-title-face . font-lock-type-face))
     (font-lock-builtin-face ((t (:foreground "#729fcf"))))
     (font-lock-comment-face ((t (:foreground "#888a85"))))
     (font-lock-constant-face ((t (:foreground "#ad7fa8"))))
     (font-lock-doc-face ((t (:foreground "#888a85"))))
     (font-lock-function-name-face ((t (:foreground "#729fcf"))))
     (font-lock-keyword-face ((t (:foreground "#fcaf3e"))))
     (font-lock-string-face ((t (:foreground "#73d216"))))
     (font-lock-type-face ((t (:foreground "#c17d11"))))
     (font-lock-variable-name-face ((t (:foreground "#fce94f"))))
     (font-lock-warning-face ((t (:bold t :foreground "#cc0000"))))

     (border ((t (:background "#888a85"))))
     (fringe ((t (:background "#111111"))))
     (highlight ((t (:background "#444444"))))
     (mode-line ((t (:foreground "#eeeeec" :background "#2e3436"))))
     (mode-line-inactive ((t (:foreground "#cccddd" :background "#111111"))))
     (region ((t (:background "#555753"))))

     (flyspell-duplicate ((t (:foreground "#fcaf3e"))))
     (flyspell-incorrect ((t (:foreground "#cc0000"))))

     (org-date ((t (:foreground "LightSteelBlue" :underline t))))
     (org-hide ((t (:foreground "#2e3436"))))
     (org-todo ((t (:inherit font-lock-keyword-face :bold t))))
     (org-level-1 ((t (:inherit font-lock-function-name-face))))
     (org-level-2 ((t (:inherit font-lock-variable-name-face))))
     (org-level-3 ((t (:inherit font-lock-keyword-face))))
     (org-level-4 ((t (:inherit font-lock-string-face))))
     (org-level-5 ((t (:inherit font-lock-constant-face))))

     (comint-highlight-input ((t (:italic t :bold t))))
     (comint-highlight-prompt ((t (:foreground "#8ae234"))))
     (isearch ((t (:background "#f57900" :foreground "#2e3436"))))
     (isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#e9b96e"))))
     (paren-face-match ((t (:inherit show-paren-match-face))))
     (paren-face-match-light ((t (:inherit show-paren-match-face))))
     (paren-face-mismatch ((t (:inherit show-paren-mismatch-face))))
     (persp-selected-face ((t (:foreground "#729fcf"))))
     (show-paren-match-face ((t (:background "#729fcf" :foreground "#eeeeec"))))
     (show-paren-mismatch-face ((t (:background "#ad7fa8" :foreground "#2e3436"))))
     (minibuffer-prompt ((t (:foreground "#729fcf"))))
     (info-xref ((t (:foreground "#729fcf"))))
     (info-xref-visited ((t (:foreground "#ad7fa8"))))
     )))

(provide 'color-theme-tango-2) 

Re: [分享]emacs tango light 主题

发表于 : 2010-02-09 23:58
wenstream
不错,养眼

Re: [分享]emacs tango light 主题

发表于 : 2010-02-10 13:45
IAB
漂亮,这两个主题都很合我意!现在用tango-light,谢谢分享,换新装后的Emacs看起来很精神!! 

Re: [分享]emacs tango light 主题

发表于 : 2010-02-10 17:17
zhuqin_83
稍作改进。

Re: [分享]emacs tango light 主题

发表于 : 2010-02-11 22:49
wenstream
我也来共享一个吧,参照TextMate的主题做的,暗色系,懒得截图了
color-theme-darkmate.tar.gz
darkmate theme for emacs
(1.36 KiB) 已下载 66 次
+++ 2010-2-28 添加了终端与erc部分的配色,不断添加更新中...
更新地址见 http://wwliu.is-programmer.com/2010/2/2 ... 15643.html

Re: [分享]emacs tango light 主题

发表于 : 2010-02-12 11:01
cuiaoxiang
求教如何直接载入某一个 color-theme
我现在是
(require 'color-theme)
(color-theme-xxx)
这样应该启动速度会慢一些,我想直接 load color-theme-xxx.el
不用 load color-theme.el
在 .emacs 里面应该怎么设置呢?

Re: [分享]emacs tango light 主题

发表于 : 2010-02-12 18:41
IAB
我用了感觉启动速度更快…windows

Re: [分享]emacs tango light 主题

发表于 : 2010-02-23 21:16
wenstream
cuiaoxiang 写了:求教如何直接载入某一个 color-theme
我现在是
(require 'color-theme)
(color-theme-xxx)
这样应该启动速度会慢一些,我想直接 load color-theme-xxx.el
不用 load color-theme.el
在 .emacs 里面应该怎么设置呢?
color-theme-xxx.el 依赖于 color-theme.el