Variable: org-agenda-deadline-faces
org-agenda-deadline-faces is a customizable variable defined in
org-faces.el.gz.
Value
((1.0 . org-imminent-deadline)
(0.5 . org-upcoming-deadline)
(0.0 . org-upcoming-distant-deadline))
Documentation
Faces for showing deadlines in the agenda.
This is a list of cons cells. The cdr of each cell is a face to be used,
and it can also just be like (:foreground "yellow").
Each car is a fraction of the head-warning time that must have passed for
this the face in the cdr to be used for display. The numbers must be
given in descending order. The head-warning time is normally taken
from org-deadline-warning-days, but can also be specified in the deadline
timestamp itself, like this:
DEADLINE: <2007-08-13 Mon -8d>
You may use d for days, w for weeks, m for months and y for years. Months and years will only be treated in an approximate fashion (30.4 days for a month and 365.24 days for a year).
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-faces.el.gz
(defcustom org-agenda-deadline-faces
'((1.0 . org-imminent-deadline)
(0.5 . org-upcoming-deadline)
(0.0 . org-upcoming-distant-deadline))
"Faces for showing deadlines in the agenda.
This is a list of cons cells. The cdr of each cell is a face to be used,
and it can also just be like (:foreground \"yellow\").
Each car is a fraction of the head-warning time that must have passed for
this the face in the cdr to be used for display. The numbers must be
given in descending order. The head-warning time is normally taken
from `org-deadline-warning-days', but can also be specified in the deadline
timestamp itself, like this:
DEADLINE: <2007-08-13 Mon -8d>
You may use d for days, w for weeks, m for months and y for years. Months
and years will only be treated in an approximate fashion (30.4 days for a
month and 365.24 days for a year)."
:group 'org-faces
:group 'org-agenda-daily/weekly
:type '(repeat
(cons
(number :tag "Fraction of head-warning time passed")
(sexp :tag "Face"))))