-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgruvbox-dark-theme.el
547 lines (480 loc) · 34.1 KB
/
gruvbox-dark-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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
;;; gruvbox-dark-theme.el --- A retro groove color theme for GNU Emacs
;; Copyright (c) 2016 Dario Gjorgjevski
;; Author: Dario Gjorgjevski <[email protected]>
;; URL: http://github.com/d125q/gruvbox-dark-emacs
;; Version: 0.1
;; 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:
;; The gruvbox colors ported to Emacs. Built on top of the new built-in theme
;; support in Emacs 24.
;;; Credits:
;; Pavel Pertsev created the original gruvbox theme for the Vim editor. This
;; port is based entirely on his work.
;;; Code:
(unless (>= emacs-major-version 24)
(error "Requires Emacs 24 or later"))
(deftheme gruvbox-dark "A retro groove color theme")
(defun gruvbox--get-color (graphic-color terminal-color)
"Switch between GRAPHIC-COLOR (for GUI) and TERMINAL-COLOR (for terminals)."
(if (display-graphic-p) graphic-color terminal-color))
(let ((gruvbox-dark0_h (gruvbox--get-color "#1d2021" "color-234"))
(gruvbox-dark0 (gruvbox--get-color "#282828" "color-235"))
(gruvbox-dark0_s (gruvbox--get-color "#32302f" "color-236"))
(gruvbox-dark1 (gruvbox--get-color "#3c3836" "color-237"))
(gruvbox-dark2 (gruvbox--get-color "#504945" "color-239"))
(gruvbox-dark3 (gruvbox--get-color "#665c54" "color-241"))
(gruvbox-dark4 (gruvbox--get-color "#7c6f64" "color-243"))
(gruvbox-light0_h (gruvbox--get-color "#ffffc8" "color-230"))
(gruvbox-light0 (gruvbox--get-color "#fdf4c1" "color-229"))
(gruvbox-light0_s (gruvbox--get-color "#f4e8ba" "color-228"))
(gruvbox-light1 (gruvbox--get-color "#ebdbb2" "color-223"))
(gruvbox-light2 (gruvbox--get-color "#d5c4a1" "color-250"))
(gruvbox-light3 (gruvbox--get-color "#bdae93" "color-248"))
(gruvbox-light4 (gruvbox--get-color "#a89984" "color-246"))
(gruvbox-bright_red (gruvbox--get-color "#fb4933" "color-167"))
(gruvbox-bright_green (gruvbox--get-color "#b8bb26" "color-142"))
(gruvbox-bright_yellow (gruvbox--get-color "#fabd2f" "color-214"))
(gruvbox-bright_blue (gruvbox--get-color "#83a598" "color-109"))
(gruvbox-bright_purple (gruvbox--get-color "#d3869b" "color-175"))
(gruvbox-bright_aqua (gruvbox--get-color "#8ec07c" "color-108"))
(gruvbox-bright_orange (gruvbox--get-color "#fe8019" "color-208"))
(gruvbox-bright_gray (gruvbox--get-color "#a89984" "color-246"))
(gruvbox-neutral_red (gruvbox--get-color "#cc241d" "color-124"))
(gruvbox-neutral_green (gruvbox--get-color "#98971a" "color-106"))
(gruvbox-neutral_yellow (gruvbox--get-color "#d79921" "color-172"))
(gruvbox-neutral_blue (gruvbox--get-color "#458588" "color-66"))
(gruvbox-neutral_purple (gruvbox--get-color "#b16286" "color-132"))
(gruvbox-neutral_aqua (gruvbox--get-color "#689d6a" "color-72"))
(gruvbox-neutral_orange (gruvbox--get-color "#d65d0e" "color-166"))
(gruvbox-neutral_gray (gruvbox--get-color "#928374" "color-245"))
(gruvbox-faded_red (gruvbox--get-color "#9d0006" "color-88"))
(gruvbox-faded_green (gruvbox--get-color "#79740e" "color-100"))
(gruvbox-faded_yellow (gruvbox--get-color "#b57614" "color-136"))
(gruvbox-faded_blue (gruvbox--get-color "#076678" "color-24"))
(gruvbox-faded_purple (gruvbox--get-color "#8f3f71" "color-96"))
(gruvbox-faded_aqua (gruvbox--get-color "#427b58" "color-66"))
(gruvbox-faded_orange (gruvbox--get-color "#af3a03" "color-130"))
(gruvbox-faded_gray (gruvbox--get-color "#7c6f64" "color-243")))
(custom-theme-set-faces
'gruvbox-dark
;; basic coloring
'(button ((t (:underline t))))
`(link ((t (:foreground ,gruvbox-bright_blue :weight bold :underline t))))
`(link-visited ((t (:foreground ,gruvbox-bright_purple :weight bold :underline t))))
`(default ((t (:background ,gruvbox-dark0 :foreground ,gruvbox-light1))))
`(cursor ((t (:background ,gruvbox-light1))))
`(escape-glyph ((t (:foreground ,gruvbox-bright_aqua))))
`(trailing-whitespace ((t (:background ,gruvbox-bright_red))))
`(fringe ((t (:foreground ,gruvbox-light3))))
`(header-line ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-bright_yellow))))
`(vertical-border ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-dark4))))
`(highlight ((t (:background ,gruvbox-dark2))))
`(lazy-highlight ((t (:background ,gruvbox-bright_yellow :foreground ,gruvbox-dark0))))
`(success ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(warning ((t (:foreground ,gruvbox-bright_orange :weight bold))))
`(error ((t (:foreground ,gruvbox-bright_red :weight bold))))
`(match ((t (:background ,gruvbox-bright_orange :foreground ,gruvbox-dark0))))
`(shadow ((t (:foreground ,gruvbox-neutral_gray))))
`(mode-line ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-light1))))
`(mode-line-inactive ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-dark4))))
`(mode-line-buffer-id ((t (:foreground ,gruvbox-bright_aqua :weight bold))))
`(mode-line-highlight ((t (:box (:line-width -1 :color ,gruvbox-bright_gray :style released-button)))))
`(region ((t (:inverse-video t))))
`(secondary-selection ((t (:background ,gruvbox-dark0_s))))
`(minibuffer-prompt ((t (:background ,gruvbox-dark0 :foreground ,gruvbox-bright_green :weight bold))))
`(menu ((t (:background ,gruvbox-dark2 :foreground ,gruvbox-light1))))
`(tooltip ((t (:background ,gruvbox-dark2 :foreground ,gruvbox-light1))))
;; hl-line-mode
`(hl-line-face ((t (:background ,gruvbox-dark1))))
`(hl-line ((t (:background ,gruvbox-dark1)))) ; old Emacsen
;; font lock
`(font-lock-builtin-face ((t (:foreground ,gruvbox-bright_orange))))
`(font-lock-comment-face ((t (:foreground ,gruvbox-neutral_gray))))
`(font-lock-comment-delimiter-face ((t (:foreground ,gruvbox-faded_green))))
`(font-lock-constant-face ((t (:foreground ,gruvbox-bright_purple))))
`(font-lock-doc-face ((t (:foreground ,gruvbox-light4))))
`(font-lock-function-name-face ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(font-lock-keyword-face ((t (:foreground ,gruvbox-bright_red))))
`(font-lock-negation-char-face ((t (:foreground ,gruvbox-bright_yellow :weight bold))))
`(font-lock-preprocessor-face ((t (:foreground ,gruvbox-bright_aqua))))
`(font-lock-regexp-grouping-construct ((t (:foreground ,gruvbox-bright_aqua :weight bold))))
'(font-lock-regexp-grouping-backslash ((t (:inherit font-lock-regexp-grouping-construct))))
`(font-lock-string-face ((t (:foreground ,gruvbox-bright_green))))
`(font-lock-type-face ((t (:foreground ,gruvbox-bright_yellow))))
`(font-lock-variable-name-face ((t (:foreground ,gruvbox-bright_blue))))
`(font-lock-warning-face ((t (:foreground ,gruvbox-bright_red :weight bold))))
`(c-nonbreakable-space-face ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0))))
;; whitespace-mode
`(whitespace-space ((t (:foreground ,gruvbox-bright_gray))))
`(whitespace-hspace ((t (:foreground ,gruvbox-bright_gray))))
`(whitespace-tab ((t (:foreground ,gruvbox-bright_gray))))
`(whitespace-newline ((t (:foreground ,gruvbox-bright_gray))))
`(whitespace-trailing ((t (:foreground ,gruvbox-bright_red))))
`(whitespace-line ((t (:foreground ,gruvbox-bright_red))))
`(whitespace-space-before-tab ((t (:foreground ,gruvbox-bright_gray))))
`(whitespace-indentation ((t (:foreground ,gruvbox-dark2))))
`(whitespace-empty ((t (:foreground ,gruvbox-bright_red))))
`(whitespace-space-after-tab ((t (:foreground ,gruvbox-bright_gray))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,gruvbox-bright_orange))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,gruvbox-bright_blue))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,gruvbox-bright_yellow))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,gruvbox-bright_purple))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,gruvbox-bright_green))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,gruvbox-bright_red))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,gruvbox-faded_orange))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,gruvbox-faded_blue))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,gruvbox-faded_yellow))))
`(rainbow-delimiters-depth-10-face ((t (:foreground ,gruvbox-faded_purple))))
`(rainbow-delimiters-depth-11-face ((t (:foreground ,gruvbox-faded_green))))
`(rainbow-delimiters-depth-12-face ((t (:foreground ,gruvbox-faded_red))))
`(rainbow-delimiters-unmatched-face ((t (:foreground ,gruvbox-light1))))
;; linum{,-relative}
`(linum ((t (:foreground ,gruvbox-dark4))))
`(linum-relative-current-face ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-bright_yellow))))
;; compilation
`(compilation-column-number ((t (:foreground ,gruvbox-bright_aqua))))
`(compilation-enter-directory-face ((t (:foreground ,gruvbox-bright_green))))
'(compilation-error ((t (:inherit error))))
`(compilation-info ((t (:foreground ,gruvbox-bright_blue :underline t))))
`(compilation-leave-directory-face ((t (:foreground ,gruvbox-bright_blue))))
`(compilation-line-number ((t (:foreground ,gruvbox-bright_yellow))))
'(compilation-warning ((t (:inherit warning))))
`(compilation-mode-line-exit ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(compilation-mode-line-fail ((t (:foreground ,gruvbox-bright_red :weight bold))))
`(compilation-mode-line-run ((t (:foreground ,gruvbox-bright_orange :weight bold))))
;; highlight-indentation-mode
`(highlight-indentation-current-column-face ((t (:background ,gruvbox-dark3))))
`(highlight-indentation-face ((t (:background ,gruvbox-dark2))))
;; show-paren-mode
`(show-paren-match ((t (:background ,gruvbox-dark3 :weight bold))))
`(show-paren-mismatch ((t (:foreground ,gruvbox-bright_red :weight bold))))
;; smartparens-mode
'(sp-show-pair-match-face ((t (:inherit show-paren-match))))
'(sp-show-pair-mismatch-face ((t (:inherit show-paren-mismatch))))
;; completions
`(completions-annotations ((t (:foreground ,gruvbox-light4))))
;; grep
`(grep-context-face ((t (:foreground ,gruvbox-light1))))
`(grep-error-face ((t (:foreground ,gruvbox-bright_red :weight bold :underline t))))
`(grep-hit-face ((t (:foreground ,gruvbox-bright_blue))))
`(grep-match-face ((t (:foreground ,gruvbox-bright_orange :weight bold))))
;; isearch
`(isearch ((t (:background ,gruvbox-bright_orange :foreground ,gruvbox-dark0))))
`(isearch-fail ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0))))
;; buffer-menu
`(buffer-menu-buffer ((t (:foreground ,gruvbox-bright_aqua :weight bold))))
;; ido-mode
`(ido-first-match ((t (:foreground ,gruvbox-bright_yellow :weight bold))))
`(ido-only-match ((t (:foreground ,gruvbox-bright_orange :weight bold))))
`(ido-subdir ((t (:foreground ,gruvbox-neutral_blue :weight bold))))
`(ido-indicator ((t (:background ,gruvbox-bright_yellow :foreground ,gruvbox-dark0 :width condensed))))
;; message-mode
'(message-cited-text ((t (:inherit font-lock-comment-face))))
'(message-header-name ((t (:inherit font-lock-comment-face))))
`(message-header-other ((t (:foreground ,gruvbox-bright_aqua :weight bold))))
`(message-header-to ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(message-header-cc ((t (:foreground ,gruvbox-bright_blue :weight bold))))
`(message-header-newsgroups ((t (:foreground ,gruvbox-bright_yellow :weight bold))))
`(message-header-subject ((t (:foreground ,gruvbox-bright_orange :weight bold))))
`(message-header-xheader ((t (:foreground ,gruvbox-bright_purple :weight bold))))
`(message-mml ((t (:foreground ,gruvbox-bright_yellow :weight bold))))
'(message-separator ((t (:inherit font-lock-comment-face))))
;; gnus
'(gnus-group-mail-1 ((t (:weight bold :inherit gnus-group-mail-1-empty))))
'(gnus-group-mail-1-empty ((t (:inherit gnus-group-news-1-empty))))
'(gnus-group-mail-2 ((t (:weight bold :inherit gnus-group-mail-2-empty))))
'(gnus-group-mail-2-empty ((t (:inherit gnus-group-news-2-empty))))
'(gnus-group-mail-3 ((t (:weight bold :inherit gnus-group-mail-3-empty))))
'(gnus-group-mail-3-empty ((t (:inherit gnus-group-news-3-empty))))
'(gnus-group-mail-4 ((t (:weight bold :inherit gnus-group-mail-4-empty))))
'(gnus-group-mail-4-empty ((t (:inherit gnus-group-news-4-empty))))
'(gnus-group-mail-5 ((t (:weight bold :inherit gnus-group-mail-5-empty))))
'(gnus-group-mail-5-empty ((t (:inherit gnus-group-news-5-empty))))
'(gnus-group-mail-6 ((t (:weight bold :inherit gnus-group-mail-6-empty))))
'(gnus-group-mail-6-empty ((t (:inherit gnus-group-news-6-empty))))
'(gnus-group-mail-low ((t (:weight bold :inherit gnus-group-mail-low-empty))))
'(gnus-group-mail-low-empty ((t (:inherit gnus-group-news-low-empty))))
'(gnus-group-news-1 ((t (:weight bold :inherit gnus-group-news-1-empty))))
'(gnus-group-news-2 ((t (:weight bold :inherit gnus-group-news-2-empty))))
'(gnus-group-news-3 ((t (:weight bold :inherit gnus-group-news-3-empty))))
'(gnus-group-news-4 ((t (:weight bold :inherit gnus-group-news-4-empty))))
'(gnus-group-news-5 ((t (:weight bold :inherit gnus-group-news-5-empty))))
'(gnus-group-news-6 ((t (:weight bold :inherit gnus-group-news-6-empty))))
'(gnus-group-news-low ((t (:weight bold :inherit gnus-group-news-low-empty))))
'(gnus-header-content ((t (:inherit message-header-other))))
'(gnus-header-from ((t (:inherit message-header-other))))
'(gnus-header-name ((t (:inherit message-header-name))))
'(gnus-header-newsgroups ((t (:inherit message-header-newsgroups))))
'(gnus-header-subject ((t (:inherit message-header-subject))))
`(gnus-server-opened ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(gnus-server-denied ((t (:foreground ,gruvbox-bright_red :weight bold))))
`(gnus-server-closed ((t (:foreground ,gruvbox-bright_blue :slant italic))))
`(gnus-server-offline ((t (:foreground ,gruvbox-bright_yellow :weight bold))))
`(gnus-server-agent ((t (:foreground ,gruvbox-bright_aqua :weight bold))))
`(gnus-summary-cancelled ((t (:foreground ,gruvbox-bright_red :weight bold))))
`(gnus-summary-high-ancient ((t (:foreground ,gruvbox-bright_blue :weight bold))))
`(gnus-summary-high-read ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(gnus-summary-high-ticked ((t (:foreground ,gruvbox-bright_orange :weight bold))))
`(gnus-summary-high-unread ((t (:foreground ,gruvbox-light1 :weight bold))))
`(gnus-summary-low-ancient ((t (:foreground ,gruvbox-neutral_blue))))
`(gnus-summary-low-read ((t (:foreground ,gruvbox-neutral_green))))
`(gnus-summary-low-ticked ((t (:foreground ,gruvbox-neutral_orange))))
`(gnus-summary-low-unread ((t (:foreground ,gruvbox-light2))))
`(gnus-summary-normal-ancient ((t (:foreground ,gruvbox-bright_blue))))
`(gnus-summary-normal-read ((t (:foreground ,gruvbox-bright_green))))
`(gnus-summary-normal-ticked ((t (:foreground ,gruvbox-bright_orange))))
`(gnus-summary-normal-unread ((t (:foreground ,gruvbox-light1))))
`(gnus-summary-selected ((t (:foreground ,gruvbox-bright_yellow :weight bold))))
`(gnus-cite-1 ((t (:foreground ,gruvbox-bright_orange))))
`(gnus-cite-10 ((t (:foreground ,gruvbox-neutral_green))))
`(gnus-cite-11 ((t (:foreground ,gruvbox-faded_orange))))
`(gnus-cite-2 ((t (:foreground ,gruvbox-bright_blue))))
`(gnus-cite-3 ((t (:foreground ,gruvbox-bright_yellow))))
`(gnus-cite-4 ((t (:foreground ,gruvbox-bright_purple))))
`(gnus-cite-5 ((t (:foreground ,gruvbox-bright_green))))
`(gnus-cite-6 ((t (:foreground ,gruvbox-neutral_orange))))
`(gnus-cite-7 ((t (:foreground ,gruvbox-neutral_blue))))
`(gnus-cite-8 ((t (:foreground ,gruvbox-neutral_yellow))))
`(gnus-cite-9 ((t (:foreground ,gruvbox-neutral_purple))))
'(gnus-cite-attribution ((t (:slant italic))))
`(gnus-group-news-1-empty ((t (:foreground ,gruvbox-bright_yellow))))
`(gnus-group-news-2-empty ((t (:foreground ,gruvbox-bright_green))))
`(gnus-group-news-3-empty ((t (:foreground ,gruvbox-neutral_green))))
`(gnus-group-news-4-empty ((t (:foreground ,gruvbox-neutral_blue))))
`(gnus-group-news-5-empty ((t (:foreground ,gruvbox-faded_blue))))
`(gnus-group-news-6-empty ((t (:foreground ,gruvbox-light2))))
`(gnus-group-news-low-empty ((t (:foreground ,gruvbox-light2))))
`(gnus-signature ((t (:foreground ,gruvbox-bright_red))))
`(mm-command-ouput ((t (:foreground ,gruvbox-bright_yellow))))
`(mm-uu-extract ((t (:background ,gruvbox-dark0_h :foreground ,gruvbox-bright_yellow))))
;; wid-edit
'(widget-button ((t (:weight bold))))
`(widget-button-pressed ((t (:foreground ,gruvbox-bright_purple :underline t))))
`(widget-documentation ((t (:foreground ,gruvbox-bright_green))))
`(widget-field ((t (:background ,gruvbox-dark2 :foreground ,gruvbox-light1))))
'(widget-inactive ((t (:inherit shadow))))
'(widget-single-line-field ((t (:inherit widget-field))))
;; custom-mode
`(custom-state ((t (:foreground ,gruvbox-bright_green))))
`(custom-group-tag ((t (:foreground ,gruvbox-bright_aqua :weight bold :height 1.2 :inherit variable-pitch))))
`(custom-group-tag-1 ((t (:foreground ,gruvbox-neutral_purple :inherit custom-group-tag))))
`(custom-variable-tag ((t (:foreground ,gruvbox-bright_aqua :weight bold :inherit variable-pitch))))
`(custom-visibility ((t (:foreground ,gruvbox-bright_orange :height 0.8))))
`(custom-button ((t (:background ,gruvbox-light2 :foreground ,gruvbox-dark0
:box (:line-width 1 :style released-button)))))
`(custom-button-mouse ((t (:background ,gruvbox-light3 :foreground ,gruvbox-dark0
:box (:line-width 1 :style released-button)))))
`(custom-button-pressed ((t (:background ,gruvbox-light3 :foreground ,gruvbox-dark0
:box (:line-width 1 :style pressed-button)))))
`(custom-button-pressed-unraised ((t (:foreground ,gruvbox-bright_purple :inherit custom-button-unraised))))
'(custom-button-unraised ((t (:inherit underline))))
'(custom-comment ((t (:inherit widget-single-line-field))))
'(custom-comment-tag ((t (:inherit font-lock-comment-face))))
`(custom-changed ((t (:background ,gruvbox-bright_blue :foreground ,gruvbox-dark0))))
'(custom-themed ((t (:inherit custom-changed))))
'(custom-modified ((t (:inherit custom-changed))))
`(custom-set ((t (:foreground ,gruvbox-bright_blue))))
`(custom-invalid ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0))))
`(custom-rogue ((t (:background ,gruvbox-bright_orange :foreground ,gruvbox-dark0))))
;; ediff
`(ediff-current-diff-A ((t (:background ,gruvbox-faded_red :foreground ,gruvbox-light1))))
`(ediff-current-diff-Ancestor ((t (:background ,gruvbox-faded_red :foreground ,gruvbox-light1))))
`(ediff-current-diff-B ((t (:background ,gruvbox-faded_green :foreground ,gruvbox-light1))))
`(ediff-current-diff-C ((t (:background ,gruvbox-faded_aqua :foreground ,gruvbox-light1))))
`(ediff-even-diff-A ((t (:background ,gruvbox-dark1))))
`(ediff-even-diff-Ancestor ((t (:background ,gruvbox-dark1))))
`(ediff-even-diff-B ((t (:background ,gruvbox-dark1))))
`(ediff-even-diff-C ((t (:background ,gruvbox-dark1))))
`(ediff-fine-diff-A ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0 :weight bold))))
`(ediff-fine-diff-Ancestor ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0 :weight bold))))
`(ediff-fine-diff-B ((t (:background ,gruvbox-bright_green :foreground ,gruvbox-dark0 :weight bold))))
`(ediff-fine-diff-C ((t (:background ,gruvbox-bright_aqua :foreground ,gruvbox-dark0 :weight bold))))
`(ediff-odd-diff-A ((t (:background ,gruvbox-dark2))))
`(ediff-odd-diff-Ancestor ((t (:background ,gruvbox-dark2))))
`(ediff-odd-diff-B ((t (:background ,gruvbox-dark2))))
`(ediff-odd-diff-C ((t (:background ,gruvbox-dark2))))
;; diff
`(diff-added ((t (:background ,gruvbox-faded_green :foreground ,gruvbox-light1))))
`(diff-changed ((t (:background ,gruvbox-faded_aqua :foreground ,gruvbox-light1))))
`(diff-removed ((t (:background ,gruvbox-faded_red :foreground ,gruvbox-light1))))
`(diff-refine-added ((t (:background ,gruvbox-bright_green :foreground ,gruvbox-dark0 :weight bold))))
`(diff-refine-changed ((t (:background ,gruvbox-bright_aqua :foreground ,gruvbox-dark0 :weight bold))))
`(diff-refine-removed ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0 :weight bold))))
`(diff-header ((t (:background ,gruvbox-dark1))))
`(diff-file-header ((t (:background ,gruvbox-dark2 :weight bold))))
;; anzu
`(anzu-match-1 ((t (:background ,gruvbox-bright_green :foreground ,gruvbox-dark0))))
`(anzu-match-2 ((t (:background ,gruvbox-bright_yellow :foreground ,gruvbox-dark0))))
`(anzu-match-3 ((t (:background ,gruvbox-bright_aqua :foreground ,gruvbox-dark0))))
`(anzu-mode-line ((t (:foreground ,gruvbox-bright_purple :weight bold))))
`(anzu-replace-to ((t (:foreground ,gruvbox-bright_yellow))))
;; company-mode
`(company-tooltip ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-light1))))
`(company-tooltip-annotation ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-bright_orange))))
'(company-tooltip-annotation-selection ((t (:inverse-video t :inherit company-tooltip-annotation))))
'(company-tooltip-selection ((t (:inverse-video t :inherit company-tooltip))))
`(company-tooltip-mouse ((t (:background ,gruvbox-dark2 :foreground ,gruvbox-light1))))
`(company-tooltip-common ((t (:foreground ,gruvbox-bright_green))))
'(company-tooltip-common-selection ((t (:inverse-video t :inherit company-tooltip-common))))
`(company-scrollbar-fg ((t (:background ,gruvbox-light1))))
`(company-scrollbar-bg ((t (:background ,gruvbox-light3))))
`(company-template-field ((t (:background ,gruvbox-bright_yellow :foreground ,gruvbox-dark0))))
`(company-preview ((t (:foreground ,gruvbox-bright_aqua))))
'(company-preview-common ((t (:inherit company-preview))))
`(company-preview-search ((t (:background ,gruvbox-bright_aqua :foreground ,gruvbox-dark0))))
;; AUCTeX
`(font-latex-bold-face ((t (:foreground ,gruvbox-neutral_green :inherit bold))))
`(font-latex-doctex-documentation-face ((t (:background ,gruvbox-dark0_h))))
`(font-latex-italic-face ((t (:foreground ,gruvbox-neutral_green :inherit italic))))
`(font-latex-math-face ((t (:foreground ,gruvbox-bright_yellow))))
`(font-latex-sectioning-5-face ((t (:foreground ,gruvbox-bright_yellow :weight bold :inherit variable-pitch))))
`(font-latex-sedate-face ((t (:foreground ,gruvbox-bright_aqua))))
'(font-latex-slide-title-face ((t (:height 1.2 :inherit font-latex-sectioning-5-face))))
`(font-latex-string-face ((t (:foreground ,gruvbox-neutral_purple))))
`(font-latex-verbatim-face ((t (:slant italic :inherit fixed-pitch))))
'(font-latex-warning-face ((t (:inherit font-lock-warning-face))))
;; flyspell-mode
`(flyspell-duplicate
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_orange)))
(t (:underline ,gruvbox-bright_red))))
`(flyspell-incorrect
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_red)))
(t (:underline ,gruvbox-bright_orange))))
;; flymake-mode
`(flymake-errline
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_red)))
(t (:underline ,gruvbox-bright_red))))
`(flymake-warnline
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_orange)))
(t (:underline ,gruvbox-bright_orange))))
`(flymake-infoline
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_green)))
(t (:underline ,gruvbox-bright_green))))
;; flycheck-mode
`(flycheck-error
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_red)))
(t (:underline ,gruvbox-bright_red))))
`(flycheck-warning
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_orange)))
(t (:underline ,gruvbox-bright_orange))))
`(flycheck-info
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_green)))
(t (:underline ,gruvbox-bright_green))))
'(flycheck-fringe-error ((t (:inherit error))))
'(flycheck-fringe-warning ((t (:inherit warning))))
'(flycheck-fringe-info ((t (:inherit success))))
'(flycheck-error-list-line-number ((t (:inherit compilation-line-number))))
'(flycheck-error-list-column-number ((t (:inherit compilation-column-number))))
;; comint
'(comint-highlight-input ((t (:weight bold))))
`(comint-highlight-prompt ((t (:foreground ,gruvbox-bright_aqua))))
;; SLIME
'(slime-repl-input-face ((t (:weight bold))))
`(slime-repl-inputed-output-face ((t (:foreground ,gruvbox-bright_red))))
`(slime-repl-output-face ((t (:foreground ,gruvbox-bright_green))))
`(slime-repl-output-mouseover-face ((t (:box (:line-width -1 :color ,gruvbox-bright_gray :style released-button)
:inherit slime-repl-output-face))))
`(slime-repl-prompt-face ((t (:foreground ,gruvbox-bright_aqua))))
`(slime-repl-result-face ((t (:foreground ,gruvbox-bright_purple))))
`(slime-error-face
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_red)))
(t (:underline ,gruvbox-bright_red))))
`(slime-warning-face
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_orange)))
(t (:underline ,gruvbox-bright_orange))))
`(slime-style-warning-face
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_yellow)))
(t (:underline ,gruvbox-bright_yellow))))
`(slime-note-face
((((supports :underline (:style wave)))
(:underline (:style wave :color ,gruvbox-bright_green)))
(t (:underline ,gruvbox-bright_green))))
;; avy
'(avy-background-face ((t (:inherit shadow))))
'(avy-goto-char-timer-face ((t (:inherit highlight))))
`(avy-lead-face ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0 :weight bold))))
`(avy-lead-face-0 ((t (:background ,gruvbox-bright_yellow :foreground ,gruvbox-dark0 :weight bold))))
`(avy-lead-face-1 ((t (:background ,gruvbox-bright_aqua :foreground ,gruvbox-dark0 :weight bold))))
`(avy-lead-face-2 ((t (:background ,gruvbox-bright_purple :foreground ,gruvbox-dark0 :weight bold))))
;; ESS
`(ess-bp-fringe-browser-face ((t (:foreground ,gruvbox-neutral_blue))))
`(ess-bp-fringe-inactive-face ((t (:foreground ,gruvbox-dark4))))
`(ess-bp-fringe-logger-face ((t (:foreground ,gruvbox-bright_orange))))
`(ess-bp-fringe-recover-face ((t (:foreground ,gruvbox-bright_purple))))
`(ess-debug-blink-ref-not-found-face ((t (:background ,gruvbox-bright_red :foreground ,gruvbox-dark0))))
`(ess-debug-blink-same-ref-face ((t (:background ,gruvbox-bright_blue :foreground ,gruvbox-dark0))))
'(ess-debug-current-debug-line-face ((t (:inherit highlight))))
`(ess-tracebug-last-input-fringe-face ((t (:foreground ,gruvbox-neutral_blue :overline ,gruvbox-neutral_blue))))
'(ess-watch-current-block-face ((t (:inherit highlight))))
;; undo-tree-mode
`(undo-tree-visualizer-active-branch-face ((t (:foreground ,gruvbox-light1 :weight bold))))
`(undo-tree-visualizer-current-face ((t (:foreground ,gruvbox-bright_red))))
`(undo-tree-visualizer-default-face ((t (:foreground ,gruvbox-dark4))))
`(undo-tree-visualizer-register-face ((t (:foreground ,gruvbox-bright_yellow))))
`(undo-tree-visualizer-unmodified-face ((t (:foreground ,gruvbox-bright_aqua))))
;; dired{,+}
`(dired-directory ((t (:foreground ,gruvbox-neutral_blue :weight bold))))
`(dired-flagged ((t (:foreground ,gruvbox-bright_red :weight bold :underline t))))
`(dired-header ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-bright_yellow))))
'(dired-ignored ((t (:inherit shadow))))
`(dired-mark ((t (:foreground ,gruvbox-bright_green :weight bold))))
`(dired-marked ((t (:foreground ,gruvbox-bright_purple :weight bold))))
`(dired-perm-write ((t (:foreground ,gruvbox-bright_yellow))))
`(dired-symlink ((t (:foreground ,gruvbox-neutral_aqua :slant italic))))
`(dired-warning ((t (:foreground ,gruvbox-bright_orange :underline t))))
`(diredp-autofile-name ((t (:foreground ,gruvbox-light2))))
`(diredp-compressed-file-name ((t (:foreground ,gruvbox-neutral_red :weight bold))))
`(diredp-compressed-file-suffix ((t (:foreground ,gruvbox-neutral_red :weight bold))))
`(diredp-date-time ((t (:foreground ,gruvbox-bright_yellow))))
`(diredp-deletion ((t (:foreground ,gruvbox-bright_red :weight bold :underline t))))
`(diredp-deletion-file-name ((t (:foreground ,gruvbox-bright_red :weight bold :underline t))))
`(diredp-dir-heading ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-bright_yellow))))
`(diredp-dir-name ((t (:foreground ,gruvbox-neutral_blue :weight bold))))
`(diredp-dir-priv ((t (:foreground ,gruvbox-neutral_blue))))
`(diredp-exec-priv ((t (:foreground ,gruvbox-neutral_green))))
`(diredp-executable-tag ((t (:foreground ,gruvbox-neutral_green))))
`(diredp-file-name ((t (:foreground ,gruvbox-light1))))
`(diredp-file-suffix ((t (:foreground ,gruvbox-bright_green))))
`(diredp-flag-mark ((t (:background ,gruvbox-dark1 :foreground ,gruvbox-bright_purple))))
`(diredp-flag-mark-line ((t (:background ,gruvbox-dark1))))
'(diredp-ignored-file-name ((t (:inherit shadow))))
`(diredp-link-priv ((t (:foreground ,gruvbox-neutral_aqua))))
`(diredp-mode-line-flagged ((t (:foreground ,gruvbox-bright_red :weight bold))))
`(diredp-mode-line-marked ((t (:foreground ,gruvbox-bright_purple :weight bold))))
`(diredp-no-priv ((t (:foreground ,gruvbox-light1))))
`(diredp-number ((t (:foreground ,gruvbox-bright_purple))))
`(diredp-other-priv ((t (:foreground ,gruvbox-light1))))
`(diredp-rare-priv ((t (:foreground ,gruvbox-neutral_red))))
`(diredp-read-priv ((t (:foreground ,gruvbox-neutral_purple))))
`(diredp-symlink ((t (:foreground ,gruvbox-neutral_aqua :slant italic))))
`(diredp-tagged-autofile-name ((t (:background ,gruvbox-dark0_s :foreground ,gruvbox-light2))))
`(diredp-write-priv ((t (:foreground ,gruvbox-neutral_orange))))))
;;;###autoload
(and load-file-name
(boundp 'custom-theme-load-path)
(add-to-list 'custom-theme-load-path
(file-name-as-directory
(file-name-directory load-file-name))))
(provide-theme 'gruvbox-dark)
;;; gruvbox-dark-theme.el ends here