/
tomorrow-night-blue-theme.el
118 lines (101 loc) · 4.58 KB
/
tomorrow-night-blue-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
;;; tomorrow-night-blue-theme.el --- custom theme for faces
;;; Commentary:
;;
;;; Tomorrow Night Blue Theme
;;
;; Originally by Chris Kempson https://github.com/ChrisKempson/Tomorrow-Theme
;; Ported to GNU Emacs by Chris Charles
;; Ported to GNU Emacs 24's built-in theme system by Jim Myhrberg (@jimeh)
;;; Code:
(deftheme tomorrow-night-blue
"A Pastel Coloured Theme")
(let ((background "#002451")
(current-line "#00346e")
(selection "#003f8e")
(foreground "#ffffff")
(comment "#7285b7")
(cursor "#ffffff")
(red "#ff9da4")
(orange "#ffc58f")
(yellow "#ffeead")
(green "#d1f1a9")
(aqua "#99ffff")
(blue "#bbdaff")
(purple "#ebbbff"))
(custom-theme-set-faces
'tomorrow-night-blue
;; Built-in stuff (Emacs 23)
`(default ((t (:background ,background :foreground ,foreground))))
`(error ((t (:foreground ,red))))
`(escape-glyph ((t (:foreground ,aqua))))
`(fringe ((t (:background ,current-line))))
`(highlight ((t (:background ,green :foreground ,current-line))))
`(link ((t (:foreground ,blue))))
`(link-visited ((t (:foreground ,purple))))
`(minibuffer-prompt ((t (:foreground ,blue))))
`(mode-line ((t (:background ,selection :foreground ,foreground))))
`(mode-line-inactive ((t (:background ,current-line :foreground ,foreground))))
`(region ((t (:background ,selection))))
`(secondary-selection ((t (:background ,blue))))
`(shadow ((t (:foreground ,comment))))
`(success ((t (:foreground ,green))))
`(trailing-whitespace ((t (:background ,red))))
`(warning ((t (:foreground ,orange))))
;; Font-lock stuff
`(font-lock-comment-face ((t (:foreground ,comment))))
`(font-lock-constant-face ((t (:foreground ,green))))
`(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-string-face ((t (:foreground ,green))))
`(font-lock-type-face ((t (:foreground ,yellow))))
`(font-lock-variable-name-face ((t (:foreground ,red))))
`(font-lock-warning-face ((t (:foreground ,red))))
;; hl-line-mode
`(hl-line ((t (:background ,current-line))))
;; linum-mode
`(linum ((t (:background ,current-line :foreground ,foreground))))
;; org-mode
`(org-date ((t (:foreground ,purple))))
`(org-done ((t (:foreground ,green))))
`(org-hide ((t (:foreground ,current-line))))
`(org-link ((t (:foreground ,blue))))
`(org-todo ((t (:foreground ,red))))
;; show-paren-mode
`(show-paren-match ((t (:background ,blue :foreground ,current-line))))
`(show-paren-mismatch ((t (:background ,orange :foreground ,current-line))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,purple))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,blue))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,aqua))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,green))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,yellow))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,orange))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,red))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,comment))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,foreground))))
;; auctex
`(font-latex-bold-face ((t (:foreground ,green))))
`(font-latex-doctex-documentation-face ((t (:background ,current-line))))
`(font-latex-italic-face ((t (:foreground ,green))))
`(font-latex-math-face ((t (:foreground ,orange))))
`(font-latex-sectioning-0-face ((t (:foreground ,yellow))))
`(font-latex-sectioning-1-face ((t (:foreground ,yellow))))
`(font-latex-sectioning-2-face ((t (:foreground ,yellow))))
`(font-latex-sectioning-3-face ((t (:foreground ,yellow))))
`(font-latex-sectioning-4-face ((t (:foreground ,yellow))))
`(font-latex-sectioning-5-face ((t (:foreground ,yellow))))
`(font-latex-sedate-face ((t (:foreground ,aqua))))
`(font-latex-string-face ((t (:foreground ,yellow))))
`(font-latex-verbatim-face ((t (:foreground ,orange))))
`(font-latex-warning-face ((t (:foreground ,red)))))
(custom-theme-set-variables
'tomorrow-night-blue
`(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-blue)
;;; tomorrow-night-blue-theme.el ends here