Setup themes
Solarized by Ethan Schoonover is wonderful, and I use it almost everywhere, just like DejaVu fonts.
In spacemacs I set it up like this:
(defun dotspacemacs/user-init ()
(setq-default
dotspacemacs-themes '(solarized-dark
solarized-light)
dotspacemacs-default-font '("DejaVu Sans Mono for Powerline"
:size 24
:weight normal
:width normal
:powerline-scale 1.6)
solarized-use-variable-pitch nil
solarized-scale-org-headlines nil
solarized-height-minus-1 1
solarized-height-plus-1 1
solarized-height-plus-2 1
solarized-height-plus-3 1
solarized-height-plus-4 1
))
This keeps all headings for org-mode
at the same font size, which guarantees that your fill-column
marker and tags are properly aligned across headings of different levels. It also makes navigating org
files more pleasant in general, as the buffer is truly monospaced again and your cursor doesn’t take any detours.
I suspect there are similar heading font size settings for other themes, but I haven’t investigated that.
Cycle themes
With the setting above you also get the light theme, which is useful for bright days, presentations, and presentations on bright days. SPC T n
cycles through the two themes.
Note: if you use org-bullets, then you will notice that the hidden *s become visible upon switching the theme, because they still have the background color of the opposite theme. This can be remedied by saving the file and reloading it via SPC b R
.