From: Peng Li Date: Sat, 16 May 2015 02:58:19 +0000 (+0800) Subject: emacs: tidy up color theme X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=4d3d908f3f2c3450d8fddbbbd1d6939ee3f16de3;p=dotfiles.git emacs: tidy up color theme --- diff --git a/emacs.d/config/init-color-theme.el b/emacs.d/config/init-color-theme.el index b8e0f6c..f70f89b 100644 --- a/emacs.d/config/init-color-theme.el +++ b/emacs.d/config/init-color-theme.el @@ -1,8 +1,6 @@ +(require 'color-theme) ;(load-theme 'tango-dark) - - - ;(require 'moe-theme) ;(moe-dark) diff --git a/emacs.d/init.el b/emacs.d/init.el index 5aab4aa..05f6fc2 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -7,7 +7,6 @@ (add-to-list 'default-frame-alist '(height . 40)) ;(add-to-list 'default-frame-alist '(font . "Source Code Pro for Powerline-12:weight:light" )) (add-to-list 'default-frame-alist '(font . "Source Code Pro for Powerline-12" )) -;(load-theme 'tango-dark) (display-time-mode t) @@ -179,46 +178,6 @@ ;; (set-face-attribute 'vertical-border nil :foreground "gray") -;(add-to-list 'load-path "~/.emacs.d/config") -;(require 'init-color-theme) - - -;;;(defun color-theme-inkpot () -;;; "Color theme based on the Inkpot theme. Ported and tweaked by Per Vognsen." -;;; (interactive) -;;; (color-theme-install -;;; '(color-theme-inkpot -;;; ((foreground-color . "#cfbfad") -;;; (background-color . "#1e1e27") -;;; (border-color . "#3e3e5e") -;;; (cursor-color . "#404040") -;;; (background-mode . dark)) -;;; (region ((t (:background "#404040")))) -;;; (highlight ((t (:background "#404040")))) -;;; (fringe ((t (:background "#16161b")))) -;;; (show-paren-match-face ((t (:background "#606060")))) -;;; (isearch ((t (:bold t :foreground "#303030" :background "#cd8b60")))) -;;; (modeline ((t (:bold t :foreground "#b9b9b9" :background "#3e3e5e")))) -;;; (modeline-inactive ((t (:foreground "#708090" :background "#3e3e5e")))) -;;; (modeline-buffer-id ((t (:bold t :foreground "#b9b9b9" :background "#3e3e5e")))) -;;; (minibuffer-prompt ((t (:bold t :foreground "#708090")))) -;;; (font-lock-builtin-face ((t (:foreground "#c080d0")))) -;;; (font-lock-comment-face ((t (:foreground "#708090")))) ; original inkpot: #cd8b00 -;;; (font-lock-constant-face ((t (:foreground "#506dbd")))) -;;; (font-lock-doc-face ((t (:foreground "#cd8b00")))) -;;; (font-lock-function-name-face ((t (:foreground "#87cefa")))) -;;; (font-lock-keyword-face ((t (:bold t :foreground "#c080d0")))) -;;; (font-lock-preprocessor-face ((t (:foreground "309090")))) -;;; (font-lock-reference-face ((t (:bold t :foreground "#808bed")))) -;;; (font-lock-string-face ((t (:foreground "#ffcd8b" :background "#404040")))) -;;; (font-lock-type-face ((t (:foreground "#ff8bff")))) -;;; (font-lock-variable-name-face ((t nil))) -;;; (font-lock-warning-face ((t (:foreground "#ffffff" :background "#ff0000")))))) - - -(require 'color-theme) - - ;;--------------------------------------------------------------------------------------- ;; El-get ;; https://github.com/dimitri/el-get @@ -241,47 +200,12 @@ ; (color-theme-tangotango) ) - - -;(require 'color-theme-tangotango) -;(color-theme-tangotango) - - - - ;;--------------------------------------------------------------------------------------- -;; color theme -;; -;;(require 'color-theme) -;;; this color theme no bold style -;(load-theme 'sanityinc-tomorrow-night t) -;(load-theme 'sanityinc-tomorrow-bright t) -;; this theme no italic for comment -;(load-theme 'tangotango t) -;(load-theme 'cyberpunk t) - -;(require 'moe-theme) -;(moe-dark) - -(add-to-list 'custom-theme-load-path "~/.emacs.d/el-get/color-theme-tangotango") -(load-theme 'tangotango t) - - - -;(require 'powerline) -;(powerline-default-theme) - - -;(add-to-list 'load-path "~/.emacs.d/vendor/emacs-powerline") -;(require 'powerline) -;(powerline-default-theme) - +;; Config folder +;; +(add-to-list 'load-path "~/.emacs.d/config") +(require 'init-color-theme) -(add-to-list 'load-path "~/.emacs.d/config") -(require 'init-color-theme) -;(color-theme-inkpot) -;(require 'color-theme-tangotango) -;(color-theme-tangotango)