emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] org-mode color schemes with white or light background and blac


From: Daniel Martins
Subject: [Orgmode] org-mode color schemes with white or light background and black foregroung
Date: Tue, 4 May 2010 08:57:02 -0300

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ébastien Vauban <address@hidden>
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, instead 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ébastien Vauban



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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]