[Top][All Lists]

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

Changing colours of outline-minor-mode

From: lisa-asket
Subject: Changing colours of outline-minor-mode
Date: Thu, 22 Jul 2021 09:36:35 +0200 (CEST)

I have been trying to change the colours of outline-minor-mode.  I got some 

but am looking for something different.

I want to change the colours as easily as can be done for org-mode.  Either 

a name or hex values. 

(defun org-colours ()
  "Sets colours of org-mode heading levels."

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

reply via email to

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