Browse Source

Add intial version of the theme

commit
cae0a96c34
Signed by: Christian van Onzenoodt <christian.van-onzenoodt@uni-ulm.de> GPG Key ID: 7B2E632FDC852341
4 changed files with 1116 additions and 0 deletions
  1. 82
    0
      .gitignore
  2. 3
    0
      Readme.md
  3. 524
    0
      base16-onc-dark-theme.el
  4. 507
    0
      base16-onc-light-theme.el

+ 82
- 0
.gitignore View File

@@ -0,0 +1,82 @@
1
+
2
+# Created by https://www.gitignore.io/api/emacs,elisp
3
+
4
+### Elisp ###
5
+# Compiled
6
+*.elc
7
+
8
+# Packaging
9
+.cask
10
+
11
+# Backup files
12
+*~
13
+
14
+# Undo-tree save-files
15
+*.~undo-tree
16
+
17
+### Emacs ###
18
+# -*- mode: gitignore; -*-
19
+\#*\#
20
+/.emacs.desktop
21
+/.emacs.desktop.lock
22
+auto-save-list
23
+tramp
24
+.\#*
25
+
26
+# Org-mode
27
+.org-id-locations
28
+*_archive
29
+
30
+# flymake-mode
31
+*_flymake.*
32
+
33
+# eshell files
34
+/eshell/history
35
+/eshell/lastdir
36
+
37
+# elpa packages
38
+/elpa/
39
+
40
+# reftex files
41
+*.rel
42
+
43
+# AUCTeX auto folder
44
+/auto/
45
+
46
+# cask packages
47
+.cask/
48
+dist/
49
+
50
+# Flycheck
51
+flycheck_*.el
52
+
53
+# server auth directory
54
+/server/
55
+
56
+# projectiles files
57
+.projectile
58
+projectile-bookmarks.eld
59
+
60
+# directory configuration
61
+.dir-locals.el
62
+
63
+# saveplace
64
+places
65
+
66
+# url cache
67
+url/cache/
68
+
69
+# cedet
70
+ede-projects.el
71
+
72
+# smex
73
+smex-items
74
+
75
+# company-statistics
76
+company-statistics-cache.el
77
+
78
+# anaconda-mode
79
+anaconda-mode/
80
+
81
+
82
+# End of https://www.gitignore.io/api/emacs,elisp

+ 3
- 0
Readme.md View File

@@ -0,0 +1,3 @@
1
+# base16-onc-theme-el 
2
+
3
+My custom version of a base16 color scheme.

+ 524
- 0
base16-onc-dark-theme.el View File

