Source

emacs / rc / color-theme.el

Full commit
  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
;; Color theme
(require 'color-theme)
(color-theme-initialize)

(defun color-theme-jmv ()
  "Color theme by awiersma (arjen), updated on 2007-12-03 by Eugene Morozov."
  (interactive)
  (color-theme-install
   '(color-theme-arjen
     ((background-color . "black")
      (background-mode . dark)
      (border-color . "black")
      (cursor-color . "yellow")
      (foreground-color . "White")
      (mouse-color . "sienna1"))
     ((buffers-tab-face . buffers-tab)
      (cperl-here-face . font-lock-string-face)
      (cperl-invalid-face quote underline)
      (cperl-pod-face . font-lock-comment-face)
      (cperl-pod-head-face . font-lock-variable-name-face)
      (vc-mode-face . highlight))
     (default ((t (:background "black" :foreground "white"))))
     (blue ((t (:foreground "blue"))))
     (bold ((t (:bold t))))
     (bold-italic ((t (:bold t))))
     (border-glyph ((t (nil))))
     (buffers-tab ((t (:background "black" :foreground "white"))))
     (calendar-today-face ((t (:underline t))))
     (cperl-array-face ((t (:foreground "darkseagreen"))))
     (cperl-hash-face ((t (:foreground "darkseagreen"))))
     (cperl-nonoverridable-face ((t (:foreground "SkyBlue"))))
     (custom-button-face ((t (nil))))
     (custom-changed-face ((t (:background "blue" :foreground "white"))))
     (custom-documentation-face ((t (nil))))
     (custom-face-tag-face ((t (:underline t))))
     (custom-group-tag-face ((t (:underline t :foreground "light blue"))))
     (custom-group-tag-face-1 ((t (:underline t :foreground "pink"))))
     (custom-invalid-face ((t (:background "red" :foreground "yellow"))))
     (custom-modified-face ((t (:background "blue" :foreground "white"))))
     (custom-rogue-face ((t (:background "black" :foreground "pink"))))
     (custom-saved-face ((t (:underline t))))
     (custom-set-face ((t (:background "white" :foreground "blue"))))
     (custom-state-face ((t (:foreground "lime green"))))
     (custom-variable-button-face ((t (:underline t :bold t))))
     (custom-variable-tag-face ((t (:underline t :foreground "light blue"))))
     (diary-face ((t (:foreground "IndianRed"))))
     (erc-action-face ((t (:bold t))))
     (erc-bold-face ((t (:bold t))))
     (erc-default-face ((t (nil))))
     (erc-direct-msg-face ((t (:foreground "sandybrown"))))
     (erc-error-face ((t (:bold t :foreground "IndianRed"))))
     (erc-input-face ((t (:foreground "Beige"))))
     (erc-inverse-face ((t (:background "wheat" :foreground "darkslategrey"))))
     (erc-notice-face ((t (:foreground "MediumAquamarine"))))
     (erc-pal-face ((t (:foreground "pale green"))))
     (erc-prompt-face ((t (:foreground "MediumAquamarine"))))
     (erc-underline-face ((t (:underline t))))
     (eshell-ls-archive-face ((t (:bold t :foreground "IndianRed"))))
     (eshell-ls-backup-face ((t (:foreground "Grey"))))
     (eshell-ls-clutter-face ((t (:foreground "DimGray"))))
     (eshell-ls-directory-face ((t (:bold t :foreground "MediumSlateBlue"))))
     (eshell-ls-executable-face ((t (:foreground "Coral"))))
     (eshell-ls-missing-face ((t (:foreground "black"))))
     (eshell-ls-picture-face ((t (:foreground "Violet"))))
     (eshell-ls-product-face ((t (:foreground "sandybrown"))))
     (eshell-ls-readonly-face ((t (:foreground "Aquamarine"))))
     (eshell-ls-special-face ((t (:foreground "Gold"))))
     (eshell-ls-symlink-face ((t (:foreground "White"))))
     (eshell-ls-unreadable-face ((t (:foreground "DimGray"))))
     (eshell-prompt-face ((t (:foreground "MediumAquamarine"))))
     (fl-comment-face ((t (:foreground "pink"))))
     (fl-doc-string-face ((t (:foreground "purple"))))
     (fl-function-name-face ((t (:foreground "red"))))
     (fl-keyword-face ((t (:foreground "cadetblue"))))
     (fl-string-face ((t (:foreground "green"))))
     (fl-type-face ((t (:foreground "yellow"))))
     (font-lock-builtin-face ((t (:foreground "LightSteelBlue"))))
     (font-lock-comment-face ((t (:foreground "IndianRed"))))
     (font-lock-constant-face ((t (:foreground "Aquamarine"))))
     (font-lock-doc-string-face ((t (:foreground "DarkOrange"))))
     (font-lock-function-name-face ((t (:foreground "YellowGreen"))))
     (font-lock-keyword-face ((t (:foreground "wheat"))))
     (font-lock-preprocessor-face ((t (:foreground "Aquamarine"))))
     (font-lock-reference-face ((t (:foreground "SlateBlue"))))
     (font-lock-string-face ((t (:foreground "Orange"))))
     (font-lock-type-face ((t (:foreground "Green"))))
     (font-lock-variable-name-face ((t (:foreground "darkseagreen"))))
     (font-lock-warning-face ((t (:bold t :foreground "Pink"))))
     (qt-classes-face ((t (:foreground "Red"))))
     (gnus-cite-attribution-face ((t (nil))))
     (gnus-cite-face-1 ((t (:bold nil :foreground "deep sky blue"))))
     (gnus-cite-face-10 ((t (:foreground "medium purple"))))
     (gnus-cite-face-11 ((t (:foreground "turquoise"))))
     (gnus-cite-face-2 ((t (:bold nil :foreground "cadetblue"))))
     (gnus-cite-face-3 ((t (:bold nil :foreground "gold"))))
     (gnus-cite-face-4 ((t (:foreground "light pink"))))
     (gnus-cite-face-5 ((t (:foreground "pale green"))))
     (gnus-cite-face-6 ((t (:bold nil :foreground "chocolate"))))
     (gnus-cite-face-7 ((t (:foreground "orange"))))
     (gnus-cite-face-8 ((t (:foreground "magenta"))))
     (gnus-cite-face-9 ((t (:foreground "violet"))))
     (gnus-emphasis-bold ((t (:bold nil))))
     (gnus-emphasis-bold-italic ((t (:bold nil))))
     (gnus-emphasis-highlight-words ((t (:background "black" :foreground "yellow"))))
     (gnus-emphasis-italic ((t (nil))))
     (gnus-emphasis-underline ((t (:underline t))))
     (gnus-emphasis-underline-bold ((t (:underline t :bold nil))))
     (gnus-emphasis-underline-bold-italic ((t (:underline t :bold nil))))
     (gnus-emphasis-underline-italic ((t (:underline t))))
     (gnus-group-mail-1-empty-face ((t (:foreground "aquamarine1"))))
     (gnus-group-mail-1-face ((t (:bold nil :foreground "aquamarine1"))))
     (gnus-group-mail-2-empty-face ((t (:foreground "aquamarine2"))))
     (gnus-group-mail-2-face ((t (:bold nil :foreground "aquamarine2"))))
     (gnus-group-mail-3-empty-face ((t (:foreground "aquamarine3"))))
     (gnus-group-mail-3-face ((t (:bold nil :foreground "aquamarine3"))))
     (gnus-group-mail-low-empty-face ((t (:foreground "aquamarine4"))))
     (gnus-group-mail-low-face ((t (:bold nil :foreground "aquamarine4"))))
     (gnus-group-news-1-empty-face ((t (:foreground "PaleTurquoise"))))
     (gnus-group-news-1-face ((t (:bold nil :foreground "PaleTurquoise"))))
     (gnus-group-news-2-empty-face ((t (:foreground "turquoise"))))
     (gnus-group-news-2-face ((t (:bold nil :foreground "turquoise"))))
     (gnus-group-news-3-empty-face ((t (nil))))
     (gnus-group-news-3-face ((t (:bold nil))))
     (gnus-group-news-4-empty-face ((t (nil))))
     (gnus-group-news-4-face ((t (:bold nil))))
     (gnus-group-news-5-empty-face ((t (nil))))
     (gnus-group-news-5-face ((t (:bold nil))))
     (gnus-group-news-6-empty-face ((t (nil))))
     (gnus-group-news-6-face ((t (:bold nil))))
     (gnus-group-news-low-empty-face ((t (:foreground "DarkTurquoise"))))
     (gnus-group-news-low-face ((t (:bold nil :foreground "DarkTurquoise"))))
     (gnus-header-content-face ((t (:foreground "forest green"))))
     (gnus-header-from-face ((t (:bold nil :foreground "spring green"))))
     (gnus-header-name-face ((t (:foreground "deep sky blue"))))
     (gnus-header-newsgroups-face ((t (:bold nil :foreground "purple"))))
     (gnus-header-subject-face ((t (:bold nil :foreground "orange"))))
     (gnus-signature-face ((t (:bold nil :foreground "khaki"))))
     (gnus-splash-face ((t (:foreground "Brown"))))
     (gnus-summary-cancelled-face ((t (:background "black" :foreground "yellow"))))
     (gnus-summary-high-ancient-face ((t (:bold nil :foreground "SkyBlue"))))
     (gnus-summary-high-read-face ((t (:bold nil :foreground "PaleGreen"))))
     (gnus-summary-high-ticked-face ((t (:bold nil :foreground "pink"))))
     (gnus-summary-high-unread-face ((t (:bold nil))))
     (gnus-summary-low-ancient-face ((t (:foreground "SkyBlue"))))
     (gnus-summary-low-read-face ((t (:foreground "PaleGreen"))))
     (gnus-summary-low-ticked-face ((t (:foreground "pink"))))
     (gnus-summary-low-unread-face ((t (nil))))
     (gnus-summary-normal-ancient-face ((t (:foreground "SkyBlue"))))
     (gnus-summary-normal-read-face ((t (:foreground "PaleGreen"))))
     (gnus-summary-normal-ticked-face ((t (:foreground "pink"))))
     (gnus-summary-normal-unread-face ((t (nil))))
     (gnus-summary-selected-face ((t (:underline t))))
     (green ((t (:foreground "green"))))
     (gui-button-face ((t (:background "grey75" :foreground "black"))))
     (gui-element ((t (:background "#D4D0C8" :foreground "black"))))
     (highlight ((t (:background "darkolivegreen"))))
     (highline-face ((t (:background "SeaGreen"))))
     (holiday-face ((t (:background "DimGray"))))
     (info-menu-5 ((t (:underline t))))
     (info-node ((t (:underline t :bold t :foreground "DodgerBlue1"))))
     (info-xref ((t (:underline t :foreground "DodgerBlue1"))))
     (isearch ((t (:background "blue"))))
     (isearch-secondary ((t (:foreground "red3"))))
     (italic ((t (nil))))
     (left-margin ((t (nil))))
     (list-mode-item-selected ((t (:background "gray68" :foreground "white"))))
     (message-cited-text-face ((t (:bold t :foreground "green"))))
     (message-header-cc-face ((t (:bold t :foreground "green4"))))
     (message-header-name-face ((t (:bold t :foreground "orange"))))
     (message-header-newsgroups-face ((t (:bold t :foreground "violet"))))
     (message-header-other-face ((t (:bold t :foreground "chocolate"))))
     (message-header-subject-face ((t (:bold t :foreground "yellow"))))
     (message-header-to-face ((t (:bold t :foreground "cadetblue"))))
     (message-header-xheader-face ((t (:bold t :foreground "light blue"))))
     (message-mml-face ((t (:bold t :foreground "Green3"))))
     (message-separator-face ((t (:foreground "blue3"))))
     (modeline ((t (:background "DarkRed" :foreground "white" :box (:line-width 1 :style released-button)))))
     (modeline-buffer-id ((t (:background "DarkRed" :foreground "white"))))
     (modeline-mousable ((t (:background "DarkRed" :foreground "white"))))
     (modeline-mousable-minor-mode ((t (:background "DarkRed" :foreground "white"))))
     (p4-depot-added-face ((t (:foreground "blue"))))
     (p4-depot-deleted-face ((t (:foreground "red"))))
     (p4-depot-unmapped-face ((t (:foreground "grey30"))))
     (p4-diff-change-face ((t (:foreground "dark green"))))
     (p4-diff-del-face ((t (:foreground "red"))))
     (p4-diff-file-face ((t (:background "gray90"))))
     (p4-diff-head-face ((t (:background "gray95"))))
     (p4-diff-ins-face ((t (:foreground "blue"))))
     (pointer ((t (nil))))
     (primary-selection ((t (:background "blue"))))
     (red ((t (:foreground "red"))))
     (region ((t (:background "blue"))))
     (right-margin ((t (nil))))
     (secondary-selection ((t (:background "darkslateblue"))))
     (show-paren-match-face ((t (:background "Aquamarine" :foreground "SlateBlue"))))
     (show-paren-mismatch-face ((t (:background "Red" :foreground "White"))))
     (text-cursor ((t (:background "yellow" :foreground "black"))))
     (toolbar ((t (nil))))
     (underline ((nil (:underline nil))))
     (vertical-divider ((t (nil))))
     (widget ((t (nil))))
     (widget-button-face ((t (:bold t))))
     (widget-button-pressed-face ((t (:foreground "red"))))
     (widget-documentation-face ((t (:foreground "lime green"))))
     (widget-field-face ((t (:background "dim gray"))))
     (widget-inactive-face ((t (:foreground "light gray"))))
     (widget-single-line-field-face ((t (:background "dim gray"))))
     (woman-bold-face ((t (:bold t))))
     (woman-italic-face ((t (:foreground "beige"))))
     (woman-unknown-face ((t (:foreground "LightSalmon"))))
     (yellow ((t (:foreground "yellow"))))
     (zmacs-region ((t (:background "snow" :foreground "blue")))))))

