commit - 353cceddc78b4c1ddea71ccb31e13308f0c6830e
commit + a8de13a988822f965b9dd2574c13239b03550818
blob - 5b8947d23bd03bf818b384e08b46fd6a03e3bc24
blob + 56844878c086c6e64f96d9738d1a3589472411e1
--- doom/config.el
+++ doom/config.el
(setq catppuccin-flavor 'frappe) ;; or 'latte, 'macchiato, or 'mocha
(setq doom-theme 'catppuccin)
+;; Proportional font for prose. `mixed-pitch-mode' (from the :ui zen module)
+;; swaps body text to this font while keeping code, tables, line numbers, and
+;; inline verbatim monospace.
+(setq doom-variable-pitch-font (font-spec :family "Noto Sans" :size 16))
+(add-hook 'org-mode-hook #'mixed-pitch-mode)
+(add-hook 'markdown-mode-hook #'mixed-pitch-mode)
+(add-hook 'fountain-mode-hook #'mixed-pitch-mode)
+
+;; Doom ships org headlines all at the same height; scale them so heading
+;; levels are visually distinct. Float heights are relative to the default.
+(custom-set-faces!
+ '(org-document-title :weight medium :height 1.4)
+ '(org-level-1 :weight medium :height 1.3)
+ '(org-level-2 :weight medium :height 1.2)
+ '(org-level-3 :weight normal :height 1.15)
+ '(org-level-4 :weight normal :height 1.1)
+ '(org-level-5 :weight normal :height 1.05)
+ '(org-level-6 :weight normal)
+ '(org-level-7 :weight normal)
+ '(org-level-8 :weight normal))
+
+;; Keep headline lines and tags monospace so right-aligned tags line up on
+;; their column; only body text uses Cantarell. (org-document-title is already
+;; in mixed-pitch's default fixed list; org-level-* and org-tag are not.)
+(after! mixed-pitch
+ (dolist (face '(org-level-1 org-level-2 org-level-3 org-level-4
+ org-level-5 org-level-6 org-level-7 org-level-8
+ org-tag))
+ (add-to-list 'mixed-pitch-fixed-pitch-faces face)))
+
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)