From ff4c412a3bd508e90189feb8c372a9d4544d7eb3 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Wed, 28 Jun 2023 14:56:57 +0100 Subject: [PATCH] chore: org-mode faces improvements --- .gitignore | 2 +- user/init.el | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fd3172b..e464a1d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ auto-save-list/ straight/ elpa/ transient/ -user/init.el +user/* bookmarks recentf diff --git a/user/init.el b/user/init.el index 8c74ea3..7a204a8 100644 --- a/user/init.el +++ b/user/init.el @@ -10,4 +10,20 @@ (add-to-list 'custom-theme-load-path "~/Projects/hazakura-emacs") (load-theme 'hazakura t) +(with-eval-after-load 'org + ;; Faces for the font sizes of org-mode headings + (set-face-attribute 'org-level-8 nil :weight 'bold :family "Urbanist") + (set-face-attribute 'org-level-7 nil :weight 'bold :family "Urbanist") + (set-face-attribute 'org-level-6 nil :weight 'bold :family "Urbanist") + (set-face-attribute 'org-level-5 nil :weight 'bold :family "Urbanist") + (set-face-attribute 'org-level-4 nil :weight 'bold :family "Urbanist") + (set-face-attribute 'org-level-3 nil :weight 'bold :height 1.05 :family "Urbanist") + (set-face-attribute 'org-level-2 nil :weight 'bold :height 1.1 :family "Urbanist") + (set-face-attribute 'org-level-1 nil :weight 'bold :height 1.2 :family "Urbanist") + (set-face-attribute 'org-document-title nil + :height 1.65 + :foreground 'unspecified + :weight 'bold + :family "Urbanist")) + ;;; init.el ends here