TextMatish colors for Emacs
July 23rd, 2007
If you have color-themes package installed and you use Emacs AND you envy those Mac users for ..well, for many things, you might like my initial hack for TextMatish colors. I use it for coding RoR and this is but my initial version, so YMMV.
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 |
(defun color-theme-textmatish ()
"White on black color theme by Edvard Majakari, created 2007-07-23."
(interactive)
(color-theme-install
'(color-theme-textmatish
((background-color . "black")
(background-mode . dark)
(border-color . "white")
(cursor-color . "yellow")
(foreground-color . "white")
(mouse-color . "white"))
((CUA-mode-global-mark-cursor-color . "cyan")
(CUA-mode-normal-cursor-color . "yellow")
(CUA-mode-overwrite-cursor-color . "red")
(CUA-mode-read-only-cursor-color . "green")
(help-highlight-face . underline)
(ibuffer-dired-buffer-face . font-lock-function-name-face)
(ibuffer-help-buffer-face . font-lock-comment-face)
(ibuffer-hidden-buffer-face . font-lock-warning-face)
(ibuffer-occur-match-face . font-lock-warning-face)
(ibuffer-read-only-buffer-face . font-lock-type-face)
(ibuffer-special-buffer-face . font-lock-keyword-face)
(ibuffer-title-face . font-lock-type-face)
(list-matching-lines-face . bold)
(ps-line-number-color . "black")
(ps-zebra-color . 0.95)
(tags-tag-face . default)
(view-highlight-face . highlight)
(widget-mouse-face . highlight))
(default ((t (nil))))
(CUA-global-mark-face ((t (:background "cyan" :foreground "black"))))
(CUA-rectangle-face ((t (:background "maroon" :foreground "white"))))
(CUA-rectangle-noselect-face ((t (:background "dimgray" :foreground "white"))))
(bold ((t (:bold t :weight bold))))
(bold-italic ((t (:italic t :bold t :slant italic :weight bold))))
(border ((t (:background "white"))))
(clearcase-dired-checkedout-face ((t (:foreground "red"))))
(comint-highlight-input ((t (:bold t :weight bold))))
(comint-highlight-prompt ((t (:foreground "cyan"))))
(cursor ((t (:background "yellow"))))
(fixed-pitch ((t (:family "courier"))))
(flash-paren-face-off ((t (nil))))
(flash-paren-face-on ((t (nil))))
(flash-paren-face-region ((t (nil))))
(font-lock-builtin-face ((t (:foreground "Blue"))))
(font-lock-comment-face ((t (:foreground "OrangeRed"))))
(font-lock-constant-face ((t (:foreground "SkyBlue"))))
(font-lock-doc-face ((t (:foreground "Green"))))
(font-lock-function-name-face ((t (:foreground "LightSkyBlue"))))
(font-lock-keyword-face ((t (:foreground "Orange"))))
(font-lock-string-face ((t (:foreground "Green"))))
(font-lock-type-face ((t (:foreground "RoyalBlue"))))
(font-lock-variable-name-face ((t (:foreground "Red"))))
(font-lock-warning-face ((t (:bold t :foreground "Pink" :weight bold))))
(fringe ((t (:background "grey10"))))
(header-line ((t (:box (:line-width -1 :style released-button) :foreground "grey20" :background "grey90" :box nil))))
(highlight ((t (:background "darkolivegreen"))))
(ibuffer-deletion-face ((t (:foreground "red"))))
(ibuffer-marked-face ((t (:foreground "green"))))
(isearch ((t (:background "palevioletred2" :foreground "brown4"))))
(isearch-lazy-highlight-face ((t (:background "paleturquoise4"))))
(italic ((t (:italic t :slant italic))))
(menu ((t (nil))))
(mode-line ((t (:foreground "yellow" :background "darkslateblue" :box (:line-width -1 :style released-button)))))
(mouse ((t (:background "white"))))
(region ((t (:background "blue"))))
(scroll-bar ((t (nil))))
(secondary-selection ((t (:background "darkslateblue"))))
(show-block-face1 ((t (:background "gray10"))))
(show-block-face2 ((t (:background "gray15"))))
(show-block-face3 ((t (:background "gray20"))))
(show-block-face4 ((t (:background "gray25"))))
(show-block-face5 ((t (:background "gray30"))))
(show-block-face6 ((t (:background "gray35"))))
(show-block-face7 ((t (:background "gray40"))))
(show-block-face8 ((t (:background "gray45"))))
(show-block-face9 ((t (:background "gray50"))))
(show-paren-match-face ((t (:background "turquoise"))))
(show-paren-mismatch-face ((t (:background "purple" :foreground "white"))))
(tool-bar ((t (:background "grey75" :foreground "black" :box (:line-width 1 :style released-button)))))
(tooltip ((t (:background "lightyellow" :foreground "black"))))
(trailing-whitespace ((t (:background "red"))))
(underline ((t (:underline t))))
(variable-pitch ((t (:family "helv"))))
(widget-button-face ((t (:bold t :weight bold))))
(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"))))))) |
1 Response to “TextMatish colors for Emacs”
Sorry, comments are closed for this article.

July 23rd, 2007 at 07:15
Hm. All my three recent posts are related to colors which seems like my new obsession thingy, so I guess I should create a new tag for colors :-P