-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathawesome-tray-faces.el
293 lines (243 loc) · 8.92 KB
/
awesome-tray-faces.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
;;; awesome-tray-faces.el --- Faces for Awesome Tray -*-lexical-binding: t; -*-
;;
;; This file is not part of GNU Emacs.
;;
;; 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 GNU Emacs; see the file COPYING. If not, write to the
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;
;;; Commentary:
;;
;; This module provides the faces for Awesome Tray.
;;
;;; Code:
;; Base Faces:
(defface awesome-tray-default-face '((t :inherit default :bold t))
"Face for string constant ouside modules."
:group 'awesome-tray)
(defface awesome-tray-grey-face
'((((background light)) :foreground "dim grey" :bold t)
(t :foreground "dark grey" :bold t))
"Awesome tray grey."
:group 'awesome-tray)
(defface awesome-tray-red-face
'((((background light)) :foreground "#cc2444" :bold t)
(t :foreground "#ff2d55" :bold t))
"Awesome tray red."
:group 'awesome-tray)
(defface awesome-tray-green-face
'((((background light)) :foreground "#00a400" :bold t)
(t :foreground "green3" :bold t))
"Awesome tray green."
:group 'awesome-tray)
(defface awesome-tray-green-path-face
'((((background light)) :foreground "#5e8e2e" :bold t)
(t :foreground "#9ded4d" :bold t))
"Awesome green face for paths."
:group 'awesome-tray)
(defface awesome-tray-blue-face
'((((background light)) :foreground "#2832cc" :bold t)
(t :foreground "#333fff" :bold t))
"Awesome tray blue."
:group 'awesome-tray)
(defface awesome-tray-blue-bright-face
'((((background light)) :foreground "#0061cc" :bold t)
(t :foreground "#007aff" :bold t))
"Date face."
:group 'awesome-tray)
(defface awesome-tray-orange-face
'((((background light)) :foreground "#cc7700" :bold t)
(t :foreground "#ff9500" :bold t))
"Awesome tray orange."
:group 'awesome-tray)
(defface awesome-tray-yellow-face
'((((background light)) :foreground "gold" :bold t)
(t :foreground "yellow" :bold t))
"Awesome tray yellow."
:group 'awesome-tray)
(defface awesome-tray-pink-face
'((((background light)) :foreground "deep pink" :bold t)
(t :foreground "hot pink" :bold t))
"Awesome tab pink."
:group 'awesome-tray)
(defface awesome-tray-magenta-face
'((((background light)) :foreground "dark magenta" :bold t)
(t :foreground "magenta" :bold t))
"Awesome tray magenta."
:group 'awesome-tray)
(defface awesome-tray-cyan-face
'((((background light)) :foreground "#008080" :bold t)
(t :foreground "#00ced1" :bold t))
"Awesome tray cyan."
:group 'awesome-tray)
;; Contextual Faces
(defface awesome-tray-module-git-face
'((((background light)) :inherit awesome-tray-red-face)
(t :inherit awesome-tray-red-face))
"Git face."
:group 'awesome-tray)
(defface awesome-tray-module-awesome-tab-face
'((((background light)) :inherit awesome-tray-pink-face)
(t :inherit awesome-tray-pink-face))
"Awesome tab face."
:group 'awesome-tray)
(defface awesome-tray-module-rvm-face
'((((background light)) :inherit awesome-tray-blue-face)
(t :inherit awesome-tray-blue-face))
"RVM face."
:group 'awesome-tray)
(defface awesome-tray-module-circe-face
'((((background light)) :inherit awesome-tray-blue-face)
(t :inherit awesome-tray-blue-face))
"Circe face."
:group 'awesome-tray)
(defface awesome-tray-module-mode-name-face
'((((background light)) :inherit awesome-tray-green-face)
(t :inherit awesome-tray-green-face))
"Mode name face."
:group 'awesome-tray)
(defface awesome-tray-module-location-face
'((((background light)) :inherit awesome-tray-orange-face)
(t :inherit awesome-tray-orange-face))
"Location face."
:group 'awesome-tray)
(defface awesome-tray-module-location-or-page-face
'((((background light)) :inherit awesome-tray-orange-face)
(t :inherit awesome-tray-orange-face))
"Location or page face."
:group 'awesome-tray)
(defface awesome-tray-module-word-count-face
'((((background light)) :inherit awesome-tray-orange-face)
(t :inherit awesome-tray-orange-face))
"Word count face."
:group 'awesome-tray)
(defface awesome-tray-module-anzu-face
'((((background light)) :inherit awesome-tray-orange-face)
(t :inherit awesome-tray-orange-face))
"Anzu face."
:group 'awesome-tray)
(defface awesome-tray-module-github-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Github face."
:group 'awesome-tray)
(defface awesome-tray-module-hostname-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Hostname face."
:group 'awesome-tray)
(defface awesome-tray-module-volume-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Volume face."
:group 'awesome-tray)
(defface awesome-tray-module-mpd-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Mpd face."
:group 'awesome-tray)
(defface awesome-tray-module-date-face
'((((background light)) :inherit awesome-tray-grey-face)
(t :inherit awesome-tray-grey-face))
"Date face."
:group 'awesome-tray)
(defface awesome-tray-module-celestial-face
'((((background light)) :inherit awesome-tray-grey-face)
(t :inherit awesome-tray-grey-face))
"Celestial lunar phase and sunrise/set face."
:group 'awesome-tray)
(defface awesome-tray-module-last-command-face
'((((background light)) :inherit awesome-tray-blue-bright-face)
(t :inherit awesome-tray-blue-bright-face))
"Date face."
:group 'awesome-tray)
(defface awesome-tray-module-buffer-name-face
'((((background light)) :inherit awesome-tray-orange-face)
(t :inherit awesome-tray-orange-face))
"Buffer name face."
:group 'awesome-tray)
(defface awesome-tray-module-file-path-face
'((((background light)) :inherit awesome-tray-green-path-face)
(t :inherit awesome-tray-green-path-face))
"Parent dir face."
:group 'awesome-tray)
(defface awesome-tray-module-parent-dir-face
'((((background light)) :inherit awesome-tray-green-path-face)
(t :inherit awesome-tray-green-path-face))
"Parent dir face."
:group 'awesome-tray)
(defface awesome-tray-module-awesome-tab-face
'((((background light)) :inherit awesome-tray-pink-face)
(t :inherit awesome-tray-pink-face))
"Awesome tab face."
:group 'awesome-tray)
(defface awesome-tray-module-evil-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Evil state face."
:group 'awesome-tray)
(defface awesome-tray-module-meow-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Meow state face."
:group 'awesome-tray)
(defface awesome-tray-module-battery-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Battery state face."
:group 'awesome-tray)
(defface awesome-tray-module-buffer-read-only-face
'((((background light)) :inherit awesome-tray-red-face)
(t :inherit awesome-tray-red-face))
"Buffer read only face."
:group 'awesome-tray)
(defface awesome-tray-module-belong-face
'((((background light)) :inherit awesome-tray-red-face)
(t :inherit awesome-tray-red-face))
"Buffer read only face."
:group 'awesome-tray)
(defface awesome-tray-module-input-method-face
'((((background light)) :inherit awesome-tray-cyan-face)
(t :inherit awesome-tray-cyan-face))
"Input method face."
:group 'awesome-tray)
(defface awesome-tray-module-clock-face
'((((background light)) :inherit awesome-tray-blue-bright-face)
(t :inherit awesome-tray-blue-bright-face))
"Org clock face."
:group 'awesome-tray)
(defface awesome-tray-module-org-pomodoro-face
'((((background light)) :inherit awesome-tray-magenta-face)
(t :inherit awesome-tray-magenta-face))
"Org-pomodoro face."
:group 'awesome-tray)
(defface awesome-tray-module-pdf-view-page-face
'((((background light)) :inherit awesome-tray-orange)
(t :inherit awesome-tray-pink-face))
"Pdf-view-page face."
:group 'awesome-tray)
(defface awesome-tray-module-flymake-error
'((t :inherit awesome-tray-red-face))
"Flymake error face."
:group 'awesome-tray)
(defface awesome-tray-module-flymake-warning
'((t :inherit awesome-tray-yellow-face))
"Flymake warning face."
:group 'awesome-tray)
(defface awesome-tray-module-flymake-note
'((t :inherit awesome-tray-blue-bright-face))
"Flymake note face."
:group 'awesome-tray)
(provide 'awesome-tray-faces)
;;; awesome-tray-faces.el ends here