-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtwilight-theme.el
More file actions
82 lines (77 loc) · 3.75 KB
/
twilight-theme.el
File metadata and controls
82 lines (77 loc) · 3.75 KB
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
;;; twilight-theme.el --- Twilight theme for GNU Emacs 29 (deftheme)
;; Version: 1.1.0
;; Author: Nick Parker <nickp@developernotes.com>
;; Author: Pedro A. Aranda <paaguti@gmail.com> for the emacs 29+ adaptation
;;
;; Defines a colour scheme resembling that of the original TextMate Twilight colour 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/twilight-emacs/color-theme-twilight.el")
;;
;; And then (color-theme-twilight) to activate it.
;;
;; Several areas still require improvement such as recognition of code that ruby-mode doesn't
;; yet pick up (eg. parent classes), Rails/Merb keywords, or non Ruby code related areas
;; (eg. dired, HTML, etc). Please feel free to customize further and send in any improvements,
;; patches most welcome.
;;
;; MIT License Copyright (c) 2008 Marcus Crafter <crafterm@redartisan.com>
;; Credits due to the excellent TextMate Twilight theme
;;
;; Thanks to Travis Jeffery for ido-mode and fixes to the minibuffer-prompt to fit in with the rest of the theme
;;
(deftheme twilight
"Twilight color theme")
(custom-theme-set-faces
'twilight
'(default ((t (:background "#141414" :foreground "#f8f8f8"))))
'(cursor ((t (:foreground "#a7a7a7"))))
'(region ((t (:background "#27292a"))))
'(blue ((t (:foreground "blue"))))
'(border-glyph ((t (nil))))
'(buffers-tab ((t (:background "#141414" :foreground "#CACACA"))))
'(font-lock-builtin-face ((t (:foreground "#CACACA"))))
'(font-lock-comment-face ((t (:foreground "#5F5A60"))))
'(font-lock-constant-face ((t (:foreground "#CF6A4C"))))
'(font-lock-doc-string-face ((t (:foreground "DarkOrange"))))
'(font-lock-function-name-face ((t (:foreground "#9B703F"))))
'(font-lock-keyword-face ((t (:foreground "#CDA869"))))
'(font-lock-preprocessor-face ((t (:foreground "Aquamarine"))))
'(font-lock-reference-face ((t (:foreground "SlateBlue"))))
'(font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
'(font-lock-regexp-grouping-construct ((t (:foreground "red"))))
'(minibuffer-prompt ((t (:foreground "#5F5A60"))))
'(ido-subdir ((t (:foreground "#CF6A4C"))))
'(ido-first-match ((t (:foreground "#8F9D6A"))))
'(ido-only-match ((t (:foreground "#8F9D6A"))))
'(mumamo-background-chunk-submode ((t (:background "#222222"))))
'(font-lock-string-face ((t (:foreground "#8F9D6A"))))
'(font-lock-type-face ((t (:foreground "#9B703F"))))
'(font-lock-variable-name-face ((t (:foreground "#7587A6"))))
'(font-lock-warning-face ((t (:background "#EE799F" :foreground "red"))))
'(gui-element ((t (:background "#D4D0C8" :foreground "black"))))
'(region ((t (:background "#27292A"))))
'(fringe ((t (:background "#242424"))))
'(mode-line ((t (:background "#343434" :foreground "#d4d4d4"))))
'(mode-line-inactive ((t (:background "#444444" :foreground "#b4b4b4"))))
'(line-number ((t (:background "#242424" :foreground "#b4b4b4"))))
'(line-number-current-line ((t (:background "#242424" :foreground "#e4e4e4" :bold t))))
'(tab-line ((t (:background "#242424"))))
'(tab-line-tab-inactive ((t (:background "#343434" :foreground "#b4b4b4"))))
'(tab-line-tab-current ((t (:background "#242424" :foreground "#d4d4d4"))))
'(tab-line-tab-modified ((t (:foreground "#d46464"))))
'(highlight ((t (:background "#111111"))))
'(highline-face ((t (:background "SeaGreen"))))
'(left-margin ((t (nil))))
'(text-cursor ((t (:background "yellow" :foreground "black"))))
'(toolbar ((t (nil))))
'(underline ((nil (:underline nil))))
'(zmacs-region ((t (:background "snow" :foreground "blue")))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'twilight)
;;; twilight-theme.el ends here