40

GitHub - purcell/color-theme-sanityinc-solarized: A pair of Emacs color themes b...

 5 years ago
source link: https://github.com/purcell/color-theme-sanityinc-solarized
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.markdown

Melpa Status Melpa Stable Status Support me

Another Emacs Solarized Theme pair

This is an alternate Emacs color-theme version of Ethan Schoonover's popular "Solarized" theme pair.

Installation

Via ELPA

If you have Emacs 24, which includes package.el, you can just install the theme using the package on MELPA.

Manually

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)

Usage

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

Background info

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.


Steve Purcell's blog // @sanityinc on Twitter


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK