Skip to content

Commit

Permalink
emacs: remove outdated org headline font config
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborpilz committed Mar 31, 2024
1 parent 72f7aad commit 1163639
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
13 changes: 0 additions & 13 deletions home/config/doom/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@
(setq calendar-week-start-day 1) ;; start on monday
(setq org-agenda-include-diary t)

;; (let* ((variable-tuple '(:font "Iosevka Slab"))
;; (headline `(:inherit default :weight black)))
;; (custom-theme-set-faces 'user
;; `(org-level-8 ((t (,@headline ,@variable-tuple))))
;; `(org-level-7 ((t (,@headline ,@variable-tuple))))
;; `(org-level-6 ((t (,@headline ,@variable-tuple))))
;; `(org-level-5 ((t (,@headline ,@variable-tuple))))
;; `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1))))
;; `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25))))
;; `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.33))))
;; `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.5))))
;; `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil))))))

(add-hook 'org-mode-hook #'mixed-pitch-mode)

(defun set-line-spacing (size)
Expand Down
19 changes: 0 additions & 19 deletions home/config/doom/config.org
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,6 @@ Small utility to add a function to multiple hooks at once.
#+end_src

** Visual improvements
*** Typography
Change font sizes for diferent headline levels.
#+begin_src elisp
;; (let* ((variable-tuple '(:font "Iosevka Slab"))
;; (headline `(:inherit default :weight black)))
;; (custom-theme-set-faces 'user
;; `(org-level-8 ((t (,@headline ,@variable-tuple))))
;; `(org-level-7 ((t (,@headline ,@variable-tuple))))
;; `(org-level-6 ((t (,@headline ,@variable-tuple))))
;; `(org-level-5 ((t (,@headline ,@variable-tuple))))
;; `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1))))
;; `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25))))
;; `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.33))))
;; `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.5))))
;; `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil))))))
#+end_src

# How can I make these headlines white?

*** Start Org in mixed-pitch-mode
#+begin_src elisp
(add-hook 'org-mode-hook #'mixed-pitch-mode)
Expand Down

0 comments on commit 1163639

Please sign in to comment.