This is an alternate Emacs color-theme version of Ethan Schoonover's popular "Solarized" theme pair.
If you have Emacs 24, which includes package.el, you can just install the theme using the packages on marmalade-repo.org or Melpa.
Make sure you have something like the following in your Emacs startup
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
To make that take effect, either evaluate that elisp expression or restart your Emacs.
M-x package-list-packages, select
color-theme-sanityinc-solarized from the list by pressing
x to execute the changes. At that point, the package will be
Add the directory containing this README to your Emacs
require the main file:
(add-to-list 'load-path "/dir/containing/color-theme-sanityinc-solarized") (require 'color-theme-sanityinc-solarized)
In recent versions of Emacs which have good built-in theme support,
you can just use
M-x customize-themes to select themes.
In older versions, you'll need to install the venerable
color-theme.el package first, and require it explicitly.
Either way, the following command sequences should work in order to activate one or other of the themes:
M-x color-theme-sanityinc-solarized-light M-x color-theme-sanityinc-solarized-dark
See the Solarized page for more info.
Thanks to Greg Pfeil for
color-theme-solarized, of which these
themes are a different formulation, providing a different set of faces
and a few different choices. You might want to use his version
Note that, depending on your version of Emacs, the colors in this
theme may not be rendered accurately. See, for example,
this OS X Emacs bug. A
controls whether or not RGB color literals used by Emacs are treated
as sRGB; consider adjusting this value if the rendered colors don't
quite match those on the solarized page.