@@ -0,0 +1,524 @@
1
+;; Base16 onc (https://github.com/chriskempson/base16)
2
+;; Scheme: Christian van Onzenoodt (https://github.com/onc)
3
+
4
+;;; base16-onc-dark-theme.el
5
+
6
+;;; Code:
7
+
8
+(deftheme base16-onc-dark)
9
+
10
+(let ((onc-black "#212121")
11
+      (onc-dark-grey "#424242")
12
+      (base02 "#616161")
13
+      (base03 "#757575")
14
+      (base04 "#9E9E9E")
15
+      (base05 "#EEEEEE")
16
+      (base06 "#F5F5F5")
17
+      (base07 "#FAFAFA")
18
+      (onc-red "#FF1744")
19
+      (onc-blue "#00B0FF")
20
+      (base0A "#D500F9")
21
+      (onc-green "#1DE9B6")
22
+      (onc-cyan "#18FFFF")
23
+      (onc-orange "#FF9100")
24
+      (onc-yellow "#FFEA00")
25
+      (onc-brown "#8D6E63"))
26
+
27
+  (unless (display-graphic-p)
28
+    (setq onc-black "black"
29
+          onc-dark-grey "color-18"
30
+          base02 "color-19"
31
+          base03 "brightblack"
32
+          base04 "color-20"
33
+          base05 "white"
34
+          base06 "color-21"
35
+          base07 "brightwhite"
36
+          onc-red "red"
37
+          onc-blue "color-16"
38
+          base0A "yellow"
39
+          onc-green "green"
40
+          onc-cyan "cyan"
41
+          onc-orange "blue"
42
+          onc-yellow "magenta"
43
+          onc-brown "color-17"))
44
+
45
+  (custom-theme-set-faces
46
+   'base16-onc-dark
47
+
48
+   `(spaceline-highlight-face ((t (:foreground ,onc-black :background ,onc-orange))))
49
+   `(powerline-active1 ((t (:foreground ,onc-black :background ,onc-green))))
50
+
51
+   `(perspeen-selected-face ((t (:foreground ,onc-yellow :background ,onc-dark-grey))))
52
+
53
+   ;; Built-in stuff (Emacs 23)
54
+   `(border ((t (:background ,base03))))
55
+   `(border-glyph ((t (nil))))
56
+   `(cursor ((t (:background ,onc-red))))
57
+   `(default ((t (:background ,onc-black :foreground ,base05))))
58
+   `(fringe ((t (:background ,onc-black :foreground ,onc-dark-grey))))
59
+   `(vertical-border ((t (:foreground ,onc-dark-grey))))
60
+   `(gui-element ((t (:background ,base03 :foreground ,base06))))
61
+   `(highlight ((t (:background ,onc-dark-grey))))
62
+   `(link ((t (:foreground ,onc-orange))))
63
+   `(link-visited ((t (:foreground ,onc-yellow))))
64
+   `(minibuffer-prompt ((t (:foreground ,onc-orange))))
65
+   `(mode-line ((t (:background ,onc-dark-grey :foreground ,base05 :box nil))))
66
+   `(mode-line-buffer-id ((t (:foreground ,onc-yellow :background nil))))
67
+   `(mode-line-emphasis ((t (:foreground ,base06 :slant italic))))
68
+   `(mode-line-highlight ((t (:foreground ,onc-yellow :box nil))))
69
+   `(mode-line-inactive ((t (:background ,onc-dark-grey :foreground ,base03 :box nil))))
70
+   `(region ((t (:background ,base02))))
71
+   `(secondary-selection ((t (:background ,base03))))
72
+   `(error ((t (:foreground ,onc-red :weight bold))))
73
+   `(warning ((t (:foreground ,onc-blue :weight bold))))
74
+   `(success ((t (:foreground ,onc-green :weight bold))))
75
+
76
+   `(header-line ((t (:inherit mode-line :foreground ,onc-yellow :background nil))))
77
+
78
+   ;; Font-lock stuff
79
+   `(font-lock-builtin-face ((t (:foreground ,onc-cyan))))
80
+   `(font-lock-comment-delimiter-face ((t (:foreground ,base02))))
81
+   `(font-lock-comment-face ((t (:foreground ,base03))))
82
+   `(font-lock-constant-face ((t (:foreground ,onc-blue))))
83
+   `(font-lock-doc-face ((t (:foreground ,base04))))
84
+   `(font-lock-doc-string-face ((t (:foreground ,base03))))
85
+   `(font-lock-function-name-face ((t (:foreground ,onc-orange))))
86
+   `(font-lock-keyword-face ((t (:foreground ,onc-yellow))))
87
+   `(font-lock-negation-char-face ((t (:foreground ,onc-green))))
88
+   `(font-lock-preprocessor-face ((t (:foreground ,onc-orange))))
89
+   `(font-lock-regexp-grouping-backslash ((t (:foreground ,base0A))))
90
+   `(font-lock-regexp-grouping-construct ((t (:foreground ,onc-yellow))))
91
+   `(font-lock-string-face ((t (:foreground ,onc-green))))
92
+   `(font-lock-type-face ((t (:foreground ,base0A :inherit bold))))
93
+   `(font-lock-variable-name-face ((t (:foreground ,onc-cyan))))
94
+   `(font-lock-warning-face ((t (:foreground ,onc-red))))
95
+
96
+   ;; linum-mode
97
+   `(linum ((t (:background ,onc-dark-grey :foreground ,base03))))
98
+
99
+   ;; Search
100
+   `(match ((t (:foreground ,onc-orange :background ,onc-dark-grey :inverse-video t))))
101
+   `(isearch ((t (:foreground ,base0A :background ,onc-dark-grey :inverse-video t))))
102
+   `(isearch-lazy-highlight-face ((t (:foreground ,onc-cyan :background ,onc-dark-grey :inverse-video t))))
103
+   `(isearch-fail ((t (:background ,onc-dark-grey :inherit font-lock-warning-face :inverse-video t))))
104
+   `(evil-search-highlight-persist-highlight-face ((t (:background ,onc-dark-grey :inherit font-lock-warning-face :inverse-video t))))
105
+
106
+   ;; Popups
107
+   `(popup-face ((t (:foreground ,base05 :background ,base02))))
108
+   `(popup-isearch-match ((t (:foreground ,onc-black :background ,onc-green))))
109
+   `(popup-scroll-bar-background-face ((t (:background ,base03))))
110
+   `(popup-scroll-bar-onc-black-face ((t (:background ,base05))))
111
+   `(popup-summary-face ((t (:foreground ,base04))))
112
+   `(popup-tip-face ((t (:foreground ,onc-black :background ,base0A))))
113
+   `(popup-menu-mouse-face ((t (:foreground ,onc-black :background ,onc-orange))))
114
+   `(popup-menu-selection-face ((t (:foreground ,onc-black :background ,onc-cyan))))
115
+
116
+   ;; Flymake
117
+   `(flymake-warnline ((t (:underline ,onc-blue :background ,onc-dark-grey))))
118
+   `(flymake-errline ((t (:underline ,onc-red :background ,onc-dark-grey))))
119
+
120
+   ;; Clojure errors
121
+   `(clojure-test-failure-face ((t (:background nil :inherit flymake-warnline))))
122
+   `(clojure-test-error-face ((t (:background nil :inherit flymake-errline))))
123
+   `(clojure-test-success-face ((t (:background nil :foreground nil :underline ,onc-green))))
124
+
125
+   ;; For Brian Carper's extended clojure syntax table
126
+   `(clojure-keyword ((t (:foreground ,base0A))))
127
+   `(clojure-parens ((t (:foreground ,base06))))
128
+   `(clojure-braces ((t (:foreground ,onc-green))))
129
+   `(clojure-brackets ((t (:foreground ,base0A))))
130
+   `(clojure-double-quote ((t (:foreground ,onc-cyan :background nil))))
131
+   `(clojure-special ((t (:foreground ,onc-orange))))
132
+   `(clojure-java-call ((t (:foreground ,onc-yellow))))
133
+
134
+   ;; MMM-mode
135
+   `(mmm-code-submode-face ((t (:background ,base03))))
136
+   `(mmm-comment-submode-face ((t (:inherit font-lock-comment-face))))
137
+   `(mmm-output-submode-face ((t (:background ,base03))))
138
+
139
+   ;; rainbow-delimiters
140
+   `(rainbow-delimiters-depth-1-face ((t (:foreground ,onc-yellow))))
141
+   `(rainbow-delimiters-depth-2-face ((t (:foreground ,onc-orange))))
142
+   `(rainbow-delimiters-depth-3-face ((t (:foreground ,onc-cyan))))
143
+   `(rainbow-delimiters-depth-4-face ((t (:foreground ,onc-green))))
144
+   `(rainbow-delimiters-depth-5-face ((t (:foreground ,base0A))))
145
+   `(rainbow-delimiters-depth-6-face ((t (:foreground ,onc-blue))))
146
+   `(rainbow-delimiters-depth-7-face ((t (:foreground ,onc-red))))
147
+   `(rainbow-delimiters-depth-8-face ((t (:foreground ,base03))))
148
+   `(rainbow-delimiters-depth-9-face ((t (:foreground ,base05))))
149
+
150
+   ;; which-function
151
+   `(which-func ((t (:foreground ,onc-orange :background nil :weight bold))))
152
+
153
+   `(trailing-whitespace ((t (:background ,onc-cyan :foreground ,base0A))))
154
+   `(whitespace-empty ((t (:foreground ,onc-red :background ,base0A))))
155
+   `(whitespace-hspace ((t (:background ,base04 :foreground ,base04))))
156
+   `(whitespace-indentation ((t (:background ,base0A :foreground ,onc-red))))
157
+   `(whitespace-line ((t (:background ,onc-dark-grey :foreground ,onc-brown))))
158
+   `(whitespace-newline ((t (:foreground ,base04))))
159
+   `(whitespace-space ((t (:background ,onc-dark-grey :foreground ,base04))))
160
+   `(whitespace-space-after-tab ((t (:background ,base0A :foreground ,onc-red))))
161
+   `(whitespace-space-before-tab ((t (:background ,onc-blue :foreground ,onc-red))))
162
+   `(whitespace-tab ((t (:background ,base04 :foreground ,base04))))
163
+   `(whitespace-trailing ((t (:background ,onc-red :foreground ,base0A))))
164
+
165
+   ;; Parenthesis matching (built-in)
166
+   `(show-paren-match ((t (:background ,onc-orange :foreground ,base03))))
167
+   `(show-paren-mismatch ((t (:background ,onc-blue :foreground ,base03))))
168
+
169
+   ;; Parenthesis matching (mic-paren)
170
+   `(paren-face-match ((t (:foreground nil :background nil :inherit show-paren-match))))
171
+   `(paren-face-mismatch ((t (:foreground nil :background nil :inherit show-paren-mismatch))))
172
+   `(paren-face-no-match ((t (:foreground nil :background nil :inherit show-paren-mismatch))))
173
+
174
+   ;; Parenthesis dimming (parenface)
175
+   `(paren-face ((t (:foreground ,base04 :background nil))))
176
+
177
+   `(sh-heredoc ((t (:foreground nil :inherit font-lock-string-face :weight normal))))
178
+   `(sh-quoted-exec ((t (:foreground nil :inherit font-lock-preprocessor-face))))
179
+   `(slime-highlight-edits-face ((t (:weight bold))))
180
+   `(slime-repl-input-face ((t (:weight normal :underline nil))))
181
+   `(slime-repl-prompt-face ((t (:underline nil :weight bold :foreground ,onc-yellow))))
182
+   `(slime-repl-result-face ((t (:foreground ,onc-green))))
183
+   `(slime-repl-output-face ((t (:foreground ,onc-orange :background ,onc-dark-grey))))
184
+
185
+   `(csv-separator-face ((t (:foreground ,onc-blue))))
186
+
187
+   `(diff-added ((t (:foreground ,onc-green))))
188
+   `(diff-changed ((t (:foreground ,base0A))))
189
+   `(diff-removed ((t (:foreground ,onc-red))))
190
+   `(diff-header ((t (:background ,onc-dark-grey))))
191
+   `(diff-file-header ((t (:background ,base02))))
192
+   `(diff-hunk-header ((t (:background ,onc-dark-grey :foreground ,onc-yellow))))
193
+
194
+   `(diff-hl-change ((t (:foreground ,base0A))))
195
+   `(diff-hl-delete ((t (:foreground ,onc-red))))
196
+   `(diff-hl-insert ((t (:foreground ,onc-green))))
197
+
198
+   `(ediff-even-diff-A ((t (:foreground nil :background nil :inverse-video t))))
199
+   `(ediff-even-diff-B ((t (:foreground nil :background nil :inverse-video t))))
200
+   `(ediff-odd-diff-A  ((t (:foreground ,base04 :background nil :inverse-video t))))
201
+   `(ediff-odd-diff-B  ((t (:foreground ,base04 :background nil :inverse-video t))))
202
+
203
+   `(eldoc-highlight-function-argument ((t (:foreground ,onc-green :weight bold))))
204
+
205
+   ;; undo-tree
206
+   `(undo-tree-visualizer-default-face ((t (:foreground ,base06))))
207
+   `(undo-tree-visualizer-current-face ((t (:foreground ,onc-green :weight bold))))
208
+   `(undo-tree-visualizer-active-branch-face ((t (:foreground ,onc-red))))
209
+   `(undo-tree-visualizer-register-face ((t (:foreground ,base0A))))
210
+
211
+   ;; auctex
212
+   `(font-latex-bold-face ((t (:foreground ,onc-green))))
213
+   `(font-latex-doctex-documentation-face ((t (:background ,base03))))
214
+   `(font-latex-italic-face ((t (:foreground ,onc-green))))
215
+   `(font-latex-math-face ((t (:foreground ,onc-blue))))
216
+   `(font-latex-sectioning-0-face ((t (:foreground ,base0A))))
217
+   `(font-latex-sectioning-1-face ((t (:foreground ,base0A))))
218
+   `(font-latex-sectioning-2-face ((t (:foreground ,base0A))))
219
+   `(font-latex-sectioning-3-face ((t (:foreground ,base0A))))
220
+   `(font-latex-sectioning-4-face ((t (:foreground ,base0A))))
221
+   `(font-latex-sectioning-5-face ((t (:foreground ,base0A))))
222
+   `(font-latex-sedate-face ((t (:foreground ,onc-cyan))))
223
+   `(font-latex-string-face ((t (:foreground ,base0A))))
224
+   `(font-latex-verbatim-face ((t (:foreground ,onc-blue))))
225
+   `(font-latex-warning-face ((t (:foreground ,onc-red))))
226
+
227
+   ;; dired+
228
+   `(diredp-compressed-file-suffix ((t (:foreground ,onc-orange))))
229
+   `(diredp-dir-heading ((t (:foreground nil :background nil :inherit heading))))
230
+   `(diredp-dir-priv ((t (:foreground ,onc-cyan :background nil))))
231
+   `(diredp-exec-priv ((t (:foreground ,onc-orange :background nil))))
232
+   `(diredp-executable-tag ((t (:foreground ,onc-red :background nil))))
233
+   `(diredp-file-name ((t (:foreground ,base0A))))
234
+   `(diredp-file-suffix ((t (:foreground ,onc-green))))
235
+   `(diredp-flag-mark-line ((t (:background nil :inherit highlight))))
236
+   `(diredp-ignored-file-name ((t (:foreground ,base04))))
237
+   `(diredp-link-priv ((t (:background nil :foreground ,onc-yellow))))
238
+   `(diredp-mode-line-flagged ((t (:foreground ,onc-red))))
239
+   `(diredp-mode-line-marked ((t (:foreground ,onc-green))))
240
+   `(diredp-no-priv ((t (:background nil))))
241
+   `(diredp-number ((t (:foreground ,base0A))))
242
+   `(diredp-other-priv ((t (:background nil :foreground ,onc-yellow))))
243
+   `(diredp-rare-priv ((t (:foreground ,onc-red :background nil))))
244
+   `(diredp-read-priv ((t (:foreground ,onc-green :background nil))))
245
+   `(diredp-symlink ((t (:foreground ,onc-yellow))))
246
+   `(diredp-write-priv ((t (:foreground ,base0A :background nil))))
247
+
248
+   ;; term and ansi-term
249
+   `(term-color-black ((t (:foreground ,base02 :background ,onc-black))))
250
+   `(term-color-white ((t (:foreground ,base05 :background ,base07))))
251
+   `(term-color-red ((t (:foreground ,onc-red :background ,onc-red))))
252
+   `(term-color-yellow ((t (:foreground ,base0A :background ,base0A))))
253
+   `(term-color-green ((t (:foreground ,onc-green :background ,onc-green))))
254
+   `(term-color-cyan ((t (:foreground ,onc-cyan :background ,onc-cyan))))
255
+   `(term-color-blue ((t (:foreground ,onc-orange :background ,onc-orange))))
256
+   `(term-color-magenta ((t (:foreground ,onc-yellow :background ,onc-yellow))))
257
+
258
+   `(link ((t (:foreground nil :underline t))))
259
+   `(widget-button ((t (:underline t))))
260
+   `(widget-field ((t (:background ,base03 :box (:line-width 1 :color ,base06)))))
261
+
262
+   ;; Compilation (most faces politely inherit from 'success, 'error, 'warning etc.)
263
+   `(compilation-column-number ((t (:foreground ,base0A))))
264
+   `(compilation-line-number ((t (:foreground ,base0A))))
265
+   `(compilation-message-face ((t (:foreground ,onc-orange))))
266
+   `(compilation-mode-line-exit ((t (:foreground ,onc-green))))
267
+   `(compilation-mode-line-fail ((t (:foreground ,onc-red))))
268
+   `(compilation-mode-line-run ((t (:foreground ,onc-orange))))
269
+
270
+   ;; Grep
271
+   `(grep-context-face ((t (:foreground ,base04))))
272
+   `(grep-error-face ((t (:foreground ,onc-red :weight bold :underline t))))
273
+   `(grep-hit-face ((t (:foreground ,onc-orange))))
274
+   `(grep-match-face ((t (:foreground nil :background nil :inherit match))))
275
+
276
+   ;; company-mode
277
+   `(company-tooltip ((t (:foreground ,onc-black :background ,base05))))
278
+   `(company-tooltip-annotation ((t (:foreground ,base0A))))
279
+   `(company-tooltip-selection ((t (:foreground ,onc-orange :background ,onc-dark-grey))))
280
+   ;; `(company-tooltip-mouse ((t (:background ,base02))))
281
+   ;; `(company-tooltip-common ((t (:foreground ,atom-one-dark-orange-2 :background ,atom-one-dark-bg-1))))
282
+   ;; `(company-tooltip-common-selection ((t (:foreground ,atom-one-dark-orange-2 :background ,atom-one-dark-gray))))
283
+   ;; `(company-preview ((t (:background ,atom-one-dark-bg))))
284
+   ;; `(company-preview-common ((t (:foreground ,atom-one-dark-orange-2 :background ,atom-one-dark-bg))))
285
+   `(company-scrollbar-fg ((t (:background ,onc-orange))))
286
+   `(company-scrollbar-bg ((t (:background ,onc-black))))
287
+
288
+   `(regex-tool-matched-face ((t (:foreground nil :background nil :inherit match))))
289
+
290
+   ;; Cscope
291
+   `(cscope-file-face ((t (:foreground ,onc-green))))
292
+   `(cscope-function-face ((t (:foreground ,onc-orange))))
293
+   `(cscope-line-number-face ((t (:foreground ,base0A))))
294
+   `(cscope-mouse-face ((t (:background ,onc-dark-grey :foreground ,base04))))
295
+   `(cscope-separator-face ((t (:foreground ,onc-red :overline t :underline t :weight bold))))
296
+
297
+   ;; mark-multiple
298
+   `(mm/master-face ((t (:inherit region :foreground nil :background nil))))
299
+   `(mm/mirror-face ((t (:inherit region :foreground nil :background nil))))
300
+
301
+   ;; org-mode
302
+   `(org-agenda-structure ((t (:foreground ,onc-yellow))))
303
+   `(org-agenda-date ((t (:foreground ,onc-orange :underline nil))))
304
+   `(org-agenda-done ((t (:foreground ,onc-green))))
305
+   `(org-agenda-dimmed-todo-face ((t (:foreground ,base04))))
306
+   `(org-block ((t (:foreground ,onc-blue))))
307
+   `(org-code ((t (:foreground ,base0A))))
308
+   `(org-column ((t (:background ,onc-dark-grey))))
309
+   `(org-column-title ((t (:inherit org-column :weight bold :underline t))))
310
+   `(org-date ((t (:foreground ,onc-yellow :underline t))))
311
+   `(org-document-info ((t (:foreground ,onc-cyan))))
312
+   `(org-document-info-keyword ((t (:foreground ,onc-green))))
313
+   `(org-document-title ((t (:weight bold :foreground ,onc-blue :height 1.44))))
314
+   `(org-done ((t (:foreground ,onc-green))))
315
+   `(org-ellipsis ((t (:foreground ,base04))))
316
+   `(org-footnote ((t (:foreground ,onc-cyan))))
317
+   `(org-formula ((t (:foreground ,onc-red))))
318
+   `(org-hide ((t (:foreground ,base03))))
319
+   `(org-link ((t (:foreground ,onc-orange))))
320
+   `(org-scheduled ((t (:foreground ,onc-green))))
321
+   `(org-scheduled-previously ((t (:foreground ,onc-blue))))
322
+   `(org-scheduled-today ((t (:foreground ,onc-green))))
323
+   `(org-special-keyword ((t (:foreground ,onc-blue))))
324
+   `(org-table ((t (:foreground ,onc-yellow))))
325
+   `(org-todo ((t (:foreground ,onc-red))))
326
+   `(org-upcoming-deadline ((t (:foreground ,onc-blue))))
327
+   `(org-warning ((t (:weight bold :foreground ,onc-red))))
328
+
329
+   `(markdown-url-face ((t (:inherit link))))
330
+   `(markdown-link-face ((t (:foreground ,onc-orange :underline t))))
331
+
332
+   `(hl-sexp-face ((t (:background ,base03))))
333
+   `(highlight-80+ ((t (:background ,base03))))
334
+
335
+   ;; Python-specific overrides
336
+   `(py-builtins-face ((t (:foreground ,onc-blue :weight normal))))
337
+
338
+   ;; js2-mode
339
+   `(js2-warning-face ((t (:underline ,onc-blue))))
340
+   `(js2-error-face ((t (:foreground nil :underline ,onc-red))))
341
+   `(js2-external-variable-face ((t (:foreground ,onc-yellow))))
342
+   `(js2-function-param-face ((t (:foreground ,onc-orange))))
343
+   `(js2-instance-member-face ((t (:foreground ,onc-orange))))
344
+   `(js2-private-function-call-face ((t (:foreground ,onc-red))))
345
+
346
+   ;; js3-mode
347
+   `(js3-warning-face ((t (:underline ,onc-blue))))
348
+   `(js3-error-face ((t (:foreground nil :underline ,onc-red))))
349
+   `(js3-external-variable-face ((t (:foreground ,onc-yellow))))
350
+   `(js3-function-param-face ((t (:foreground ,onc-orange))))
351
+   `(js3-jsdoc-tag-face ((t (:foreground ,onc-blue))))
352
+   `(js3-jsdoc-type-face ((t (:foreground ,onc-cyan))))
353
+   `(js3-jsdoc-value-face ((t (:foreground ,base0A))))
354
+   `(js3-jsdoc-html-tag-name-face ((t (:foreground ,onc-orange))))
355
+   `(js3-jsdoc-html-tag-delimiter-face ((t (:foreground ,onc-green))))
356
+   `(js3-instance-member-face ((t (:foreground ,onc-orange))))
357
+   `(js3-private-function-call-face ((t (:foreground ,onc-red))))
358
+
359
+   ;; nxml
360
+   `(nxml-name-face ((t (:foreground unspecified :inherit font-lock-constant-face))))
361
+   `(nxml-attribute-local-name-face ((t (:foreground unspecified :inherit font-lock-variable-name-face))))
362
+   `(nxml-ref-face ((t (:foreground unspecified :inherit font-lock-preprocessor-face))))
363
+   `(nxml-delimiter-face ((t (:foreground unspecified :inherit font-lock-keyword-face))))
364
+   `(nxml-delimited-data-face ((t (:foreground unspecified :inherit font-lock-string-face))))
365
+   `(rng-error-face ((t (:underline ,onc-red))))
366
+
367
+   ;; RHTML
368
+   `(erb-delim-face ((t (:background ,base03))))
369
+   `(erb-exec-face ((t (:background ,base03 :weight bold))))
370
+   `(erb-exec-delim-face ((t (:background ,base03))))
371
+   `(erb-out-face ((t (:background ,base03 :weight bold))))
372
+   `(erb-out-delim-face ((t (:background ,base03))))
373
+   `(erb-comment-face ((t (:background ,base03 :weight bold :slant italic))))
374
+   `(erb-comment-delim-face ((t (:background ,base03))))
375
+
376
+   ;; Message-mode
377
+   `(message-header-other ((t (:foreground nil :background nil :weight normal))))
378
+   `(message-header-subject ((t (:inherit message-header-other :weight bold :foreground ,base0A))))
379
+   `(message-header-to ((t (:inherit message-header-other :weight bold :foreground ,onc-blue))))
380
+   `(message-header-cc ((t (:inherit message-header-to :foreground nil))))
381
+   `(message-header-name ((t (:foreground ,onc-orange :background nil))))
382
+   `(message-header-newsgroups ((t (:foreground ,onc-cyan :background nil :slant normal))))
383
+   `(message-separator ((t (:foreground ,onc-yellow))))
384
+
385
+   ;; Jabber
386
+   `(jabber-chat-prompt-local ((t (:foreground ,base0A))))
387
+   `(jabber-chat-prompt-foreign ((t (:foreground ,onc-blue))))
388
+   `(jabber-chat-prompt-system ((t (:foreground ,base0A :weight bold))))
389
+   `(jabber-chat-text-local ((t (:foreground ,base0A))))
390
+   `(jabber-chat-text-foreign ((t (:foreground ,onc-blue))))
391
+   `(jabber-chat-text-error ((t (:foreground ,onc-red))))
392
+
393
+   `(jabber-roster-user-online ((t (:foreground ,onc-green))))
394
+   `(jabber-roster-user-xa ((t :foreground ,base04)))
395
+   `(jabber-roster-user-dnd ((t :foreground ,base0A)))
396
+   `(jabber-roster-user-away ((t (:foreground ,onc-blue))))
397
+   `(jabber-roster-user-chatty ((t (:foreground ,onc-yellow))))
398
+   `(jabber-roster-user-error ((t (:foreground ,onc-red))))
399
+   `(jabber-roster-user-offline ((t (:foreground ,base04))))
400
+
401
+   `(jabber-rare-time-face ((t (:foreground ,base04))))
402
+   `(jabber-activity-face ((t (:foreground ,onc-yellow))))
403
+   `(jabber-activity-personal-face ((t (:foreground ,onc-cyan))))
404
+
405
+   ;; Gnus
406
+   `(gnus-cite-1 ((t (:inherit outline-1 :foreground nil))))
407
+   `(gnus-cite-2 ((t (:inherit outline-2 :foreground nil))))
408
+   `(gnus-cite-3 ((t (:inherit outline-3 :foreground nil))))
409
+   `(gnus-cite-4 ((t (:inherit outline-4 :foreground nil))))
410
+   `(gnus-cite-5 ((t (:inherit outline-5 :foreground nil))))
411
+   `(gnus-cite-6 ((t (:inherit outline-6 :foreground nil))))
412
+   `(gnus-cite-7 ((t (:inherit outline-7 :foreground nil))))
413
+   `(gnus-cite-8 ((t (:inherit outline-8 :foreground nil))))
414
+   ;; there are several more -cite- faces...
415
+   `(gnus-header-content ((t (:inherit message-header-other))))
416
+   `(gnus-header-subject ((t (:inherit message-header-subject))))
417
+   `(gnus-header-from ((t (:inherit message-header-other-face :weight bold :foreground ,onc-blue))))
418
+   `(gnus-header-name ((t (:inherit message-header-name))))
419
+   `(gnus-button ((t (:inherit link :foreground nil))))
420
+   `(gnus-signature ((t (:inherit font-lock-comment-face))))
421
+
422
+   `(gnus-summary-normal-unread ((t (:foreground ,onc-orange :weight normal))))
423
+   `(gnus-summary-normal-read ((t (:foreground ,base06 :weight normal))))
424
+   `(gnus-summary-normal-ancient ((t (:foreground ,onc-cyan :weight normal))))
425
+   `(gnus-summary-normal-ticked ((t (:foreground ,onc-blue :weight normal))))
426
+   `(gnus-summary-low-unread ((t (:foreground ,base04 :weight normal))))
427
+   `(gnus-summary-low-read ((t (:foreground ,base04 :weight normal))))
428
+   `(gnus-summary-low-ancient ((t (:foreground ,base04 :weight normal))))
429
+   `(gnus-summary-high-unread ((t (:foreground ,base0A :weight normal))))
430
+   `(gnus-summary-high-read ((t (:foreground ,onc-green :weight normal))))
431
+   `(gnus-summary-high-ancient ((t (:foreground ,onc-green :weight normal))))
432
+   `(gnus-summary-high-ticked ((t (:foreground ,onc-blue :weight normal))))
433
+   `(gnus-summary-cancelled ((t (:foreground ,onc-red :background nil :weight normal))))
434
+
435
+   `(gnus-group-mail-low ((t (:foreground ,base04))))
436
+   `(gnus-group-mail-low-empty ((t (:foreground ,base04))))
437
+   `(gnus-group-mail-1 ((t (:foreground nil :weight normal :inherit outline-1))))
438
+   `(gnus-group-mail-2 ((t (:foreground nil :weight normal :inherit outline-2))))
439
+   `(gnus-group-mail-3 ((t (:foreground nil :weight normal :inherit outline-3))))
440
+   `(gnus-group-mail-4 ((t (:foreground nil :weight normal :inherit outline-4))))
441
+   `(gnus-group-mail-5 ((t (:foreground nil :weight normal :inherit outline-5))))
442
+   `(gnus-group-mail-6 ((t (:foreground nil :weight normal :inherit outline-6))))
443
+   `(gnus-group-mail-1-empty ((t (:inherit gnus-group-mail-1 :foreground ,base04))))
444
+   `(gnus-group-mail-2-empty ((t (:inherit gnus-group-mail-2 :foreground ,base04))))
445
+   `(gnus-group-mail-3-empty ((t (:inherit gnus-group-mail-3 :foreground ,base04))))
446
+   `(gnus-group-mail-4-empty ((t (:inherit gnus-group-mail-4 :foreground ,base04))))
447
+   `(gnus-group-mail-5-empty ((t (:inherit gnus-group-mail-5 :foreground ,base04))))
448
+   `(gnus-group-mail-6-empty ((t (:inherit gnus-group-mail-6 :foreground ,base04))))
449
+   `(gnus-group-news-1 ((t (:foreground nil :weight normal :inherit outline-5))))
450
+   `(gnus-group-news-2 ((t (:foreground nil :weight normal :inherit outline-6))))
451
+   `(gnus-group-news-3 ((t (:foreground nil :weight normal :inherit outline-7))))
452
+   `(gnus-group-news-4 ((t (:foreground nil :weight normal :inherit outline-8))))
453
+   `(gnus-group-news-5 ((t (:foreground nil :weight normal :inherit outline-1))))
454
+   `(gnus-group-news-6 ((t (:foreground nil :weight normal :inherit outline-2))))
455
+   `(gnus-group-news-1-empty ((t (:inherit gnus-group-news-1 :foreground ,base04))))
456
+   `(gnus-group-news-2-empty ((t (:inherit gnus-group-news-2 :foreground ,base04))))
457
+   `(gnus-group-news-3-empty ((t (:inherit gnus-group-news-3 :foreground ,base04))))
458
+   `(gnus-group-news-4-empty ((t (:inherit gnus-group-news-4 :foreground ,base04))))
459
+   `(gnus-group-news-5-empty ((t (:inherit gnus-group-news-5 :foreground ,base04))))
460
+   `(gnus-group-news-6-empty ((t (:inherit gnus-group-news-6 :foreground ,base04))))
461
+
462
+   `(erc-direct-msg-face ((t (:foreground ,onc-blue))))
463
+   `(erc-error-face ((t (:foreground ,onc-red))))
464
+   `(erc-header-face ((t (:foreground ,base06 :background ,base04))))
465
+   `(erc-input-face ((t (:foreground ,onc-green))))
466
+   `(erc-keyword-face ((t (:foreground ,base0A))))
467
+   `(erc-current-nick-face ((t (:foreground ,onc-green))))
468
+   `(erc-my-nick-face ((t (:foreground ,onc-green))))
469
+   `(erc-nick-default-face ((t (:weight normal :foreground ,onc-yellow))))
470
+   `(erc-nick-msg-face ((t (:weight normal :foreground ,base0A))))
471
+   `(erc-notice-face ((t (:foreground ,base04))))
472
+   `(erc-pal-face ((t (:foreground ,onc-blue))))
473
+   `(erc-prompt-face ((t (:foreground ,onc-orange))))
474
+   `(erc-timestamp-face ((t (:foreground ,onc-cyan))))
475
+
476
+   ;; helm
477
+   `(helm-M-x-key ((t (:foreground ,onc-cyan))))
478
+   `(helm-action ((t (:foreground ,base05))))
479
+   `(helm-buffer-directory ((t (:foreground ,base04 :background nil :weight bold))))
480
+   `(helm-buffer-file ((t (:foreground ,onc-cyan))))
481
+   `(helm-buffer-not-saved ((t (:foreground ,onc-red))))
482
+   `(helm-buffer-process ((t (:foreground ,base03))))
483
+   `(helm-buffer-saved-out ((t (:foreground ,onc-brown))))
484
+   `(helm-buffer-size ((t (:foreground ,onc-blue))))
485
+   `(helm-candidate-number ((t (:foreground ,onc-black :background ,onc-blue))))
486
+   `(helm-ff-directory ((t (:foreground ,base04 :background nil :weight bold))))
487
+   `(helm-ff-executable ((t (:foreground ,onc-green))))
488
+   `(helm-ff-file ((t (:foreground ,onc-cyan))))
489
+   `(helm-ff-invalid-symlink ((t (:foreground ,onc-black :background ,onc-red))))
490
+   `(helm-ff-prefix ((t (:foreground nil :background nil))))
491
+   `(helm-ff-symlink ((t (:foreground ,onc-black :background ,onc-cyan))))
492
+   `(helm-grep-cmd-line ((t (:foreground ,onc-green))))
493
+   `(helm-grep-file ((t (:foreground ,onc-cyan))))
494
+   `(helm-grep-finish ((t (:foreground ,onc-black :background ,onc-blue))))
495
+   `(helm-grep-lineno ((t (:foreground ,base03))))
496
+   `(helm-grep-match ((t (:foreground ,base0A))))
497
+   `(helm-grep-running ((t (:foreground ,onc-blue))))
498
+   `(helm-header ((t (:foreground ,base0A :background ,onc-black :underline nil))))
499
+   `(helm-match ((t (:foreground ,base0A))))
500
+   `(helm-moccur-buffer ((t (:foreground ,onc-cyan))))
501
+   `(helm-selection ((t (:foreground nil :background ,base02 :underline nil))))
502
+   `(helm-selection-line ((t (:foreground nil :background ,base02))))
503
+   `(helm-separator ((t (:foreground ,base02))))
504
+   `(helm-source-header ((t (:foreground ,base05 :background ,onc-dark-grey :weight bold))))
505
+   `(helm-visible-mark ((t (:foreground ,onc-black :background ,onc-green))))
506
+
507
+   `(custom-variable-tag ((t (:foreground ,onc-orange))))
508
+   `(custom-group-tag ((t (:foreground ,onc-orange))))
509
+   `(custom-state ((t (:foreground ,onc-green)))))
510
+
511
+
512
+  (custom-theme-set-variables
513
+   'base16-onc-dark
514
+
515
+   `(ansi-color-names-vector
516
+     ;; black, onc-red, onc-green, base0A, onc-orange, magenta, cyan, white
517
+     [,onc-black ,onc-red ,onc-green ,base0A ,onc-orange ,onc-yellow ,onc-orange ,base05])
518
+   `(ansi-term-color-vector
519
+     ;; black, onc-red, onc-green, base0A, onc-orange, magenta, cyan, white
520
+     [unspecified ,onc-black ,onc-red ,onc-green ,base0A ,onc-orange ,onc-yellow ,onc-orange ,base05])))
521
+
522
+(provide-theme 'base16-onc-dark)
523
+
524
+;;; base16-onc-dark-theme.el ends here

+ 507
- 0
base16-onc-light-theme.el View File

@@ -0,0 +1,507 @@
1
+;; Base16 onc (https://github.com/chriskempson/base16)
2
+;; Scheme: Christian van Onzenoodt (https://github.com/onc)
3
+
4
+;;; base16-onc-light-theme.el
5
+
6
+;;; Code:
7
+
8
+(deftheme base16-onc-light)
9
+
10
+(let ((base00 "#212121")
11
+      (base01 "#424242")
12
+      (base02 "#616161")
13
+      (base03 "#757575")
14
+      (base04 "#9E9E9E")
15
+      (base05 "#EEEEEE")
16
+      (base06 "#F5F5F5")
17
+      (base07 "#FAFAFA")
18
+      (base08 "#FF1744")
19
+      (base09 "#00B0FF")
20
+      (base0A "#D500F9")
21
+      (base0B "#1DE9B6")
22
+      (base0C "#18FFFF")
23
+      (base0D "#FF9100")
24
+      (base0E "#FFEA00")
25
+      (base0F "#8D6E63"))
26
+
27
+  (unless (display-graphic-p)
28
+    (setq base00 "black"
29
+          base01 "color-18"
30
+          base02 "color-19"
31
+          base03 "brightblack"
32
+          base04 "color-20"
33
+          base05 "white"
34
+          base06 "color-21"
35
+          base07 "brightwhite"
36
+          base08 "red"
37
+          base09 "color-16"
38
+          base0A "yellow"
39
+          base0B "green"
40
+          base0C "cyan"
41
+          base0D "blue"
42
+          base0E "magenta"
43
+          base0F "color-17"))
44
+
45
+  (custom-theme-set-faces
46
+   'base16-onc-light
47
+
48
+   ;; Built-in stuff (Emacs 23)
49
+   `(border ((t (:background ,base03))))
50
+   `(border-glyph ((t (nil))))
51
+   `(cursor ((t (:background ,base08))))
52
+   `(default ((t (:background ,base07 :foreground ,base02))))
53
+   `(fringe ((t (:background ,base02))))
54
+   `(gui-element ((t (:background ,base03 :foreground ,base06))))
55
+   `(highlight ((t (:background ,base01))))
56
+   `(link ((t (:foreground ,base0D))))
57
+   `(link-visited ((t (:foreground ,base0E))))
58
+   `(minibuffer-prompt ((t (:foreground ,base0D))))
59
+   `(mode-line ((t (:background ,base02 :foreground ,base04 :box nil))))
60
+   `(mode-line-buffer-id ((t (:foreground ,base0E :background nil))))
61
+   `(mode-line-emphasis ((t (:foreground ,base06 :slant italic))))
62
+   `(mode-line-highlight ((t (:foreground ,base0E :box nil :weight bold))))
63
+   `(mode-line-inactive ((t (:background ,base01 :foreground ,base03 :box nil))))
64
+   `(region ((t (:background ,base02))))
65
+   `(secondary-selection ((t (:background ,base03))))
66
+   `(error ((t (:foreground ,base08 :weight bold))))
67
+   `(warning ((t (:foreground ,base09 :weight bold))))
68
+   `(success ((t (:foreground ,base0B :weight bold))))
69
+
70
+   `(header-line ((t (:inherit mode-line :foreground ,base0E :background nil))))
71
+
72
+   ;; Font-lock stuff
73
+   `(font-lock-builtin-face ((t (:foreground ,base0C))))
74
+   `(font-lock-comment-delimiter-face ((t (:foreground ,base02))))
75
+   `(font-lock-comment-face ((t (:foreground ,base03))))
76
+   `(font-lock-constant-face ((t (:foreground ,base09))))
77
+   `(font-lock-doc-face ((t (:foreground ,base04))))
78
+   `(font-lock-doc-string-face ((t (:foreground ,base03))))
79
+   `(font-lock-function-name-face ((t (:foreground ,base0D))))
80
+   `(font-lock-keyword-face ((t (:foreground ,base0E))))
81
+   `(font-lock-negation-char-face ((t (:foreground ,base0B))))
82
+   `(font-lock-preprocessor-face ((t (:foreground ,base0D))))
83
+   `(font-lock-regexp-grouping-backslash ((t (:foreground ,base0A))))
84
+   `(font-lock-regexp-grouping-construct ((t (:foreground ,base0E))))
85
+   `(font-lock-string-face ((t (:foreground ,base0B))))
86
+   `(font-lock-type-face ((t (:foreground ,base0A))))
87
+   `(font-lock-variable-name-face ((t (:foreground ,base0C))))
88
+   `(font-lock-warning-face ((t (:foreground ,base08))))
89
+
90
+   ;; linum-mode
91
+   `(linum ((t (:background ,base01 :foreground ,base03))))
92
+
93
+   ;; Search
94
+   `(match ((t (:foreground ,base0D :background ,base01 :inverse-video t))))
95
+   `(isearch ((t (:foreground ,base0A :background ,base01 :inverse-video t))))
96
+   `(isearch-lazy-highlight-face ((t (:foreground ,base0C :background ,base01 :inverse-video t))))
97
+   `(isearch-fail ((t (:background ,base01 :inherit font-lock-warning-face :inverse-video t))))
98
+   `(evil-search-highlight-persist-highlight-face ((t (:background ,base01 :inherit font-lock-warning-face :inverse-video t))))
99
+
100
+   ;; Popups
101
+   `(popup-face ((t (:foreground ,base02 :background ,base05))))
102
+   `(popup-isearch-match ((t (:foreground ,base07 :background ,base0B))))
103
+   `(popup-scroll-bar-background-face ((t (:background ,base04))))
104
+   `(popup-scroll-bar-foreground-face ((t (:background ,base02))))
105
+   `(popup-summary-face ((t (:foreground ,base03))))
106
+   `(popup-tip-face ((t (:foreground ,base07 :background ,base0A))))
107
+   `(popup-menu-mouse-face ((t (:foreground ,base07 :background ,base0D))))
108
+   `(popup-menu-selection-face ((t (:foreground ,base07 :background ,base0C))))
109
+
110
+   ;; Flymake
111
+   `(flymake-warnline ((t (:underline ,base09 :background ,base01))))
112
+   `(flymake-errline ((t (:underline ,base08 :background ,base01))))
113
+
114
+   ;; Clojure errors
115
+   `(clojure-test-failure-face ((t (:background nil :inherit flymake-warnline))))
116
+   `(clojure-test-error-face ((t (:background nil :inherit flymake-errline))))
117
+   `(clojure-test-success-face ((t (:background nil :foreground nil :underline ,base0B))))
118
+
119
+   ;; For Brian Carper's extended clojure syntax table
120
+   `(clojure-keyword ((t (:foreground ,base0A))))
121
+   `(clojure-parens ((t (:foreground ,base06))))
122
+   `(clojure-braces ((t (:foreground ,base0B))))
123
+   `(clojure-brackets ((t (:foreground ,base0A))))
124
+   `(clojure-double-quote ((t (:foreground ,base0C :background nil))))
125
+   `(clojure-special ((t (:foreground ,base0D))))
126
+   `(clojure-java-call ((t (:foreground ,base0E))))
127
+
128
+   ;; MMM-mode
129
+   `(mmm-code-submode-face ((t (:background ,base03))))
130
+   `(mmm-comment-submode-face ((t (:inherit font-lock-comment-face))))
131
+   `(mmm-output-submode-face ((t (:background ,base03))))
132
+
133
+   ;; rainbow-delimiters
134
+   `(rainbow-delimiters-depth-1-face ((t (:foreground ,base0E))))
135
+   `(rainbow-delimiters-depth-2-face ((t (:foreground ,base0D))))
136
+   `(rainbow-delimiters-depth-3-face ((t (:foreground ,base0C))))
137
+   `(rainbow-delimiters-depth-4-face ((t (:foreground ,base0B))))
138
+   `(rainbow-delimiters-depth-5-face ((t (:foreground ,base0A))))
139
+   `(rainbow-delimiters-depth-6-face ((t (:foreground ,base09))))
140
+   `(rainbow-delimiters-depth-7-face ((t (:foreground ,base08))))
141
+   `(rainbow-delimiters-depth-8-face ((t (:foreground ,base03))))
142
+   `(rainbow-delimiters-depth-9-face ((t (:foreground ,base05))))
143
+
144
+   ;; IDO
145
+   `(ido-subdir ((t (:foreground ,base04))))
146
+   `(ido-first-match ((t (:foreground ,base09 :weight bold))))
147
+   `(ido-only-match ((t (:foreground ,base08 :weight bold))))
148
+   `(ido-indicator ((t (:foreground ,base08 :background ,base01))))
149
+   `(ido-virtual ((t (:foreground ,base04))))
150
+
151
+   ;; which-function
152
+   `(which-func ((t (:foreground ,base0D :background nil :weight bold))))
153
+
154
+   `(trailing-whitespace ((t (:background ,base0C :foreground ,base0A))))
155
+   `(whitespace-empty ((t (:foreground ,base08 :background ,base0A))))
156
+   `(whitespace-hspace ((t (:background ,base04 :foreground ,base04))))
157
+   `(whitespace-indentation ((t (:background ,base0A :foreground ,base08))))
158
+   `(whitespace-line ((t (:background ,base01 :foreground ,base0F))))
159
+   `(whitespace-newline ((t (:foreground ,base04))))
160
+   `(whitespace-space ((t (:background ,base01 :foreground ,base04))))
161
+   `(whitespace-space-after-tab ((t (:background ,base0A :foreground ,base08))))
162
+   `(whitespace-space-before-tab ((t (:background ,base09 :foreground ,base08))))
163
+   `(whitespace-tab ((t (:background ,base04 :foreground ,base04))))
164
+   `(whitespace-trailing ((t (:background ,base08 :foreground ,base0A))))
165
+
166
+   ;; Parenthesis matching (built-in)
167
+   `(show-paren-match ((t (:background ,base0D :foreground ,base03))))
168
+   `(show-paren-mismatch ((t (:background ,base09 :foreground ,base03))))
169
+
170
+   ;; Parenthesis matching (mic-paren)
171
+   `(paren-face-match ((t (:foreground nil :background nil :inherit show-paren-match))))
172
+   `(paren-face-mismatch ((t (:foreground nil :background nil :inherit show-paren-mismatch))))
173
+   `(paren-face-no-match ((t (:foreground nil :background nil :inherit show-paren-mismatch))))
174
+
175
+   ;; Parenthesis dimming (parenface)
176
+   `(paren-face ((t (:foreground ,base04 :background nil))))
177
+
178
+   `(sh-heredoc ((t (:foreground nil :inherit font-lock-string-face :weight normal))))
179
+   `(sh-quoted-exec ((t (:foreground nil :inherit font-lock-preprocessor-face))))
180
+   `(slime-highlight-edits-face ((t (:weight bold))))
181
+   `(slime-repl-input-face ((t (:weight normal :underline nil))))
182
+   `(slime-repl-prompt-face ((t (:underline nil :weight bold :foreground ,base0E))))
183
+   `(slime-repl-result-face ((t (:foreground ,base0B))))
184
+   `(slime-repl-output-face ((t (:foreground ,base0D :background ,base01))))
185
+
186
+   `(csv-separator-face ((t (:foreground ,base09))))
187
+
188
+   `(diff-added ((t (:foreground ,base0B))))
189
+   `(diff-changed ((t (:foreground ,base0A))))
190
+   `(diff-removed ((t (:foreground ,base08))))
191
+   `(diff-header ((t (:background ,base01))))
192
+   `(diff-file-header ((t (:background ,base02))))
193
+   `(diff-hunk-header ((t (:background ,base01 :foreground ,base0E))))
194
+
195
+   `(diff-hl-change ((t (:foreground ,base0A))))
196
+   `(diff-hl-delete ((t (:foreground ,base08))))
197
+   `(diff-hl-insert ((t (:foreground ,base0B))))
198
+
199
+   `(ediff-even-diff-A ((t (:foreground nil :background nil :inverse-video t))))
200
+   `(ediff-even-diff-B ((t (:foreground nil :background nil :inverse-video t))))
201
+   `(ediff-odd-diff-A  ((t (:foreground ,base04 :background nil :inverse-video t))))
202
+   `(ediff-odd-diff-B  ((t (:foreground ,base04 :background nil :inverse-video t))))
203
+
204
+   `(eldoc-highlight-function-argument ((t (:foreground ,base0B :weight bold))))
205
+
206
+   ;; undo-tree
207
+   `(undo-tree-visualizer-default-face ((t (:foreground ,base06))))
208
+   `(undo-tree-visualizer-current-face ((t (:foreground ,base0B :weight bold))))
209
+   `(undo-tree-visualizer-active-branch-face ((t (:foreground ,base08))))
210
+   `(undo-tree-visualizer-register-face ((t (:foreground ,base0A))))
211
+
212
+   ;; auctex
213
+   `(font-latex-bold-face ((t (:foreground ,base0B))))
214
+   `(font-latex-doctex-documentation-face ((t (:background ,base03))))
215
+   `(font-latex-italic-face ((t (:foreground ,base0B))))
216
+   `(font-latex-math-face ((t (:foreground ,base09))))
217
+   `(font-latex-sectioning-0-face ((t (:foreground ,base0A))))
218
+   `(font-latex-sectioning-1-face ((t (:foreground ,base0A))))
219
+   `(font-latex-sectioning-2-face ((t (:foreground ,base0A))))
220
+   `(font-latex-sectioning-3-face ((t (:foreground ,base0A))))
221
+   `(font-latex-sectioning-4-face ((t (:foreground ,base0A))))
222
+   `(font-latex-sectioning-5-face ((t (:foreground ,base0A))))
223
+   `(font-latex-sedate-face ((t (:foreground ,base0C))))
224
+   `(font-latex-string-face ((t (:foreground ,base0A))))
225
+   `(font-latex-verbatim-face ((t (:foreground ,base09))))
226
+   `(font-latex-warning-face ((t (:foreground ,base08))))
227
+
228
+   ;; dired+
229
+   `(diredp-compressed-file-suffix ((t (:foreground ,base0D))))
230
+   `(diredp-dir-heading ((t (:foreground nil :background nil :inherit heading))))
231
+   `(diredp-dir-priv ((t (:foreground ,base0C :background nil))))
232
+   `(diredp-exec-priv ((t (:foreground ,base0D :background nil))))
233
+   `(diredp-executable-tag ((t (:foreground ,base08 :background nil))))
234
+   `(diredp-file-name ((t (:foreground ,base0A))))
235
+   `(diredp-file-suffix ((t (:foreground ,base0B))))
236
+   `(diredp-flag-mark-line ((t (:background nil :inherit highlight))))
237
+   `(diredp-ignored-file-name ((t (:foreground ,base04))))
238
+   `(diredp-link-priv ((t (:background nil :foreground ,base0E))))
239
+   `(diredp-mode-line-flagged ((t (:foreground ,base08))))
240
+   `(diredp-mode-line-marked ((t (:foreground ,base0B))))
241
+   `(diredp-no-priv ((t (:background nil))))
242
+   `(diredp-number ((t (:foreground ,base0A))))
243
+   `(diredp-other-priv ((t (:background nil :foreground ,base0E))))
244
+   `(diredp-rare-priv ((t (:foreground ,base08 :background nil))))
245
+   `(diredp-read-priv ((t (:foreground ,base0B :background nil))))
246
+   `(diredp-symlink ((t (:foreground ,base0E))))
247
+   `(diredp-write-priv ((t (:foreground ,base0A :background nil))))
248
+
249
+   ;; term and ansi-term
250
+   `(term-color-black ((t (:foreground ,base02 :background ,base00))))
251
+   `(term-color-white ((t (:foreground ,base05 :background ,base07))))
252
+   `(term-color-red ((t (:foreground ,base08 :background ,base08))))
253
+   `(term-color-yellow ((t (:foreground ,base0A :background ,base0A))))
254
+   `(term-color-green ((t (:foreground ,base0B :background ,base0B))))
255
+   `(term-color-cyan ((t (:foreground ,base0C :background ,base0C))))
256
+   `(term-color-blue ((t (:foreground ,base0D :background ,base0D))))
257
+   `(term-color-magenta ((t (:foreground ,base0E :background ,base0E))))
258
+
259
+   `(link ((t (:foreground nil :underline t))))
260
+   `(widget-button ((t (:underline t))))
261
+   `(widget-field ((t (:background ,base03 :box (:line-width 1 :color ,base06)))))
262
+
263
+   ;; Compilation (most faces politely inherit from 'success, 'error, 'warning etc.)
264
+   `(compilation-column-number ((t (:foreground ,base0A))))
265
+   `(compilation-line-number ((t (:foreground ,base0A))))
266
+   `(compilation-message-face ((t (:foreground ,base0D))))
267
+   `(compilation-mode-line-exit ((t (:foreground ,base0B))))
268
+   `(compilation-mode-line-fail ((t (:foreground ,base08))))
269
+   `(compilation-mode-line-run ((t (:foreground ,base0D))))
270
+
271
+   ;; Grep
272
+   `(grep-context-face ((t (:foreground ,base04))))
273
+   `(grep-error-face ((t (:foreground ,base08 :weight bold :underline t))))
274
+   `(grep-hit-face ((t (:foreground ,base0D))))
275
+   `(grep-match-face ((t (:foreground nil :background nil :inherit match))))
276
+
277
+   `(regex-tool-matched-face ((t (:foreground nil :background nil :inherit match))))
278
+
279
+   ;; mark-multiple
280
+   `(mm/master-face ((t (:inherit region :foreground nil :background nil))))
281
+   `(mm/mirror-face ((t (:inherit region :foreground nil :background nil))))
282
+
283
+   ;; org-mode
284
+   `(org-agenda-structure ((t (:foreground ,base0E))))
285
+   `(org-agenda-date ((t (:foreground ,base0D :underline nil))))
286
+   `(org-agenda-done ((t (:foreground ,base0B))))
287
+   `(org-agenda-dimmed-todo-face ((t (:foreground ,base04))))
288
+   `(org-block ((t (:foreground ,base09))))
289
+   `(org-code ((t (:foreground ,base0A))))
290
+   `(org-column ((t (:background ,base03))))
291
+   `(org-column-title ((t (:inherit org-column :weight bold :underline t))))
292
+   `(org-date ((t (:foreground ,base0E :underline t))))
293
+   `(org-document-info ((t (:foreground ,base0C))))
294
+   `(org-document-info-keyword ((t (:foreground ,base0B))))
295
+   `(org-document-title ((t (:weight bold :foreground ,base09 :height 1.44))))
296
+   `(org-done ((t (:foreground ,base0B))))
297
+   `(org-ellipsis ((t (:foreground ,base04))))
298
+   `(org-footnote ((t (:foreground ,base0C))))
299
+   `(org-formula ((t (:foreground ,base08))))
300
+   `(org-hide ((t (:foreground ,base03))))
301
+   `(org-link ((t (:foreground ,base0D))))
302
+   `(org-scheduled ((t (:foreground ,base0B))))
303
+   `(org-scheduled-previously ((t (:foreground ,base09))))
304
+   `(org-scheduled-today ((t (:foreground ,base0B))))
305
+   `(org-special-keyword ((t (:foreground ,base09))))
306
+   `(org-table ((t (:foreground ,base0E))))
307
+   `(org-todo ((t (:foreground ,base08))))
308
+   `(org-upcoming-deadline ((t (:foreground ,base09))))
309
+   `(org-warning ((t (:weight bold :foreground ,base08))))
310
+
311
+   `(markdown-url-face ((t (:inherit link))))
312
+   `(markdown-link-face ((t (:foreground ,base0D :underline t))))
313
+
314
+   `(hl-sexp-face ((t (:background ,base03))))
315
+   `(highlight-80+ ((t (:background ,base03))))
316
+
317
+   ;; Python-specific overrides
318
+   `(py-builtins-face ((t (:foreground ,base09 :weight normal))))
319
+
320
+   ;; js2-mode
321
+   `(js2-warning-face ((t (:underline ,base09))))
322
+   `(js2-error-face ((t (:foreground nil :underline ,base08))))
323
+   `(js2-external-variable-face ((t (:foreground ,base0E))))
324
+   `(js2-function-param-face ((t (:foreground ,base0D))))
325
+   `(js2-instance-member-face ((t (:foreground ,base0D))))
326
+   `(js2-private-function-call-face ((t (:foreground ,base08))))
327
+
328
+   ;; js3-mode
329
+   `(js3-warning-face ((t (:underline ,base09))))
330
+   `(js3-error-face ((t (:foreground nil :underline ,base08))))
331
+   `(js3-external-variable-face ((t (:foreground ,base0E))))
332
+   `(js3-function-param-face ((t (:foreground ,base0D))))
333
+   `(js3-jsdoc-tag-face ((t (:foreground ,base09))))
334
+   `(js3-jsdoc-type-face ((t (:foreground ,base0C))))
335
+   `(js3-jsdoc-value-face ((t (:foreground ,base0A))))
336
+   `(js3-jsdoc-html-tag-name-face ((t (:foreground ,base0D))))
337
+   `(js3-jsdoc-html-tag-delimiter-face ((t (:foreground ,base0B))))
338
+   `(js3-instance-member-face ((t (:foreground ,base0D))))
339
+   `(js3-private-function-call-face ((t (:foreground ,base08))))
340
+
341
+   ;; nxml
342
+   `(nxml-name-face ((t (:foreground unspecified :inherit font-lock-constant-face))))
343
+   `(nxml-attribute-local-name-face ((t (:foreground unspecified :inherit font-lock-variable-name-face))))
344
+   `(nxml-ref-face ((t (:foreground unspecified :inherit font-lock-preprocessor-face))))
345
+   `(nxml-delimiter-face ((t (:foreground unspecified :inherit font-lock-keyword-face))))
346
+   `(nxml-delimited-data-face ((t (:foreground unspecified :inherit font-lock-string-face))))
347
+   `(rng-error-face ((t (:underline ,base08))))
348
+
349
+   ;; RHTML
350
+   `(erb-delim-face ((t (:background ,base03))))
351
+   `(erb-exec-face ((t (:background ,base03 :weight bold))))
352
+   `(erb-exec-delim-face ((t (:background ,base03))))
353
+   `(erb-out-face ((t (:background ,base03 :weight bold))))
354
+   `(erb-out-delim-face ((t (:background ,base03))))
355
+   `(erb-comment-face ((t (:background ,base03 :weight bold :slant italic))))
356
+   `(erb-comment-delim-face ((t (:background ,base03))))
357
+
358
+   ;; Message-mode
359
+   `(message-header-other ((t (:foreground nil :background nil :weight normal))))
360
+   `(message-header-subject ((t (:inherit message-header-other :weight bold :foreground ,base0A))))
361
+   `(message-header-to ((t (:inherit message-header-other :weight bold :foreground ,base09))))
362
+   `(message-header-cc ((t (:inherit message-header-to :foreground nil))))
363
+   `(message-header-name ((t (:foreground ,base0D :background nil))))
364
+   `(message-header-newsgroups ((t (:foreground ,base0C :background nil :slant normal))))
365
+   `(message-separator ((t (:foreground ,base0E))))
366
+
367
+   ;; Jabber
368
+   `(jabber-chat-prompt-local ((t (:foreground ,base0A))))
369
+   `(jabber-chat-prompt-foreign ((t (:foreground ,base09))))
370
+   `(jabber-chat-prompt-system ((t (:foreground ,base0A :weight bold))))
371
+   `(jabber-chat-text-local ((t (:foreground ,base0A))))
372
+   `(jabber-chat-text-foreign ((t (:foreground ,base09))))
373
+   `(jabber-chat-text-error ((t (:foreground ,base08))))
374
+
375
+   `(jabber-roster-user-online ((t (:foreground ,base0B))))
376
+   `(jabber-roster-user-xa ((t :foreground ,base04)))
377
+   `(jabber-roster-user-dnd ((t :foreground ,base0A)))
378
+   `(jabber-roster-user-away ((t (:foreground ,base09))))
379
+   `(jabber-roster-user-chatty ((t (:foreground ,base0E))))
380
+   `(jabber-roster-user-error ((t (:foreground ,base08))))
381
+   `(jabber-roster-user-offline ((t (:foreground ,base04))))
382
+
383
+   `(jabber-rare-time-face ((t (:foreground ,base04))))
384
+   `(jabber-activity-face ((t (:foreground ,base0E))))
385
+   `(jabber-activity-personal-face ((t (:foreground ,base0C))))
386
+
387
+   ;; Gnus
388
+   `(gnus-cite-1 ((t (:inherit outline-1 :foreground nil))))
389
+   `(gnus-cite-2 ((t (:inherit outline-2 :foreground nil))))
390
+   `(gnus-cite-3 ((t (:inherit outline-3 :foreground nil))))
391
+   `(gnus-cite-4 ((t (:inherit outline-4 :foreground nil))))
392
+   `(gnus-cite-5 ((t (:inherit outline-5 :foreground nil))))
393
+   `(gnus-cite-6 ((t (:inherit outline-6 :foreground nil))))
394
+   `(gnus-cite-7 ((t (:inherit outline-7 :foreground nil))))
395
+   `(gnus-cite-8 ((t (:inherit outline-8 :foreground nil))))
396
+   ;; there are several more -cite- faces...
397
+   `(gnus-header-content ((t (:inherit message-header-other))))
398
+   `(gnus-header-subject ((t (:inherit message-header-subject))))
399
+   `(gnus-header-from ((t (:inherit message-header-other-face :weight bold :foreground ,base09))))
400
+   `(gnus-header-name ((t (:inherit message-header-name))))
401
+   `(gnus-button ((t (:inherit link :foreground nil))))
402
+   `(gnus-signature ((t (:inherit font-lock-comment-face))))
403
+
404
+   `(gnus-summary-normal-unread ((t (:foreground ,base0D :weight normal))))
405
+   `(gnus-summary-normal-read ((t (:foreground ,base06 :weight normal))))
406
+   `(gnus-summary-normal-ancient ((t (:foreground ,base0C :weight normal))))
407
+   `(gnus-summary-normal-ticked ((t (:foreground ,base09 :weight normal))))
408
+   `(gnus-summary-low-unread ((t (:foreground ,base04 :weight normal))))
409
+   `(gnus-summary-low-read ((t (:foreground ,base04 :weight normal))))
410
+   `(gnus-summary-low-ancient ((t (:foreground ,base04 :weight normal))))
411
+   `(gnus-summary-high-unread ((t (:foreground ,base0A :weight normal))))
412
+   `(gnus-summary-high-read ((t (:foreground ,base0B :weight normal))))
413
+   `(gnus-summary-high-ancient ((t (:foreground ,base0B :weight normal))))
414
+   `(gnus-summary-high-ticked ((t (:foreground ,base09 :weight normal))))
415
+   `(gnus-summary-cancelled ((t (:foreground ,base08 :background nil :weight normal))))
416
+
417
+   `(gnus-group-mail-low ((t (:foreground ,base04))))
418
+   `(gnus-group-mail-low-empty ((t (:foreground ,base04))))
419
+   `(gnus-group-mail-1 ((t (:foreground nil :weight normal :inherit outline-1))))
420
+   `(gnus-group-mail-2 ((t (:foreground nil :weight normal :inherit outline-2))))
421
+   `(gnus-group-mail-3 ((t (:foreground nil :weight normal :inherit outline-3))))
422
+   `(gnus-group-mail-4 ((t (:foreground nil :weight normal :inherit outline-4))))
423
+   `(gnus-group-mail-5 ((t (:foreground nil :weight normal :inherit outline-5))))
424
+   `(gnus-group-mail-6 ((t (:foreground nil :weight normal :inherit outline-6))))
425
+   `(gnus-group-mail-1-empty ((t (:inherit gnus-group-mail-1 :foreground ,base04))))
426
+   `(gnus-group-mail-2-empty ((t (:inherit gnus-group-mail-2 :foreground ,base04))))
427
+   `(gnus-group-mail-3-empty ((t (:inherit gnus-group-mail-3 :foreground ,base04))))
428
+   `(gnus-group-mail-4-empty ((t (:inherit gnus-group-mail-4 :foreground ,base04))))
429
+   `(gnus-group-mail-5-empty ((t (:inherit gnus-group-mail-5 :foreground ,base04))))
430
+   `(gnus-group-mail-6-empty ((t (:inherit gnus-group-mail-6 :foreground ,base04))))
431
+   `(gnus-group-news-1 ((t (:foreground nil :weight normal :inherit outline-5))))
432
+   `(gnus-group-news-2 ((t (:foreground nil :weight normal :inherit outline-6))))
433
+   `(gnus-group-news-3 ((t (:foreground nil :weight normal :inherit outline-7))))
434
+   `(gnus-group-news-4 ((t (:foreground nil :weight normal :inherit outline-8))))
435
+   `(gnus-group-news-5 ((t (:foreground nil :weight normal :inherit outline-1))))
436
+   `(gnus-group-news-6 ((t (:foreground nil :weight normal :inherit outline-2))))
437
+   `(gnus-group-news-1-empty ((t (:inherit gnus-group-news-1 :foreground ,base04))))
438
+   `(gnus-group-news-2-empty ((t (:inherit gnus-group-news-2 :foreground ,base04))))
439
+   `(gnus-group-news-3-empty ((t (:inherit gnus-group-news-3 :foreground ,base04))))
440
+   `(gnus-group-news-4-empty ((t (:inherit gnus-group-news-4 :foreground ,base04))))
441
+   `(gnus-group-news-5-empty ((t (:inherit gnus-group-news-5 :foreground ,base04))))
442
+   `(gnus-group-news-6-empty ((t (:inherit gnus-group-news-6 :foreground ,base04))))
443
+
444
+   `(erc-direct-msg-face ((t (:foreground ,base09))))
445
+   `(erc-error-face ((t (:foreground ,base08))))
446
+   `(erc-header-face ((t (:foreground ,base06 :background ,base04))))
447
+   `(erc-input-face ((t (:foreground ,base0B))))
448
+   `(erc-keyword-face ((t (:foreground ,base0A))))
449
+   `(erc-current-nick-face ((t (:foreground ,base0B))))
450
+   `(erc-my-nick-face ((t (:foreground ,base0B))))
451
+   `(erc-nick-default-face ((t (:weight normal :foreground ,base0E))))
452
+   `(erc-nick-msg-face ((t (:weight normal :foreground ,base0A))))
453
+   `(erc-notice-face ((t (:foreground ,base04))))
454
+   `(erc-pal-face ((t (:foreground ,base09))))
455
+   `(erc-prompt-face ((t (:foreground ,base0D))))
456
+   `(erc-timestamp-face ((t (:foreground ,base0C))))
457
+
458
+   ;; helm
459
+   `(helm-M-x-key ((t (:foreground ,base0C))))
460
+   `(helm-action ((t (:foreground ,base05))))
461
+   `(helm-buffer-directory ((t (:foreground ,base04 :background nil :weight bold))))
462
+   `(helm-buffer-file ((t (:foreground ,base0C))))
463
+   `(helm-buffer-not-saved ((t (:foreground ,base08))))
464
+   `(helm-buffer-process ((t (:foreground ,base03))))
465
+   `(helm-buffer-saved-out ((t (:foreground ,base0F))))
466
+   `(helm-buffer-size ((t (:foreground ,base09))))
467
+   `(helm-candidate-number ((t (:foreground ,base00 :background ,base09))))
468
+   `(helm-ff-directory ((t (:foreground ,base04 :background nil :weight bold))))
469
+   `(helm-ff-executable ((t (:foreground ,base0B))))
470
+   `(helm-ff-file ((t (:foreground ,base0C))))
471
+   `(helm-ff-invalid-symlink ((t (:foreground ,base00 :background ,base08))))
472
+   `(helm-ff-prefix ((t (:foreground nil :background nil))))
473
+   `(helm-ff-symlink ((t (:foreground ,base00 :background ,base0C))))
474
+   `(helm-grep-cmd-line ((t (:foreground ,base0B))))
475
+   `(helm-grep-file ((t (:foreground ,base0C))))
476
+   `(helm-grep-finish ((t (:foreground ,base00 :background ,base09))))
477
+   `(helm-grep-lineno ((t (:foreground ,base03))))
478
+   `(helm-grep-match ((t (:foreground ,base0A))))
479
+   `(helm-grep-running ((t (:foreground ,base09))))
480
+   `(helm-header ((t (:foreground ,base0A :background ,base00 :underline nil))))
481
+   `(helm-match ((t (:foreground ,base0A))))
482
+   `(helm-moccur-buffer ((t (:foreground ,base0C))))
483
+   `(helm-selection ((t (:foreground nil :background ,base02 :underline nil))))
484
+   `(helm-selection-line ((t (:foreground nil :background ,base02))))
485
+   `(helm-separator ((t (:foreground ,base02))))
486
+   `(helm-source-header ((t (:foreground ,base05 :background ,base01 :weight bold))))
487
+   `(helm-visible-mark ((t (:foreground ,base00 :background ,base0B))))
488
+
489
+   `(custom-variable-tag ((t (:foreground ,base0D))))
490
+   `(custom-group-tag ((t (:foreground ,base0D))))
491
+   `(custom-state ((t (:foreground ,base0B)))))
492
+
493
+
494
+  (custom-theme-set-variables
495
+   'base16-onc-light
496
+
497
+   `(ansi-color-names-vector
498
+     ;; black, base08, base0B, base0A, base0D, magenta, cyan, white
499
+     [,base00 ,base08 ,base0B ,base0A ,base0D ,base0E ,base0D ,base05])
500
+   `(ansi-term-color-vector
501
+     ;; black, base08, base0B, base0A, base0D, magenta, cyan, white
502
+     [unspecified ,base00 ,base08 ,base0B ,base0A ,base0D ,base0E ,base0D ,base05])))
503
+
504
+(provide-theme 'base16-onc-light)
505
+
506
+;;; base16-onc-light-theme.el ends here
507
+

Loading…
Cancel
Save