How it started
I recently made an emacs theme with dark looks, thought it would be good to share with others. I love the look and feel of emacs when run inside the terminal. So I was looking for a way to get a dark look for my emacs when I was using the gui. A helpful emacswiki user (ZWZ) pointed me to a theme he had worked on, so I started off from there.
Mostly I wanted a theme that would make the transition from the terminal to gui seem seamless.
How to use?
color-theme from http://www.nongnu.org/color-theme/. And go ahead and grab dark-emacs from my github repo. Put it in, say
~/.emacs.d/, and call it from your init file (e.g.
~/.emacs) like this,
;; colour themes using color-theme.el (load-file "~/.emacs.d/color-theme-dark-emacs.el")
Dark Emacs was made for the gui, so it doesn’t quite look good in the terminal. So you might want to call it with something like this,
(eval-after-load "color-theme" (progn (setq color-theme-is-global nil) (when (window-system) ; needed for the first frame (color-theme-dark-emacs) ))) (add-hook 'after-make-frame-functions '(lambda (f) (with-selected-frame f (if (window-system f) (color-theme-dark-emacs) ))))
Have fun and save energy by keeping it dark. 😉
Here are some screenshots with the theme for some commonly used Emacs modes to give you some idea.
If you want the cool keyword/tag fontification in
org-mode, you might want to use something like the following;
;; TODO keyword faces (setq org-todo-keyword-faces '(("PBUG" . (:background "gold" :foreground "indianred3" :weight bold)) ("CBUG" . (:background "gold" :foreground "indianred3" :weight bold)) ("SEGF" . (:background "gold" :foreground "indianred3" :weight bold)) ("CNCL" . (:background "snow3" :foreground "black" :weight bold)) )) ;; TAG faces (setq org-tag-faces '(("PROJ" :background "indianred3" :foreground "cornsilk2" :weight bold) ))