From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: org-mode color schemes with white or light background and black foregroung Date: Tue, 4 May 2010 08:57:02 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0659274726==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9GkR-0005ca-4K for emacs-orgmode@gnu.org; Tue, 04 May 2010 07:57:11 -0400 Received: from [140.186.70.92] (port=36861 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9GkO-0005cA-PK for emacs-orgmode@gnu.org; Tue, 04 May 2010 07:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9GkM-0000p2-C8 for emacs-orgmode@gnu.org; Tue, 04 May 2010 07:57:08 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:48486) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9GkM-0000oa-1j for emacs-orgmode@gnu.org; Tue, 04 May 2010 07:57:06 -0400 Received: by pxi15 with SMTP id 15so1924802pxi.0 for ; Tue, 04 May 2010 04:57:04 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org --===============0659274726== Content-Type: multipart/alternative; boundary=0016e64aedd65cca790485c3685e --0016e64aedd65cca790485c3685e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Some time ago Carsten sent a file with with his colours patterns with black background. I would like to know if someone has a similar pattern when using black foregroung and a lighter backgroung (not necessarily white). Could you share it with us? Daniel 2010/5/4 S=E9bastien Vauban > Hi Mikael, > > Mikael Fornius wrote: > > I have not tried it but I found this variable: > > > > org-agenda-deadline-faces > > > > "Faces for showing deadlines in the agenda." > > > > maybe it solves your problem? > > Excellent hint... > > > I've customized it that way: > > --8<---------------cut here---------------start------------->8--- > (setq org-agenda-deadline-faces > '((1.1 . sva-org-deadline-yesterday) > (1.0 . sva-org-deadline-today) > (0.5 . sva-org-deadline-tomorrow) > (0.0 . sva-org-deadline-later))) > --8<---------------cut here---------------end--------------->8--- > > and have added the following colors in my theme: > > --8<---------------cut here---------------start------------->8--- > (sva-org-deadline-yesterday ((t (:foreground "white" :background > "rgb:D8/00/00" :weight bold)))) > (sva-org-deadline-today ((t (:foreground "white" :background > "rgb:E9/A3/6A" :weight bold)))) > (sva-org-deadline-tomorrow ((t (:foreground "black" :background > "#B4F1B3" :weight bold)))) > (sva-org-deadline-later ((t (:foreground "black" :background > "#AACAFC")))) > --8<---------------cut here---------------end--------------->8--- > > And that quite works well following my needs. > > It's just a bit tricky to understand and correctly setup the "fractions" > above, in the `org-agenda-deadline-faces'... It would be easy, and would > make > more sense, if we could directly enter "days specifications" there, inste= ad > of > fractions (for example, "0" for today, "-1" for yesterday, and so on). > > But it works. And I thank you for your help. > > Best regards, > Seb > > -- > S=E9bastien Vauban > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0016e64aedd65cca790485c3685e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Some time ago Carsten sent a file with with his colours patterns with black= background.

I would like to know if someone has a similar pattern = when using black foregroung and a lighter backgroung (not necessarily white= ).

Could you share it with us?

Daniel



2010/5/4 S=E9bastien Vauban <wxhgmqzgwmuf@spammotel.com>=
Hi Mikael,

Mikael Fornius wrote:
> I have not tried it but I found this variable:
>
> org-agenda-deadline-faces
>
> "Faces for showing deadlines in the agenda."
>
> maybe it solves your problem?

Excellent hint...


I've customized it that way:

--8<---------------cut here---------------start------------->8---
=A0 =A0(setq org-agenda-deadline-faces
=A0 =A0 =A0 =A0 =A0'((1.1 . sva-org-deadline-yesterday)
=A0 =A0 =A0 =A0 =A0 =A0(1.0 . sva-org-deadline-today)
=A0 =A0 =A0 =A0 =A0 =A0(0.5 . sva-org-deadline-tomorrow)
=A0 =A0 =A0 =A0 =A0 =A0(0.0 . sva-org-deadline-later)))
--8<---------------cut here---------------end---------= ------>8---

and have added the following colors in my theme:

--8<---------------cut here---------------start------------->8---
=A0 =A0 (sva-org-deadline-yesterday ((t (:foreground "white&quo= t; :background "rgb:D8/00/00" :weight bold))))
=A0 =A0 (sva-org-deadline-today ((t (:foreground "white" :backgr= ound "rgb:E9/A3/6A" :weight bold))))
=A0 =A0 (sva-org-deadline-tomorrow ((t (:foreground "black" :bac= kground "#B4F1B3" :weight bold))))
=A0 =A0 (sva-org-deadline-later ((t (:foreground "black" :backgr= ound "#AACAFC"))))
--8<---------------cut here---------------end---------= ------>8---

And that quite works well following my needs.

It's just a bit tricky to understand and correctly setup the "frac= tions"
above, in the `org-agenda-deadline-faces'... It would be easy, and woul= d make
more sense, if we could directly enter "days specifications" ther= e, instead of
fractions (for example, "0" for today, "-1" for yesterd= ay, and so on).

But it works. And I thank you for your help.

Best regards,
=A0Seb

--
S=E9bastien Vauban



___________________________________= ____________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--0016e64aedd65cca790485c3685e-- --===============0659274726== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0659274726==--