-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfsff-theme.el
236 lines (197 loc) · 12.2 KB
/
fsff-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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
;;; fsff-theme.el --- Light Emacs color theme on an ivory3 background
;; Copyright (C) 2003-2014 Free Software Foundation, Inc.
;; URL: https://github.com/plu5/emacs-fsff-theme
;; Version: 20170220.20:59
;; Keywords: color theme
;; This file is not part of GNU Emacs.
;; GNU Emacs 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.
;; GNU Emacs 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;
;; The default Emacs theme with an ivory3 background, based on
;; WJCFerguson's faff-theme.
;;
;; Requirements: Emacs 24.
;;; Code:
;; Docstring stolen from alect-themes
(defvar fsff-display-class '((type graphic))
"Class of terminals (DISPLAY) for which fsff-theme faces are applied.
For other terminals, faces stay unthemed.
See Info node `(elisp) Defining Faces' for the possibilities for
DISPLAY.
Example values
t
'((type graphic))
'((class color) (min-colors N)) terminals with min N number of colours
'((type x w32 mac))")
(deftheme fsff
"Light Emacs color theme on an ivory3 background")
(let ((c fsff-display-class))
(custom-theme-set-faces
'fsff
`(default ((,c (:foreground "black" :background "ivory3"))))
`(fringe ((,c (:inherit default :foreground "grey40" :background "#c6c6b9"))))
`(custom-button ((,c (:background "grey85" :foreground "black" :box (:line-width 1 :style released-button)))))
`(tool-bar ((,c (:foreground "black" :background "grey92" :box (:line-width 1 :style released-button)))))
`(vertical-border ((,c (:foreground "ivory4"))))
`(highlight ((,c (:background "white"))))
`(region ((,c (:background "lightgoldenrod2"))))
`(trailing-whitespace ((,c (:background "gray90"))))
`(mode-line ((,c (:foreground "grey30" :background "gold" :box nil))))
`(mode-line-inactive ((,c :foreground "grey30" :background "grey90")))
`(mode-line-highlight ((,c (:background "snow" :inherit (highlight)))))
`(mode-line-buffer-id ((,c (:foreground "black" :weight bold))))
`(mode-line-emphasis ((,c (:foreground "grey30" :weight bold))))
`(powerline-active1 ((,c (:inherit mode-line :background "gold3"))))
`(powerline-active2 ((,c (:inherit mode-line :background "gold4"))))
`(powerline-inactive1 ((,c (:inherit mode-line-inactive :background "grey85" :foreground "grey20"))))
`(powerline-inactive2 ((,c (:inherit mode-line-inactive :background "white" :foreground "grey20"))))
`(show-paren-mismatch ((,c (:foreground "#e9e9e9" :background "#ea3838"))))
`(show-paren-match ((,c (:foreground "#e9e9e9" :background "#3cb370"))))
`(erc-notice-face ((,c (:foreground "gray65"))))
`(erc-timestamp-face ((,c (:foreground "white" :weight bold))))
`(font-lock-comment-face ((,c (:foreground "firebrick" :slant italic))))
`(font-lock-string-face ((,c (:foreground "darkgreen"))))
`(font-lock-doc-face ((,c (:foreground "red4"))))
`(font-lock-keyword-face ((,c (:foreground "black" :weight bold))))
`(font-lock-function-name-face ((,c (:foreground "Blue4"))))
`(font-lock-variable-name-face ((,c (:foreground "#91b"))))
`(font-lock-constant-face ((,c (:foreground "blue3"))))
`(ein:cell-input-area ((,c (:background "ivory2"))) t)
`(calendar-today ((,c (:background "yellow1" :underline t))))
`(diff-added ((,c (:inherit diff-changed :foreground "green3"))))
`(diff-file-header ((,c (:background "grey80" :box (:line-width 2 :color "grey80") :weight bold))))
`(diff-header ((,c (:background "grey80" :box (:line-width 2 :color "grey80")))))
`(diff-hunk-header ((,c (:inherit diff-header :box (:line-width 2 :color "grey80")))))
`(diff-removed ((,c (:foreground "red"))))
`(dired-directory ((,c (:inherit font-lock-keyword-face))))
`(dired-filetype-compress ((,c (:foreground "Orchid"))))
`(dired-filetype-execute ((,c (:foreground "green4" :weight bold))))
`(dired-filetype-omit ((,c (:foreground "gray50"))))
`(dired-filetype-plain ((,c (:foreground "SeaGreen"))))
`(dired-filetype-source ((,c (:foreground "red4" :weight bold))))
`(dired-filetype-video ((,c (:foreground "brown"))))
`(flymake-warnline ((,c (:background "LightBlue3"))))
`(highlight-indentation-face ((,c (:inherit fringe :background "ivory3"))))
`(jabber-activity-face ((,c (:background "green1"))))
`(jabber-chat-error ((,c (:background "pink"))))
`(jabber-chat-prompt-system ((,c (:foreground "green3" :weight bold))))
`(jabber-chat-text-local ((,c (:foreground "red4"))))
`(jabber-title-large ((,c (:weight bold :height 2.0 :width expanded))))
`(jabber-title-medium ((,c (:background "#ffb" :box (:line-width 2 :color "grey75" :style released-button) :weight bold :height 1.2 :width expanded))))
`(helm-M-x-key ((,c (:foreground "orange4" :underline t))))
`(helm-ff-executable ((,c (:foreground "darkgreen" :weight bold))))
`(helm-ff-symlink ((,c (:foreground "orange4"))))
`(helm-grep-lineno ((,c (:foreground "orange4"))))
`(helm-source-header ((,c (:background "ivory2" :foreground "black" :box (:line-width 1 :color "grey75" :style pressed-button) :weight normal :height 1.0 :family "Sans Serif"))))
`(helm-selection ((,c (:background "gold"))))
`(helm-selection-line ((,c (:background "#e3e300"))))
`(helm-ff-dotted-directory ((,c :foreground "blue4" :underline t)))
`(magit-branch ((,c (:inherit magit-header :background "yellow" :box (:line-width 1 :color "grey75" :style released-button)))))
`(magit-branch-current ((,c (:inherit magit-branch-local :background "green1" :box 1))))
`(magit-branch-local ((,c (:background "yellow" :box (:line-width 1 :color "*")))))
`(magit-branch-remote ((,c (:background "ivory2" :foreground "DarkOliveGreen4" :box (:line-width 1 :color "gray25")))))
`(magit-diff-add ((,c (:inherit diff-added))))
`(magit-diff-del ((,c (:inherit diff-removed))))
`(magit-diff-none ((,c (:inherit diff-context))))
`(magit-header ((,c (:inherit header-line :background "white"))))
`(magit-item-highlight ((,c (:inherit highlight))))
`(magit-refname ((,c (:foreground "grey30" :box (:line-width 2 :color "grey75")))))
`(magit-section-heading ((,c (:background "ivory2" :box (:line-width 1 :color "grey75" :style released-button) :weight bold))))
`(magit-section-title ((,c (:inherit magit-header :box (:line-width 1 :color "grey75" :style released-button)))))
`(magit-tag ((,c (:background "ivory2" :foreground "Goldenrod4" :box (:line-width 1 :color "gray25")))))
`(org-agenda-structure ((,c (:foreground "#5F7F5F"))))
`(org-agenda-date ((,c (:background "grey90" :foreground "grey30"))))
`(org-agenda-date-weekend ((,c (:inherit org-agenda-date :slant italic))))
`(org-agenda-date-today ((,c (:inherit org-agenda-date :weight bold))))
`(org-agenda-calendar-event ((,c :foreground "#785607")))
`(org-agenda-dimmed-todo-face ((,c (:background "yellow3" :foreground "black"))))
`(org-agenda-done ((,c (:foreground "grey50"))))
`(org-block-begin-line ((,c (:foreground "#BDBDAE"))))
`(org-block-end-line ((,c (:foreground "#BDBDAE"))))
`(org-block ((,c (:foreground "grey30"))))
`(org-meta-line ((,c (:inherit shadow))))
`(org-checkbox ((,c (:weight ultrabold :foreground "white"))))
`(org-hide ((,c (:background "#c8c8bb" :foreground "#c8c8bb"))))
`(org-code ((,c (:foreground "navy"))))
`(org-latex-and-related ((,c (:foreground "#766458"))))
`(org-special-keyword ((,c (:inherit shadow))))
`(outline-1 ((,c (:slant italic :background "grey"))))
`(outline-2 ((,c (:slant italic :foreground "#7e6e02"))))
`(outline-3 ((,c (:slant italic :foreground "#983f01"))))
`(outline-4 ((,c (:slant italic :foreground "#90010f"))))
`(outline-5 ((,c (:slant italic :foreground "#880053"))))
`(outline-6 ((,c (:slant italic :foreground "#710080"))))
`(outline-7 ((,c (:slant italic :foreground "#2d0078"))))
`(outline-8 ((,c (:slant italic :foreground "#000f70"))))
`(speedbar-separator-face ((,c (:background "white"))))
`(speedbar-button-face ((,c (:foreground "white" :weight ultrabold))))
`(speedbar-highlight-face ((,c (:background "gold"))))
`(speedbar-file-face ((,c (:foreground "grey10"))))
`(speedbar-selected-face ((,c (:foreground "black" :background "gold" :weight bold))))
`(Pe/directory-face ((,c (:foreground "white" :weight ultrabold))))
`(pe/file-face ((,c (:foreground "grey10"))))
`(sh-heredoc ((,c (:foreground "tan4"))))
`(warning ((,c (:foreground "DarkOrange3" :weight bold))))
`(visible-mark-active ((,c (:background "gold"))))
`(visible-mark-face1 ((,c (:background "grey70"))))
`(visible-mark-face2 ((,c (:background "grey85"))))
`(flycheck-error-list-warning ((,c (:foreground "grey60"))))
`(flycheck-fringe-warning ((,c (:foreground "grey60"))))
`(flycheck-warning ((,c (:underline (:color "grey60" :style wave)))))
`(form-feed-line ((,c (:strike-through "white"))))
`(company-scrollbar-bg ((,c (:background "snow2"))))
`(company-scrollbar-fg ((,c (:background "grey"))))
`(company-tooltip ((,c (:foreground "black" :background "grey95"))))
`(company-tooltip-selection ((,c (:background "gold"))))
`(yascroll:thumb-fringe ((,c (:background "gold" :foreground "gold"))))
`(anzu-mode-line ((,c (:foreground "darkgreen" :weight bold))))
`(avy-background-face ((,c (:foreground "#cfd8dc"))))
`(avy-lead-face ((,c (:inherit avy-lead-face-0))))
`(avy-lead-face-0 ((,c (:foreground "white" :background "#558b2f" :weight bold))))
`(aw-leading-char-face ((,c (:foreground "white" :background "#558b2f" :weight bold :height 1.7))))
`(hl-line ((,c (:background "gold"))))
`(imenu-list-entry-face-0 ((,c (:foreground "black"))))
`(imenu-list-entry-face-1 ((,c (:foreground "grey25"))))
`(imenu-list-entry-face-2 ((,c (:foreground "grey40"))))
`(imenu-list-entry-face-3 ((,c (:foreground "grey60"))))
`(rainbow-delimiters-depth-1-face ((,c (:foreground "#e91e63"))))
`(rainbow-delimiters-depth-2-face ((,c (:foreground "#1565c0"))))
`(rainbow-delimiters-depth-3-face ((,c (:foreground "#ef6c00"))))
`(rainbow-delimiters-depth-4-face ((,c (:foreground "purple"))))
`(rainbow-delimiters-depth-5-face ((,c (:foreground "darkolivegreen"))))
`(rainbow-delimiters-depth-6-face ((,c (:foreground "#26A69A"))))
`(rainbow-delimiters-depth-7-face ((,c (:foreground "#B71C1C"))))
`(rainbow-delimiters-depth-8-face ((,c (:foreground "brown"))))
`(rainbow-delimiters-depth-9-face ((,c (:foreground "navy"))))
`(rainbow-delimiters-unmatched-face ((,c (:foreground "#212121" :background "#EF6C00"))))
`(yascroll:thumb-fringe ((,c (:foreground "grey70" :background "grey70"))))
`(eros-result-overlay-face ((,c (:foreground "grey70" :background "grey20"))))
`(ido-first-match ((,c (:background "white"))))
`(ido-only-match ((,c (:inherit ido-first-match))))
`(ido-subdir ((,c (:foreground "darkred"))))
`(git-timemachine-commit ((,c (:foreground "#DC322F" :weight bold))))
`(git-timemachine-minibuffer-author-face ((,c (:foreground "#8CB5C6" :weight bold))))
`(git-timemachine-minibuffer-detail-face ((,c (:foreground "#586E75" :weight bold))))
`(term-color-black ((,c (:foreground "#073642" :background "#073642"))))
`(term-color-blue ((,c (:foreground "#268bd2" :background "#268bd2"))))
`(term-color-cyan ((,c (:foreground "#2aa198" :background "#2aa198"))))
`(term-color-green ((,c (:foreground "#588d75" :background "#588d75"))))
`(term-color-magenta ((,c (:foreground "#d33682" :background "#d33682"))))
`(term-color-red ((,c (:foreground "#dc322f" :background "#dc322f"))))
`(term-color-white ((,c (:foreground "#8c8c8c" :background "#8c8c8c"))))
`(term-color-yellow ((,c (:foreground "#b58900" :background "#b58900"))))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'fsff)
;;; fsff-theme.el ends here