-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcolor-theme-railscasts.el
110 lines (95 loc) · 4.41 KB
/
color-theme-railscasts.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
;;; color-theme-railscasts.el --- Railscasts color theme for GNU Emacs.
;; Inspired by the brilliant Railscasts theme for TextMate
;; Copyright (C) 2009 Oleg Shaldybin <[email protected]>
;; Author: Oleg Shaldybin
;; Adapted-By: Yesudeep Mangalapilly
;; Keywords: railscasts color theme
;; URL: https://github.com/olegshaldybin/color-theme-railscasts
;; Version: 0.0.2
;; Package-Requires: ((color-theme "6.6.1"))
;; This file is NOT a part of GNU Emacs.
;;; 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.
;;; Usage:
;;
;; The path in the third line is the path to the railscasts theme .el file.
;; (require 'color-theme)
;; (color-theme-initialize)
;; (load-file "~/.emacs.d/site-lisp/themes/color-theme-railscasts.el")
;; (color-theme-railscasts)
;;; Code:
(eval-when-compile
(require 'color-theme))
(defun color-theme-railscasts ()
(interactive)
(color-theme-install
'(color-theme-railscasts
((background-color . "#232323")
(border-color . "#232323")
(background-mode . dark)
(mouse-color . "sienna1") ; avallark
(cursor-color . "#5A647E") ;avallark
(foreground-color . "#E6E1DC"))
(default ((t (:background "#232323" :foreground "#F8F8F8")))) ;avallark
(blue ((t (:foreground "blue")))) ; avallark
(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))))
(modeline ((t (:background "#A5BAF1" :foreground "black"))))
(modeline-buffer-id ((t (:background "#A5BAF1" :foreground
"black"))))
(modeline-mousable ((t (:background "#A5BAF1" :foreground
"black"))))
(modeline-mousable-minor-mode ((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")))))))
(color-theme-railscasts)
(provide 'color-theme-railscasts)
;;; color-theme-railscasts.el ends here