all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Changing colours of outline-minor-mode
@ 2021-07-22  7:36 lisa-asket
  0 siblings, 0 replies; only message in thread
From: lisa-asket @ 2021-07-22  7:36 UTC (permalink / raw)
  To: help-gnu-emacs


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

but am looking for something different.



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

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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-22  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-22  7:36 Changing colours of outline-minor-mode lisa-asket

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.