On Apr 5, 2007, at 12:22, Bastien wrote:
Of course, org could itself contain at least to faces-schemes: one for
white background, one for dark background. The good new is that the
current faces seem to be okay for both !
The faces in org already have different definitions for light and dark
backgrounds, and even different values for terminals with only 8 colors
and for black-and-white terminals. This is not something you see when
using customize, but if you look in the source file, you see something
like:
(defface org-level-1
(org-compatible-face
'((((class color) (min-colors 88) (background light))
(:foreground "Blue1"))
(((class color) (min-colors 88) (background dark))
(:foreground "LightSkyBlue"))
(((class color) (min-colors 16) (background light))
(:foreground "Blue"))
(((class color) (min-colors 16) (background dark))
(:foreground "LightSkyBlue"))
(((class color) (min-colors 8))
(:foreground "blue" :bold t))
(t (:bold t))))
"Face used for level 1 headlines."
:group 'org-faces)
org-compatible-face is a function translating an Emacs definition
to the XEmacs syntax where necessary.
Most of these faces I simply stole from font-lock.el
- Carsten
_______________________________________________
Emacs-orgmode mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode