summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-09-16 17:05:16 -0700
committerFranck Cuny <fcuny@twitter.com>2019-09-16 17:05:16 -0700
commitd36ed12cac71e8cf772c44aaa51cf271ca72af75 (patch)
tree6b3d3a13d28c2dd80e67b1d9f823b1854f41a4e2
parent[elfeed] not sure my previous list was working (diff)
downloademacs.d-d36ed12cac71e8cf772c44aaa51cf271ca72af75.tar.gz
[org] bigger font for title / headlines
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-org.el13
1 files changed, 11 insertions, 2 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index dee8d2a..35d673a 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -9,7 +9,8 @@
 
   :hook ((org-mode              . visual-line-mode)
          (org-mode              . org-indent-mode)
-         (org-capture-mode-hook . delete-other-windows))
+         (org-capture-mode-hook . delete-other-windows)
+         (org-mode              . fcuny/org-mode-setup))
 
   :bind (("C-c c" . org-capture)
          ("C-c a" . org-agenda)
@@ -138,7 +139,15 @@
     ("g C" (dired org-default-completed-dir))
     ("[\t]" (org-cycle))
     ("s" (org-save-all-org-buffers) "save")
-    ("q" nil "quit")))
+    ("q" nil "quit"))
+
+  :init
+  (defun fcuny/org-mode-setup ()
+    (let* ((base-font-color     (face-foreground 'default nil 'default))
+            (headline `(:inherit default :weight bold :foreground ,base-font-color)))
+      (custom-theme-set-faces 'user `(org-document-title ((t (,@headline :height 1.5)))))
+      (custom-theme-set-faces 'user `(org-level-1 ((t (,@headline :height 1.3)))))
+      (custom-theme-set-faces 'user `(org-level-2 ((t (:height 1.1))))))))
 
 (use-package htmlize
   :ensure t)