Permalink
Browse files

color theme support

  • Loading branch information...
1 parent 0949d8d commit c04e9c5cc2c7d505cfd59357f5ccdb09f73e793c matti committed Oct 25, 2010
Showing with 15,278 additions and 7 deletions.
  1. +15,170 −0 color-theme.el
  2. +78 −0 dark-theme.el
  3. +30 −7 init.el
View
15,170 color-theme.el
15,170 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
78 dark-theme.el
@@ -0,0 +1,78 @@
+
+(set-face-attribute 'default nil
+ :foreground "#ffffff"
+ :background "#000000")
+
+(set-face-attribute 'hl-line nil
+ :background "#333")
+
+(set-face-attribute 'fringe nil
+ :background "#333")
+
+(set-face-attribute 'cursor nil
+ :background "#fff")
+
+(set-face-attribute 'vertical-border nil
+ :foreground "#666")
+
+(set-face-attribute 'region nil
+ :background "#333366")
+
+(set-face-attribute 'mode-line nil
+ :foreground "#fff"
+ :background "#333"
+ :box '(:line-width 1 :color "#333"))
+
+(set-face-attribute 'mode-line-inactive nil
+ :foreground "#fff"
+ :background "#000"
+ :box '(:line-width 1 :color "#333"))
+
+(set-face-attribute 'mode-line-buffer-id nil
+ :foreground "#fff")
+
+(set-face-attribute 'mode-line-highlight nil
+ :foreground "#ccc"
+ :background "#333"
+ :box '(:line-width 1 :color "#444"))
+
+(set-face-attribute 'tabbar-default nil
+ :foreground "#eee"
+ :background "#333"
+ :height 1.0
+ :inherit 'default)
+
+(set-face-attribute 'tabbar-selected nil
+ :foreground "#fff"
+ :background "#333"
+ :weight 'bold
+ :box nil)
+
+(set-face-attribute 'tabbar-unselected nil
+ :foreground "#fff"
+ :background "#444"
+ :box nil)
+
+(set-face-attribute 'tabbar-button nil
+ :foreground "#fff"
+ :box '(:line-width 1 :color "#333"))
+
+
+(set-face-attribute 'font-lock-builtin-face nil
+ :foreground "#f9f")
+
+(set-face-attribute 'font-lock-keyword-face nil
+ :foreground "#99f")
+
+(set-face-attribute 'font-lock-function-name-face nil
+ :foreground "#9f9")
+
+(set-face-attribute 'font-lock-variable-name-face nil
+ :foreground "#9ff")
+
+(set-face-attribute 'font-lock-comment-face nil
+ :foreground "#fc9")
+
+(set-face-attribute 'font-lock-string-face nil
+ :foreground "#f9c")
+
View
37 init.el
@@ -73,7 +73,7 @@
(setq ecb-add-path-for-not-matching-files (quote (nil)))
(setq ecb-auto-activate nil)
(setq ecb-clear-caches-before-activate t)
-(setq ecb-compile-window-height 30)
+(setq ecb-compile-window-height 20)
(setq ecb-options-version "2.40")
(setq ecb-tip-of-the-day nil)
(setq ecb-toggle-layout-sequence '("top1" "left2" "leftright2"))
@@ -180,16 +180,19 @@
(mouse-wheel-mode t)
(partial-completion-mode nil)
(tool-bar-mode nil)
-(menu-bar-mode t)
(show-paren-mode t)
(transient-mark-mode t)
(recentf-mode)
(if window-system
(global-hl-line-mode t))
+(if window-system
+ (menu-bar-mode t)
+ (menu-bar-mode nil))
+
(if (fboundp 'set-scroll-bar-mode)
- (set-scroll-bar-mode 'right))
+ (set-scroll-bar-mode nil))
(setq scroll-conservatively 5)
(setq scroll-step 1)
@@ -230,8 +233,24 @@
(load "find-tags-file")
(load "move-lines")
-(if window-system
- (load "theme"))
+;; (if window-system
+;; (load "theme"))
+
+(require 'color-theme)
+
+(set-face-attribute 'tabbar-default nil
+ :height 1.0
+ :inherit 'default)
+
+(set-face-attribute 'tabbar-selected nil
+ :weight 'bold
+ :box nil)
+
+(set-face-attribute 'tabbar-unselected nil
+ :box nil)
+
+(set-face-attribute 'tabbar-button nil
+ :box '(:line-width 1 :color "#fff"))
@@ -507,6 +526,7 @@
(defun js-mode-on-init ()
(make-local-variable 'tags-file-name)
(linum-mode t)
+ (auto-complete-mode t)
(setq ac-sources '(ac-source-yasnippet
ac-source-semantic
@@ -793,7 +813,10 @@
("<M-backspace>" . term-send-backward-kill-word)
("M-r" . term-send-reverse-search-history)))
-(global-set-key (kbd "M-t") 'multi-term)
+(global-set-key (kbd "M-t") 'multi-term-next)
+(global-set-key (kbd "M-T") 'multi-term)
+
+
;; (global-set-key (kbd "<M-right>") 'multi-term-next)
;; (global-set-key (kbd "<M-left>") 'multi-term-prev)
@@ -871,7 +894,7 @@
(comint-send-string (inferior-moz-process)
"BrowserReload();")))
-(defvar current-font-size 140)
+(defvar current-font-size 120)
(defun decrease-font-size()
(interactive)

0 comments on commit c04e9c5

Please sign in to comment.