Update some changed export keybindings
[worg.git] / org-color-themes.org
bloba75db76b0c3cf7e1ceabbb85100f0b6400ebd959
1 #+OPTIONS:    H:3 num:nil toc:t \n:nil ::t |:t ^:t -:t f:t *:t tex:t d:(HIDE) tags:not-in-toc
2 #+STARTUP:    align fold nodlcheck hidestars oddeven lognotestate
3 #+SEQ_TODO:   TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
4 #+TAGS:       Write(w) Update(u) Fix(f) Check(c)
5 #+TITLE:      Org Color Themes
6 #+AUTHOR:     Worg people
7 #+EMAIL:      mdl AT imapmail DOT org
8 #+LANGUAGE:   en
9 #+PRIORITIES: A C B
10 #+CATEGORY:   worg
12 # This file is released by its authors and contributors under the GNU
13 # Free Documentation license v1.3 or later, code examples are released
14 # under the GNU General Public License v3 or later.
16 # This file is the default header for new Org files in Worg.  Feel free
17 # to tailor it to your needs.
19 #+MACRO: screenshot #+HTML: <br style="clear:both;"/><div class="figure"><p><img style="float:center;margin:20px 20px 20px 20px;" width="500px" src="$2"/></p><p><a href="https://code.orgmode.org/bzg/worg/raw/master/code/elisp/$1">$1</a></p></div>
21 [[file:index.org][{Back to Worg's index}]]
23 # Contributing Screenshots to this page.
25 # To make an addition to this page
26 # 1) place your screenshot in the /images/screenshots/ directory in the
27 #    base of the worg repository -- or not if you'd rather host the
28 #    image externally
29 # 2) place your color-theme-*.el file in the code/elisp/ directory in
30 #    the base of the worg repository
31 # 3) add a macro call like those shown below passing the name of your
32 #    color theme and the link to your screen-shot respectively to the
33 #    =screenshot= macro
35 * Org Colour Themes
37 #+index: Themes
39 A popular way of customizing Emacs colours is to use the color-theme
40 package (see [[http://www.emacswiki.org/emacs/ColorTheme][color-theme emacswiki page]].)
42 Here is a list of color themes that are aware of Org: You can see
43 screen shots of these themes [[file:./color-themes-screenshot.org][here]]. Once you have installed a theme it
44 is easy to tweak its appearance by editing the theme's lisp file.
46 Some of these themes are available in Worg in the color-themes
47 directory, whilst others are linked either to the author's site, or to
48 Github.
50 There is a page with screenshots of each of the themes [[file:color-themes-screenshot.org][here]] .
52 ** [[http://www.emacswiki.org/emacs/zenburn.el][color-theme-zenburn.el]] (maintained by Daniel Brockman)
53 ** [[http://jaderholm.com/color-themes/color-theme-colorful-obsolescence.el][color-theme-colorful-obsolescence.el]] (Scott Jaderholm)
55 Links to Scott's themes all point directly to his site.
56 ** [[http://jaderholm.com/color-themes/color-theme-wombat.el][color-theme-wombat.el]] (Scott Jaderholm)
58 ** [[http://jaderholm.com/color-themes/color-theme-active.el][color-theme-active.el]] (Scott Jaderholm)
60 ** [[https://github.com/fniessen/color-theme-leuven][color-theme-leuven.el]] (Fabrice Niessen)
62 ** [[file:code/elisp/color-theme-zenburn.el][color-theme-zenburn.el]] (Daniel Brockman Adrian C., Bastien Guerry)
64 ** [[file:code/elisp/color-theme-tangotango.el][color-theme-tangotango.el]] (Julien Barnier)
65 [[http://blog.nozav.org/post/2010/07/12/Updated-tangotango-emacs-color-theme][Link]] to Julien's blog post about tangotango. [[http://github.com/juba/color-theme-tangotango][Link]] to the Github repository.
67 ** [[file:code/elisp/color-theme-folio.el][color-theme-folio.el]] color-theme-folio.el (David O'Toole)
69 ** [[file:code/elisp/color-theme-manoj.el][color-theme-manoj.el]] (maintained by [[http://www.golden-gryphon.com/blog/manoj/blog/2008/05/26/Theming_Emacs/][Memnon]])
71 ** [[file:code/elisp/color-theme-zenash.el][color-theme-zenash.el]] (maintained by Yavuz Arkun)
72 A modified version of zenburn. [[http://github.com/yarkun/zenash][Link]] to the Github repository.
74 ** [[http://github.com/suvayu/.emacs.d/blob/master/lisp/color-theme-dark-emacs.el][color-theme-dark-emacs.el]] (maintained by Suvayu Ali)
75 Based on theme made by the emacswiki user, ZWZ. The original theme can
76 be found [[http://www.emacswiki.org/emacs/zwz][here]]. Suvayu has also made some org-mode font modifications
77 outside of the colour theme, which can be obtained [[http://github.com/suvayu/.emacs.d/blob/master/lisp/org-mode-settings.el][here]]. Suvayu's
78 [[http://github.com/suvayu/.emacs.d/blob/master/init.el][init.el]] gives more information on how to use his customizations.
80 /NB:/ This theme is not maintained anymore, and won't work with the
81 trunk version of Emacs 24.1. Emacs 24.1 removes support for the
82 deprecated 3rd argument form for =face-spec-set=. This breaks the
83 =color-theme= package in general; so instead of waiting for it to be
84 fixed, ~dark-emacs~ is now available as an Emacs 24 custom theme. The
85 latest version can be found [[http://github.com/suvayu/.emacs.d/blob/master/themes/dark-emacs-theme.el][here]].
87 ** [[https://github.com/n3mo/cyberpunk-theme.el][cyberpunk-theme.el]] (Nick Van Horn)
88 Cyberpunk color theme for the emacs 24+ built-in color theme support
89 known loosely as deftheme. The theme is mostly a direct port of the
90 overtone/emacs-live theme of the same name (designed originally for
91 the color-theme package). Many mode-specific customizations,
92 particularly with respect to org-mode, have also been added.
94 ** Installing Org Colour Themes.
95 First make sure that you have the Emacs color-theme package
96 installed. Copy the lisp files for the themes into a directory in your
97 Emacs load path.
99 If you want to be able to easily cycle between different
100 colour schemes, you need something like the following in your .emacs:
102 #+BEGIN_SRC emacs-lisp
103 (require 'color-theme)
104 (setq color-theme-is-global t)
105 (color-theme-initialize)
107 (load "color-theme-colorful-obsolescence")
108 (load "color-theme-zenburn")
109 (load "color-theme-tangotango")
110 (load "color-theme-railscast")
111 (load "color-theme-leuven")
112 (load "color-theme-folio")
113 (load "color-theme-zenash")
114 (load "color-theme-manoj")
116 (setq my-color-themes (list
117   'color-theme-tangotango
118   'color-theme-colorful-obsolescence 'color-theme-zenburn
119   'color-theme-leuven 'color-theme-folio 
120   'color-theme-manoj 'color-theme-zenash
121   'color-theme-railscast
124 (defun my-theme-set-default () ; Set the first row
125       (interactive)
126       (setq theme-current my-color-themes)
127       (funcall (car theme-current)))
128      
129     (defun my-describe-theme () ; Show the current theme
130       (interactive)
131       (message "%s" (car theme-current)))
132      
133    ; Set the next theme (fixed by Chris Webber - tanks)
134     (defun my-theme-cycle ()            
135       (interactive)
136       (setq theme-current (cdr theme-current))
137       (if (null theme-current)
138       (setq theme-current my-color-themes))
139       (funcall (car theme-current))
140       (message "%S" (car theme-current)))
141     
142     (setq theme-current my-color-themes)
143     (setq color-theme-is-global nil) ; Initialization
144     (my-theme-set-default)
145     (global-set-key [f4] 'my-theme-cycle)
146   
147 #+END_SRC
149 Now you can cycle through the installed themes using the F4 key.