;; Index for color-theme-colorful-obsolescence by Scott Jaderholm
;;------------------------------------------------------------------------------

;; Overview

;; Latest: http://jaderholm.com/configs/color-theme-colorful-obsolescence.el
;; Screenshot: http://jaderholm.com/photos/screens/colorful-obsolescence.png
;; License: GNU Lesser General Public License 2.1

;; Main features
;; 1. Looks the same in console and graphical
;; 2. Looks good if window is transparent
;; 3. Has org-mode faces

;; For console you'll need the following colors:
;;    Black 0,0,0 #000000
;;    Black Bold 85,85,85 #555555
;;    Red 238,60,60 #ee3c3c
;;    Red Bold 255,85,85 #ff5555
;;    Green 0,187,0 #00bb00
;;    Green Bold 85,255,85 #55ff55
;;    Yellow* 255,217,85 #ffd955
;;    Yellow Bold 255,255,85 #ffff55
;;    Blue 85,85,255 #5555ff
;;    Blue Bold 0,142,209 #008ed1
;;    Magenta 150,81,204 #9651cc
;;    Magenta Bold 255,85,255 #ff55ff
;;    Cyan* 0,139,139 #008b8b
;;    Cyan Bold* 0,255,255 #00ffff
;;    White 187,187,187 #bbbbbb
;;    White Bold 255,255,255 #ffffff
;;    Default Foreground 187,187,187 #bbbbbb
;;    Default Bold Foreground 255,255,255 #ffffff
;;    Default Background 0,0,0 #000000
;;    Default Bold Background 85,85,85 #555555
;;    Cursor Text 0,0,0 #000000
;;    Cursor Colour 255,255,255 #ffffff

