chore: org-mode faces improvements

This commit is contained in:
Muhammad Nauman Raza 2023-06-28 14:56:57 +01:00
parent dbefc368b5
commit ff4c412a3b
No known key found for this signature in database
GPG key ID: 4FFEEB78B8A620C7
2 changed files with 17 additions and 1 deletions

2
.gitignore vendored
View file

@ -3,7 +3,7 @@ auto-save-list/
straight/ straight/
elpa/ elpa/
transient/ transient/
user/init.el user/*
bookmarks bookmarks
recentf recentf

View file

@ -10,4 +10,20 @@
(add-to-list 'custom-theme-load-path "~/Projects/hazakura-emacs") (add-to-list 'custom-theme-load-path "~/Projects/hazakura-emacs")
(load-theme 'hazakura t) (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 ;;; init.el ends here