-
Notifications
You must be signed in to change notification settings - Fork 0
/
tron-theme.el
53 lines (44 loc) · 1.68 KB
/
tron-theme.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
;; Tron Color Theme for Emacs.
;;
;; MIT License Copyright (c) 2012 Ivan Marcin <ivan at ivanmarcin dot com>
;;
;; All patches welcome
;; --------------
;; This porting makes tron no longer rely on color-theme package,
;; since Emacs has it's theme mechanism from Emacs 24.
;; How to use:
;; copy the theme file to your themes folder or create one in your home directory.
;; edit init.el and add this 2 lines:
;;(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
;;(load-theme `tron t)
;;
;; or
;; load it manually by pressing
;; M-x load-theme, then choose tron, it should work
;; Or, simple use (load-theme 'tron t) to enable the theme from start.
;;; tron-theme
;;; Code
(deftheme tron
"Based on Color theme by Ivan Marcin, created 2012-08-25")
(custom-theme-set-faces
`tron
`(default ((t (:background "#000000" :foreground "#b0c7d4" ))))
`(bold ((t (:bold t))))
`(bold-italic ((t (:bold t))))
`(border-glyph ((t (nil))))
`(fringe ((t (:background "#a4c2cc"))))
`(mode-line ((t (:foreground "#072d40" :background "#99bac7"))))
`(region ((t (:background "#356a9c"))))
`(font-lock-builtin-face ((t (:foreground "#559ff1"))))
`(font-lock-comment-face ((t (:foreground "#575b5b"))))
`(font-lock-function-name-face ((t (:foreground "#ec9346"))))
`(font-lock-keyword-face ((t (:foreground "#a4cee5"))))
`(font-lock-string-face ((t (:foreground "#e8b778"))))
`(font-lock-type-face ((t (:foreground"#74abbe"))))
`(font-lock-constant-face ((t (:foreground "#eeedec"))))
`(font-lock-variable-name-face ((t (:foreground "#9ebbc2"))))
`(minibuffer-prompt ((t (:foreground "#729fcf" :bold t))))
`(font-lock-warning-face ((t (:foreground "red" :bold t))))
)
(provide-theme 'tron)
;;eof