Title | Desription | Author | Created | Modified |
---|---|---|---|---|
Solarized Colors for Haskell |
Precision colors for machines and people, Haskell-format |
Ethan Schoonover, Tobias Florek |
2012 Mar 11 |
2012 Mar 11 |
Solarized is a nice-looking colorscheme. See the Solarized homepage for details. This file simply assigns each color to a haskell variable of the form solarizedColor, where Color is the first-letter-uppercased colorname.
Most colors you see are from vim though.
You can download solarized for other uses from the main Solarized repository. The current version of these files can be found in the solarized-xmonad repository, not that this file will change much.
A minimal ~/.xmonad/xmonad.hs
file might look like that.
import XMonad
import Solarized
main = do
xmonad defaultconfig {
normalBorderColor = solarizedBase01
, focusedBorderColor = solarizedRed
}
To let XMonad find the Solarized module, just copy/link Solarized.hs to
~/.xmonad/lib/
, i.e.:
$ [ -d ~/.xmonad/lib ] || mkdir ~/.xmonad/lib
$ ln -s /path/to/solarized-xmonad/Solarized.hs ~/.xmonad/lib/Solarized.hs