(defun color-theme-colorful-obsolescence ()
  "Color theme Colorful Obsolescence by Scott Jaderholm, created 2007-01-05."
  (interactive)
  (let ((color-theme-is-cumulative nil))

;;-----------------------------------------------------------------------------
;; Window system
;;-----------------------------------------------------------------------------
(if window-system
    (color-theme-install
     '(color-theme-colorful-obsolescence

;;-----------------------------------------------------------------------------
;; General
;;-----------------------------------------------------------------------------
       ((background-color . "black")
	(background-mode . dark)
	(background-toolbar-color . "black")
	(border-color . "black")
	(bottom-toolbar-shadow-color . "black")
	(cursor-color	. "white")
	(foreground-color . "#bbb")
	(top-toolbar-shadow-color . "#111"))
       (default ((t (nil))))
       (button ((t (:bold t))))
       (fringe ((t (:background "#000" :foreground "#444"))))

;;-----------------------------------------------------------------------------
;; Main colors
;;-----------------------------------------------------------------------------
;; Strongest color (bright green)
     (font-lock-function-name-face ((t (:foreground "#55ff55"))))
     (org-scheduled-today ((t (:inherit font-lock-function-name-face))))
     (org-special-keyword ((t (:inherit font-lock-function-name-face))))
     (org-tag ((t (:inherit font-lock-function-name-face))))

;; Pleasure-to-read color (light blue)
     (font-lock-comment-face ((t (:foreground "#008ed1"))))
     (font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))
     (org-level-3 ((t (:inherit font-lock-comment-face))))
     (org-agenda-structure ((t (:inherit font-lock-comment-face))))
     (compilation-info ((t (:inherit font-lock-comment-face))))
     (custom-variable-tag ((t (:inherit font-lock-comment-face :weight bold))))
     (custom-face-tag-face ((t (:inherit custom-variable-tag))))
     (eshell-ls-directory ((t (:inherit font-lock-comment-face))))
     (ido-subdir ((t (:inherit font-lock-comment-face))))
     (dired-directory ((t (:inherit font-lock-comment-face))))
     (slime-repl-prompt-face ((t (:inherit font-lock-comment-face))))
     (nxml-comment-content-face ((t (:inherit font-lock-comment-face))))

;; Strong text highlight 1 (white)
     (ido-first-match ((t (:foreground "white"))))
     (show-paren-match-face ((t (:inherit ido-first-match :weight bold))))
     (calendar-today ((t (:inherit ido-first-match))))
     (org-ellipsis ((t (:inherit ido-first-match))))
     (eshell-prompt ((t (:inherit ido-first-match))))
     (speedbar-highlight-face ((t (:inherit ido-first-match :weight bold))))
     (dired-header ((t (:inherit ido-first-match))))
     (link ((t (:inherit ido-first-match :underline t))))
     (widget-link ((t (:inherit link))))
     (custom-link ((t (:inherit link))))
     (org-link ((t (:inherit link))))
     ;; (modeline-buffer-id ((t (:inherit ido-first-match))))


;; Strong text highlight 2 (light green)
     (font-lock-type-face ((t (:foreground "#b9FC6D"))))
     (org-level-5 ((t (:inherit font-lock-type-face))))
     (ido-only-match ((t (:inherit font-lock-type-face))))
     (mode-line-highlight ((t (:inherit font-lock-type-face))))
;; TODO this needs to be distinct but not distracting, and work fine inactive

     (custom-documentation ((t (:inherit font-lock-type-face))))
     (speedbar-tag-face ((t (:inherit font-lock-type-face :height 0.9))))
     (slime-repl-inputed-output-face ((t (:inherit font-lock-type-face))))
     (info-xref-face ((t (:inherit font-lock-type-face))))

;; Subdued text highlighting 1
     (font-lock-doc-face ((t (:foreground "#777"))))
     (minibuffer-prompt ((t (:inherit font-lock-doc-face))))
     (minibuffer-noticeable-prompt ((t (:inherit font-lock-doc-face))))
     (modeline-mousable ((t (:inherit font-lock-doc-face))))
     (modeline-mousable-minor-mode ((t (:inherit font-lock-doc-face))))
     (custom-state ((t (:inherit font-lock-doc-face))))
     (org-date ((t (:inherit font-lock-doc-face))))


;; Subdued text highlighting 2

     (org-table ((t (:foreground "#555"))))
     (org-time-grid ((t (:inherit org-table))))
     (org-done ((t (:inherit org-table :weight bold))))
     (org-headline-done ((t (:inherit org-table))))
     (speedbar-separator-face ((t (:inherit org-table :background "#555" :height 0.9))))
     (nxml-delimiter-face ((t (:inherit org-table))))
     (nxml-element-local-name-face ((t (:inherit org-table :weight normal))))
     (nxml-tag-slash-face ((t (:inherit org-table))))

;; light red
       (font-lock-keyword-face ((t (:foreground "#ff5555"))))
       (org-todo ((t (:inherit font-lock-keyword-face))))
       (org-upcoming-deadline ((t (:inherit font-lock-keyword-face))))

;; Strong but not overbearing (dark blue)
     (font-lock-builtin-face ((t (:foreground "#5555ff"))))
     (org-level-1 ((t (:inherit font-lock-builtin-face))))

;; dark purple
     (font-lock-constant-face ((t (:foreground "#9651cc"))))
     (org-level-6 ((t (font-lock-constant-face))))
     (css-property ((t (:inherit font-lock-constant-face))))

;; light yellow
     (font-lock-string-face ((t (:foreground "#ffff55"))))
     (org-level-2 ((t (:inherit font-lock-string-face :weight bold))))
     (css-selector ((t (:inherit font-lock-string-face))))
     (nxml-attribute-value-face ((t (:inherit font-lock-string-face))))
     ;; TODO refactor to big heading
     (custom-group-tag ((t (:inherit font-lock-string-face
			    :height 1.2 :weight bold))))


;; bright purple
     (font-lock-variable-name-face ((t (:foreground "#ff55ff"))))
     (org-level-4 ((t (:inherit font-lock-variable-name-face))))

;; Bright box highlight, you could try #555 instead of #777
       (isearch ((t (:background "#777" :foreground "white"))))
       (highlight ((t (:inherit isearch))))
       (match ((t (:inherit isearch))))
       (speedbar-selected-face ((t (:inherit isearch :weight bold :height 0.9))))
       (search-buffers-face ((t (:inherit isearch))))
       (tabbar-selected-face ((t (:inherit isearch :height 0.8))))

;; Subdued box highlight 1
       (region ((t (:background "#333"))))
       (secondary-selection ((t (:inherit region))))
       (modeline ((t (:inherit region))))
       (lazy-highlight-face ((t (:inherit modeline))))
       (isearch-lazy-highlight-face ((t (:inherit modeline))))
       (dired-flagged ((t (:inherit modeline))))
       (tabbar-unselected-face ((t (:inherit modeline :height 0.8))))
       (tool-bar ((t (:inherit modeline))))
       (menu ((t (:inherit modeline))))
       (custom-button ((t (:inherit modeline :weight bold))))
       (custom-button-pressed ((t (:inherit custom-button))))
       (custom-button-mouse ((t (:inherit region :foreground "white" :weight bold))))
       (flyspell-incorrect ((t (:inherit region))))
       (flyspell-duplicate ((t (:inherit region))))
       (search-buffers-header-face ((t (:inherit modeline))))
       (header-line ((t (:inherit modeline))))

;; Subdued box highlight 2
       (highline-face ((t (:background "#222"))))
       (widget-field-face ((t (:inherit highline-face :foreground "#555" ))))
       (org-column ((t (:inherit highline-face :foreground "white"))))
       (tabbar-separator-face ((t (:inherit highline-face :height 0.7))))
       ;; Needs to inherit from variable pitch to avoid "---------"
       (tabbar-default-face ((t (:inherit variable-pitch :background "#222" :height 0.8))))
       (tabbar-button-face ((t (:inherit highline-face :height 0.8))))




;; Fail/warning
       (isearch-fail ((t (:foreground "#ee3c3c" :underline t))))
       (show-paren-mismatch-face ((t (:inherit isearch-fail))))
       (org-warning ((t (:inherit isearch-fail :underline nil))))
       (eshell-ls-archive ((t (:inherit isearch-fail :underline nil))))
       (rng-error-face ((t (:inherit isearch-fail))))

;; Green
       (org-scheduled ((t (:foreground "#00bb00"))))
       (org-scheduled-previously ((t (:inherit org-scheduled))))
       (org-special-keyword ((t (:inherit org-scheduled))))
       (nxml-attribute-local-name-face ((t (:inherit org-scheduled))))

;; Small font
       (speedbar-file-face ((t (:height 0.9))))

;; Faces no thank you
       (org-done-headline ((t ())))
       (mlinks-link ((t ())))
       (nxml-prolog-keyword-face ((t ())))
       (nxml-prolog-literal-content-face ((t ())))
       (nxml-text-face ((t ())))

;; Background color
       (org-hide ((t (:foreground "black"))))

;; Misc
       (tooltip ((t (:foreground "#333"))))
       (mode-line-inactive ((t (:background "#111" :foreground "#444"))))
       (speedbar-directory-face ((t (:background "grey10" :foreground "grey50" :height 0.9))))

))


;;-----------------------------------------------------------------------------
;; Console
;;-----------------------------------------------------------------------------
;; This will only look good with the colors mentioned in Overview
     (color-theme-install
      '(color-theme-colorful-obsolescence

       ((background-color . "black")
	(background-mode . dark)
	(foreground-color . "white"))
       (default ((t (nil))))
      (custom-group-tag ((t (:foreground "white" :weight bold))))
      (font-lock-comment-face ((t (:foreground "blue" :weight bold))))
      (font-lock-keyword-face ((t (:foreground "red" :weight bold))))
      (font-lock-string-face ((t (:foreground "yellow" :weight bold))))
      (font-lock-variable-name-face ((t (:foreground "magenta" :weight bold))))
      (font-lock-constant-face ((t (:foreground "magenta" :weight bold))))
      (font-lock-doc-face ((t (:foreground "cyan"))))
      (isearch ((t (:background "cyan" :foreground "white" :weight bold))))
      (isearch-lazy-highlight ((t (:background "magenta" :foreground "white" ))))
      (highlight ((t (:background "cyan" :foreground "white" :weight bold))))
      (region ((t (:background "magenta"))))
      (lazy-highlight-face ((t (:background "magenta" :foreground "white"))))
      (ido-subdir-face ((t (:foreground "blue" :weight bold))))
      (isearch ((t (:background "cyan" :foreground "white" :weight bold))))
      (isearch-lazy-highlight ((t (:background "magenta" :foreground "white"))))
      (menu ((t (:background "black" :weight bold))))
      (mode-line ((t (:background "black"))))
      (org-date ((t (:foreground "cyan" :underline t :weight bold))))
      (org-level-1 ((t (:foreground "blue"))))
      (org-level-3 ((t (:foreground "blue" :weight bold))))
      (org-level-4 ((t (:foreground "magenta" :weigh100 13165  100 13165    0     0  18973      0 --:--:-- --:--:-- --:--:-- 38049
t bold))))
      (org-link ((t (:foreground "white" :weight bold))))
      (org-scheduled-previously ((t (:foreground "green"))))
      (org-scheduled-today ((t (:foreground "green" :weight bold))))
      (org-special-keyword ((t (:foreground "green" :weight bold))))
      (org-table ((t (:foreground "black" :weight bold))))
      (org-tag ((t (:foreground "green" :underline t :weight bold))))
      (org-time-grid ((t (:foreground "black" :weight bold))))
      (org-todo ((t (:foreground "red" :weight bold))))
      (org-upcoming-deadline ((t (:foreground "red"))))
      (show-paren-match-face ((t (:foreground "white" :weight bold))))
      (eshell-prompt-face ((t (:foreground "white" :weight bold))))
      (eshell-ls-archive-face ((t (:foreground "red"))))
      (eshell-ls-directory-face ((t (:foreground "blue" :weight bold))))
      ))

     )))


(setq my-color-themes '(color-theme-andreas color-theme-jmv color-theme-charcoal-black))
(set-face-attribute 'default nil :height 100)

(color-theme-jmv)