-
Notifications
You must be signed in to change notification settings - Fork 2
/
color-theme-cobalt.el
92 lines (84 loc) · 4.2 KB
/
color-theme-cobalt.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
;;; color-theme-cobalt.el --- Cobalt Color Theme for Emacs
;;
;; Author: Nick Ewing
;; URL: https://github.com/nickewing/color-theme-cobalt
;; Version: 0.0.2
;; Package-Requires: ((color-theme "6.6.1"))
;; Defines a colour scheme resembling that of the original TextMate Cobalt color theme.
;; To use add the following to your .emacs file (requires the color-theme package):
;;
;; (require 'color-theme)
;; (color-theme-initialize)
;; (load-file "~/.emacs.d/themes/color-theme-cobalt.el")
;;
;; And then (color-theme-cobalt) to activate it.
;; Created using Marcus Crafter's Twilight Theme for Emacs as a template.
;; http://github.com/crafterm/twilight-emacs/blob/master/color-theme-twilight.el
;; Copyright (c) 2010 Nick Ewing <nick@nickewing.net>
;; 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.
;;;###autoload
(defun color-theme-cobalt ()
"Color theme by Nick Ewing, based off the TextMate Cobalt theme, created 2010-04-16"
(interactive)
(color-theme-install
'(color-theme-cobalt
((background-color . "#09223F")
(background-mode . dark)
(border-color . "black")
(cursor-color . "#A7A7A7")
(foreground-color . "#F8F8F8"))
(default ((t (:background "#09223F" :foreground "white"))))
(buffers-tab ((t (:background "#09223F" :foreground "white"))))
(font-lock-builtin-face ((t (:foreground "#40FFB9"))))
(font-lock-comment-face ((t (:foreground "#008AFF"))))
(font-lock-constant-face ((t (:foreground "#FF518C"))))
(font-lock-doc-face ((t (:foreground "#008AFF"))))
(font-lock-function-name-face ((t (:foreground "#FFDD00"))))
(font-lock-keyword-face ((t (:foreground "#FA9E18"))))
(font-lock-preprocessor-face ((t (:foreground "#8090A2"))))
(font-lock-reference-face ((t (:foreground "#CCCCCC"))))
(font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
(font-lock-regexp-grouping-construct ((t (:foreground "red"))))
(font-lock-string-face ((t (:foreground "#42D915"))))
(font-lock-type-face ((t (:foreground "#FFEF79"))))
(font-lock-variable-name-face ((t (:foreground "#CCCCCC"))))
(font-lock-warning-face ((t (:foreground "Pink"))))
(hl-line ((t (:background "#00162A"))))
(linum ((t (:background "#111111" :foreground "#888888"
:underline nil))))
(gui-element ((t (:background "#303030" :foreground "black"))))
(region ((t (:background "#444444"))))
(highlight ((t (:background "#26425D"))))
(show-paren-match ((t (:background "#26425D"))))
(show-paren-mismatch ((t (:background "#FF0000"))))
(ecb-default-highlight-face ((t (:background "#26425D"))))
(minibuffer-prompt ((t (:foreground "#008AFF"))))
(modeline ((t (:background "#111111" :foreground "#888888"))))
(modeline-inactive ((t (:background "#222222" :foreground "#888888"))))
(italic ((t (nil))))
(left-margin ((t (nil))))
(toolbar ((t (nil))))
(ido-subdir ((t (:foreground "#008AFF"))))
(ido-only-match ((t (:foreground "#42D915"))))
(mumamo-background-chunk-major ((t (:background nil))))
(mumamo-background-chunk-submode1 ((t (:background nil))))
(underline ((nil (:underline nil)))))))
(provide 'color-theme-cobalt)
;;; color-theme-cobalt.el ends here