Original at Solarized Colorscheme for Emacs
-
If
emacs24
not installed$ sudo apt-add-repository ppa:cassou/emacs $ sudo apt-get install emacs24
-
install
color-theme-solarized
$ git clone https://github.com/sellout/emacs-color-theme-solarized.git; $ sudo mv emacs-color-theme-solarized ~/.emacs.d/emacs-color-theme-solarized
$ cd ~/.emacs.d;
$ git submodule add https://github.com/sellout/emacs-color-theme-solarized.git;
OR
install from marmalade using :
package-install color-theme-solarized
-
Add
(load-theme 'solarized-[light|dark] t)
to your emacs init file.The final
.emacs.d/init.el
looks as :(add-to-list 'custom-theme-load-path "~/.emacs.d/emacs-color-theme-solarized")
(load-theme 'solarized-dark t)
-
Reload the init file, or restart emacs24.
- Download and install [color-theme].
- Add the
emacs-color-theme-solarized
directory to your Emacsload-path
. - Add
(require 'color-theme-solarized)
to your Emacs init file (usually~/.emacs
). - Reload the init file, or restart Emacs.
- Use the usual [color-theme] mechanism to select one of the Solarized themes, or
M-x color-theme-solarized-[light|dark]
.
Solarized will work out of the box with just the instructions specified above but does include several variables that can be customized.
variable name default optional
--------------------------------------------
solarized-termcolors = 16 | 256
solarized-degrade = nil | t
solarized-bold = t | nil
solarized-underline = t | nil
solarized-italic = t | nil
solarized-contrast = normal| high, low
solarized-visibility = normal| high, low
solarized-broken-srgb= nil | t (see details for Mac behavior)
--------------------------------------------