summary refs log tree commit diff
diff options
context:
space:
mode:
-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)