unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* face-remap-add-relative not executing
@ 2020-11-23  2:44 Christopher Dimech
  2020-11-23 12:19 ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Dimech @ 2020-11-23  2:44 UTC (permalink / raw)
  To: Help Gnu Emacs

I have written this piece, however the colours are not taking effect.

(add-hook 'org-mode-hook
   (lambda ()
      (face-remap-add-relative
         '(org-level-1 ((t (:foreground "00FFFF"))))
         '(org-level-2 ((t (:foreground "chartreuse"))))
         '(org-level-3 ((t (:foreground "dark orange"))))
         '(org-level-4 ((t (:foreground "yellow"))))
         '(org-level-5 ((t (:foreground "magenta"))))
         '(org-level-6 ((t (:foreground "tan1"))))
         '(org-level-7 ((t (:foreground "deep sky blue"))))
         '(org-level-8 ((t (:foreground "orange red")))) )))




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-23 16:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-23  2:44 face-remap-add-relative not executing Christopher Dimech
2020-11-23 12:19 ` Michael Heerdegen
2020-11-23 12:50   ` Christopher Dimech
2020-11-23 13:13     ` Michael Heerdegen
2020-11-23 13:30       ` Christopher Dimech
2020-11-23 13:46         ` Michael Heerdegen
2020-11-23 16:36           ` Christopher Dimech

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).