6.5 KB

#+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 #+EMAIL: mdl AT imapmail DOT org #+LANGUAGE: en #+PRIORITIES: A C B #+CATEGORY: worg # This file is the default header for new Org files in Worg. Feel free # to tailor it to your needs. #+MACRO: screenshot #+HTML:
[[][{Back to Worg's index}]] # 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 [[][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:./][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) ** [[][color-theme-colorful-obsolescence.el]] (Scott Jaderholm) 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) ** [[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) [[][Link]] to Julien's blog post about 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 [[][Memnon]]) ** [[file:code/elisp/color-theme-zenash.el][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: #+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.