From 6375db9c145ac7e207f2bc6dfa2ed95bee218c72 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Sun, 9 Jul 2023 15:41:17 -0400 Subject: Use same foreground for all `org-mode` heading levels --- init.el | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/init.el b/init.el index c55176c..3578139 100644 --- a/init.el +++ b/init.el @@ -780,17 +780,30 @@ (match-beginning 1) (match-end 1) "•")))))) - ;; Set font sizes for org headings - (dolist (face '((org-level-1 . 1.1) - (org-level-2 . 1.1) - (org-level-3 . 1.1) - (org-level-4 . 1.1) - (org-level-5 . 1.1) - (org-level-6 . 1.1) - (org-level-7 . 1.1) - (org-level-8 . 1.1))) - (set-face-attribute (car face) nil - :height (cdr face)))) + (set-face-attribute 'org-level-1 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-2 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-3 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-4 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-5 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-6 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-7 nil + :height 1.1 + :foreground "SandyBrown") + (set-face-attribute 'org-level-8 nil + :height 1.1 + :foreground "SandyBrown")) ;; `org' configuration (use-package org -- cgit v1.2.3