-
Notifications
You must be signed in to change notification settings - Fork 88
/
gruvbox-light-soft-theme.el
173 lines (144 loc) · 6.53 KB
/
gruvbox-light-soft-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
;;; gruvbox-light-soft-theme.el --- A retro-groove colour theme for Emacs -*- lexical-binding: t -*-
;; Copyright (c) 2013 Lee Machin
;; Copyright (c) 2013-2016 Eduardo Lavaque
;; Copyright (c) 2016-2022 Jason Milkins
;; Copyright (c) 2017-2018 Martijn Terpstra
;; Author: Jason Milkins <[email protected]>
;; (current maintainer)
;;
;; Author-list: Jason Milkins <[email protected]>,
;; Martijn Terpstra,
;; Eduardo Lavaque <[email protected]>,
;; Lee Machin <[email protected]>
;;
;; URL: https://github.com/greduan/emacs-theme-gruvbox
;; Version: 1.30.1
;; Package-Requires: ((autothemer "0.2"))
;;; Commentary:
;; Using autothemer since 1.00
;; A port of the Gruvbox colorscheme for Vim, built on top of the new built-in
;; theme support in Emacs 24.
;;
;; This theme contains my own modifications and it's a bit opinionated
;; sometimes, deviating from the original because of it. I try to stay
;; true to the original as much as possible, however. I only make
;; changes where I would have made the changes on the original.
;;
;; Since there is no direct equivalent in syntax highlighting from Vim to Emacs
;; some stuff may look different, especially in stuff like JS2-mode, where it
;; adds stuff that Vim doesn't have, in terms of syntax.
;;; Credits:
;; Pavel Pertsev created the original theme for Vim, on which this port
;; is based.
;; Lee Machin created the first port of the original theme, which
;; Greduan developed further adding support for several major modes.
;;
;; Jason Milkins (ocodo) has maintained the theme since 2015 and is
;; working with the community to add further mode support and align
;; the project more closely with Vim Gruvbox.
;;; Code:
(eval-when-compile
(require 'cl-lib))
(require 'gruvbox)
(gruvbox-deftheme
gruvbox-light-soft
"A retro-groove colour theme (light version)"
((((class color) (min-colors #xFFFFFF)) ; col 1 GUI/24bit
((class color) (min-colors #xFF))) ; col 2 Xterm/256
(gruvbox-dark0_hard "#f9f5d7" "#ffffd7")
(gruvbox-dark0 "#fbf1c7" "#ffffd7")
(gruvbox-dark0_soft "#f2e5bc" "#ffffd7")
(gruvbox-dark1 "#ebdbb2" "#ffffaf")
(gruvbox-dark2 "#d5c4a1" "#d7d6af")
(gruvbox-dark3 "#bdae93" "#afaf87")
(gruvbox-dark4 "#a89984" "#afafaf")
(gruvbox-gray "#928374" "#8a8a8a")
(gruvbox-light0_hard "#1d2021" "#1c1c1c")
(gruvbox-light0 "#282828" "#262626")
(gruvbox-light1 "#3c3836" "#3a3a3a")
(gruvbox-light2 "#504945" "#4e4e4e")
(gruvbox-light3 "#665c54" "#626262")
(gruvbox-light4 "#7c6f64" "#767676")
(gruvbox-bright_red "#9d0006" "#870000")
(gruvbox-bright_green "#79740e" "#878700")
(gruvbox-bright_yellow "#b57614" "#af8700")
(gruvbox-bright_blue "#076678" "#005f87")
(gruvbox-bright_purple "#8f3f71" "#875f87")
(gruvbox-bright_aqua "#427b58" "#5f8787")
(gruvbox-bright_orange "#af3a03" "#af5f00")
(gruvbox-neutral_red "#9d0006" "#870000")
(gruvbox-neutral_green "#79740e" "#878700")
(gruvbox-neutral_yellow "#b57614" "#af8700")
(gruvbox-neutral_blue "#076678" "#005f87")
(gruvbox-neutral_purple "#8f3f71" "#875f87")
(gruvbox-neutral_aqua "#427b58" "#5f8787")
(gruvbox-neutral_orange "#af3a03" "#af5f00")
(gruvbox-faded_red "#cc241d" "#d75f5f")
(gruvbox-faded_green "#98971a" "#afaf00")
(gruvbox-faded_yellow "#d79921" "#ffaf00")
(gruvbox-faded_blue "#458588" "#87afaf")
(gruvbox-faded_purple "#b16286" "#d787af")
(gruvbox-faded_aqua "#689d6a" "#87af87")
(gruvbox-faded_orange "#d65d0e" "#ff8700")
(gruvbox-dark_red "#421E1E" "#5f0000")
(gruvbox-dark_blue "#2B3C44" "#000087")
(gruvbox-dark_aqua "#36473A" "#005f5f")
(gruvbox-delimiter-one "#458588" "#008787")
(gruvbox-delimiter-two "#b16286" "#d75f87")
(gruvbox-delimiter-three "#8ec07c" "#87af87")
(gruvbox-delimiter-four "#d65d0e" "#d75f00")
(gruvbox-white "#FFFFFF" "#FFFFFF")
(gruvbox-black "#000000" "#000000")
(gruvbox-sienna "#DD6F48" "#d7875f")
(gruvbox-lightblue4 "#66999D" "#5fafaf")
(gruvbox-burlywood4 "#BBAA97" "#afaf87")
(gruvbox-aquamarine4 "#83A598" "#87af87")
(gruvbox-turquoise4 "#61ACBB" "#5fafaf")
(gruvbox-accent-00 "#9d0006" "#870000")
(gruvbox-accent-01 "#79740e" "#878700")
(gruvbox-accent-02 "#b57614" "#af8700")
(gruvbox-accent-03 "#076678" "#005f87")
(gruvbox-accent-04 "#8f3f71" "#875f87")
(gruvbox-accent-05 "#427b58" "#5f8787")
(gruvbox-accent-06 "#af3a03" "#af5f00")
(gruvbox-accent-07 "#9d0006" "#870000")
(gruvbox-accent-08 "#79740e" "#878700")
(gruvbox-accent-09 "#b57614" "#af8700")
(gruvbox-accent-10 "#076678" "#005f87")
(gruvbox-accent-11 "#8f3f71" "#875f87")
(gruvbox-accent-12 "#427b58" "#5f8787")
(gruvbox-accent-13 "#af3a03" "#af5f00")
(gruvbox-accent-14 "#9d0006" "#870000")
(gruvbox-accent-15 "#79740e" "#878700")
(gruvbox-ediff-current-diff-A "#fbc6a3" "#fbc6a3")
(gruvbox-ediff-current-diff-B "#e3f3b5" "#e3f3b5")
(gruvbox-ediff-current-diff-C "#fadccc" "#fadccc")
(gruvbox-ediff-current-diff-Ancestor "#ccc6d1" "#ccc6d1")
(gruvbox-ediff-fine-diff-A "#fbb091" "#fbb091")
(gruvbox-ediff-fine-diff-B "#b6f691" "#b6f691")
(gruvbox-ediff-fine-diff-C "#fbb0d6" "#fbb0d6")
(gruvbox-ediff-fine-diff-Ancestor "#b6b0d6" "#b6b0d6")
(gruvbox-bg gruvbox-dark0_soft)
(gruvbox-bg_inactive gruvbox-dark1))
(custom-theme-set-variables 'gruvbox-light-soft
`(ansi-color-names-vector
[,gruvbox-dark1
,gruvbox-bright_red
,gruvbox-bright_green
,gruvbox-bright_yellow
,gruvbox-bright_blue
,gruvbox-bright_purple
,gruvbox-bright_aqua
,gruvbox-light1])
`(pdf-view-midnight-colors '(,gruvbox-light0 . ,gruvbox-bg))))
;;;###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-light-soft)
;; Local Variables:
;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1))
;; End:
;;; gruvbox-light-theme.el ends here