-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtomorrow-night-paradise-theme.el
129 lines (107 loc) · 4.56 KB
/
tomorrow-night-paradise-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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
;;; tomorrow-night-paradise-theme.el --- custom theme for faces
;;; Commentary:
;;
;;; Tomorrow Night Paradise Theme
;;
;; My customized version of Chris Kempson's Tomorrow Night Bright theme:
;; https://github.com/ChrisKempson/Tomorrow-Theme
;;
;; Particularly colors have been adjusted to look right in a xterm-256color
;; terminal. Additionally window borders have been given a more minimal look
;; and face definitions have been added for various packages I use on a daily
;; basis.
;;
;; --Jim Myhrberg (@jimeh)
;;; Code:
(deftheme tomorrow-night-paradise
"A Pastel Coloured Theme")
(let ((background "#000000")
(selection "#3a3a3a")
(foreground "#dadada")
(comment "#585858")
(cursor "#949494")
(gray "#303030") (gray-2 "#1c1c1c") (gray-3 "#121212")
(gray-4 "#080808")
(red "#d54e53") (red-2 "#cd0000") (red-3 "#5f0000")
(yellow "#e7c547") (yellow-2 "#cdcd00")
(orange "#e78700")
(green "#afd75f")
(aqua "#00cdcd")
(blue "#5f87d7")
(purple "#af87d7"))
(custom-theme-set-faces
'tomorrow-night-paradise
;; Basics
`(default ((t (:background ,background :foreground ,foreground))))
`(region ((t (:background ,selection))))
`(fringe ((t (:background ,gray-2))))
`(minibuffer-prompt ((t (:foreground ,blue))))
`(hl-line ((t (:background ,gray-3))))
;; Font-lock stuff
`(font-lock-builtin-face ((t (:foreground ,blue))))
`(font-lock-comment-face ((t (:foreground ,comment))))
`(font-lock-constant-face ((t (:foreground ,green))))
`(font-lock-doc-face ((t (:foreground ,comment))))
`(font-lock-doc-string-face ((t (:foreground ,comment))))
`(font-lock-function-name-face ((t (:foreground ,blue))))
`(font-lock-keyword-face ((t (:foreground ,purple))))
`(font-lock-negation-char-face ((t (:foreground ,aqua))))
`(font-lock-preprocessor-face ((t (:foreground ,red))))
`(font-lock-string-face ((t (:foreground ,green))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,aqua))))
`(font-lock-warning-face ((t (:foreground ,red))))
;; UI related
`(mode-line ((t (:background ,selection :foreground ,foreground))))
`(mode-line-inactive ((t (:background ,gray-3))))
`(vertical-border ((t (:background ,background :foreground ,selection))))
;; Linum
`(linum ((t (:background ,background :foreground ,gray))))
;; show-paren-mode
`(show-paren-match ((t (:background ,purple :foreground ,gray-2))))
`(show-paren-mismatch ((t (:background ,orange :foreground ,gray-2))))
;; ido
`(ido-only-match ((t (:foreground ,orange))))
`(ido-subdir ((t (:foreground ,purple))))
;; whitespace-mode
`(whitespace-empty ((t (:background ,yellow-2 :foreground ,red))))
`(whitespace-hspace ((t (:foreground ,gray-2))))
`(whitespace-indentation ((t (:foreground ,gray-2))))
`(whitespace-line ((t (:background ,gray-2))))
`(whitespace-newline ((t (:foreground ,gray-2))))
`(whitespace-space ((t (:foreground ,gray-2))))
`(whitespace-space-after-tab ((t (:foreground ,gray-2))))
`(whitespace-tab ((t (:foreground ,gray-2))))
`(whitespace-trailing ((t (:background ,red-3 :foreground ,yellow))))
;; flyspell-mode
`(flyspell-incorrect ((t (:foreground ,orange :underline ,orange))))
`(flyspell-duplicate ((t (:foreground ,orange :underline ,orange))))
;; magit
`(magit-diff-add ((t (:foreground ,green))))
`(magit-diff-del ((t (:foreground ,red))))
`(magit-item-highlight ((t (:background ,gray-2))))
;; highlight-indentation-mode
`(highlight-indentation-face ((t (:background ,gray-4))))
`(highlight-indentation-current-column-face ((t (:background ,gray-3))))
;; ECB
`(ecb-default-highlight-face ((t (:background ,background :foreground ,red-2))))
;; org-mode
`(org-date ((t (:foreground ,purple))))
`(org-done ((t (:foreground ,green))))
`(org-hide ((t (:foreground ,gray-2))))
`(org-link ((t (:foreground ,blue))))
`(org-todo ((t (:foreground ,red))))
)
(custom-theme-set-variables
'tomorrow-night-paradise
;; Fill Column Indicator mode
`(fci-rule-color ,gray-2)
`(fci-rule-character-color ,gray-2)
`(ansi-color-names-vector
;; black, red, green, yellow, blue, magenta, cyan, white
[,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground])
`(ansi-term-color-vector
;; black, red, green, yellow, blue, magenta, cyan, white
[unspecified ,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground])))
(provide-theme 'tomorrow-night-paradise)
;;; tomorrow-night-paradise-theme.el ends here