~bzg/worg

ref: dea41fec71017fb96e1ba4e408cf900ed0c8bbf4 worg/org-color-themes.org -rw-r--r-- 6.5 KiB
dea41fecRussell Adams Updated expectations for non-subscriber posts to be delayed by moderation. 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#+OPTIONS:    H:3 num:nil toc:t \n:nil ::t |:t ^:t -:t f:t *:t tex:t d:(HIDE) tags:not-in-toc
#+STARTUP:    align fold nodlcheck hidestars oddeven lognotestate
#+SEQ_TODO:   TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
#+TAGS:       Write(w) Update(u) Fix(f) Check(c)
#+TITLE:      Org Color Themes
#+AUTHOR:     Worg people
#+LANGUAGE:   en
#+PRIORITIES: A C B
#+CATEGORY:   worg
#+HTML_LINK_UP:    index.html
#+HTML_LINK_HOME:  https://orgmode.org/worg/

# This file is released by its authors and contributors under the GNU
# Free Documentation license v1.3 or later, code examples are released
# under the GNU General Public License v3 or later.

# This file is the default header for new Org files in Worg.  Feel free
# to tailor it to your needs.

# Contributing Screenshots to this page.
#
# To make an addition to this page
# 1) place your screenshot in the /images/screenshots/ directory in the
#    base of the worg repository -- or not if you'd rather host the
#    image externally
# 2) place your color-theme-*.el file in the code/elisp/ directory in
#    the base of the worg repository
# 3) add a macro call like those shown below passing the name of your
#    color theme and the link to your screen-shot respectively to the
#    =screenshot= macro

* Org Colour Themes

#+index: Themes

A popular way of customizing Emacs colours is to use the color-theme
package (see [[http://www.emacswiki.org/emacs/ColorTheme][color-theme emacswiki page]].)

Here is a list of color themes that are aware of Org: You can see
screen shots of these themes [[file:./color-themes-screenshot.org][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 [[file:color-themes-screenshot.org][here]].

** [[http://www.emacswiki.org/emacs/zenburn.el][color-theme-zenburn.el]] (maintained by Daniel Brockman)
** [[http://jaderholm.com/color-themes/color-theme-colorful-obsolescence.el][color-theme-colorful-obsolescence.el]] (Scott Jaderholm)

Links to Scott's themes all point directly to his site.
** [[http://jaderholm.com/color-themes/color-theme-wombat.el][color-theme-wombat.el]] (Scott Jaderholm)

** [[http://jaderholm.com/color-themes/color-theme-active.el][color-theme-active.el]] (Scott Jaderholm)

** [[https://github.com/fniessen/color-theme-leuven][color-theme-leuven.el]] (Fabrice Niessen)

** [[file:code/elisp/color-theme-zenburn.el][color-theme-zenburn.el]] (Daniel Brockman Adrian C., Bastien Guerry)

** [[file:code/elisp/color-theme-tangotango.el][color-theme-tangotango.el]] (Julien Barnier)
[[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.

** [[file:code/elisp/color-theme-folio.el][color-theme-folio.el]] color-theme-folio.el (David O'Toole)

** [[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]])

** [[file:code/elisp/color-theme-zenash.el][color-theme-zenash.el]] (maintained by Yavuz Arkun)
A modified version of zenburn. [[http://github.com/yarkun/zenash][Link]] to the Github repository.

** [[http://github.com/suvayu/.emacs.d/blob/master/lisp/color-theme-dark-emacs.el][color-theme-dark-emacs.el]] (maintained by Suvayu Ali)
Based on theme made by the emacswiki user, ZWZ. The original theme can
be found [[http://www.emacswiki.org/emacs/zwz][here]]. Suvayu has also made some org-mode font modifications
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
[[http://github.com/suvayu/.emacs.d/blob/master/init.el][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 [[http://github.com/suvayu/.emacs.d/blob/master/themes/dark-emacs-theme.el][here]].

** [[https://github.com/n3mo/cyberpunk-theme.el][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:

#+BEGIN_SRC emacs-lisp
(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)
  
#+END_SRC

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