Skip to content

Latest commit

 

History

History
147 lines (114 loc) · 6.46 KB

org-color-themes.org

File metadata and controls

147 lines (114 loc) · 6.46 KB

Org Color Themes

#

Org Colour Themes

A popular way of customizing Emacs colours is to use the color-theme package (see color-theme emacswiki page.)

Here is a list of color themes that are aware of Org: You can see screen shots of these themes here. Once you have installed a theme it is easy to tweak its appearance by editing the theme’s lisp file.

Some of these themes are available in Worg in the color-themes directory, whilst others are linked either to the author’s site, or to Github.

There is a page with screenshots of each of the themes here.

color-theme-zenburn.el (maintained by Daniel Brockman)

Links to Scott’s themes all point directly to his site.

color-theme-wombat.el (Scott Jaderholm)

color-theme-active.el (Scott Jaderholm)

color-theme-leuven.el (Fabrice Niessen)

color-theme-zenburn.el (Daniel Brockman Adrian C., Bastien Guerry)

color-theme-tangotango.el (Julien Barnier)

Link to Julien’s blog post about tangotango. Link to the Github repository.

color-theme-folio.el color-theme-folio.el (David O’Toole)

color-theme-zenash.el (maintained by Yavuz Arkun)

A modified version of zenburn. Link to the Github repository.

color-theme-dark-emacs.el (maintained by Suvayu Ali)

Based on theme made by the emacswiki user, ZWZ. The original theme can be found here. Suvayu has also made some org-mode font modifications outside of the colour theme, which can be obtained here. Suvayu’s init.el gives more information on how to use his customizations.

NB: This theme is not maintained anymore, and won’t work with the trunk version of Emacs 24.1. Emacs 24.1 removes support for the deprecated 3rd argument form for face-spec-set. This breaks the color-theme package in general; so instead of waiting for it to be fixed, dark-emacs is now available as an Emacs 24 custom theme. The latest version can be found here.

cyberpunk-theme.el (Nick Van Horn)

Cyberpunk color theme for the emacs 24+ built-in color theme support known loosely as deftheme. The theme is mostly a direct port of the overtone/emacs-live theme of the same name (designed originally for the color-theme package). Many mode-specific customizations, particularly with respect to org-mode, have also been added.

Installing Org Colour Themes.

First make sure that you have the Emacs color-theme package installed. Copy the lisp files for the themes into a directory in your Emacs load path.

If you want to be able to easily cycle between different colour schemes, you need something like the following in your .emacs:

(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-initialize)

(load "color-theme-colorful-obsolescence")
(load "color-theme-zenburn")
(load "color-theme-tangotango")
(load "color-theme-railscast")
(load "color-theme-leuven")
(load "color-theme-folio")
(load "color-theme-zenash")
(load "color-theme-manoj")

(setq my-color-themes (list
  'color-theme-tangotango
  'color-theme-colorful-obsolescence 'color-theme-zenburn
  'color-theme-leuven 'color-theme-folio 
  'color-theme-manoj 'color-theme-zenash
  'color-theme-railscast
))

(defun my-theme-set-default () ; Set the first row
      (interactive)
      (setq theme-current my-color-themes)
      (funcall (car theme-current)))
     
    (defun my-describe-theme () ; Show the current theme
      (interactive)
      (message "%s" (car theme-current)))
     
   ; Set the next theme (fixed by Chris Webber - tanks)
    (defun my-theme-cycle ()		
      (interactive)
      (setq theme-current (cdr theme-current))
      (if (null theme-current)
      (setq theme-current my-color-themes))
      (funcall (car theme-current))
      (message "%S" (car theme-current)))
    
    (setq theme-current my-color-themes)
    (setq color-theme-is-global nil) ; Initialization
    (my-theme-set-default)
    (global-set-key [f4] 'my-theme-cycle)
  

Now you can cycle through the installed themes using the F4 key.