You may have noticed that I became a fan of solarized color palette by Ethan Schoonover used for terminal and gui applications. You will therefore not be too surprised when I describe how to install it and use in Emacs text editor.
Solarized dark theme.
Solarized light theme.
Download color scheme
Emacs color theme is available at sellout/emacs-color-theme-solarized GitHub repository by Greg Pfeil, so download it as a
$ wget https://github.com/sellout/emacs-color-theme-solarized/archive/master.zip
Install color scheme
~/.emacs.d/ directory as it will be used to store user specific configuration.
$ mkdir -p ~/.emacs.d
Unzip downloaded color scheme.
$ unzip master.zip -d ~/.emacs.d/ Archive: master.zip 6a2c7ca0181585858e6e8054cb99db837e2ef72f creating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/ extracting: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/.gitignore inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/LICENSE inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/README.md inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/color-theme-solarized-pkg.el inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/color-theme-solarized.el inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/makepkg.sh inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/solarized-dark-theme.el inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/solarized-definitions.el inflating: /home/milosz/.emacs.d/emacs-color-theme-solarized-master/solarized-light-theme.el
Load selected color scheme
Edit Emacs configuration to load and apply selected color scheme.
$ cat ~/.emacs
;; load solarized color theme (add-to-list 'load-path "~/.emacs.d/emacs-color-theme-solarized-master/") (require 'color-theme) (require 'color-theme-solarized) (color-theme-initialize) ;; set dark theme (color-theme-solarized-dark) ;; set light theme ;; (color-theme-solarized-light)
Check out bbatsov/solarized-emacs GitHub repository by Bozhidar Batsov for alternative Solarized color theme ported to Emacs.
Please notice that I am currently using the following Emacs version from the official Debian repository.
$ emacs --version GNU Emacs 23.4.1 Copyright (C) 2012 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
Official solarized color scheme ia available at altercation/solarized GitHub repository.