[分享]emacs tango light 主题

Vim、Emacs配置和使用
回复
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

[分享]emacs tango light 主题

#1

帖子 zhuqin_83 » 2009-04-18 6:51

本主题基于color-theme-tango,除了背景和主字体颜色其余皆采用tango色板。效果见图:
附件
Screenshot-Emacs@.png
color-theme-tango-light.el.bz2
(1.15 KiB) 已下载 165 次
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
kikinj
帖子: 23
注册时间: 2007-11-06 22:22

Re: [分享]emacs tango light 主题

#2

帖子 kikinj » 2009-04-18 9:17

挺好的,干净
zhou3345
帖子: 89
注册时间: 2005-09-30 11:08
来自: 零陵

Re: [分享]emacs tango light 主题

#3

帖子 zhou3345 » 2009-04-21 11:41

还有个黑色系的tango2,很漂亮的。

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

代码: 全选

;;;; color-theme-tango-2.el
;; -*- mode: elisp -*-
;; Copyright (c) 2008-2009 Will Farrington <wcfarrington@gmail.com>
;;
;; 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) 
头像
wenstream
帖子: 186
注册时间: 2008-06-18 22:02

Re: [分享]emacs tango light 主题

#4

帖子 wenstream » 2010-02-09 23:58

不错,养眼
头像
IAB
帖子: 99
注册时间: 2009-06-03 20:17

Re: [分享]emacs tango light 主题

#5

帖子 IAB » 2010-02-10 13:45

漂亮,这两个主题都很合我意!现在用tango-light,谢谢分享,换新装后的Emacs看起来很精神!! 
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

Re: [分享]emacs tango light 主题

#6

帖子 zhuqin_83 » 2010-02-10 17:17

稍作改进。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
wenstream
帖子: 186
注册时间: 2008-06-18 22:02

Re: [分享]emacs tango light 主题

#7

帖子 wenstream » 2010-02-11 22:49

我也来共享一个吧,参照TextMate的主题做的,暗色系,懒得截图了
color-theme-darkmate.tar.gz
darkmate theme for emacs
(1.36 KiB) 已下载 55 次
+++ 2010-2-28 添加了终端与erc部分的配色,不断添加更新中...
更新地址见 http://wwliu.is-programmer.com/2010/2/2 ... 15643.html
上次由 wenstream 在 2010-03-02 20:34,总共编辑 2 次。
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

Re: [分享]emacs tango light 主题

#8

帖子 cuiaoxiang » 2010-02-12 11:01

求教如何直接载入某一个 color-theme
我现在是
(require 'color-theme)
(color-theme-xxx)
这样应该启动速度会慢一些,我想直接 load color-theme-xxx.el
不用 load color-theme.el
在 .emacs 里面应该怎么设置呢?
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
头像
IAB
帖子: 99
注册时间: 2009-06-03 20:17

Re: [分享]emacs tango light 主题

#9

帖子 IAB » 2010-02-12 18:41

我用了感觉启动速度更快…windows
头像
wenstream
帖子: 186
注册时间: 2008-06-18 22:02

Re: [分享]emacs tango light 主题

#10

帖子 wenstream » 2010-02-23 21:16

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
回复