emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bastien <bzg@altern.org>
Cc: zedek@gnu-rox.org, emacs-orgmode@gnu.org
Subject: Re: Org-mode with color-theme.el
Date: Thu, 5 Apr 2007 18:54:20 +0200	[thread overview]
Message-ID: <c4b47fb0de5d14c7843c173139694193@science.uva.nl> (raw)
In-Reply-To: <87lkh7yvcc.fsf@bzg.ath.cx>


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

      parent reply	other threads:[~2007-04-05 18:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 14:20 Org-mode with color-theme.el Jason F. McBrayer
2007-03-31 11:04 ` Bastien
2007-03-31 11:35   ` Jason F. McBrayer
2007-03-31 20:12     ` Xavier Maillard
2007-04-03 12:53       ` Jason F. McBrayer
2007-04-01 11:50     ` Jason F. McBrayer
2007-04-01 15:32       ` Carsten Dominik
2007-04-03 17:11         ` Scott Jaderholm
2007-04-05 10:22         ` Bastien
2007-04-05 10:43           ` Bastien
2007-04-05 14:11             ` David O'Toole
2007-04-05 14:12               ` David O'Toole
2007-04-05 15:12               ` Bastien
2007-04-05 15:34                 ` Carsten Dominik
2007-04-05 16:54           ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4b47fb0de5d14c7843c173139694193@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=zedek@gnu-rox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).