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 package on MELPA.
Add the directory containing this README to your Emacs load-path
,
and 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
instead.
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
customizable value color-theme-sanityinc-solarized-rgb-is-srgb
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.