-
Notifications
You must be signed in to change notification settings - Fork 69
/
railscast-theme.el
91 lines (78 loc) · 3.57 KB
/
railscast-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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
;;; railscast-theme.el --- railscast theme
;; Copyright (C) 2009 Oleg Shaldybin <[email protected]>
;; Copyright (C) 2014 by Syohei YOSHIDA
;; Author: Syohei YOSHIDA <[email protected]>
;; URL: https://github.com/emacs-jp/replace-colorthemes
;; Version: 0.01
;;; License:
;; MIT License
;; -----------
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, publish, distribute, sublicense, and/or
;; sell copies of the Software, and to permit persons to whom the
;; Software is furnished to do so, subject to the following
;; conditions:
;;
;; The above copyright notice and this permission notice shall
;; be included in all copies or substantial portions of the
;; Software.
;;
;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
;; OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
;; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
;; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
;; OTHER DEALINGS IN THE SOFTWARE.
;;; Commentary:
;;
;; Port of railscast theme from https://github.com/olegshaldybin/color-theme-railscasts.git
;;; Code:
(deftheme railscast
"railscast theme")
(custom-theme-set-faces
'railscast
'(default ((t (:background "#232323" :foreground "#E6E1DC"))))
'(border ((t (:foreground "#232323"))))
'(mouse ((t (:foreground "sienna1"))))
'(cursor ((t (:background "#5A647E"))))
'(blue ((t (:foreground "blue"))))
'(bold ((t (:bold t))))
'(bold-italic ((t (:italic t :bold t))))
'(fringe ((t (:background "#232323"))))
'(font-lock-builtin-face ((t (:foreground "#D0D0FF"))))
'(font-lock-comment-face ((t (:foreground "#BC9458" :italic t))))
'(font-lock-constant-face ((t (:foreground "#6D9CBE"))))
'(font-lock-doc-string-face ((t (:foreground "#A5C261"))))
'(font-lock-function-name-face ((t (:foreground "#FFC66D"))))
'(font-lock-keyword-face ((t (:foreground "#CC7833"))))
'(font-lock-preprocessor-face ((t (:foreground "#CC7833"))))
'(font-lock-reference-face ((t (:foreground "LightSteelBlue"))))
'(font-lock-string-face ((t (:foreground "#A5C261"))))
'(font-lock-type-face ((t (:foreground "white"))))
'(font-lock-variable-name-face ((t (:foreground "LightSteelBlue"))))
'(font-lock-warning-face ((t (:foreground "Pink"))))
'(paren-face-match-light ((t (:foreground "#FFC66D" :background "#555577"))))
'(highlight ((t (:background "darkolivegreen"))))
'(italic ((t (:italic t))))
'(mode-line ((t (:background "#A5BAF1" :foreground "black"))))
'(mode-line-buffer-id ((t (:background "#A5BAF1" :foreground "black"))))
'(region ((t (:background "#555577"))))
'(primary-selection ((t (:background "#555577"))))
'(isearch ((t (:background "#555555"))))
'(zmacs-region ((t (:background "#555577"))))
'(secondary-selection ((t (:background "darkslateblue"))))
'(flymake-errline ((t (:background "LightSalmon" :foreground "black"))))
'(flymake-warnline ((t (:background "LightSteelBlue" :foreground "black"))))
'(underline ((t (:underline t))))
'(minibuffer-prompt ((t (:bold t :foreground "#FF6600")))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'railscast)
;;; railscast-theme.el ends here