-
Notifications
You must be signed in to change notification settings - Fork 69
/
scintilla-theme.el
63 lines (49 loc) · 2.28 KB
/
scintilla-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
;;; scintilla-theme.el --- scintilla theme
;; Copyright (C) 2000 by Gordon Messmer
;; Copyright (C) 2013 by Syohei YOSHIDA
;; Author: Syohei YOSHIDA <syohex@gmail.com>
;; URL: https://github.com/emacs-jp/replace-colorthemes
;; Version: 0.01
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;
;; Port of scintilla theme from `color-themes'
;;; Code:
(deftheme scintilla
"scintilla theme")
(custom-theme-set-faces
'scintilla
'(default ((t (:background "white" :foreground "black"))))
'(mouse ((t (:foreground "grey15"))))
'(cursor ((t (:background "grey15"))))
'(font-lock-comment-face ((t (:italic t :foreground "ForestGreen"))))
'(font-lock-string-face ((t (:foreground "DarkMagenta"))))
'(font-lock-keyword-face ((t (:foreground "NavyBlue"))))
'(font-lock-warning-face ((t (:bold t :foreground "VioletRed"))))
'(font-lock-constant-face ((t (:foreground "Blue"))))
'(font-lock-type-face ((t (:foreground "NavyBlue"))))
'(font-lock-variable-name-face ((t (:foreground "DarkCyan"))))
'(font-lock-function-name-face ((t (:foreground "DarkCyan"))))
'(font-lock-builtin-face ((t (:foreground "NavyBlue"))))
'(highline-face ((t (:background "Grey95"))))
'(show-paren-match-face ((t (:background "Grey80"))))
'(region ((t (:background "Grey80"))))
'(highlight ((t (:foreground "ForestGreen"))))
'(secondary-selection ((t (:background "NavyBlue" :foreground "white"))))
'(widget-field-face ((t (:background "NavyBlue"))))
'(widget-single-line-field-face ((t (:background "RoyalBlue")))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'scintilla)
;;; scintilla-theme.el ends here