From a9b29460d95e616c5a643479982e8142f99e36e1 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 13 Jan 2023 09:58:47 +0200 Subject: org-config: update styling --- .emacs.d/snippets/org-config.el | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to '.emacs.d/snippets/org-config.el') diff --git a/.emacs.d/snippets/org-config.el b/.emacs.d/snippets/org-config.el index d3f48ec..0b2cd61 100644 --- a/.emacs.d/snippets/org-config.el +++ b/.emacs.d/snippets/org-config.el @@ -9,6 +9,7 @@ (add-hook 'org-mode-hook 'apollo/org-mode-setup) (add-hook 'org-mode-hook 'org-superstar-mode) +(add-hook 'org-mode-hook 'flyspell-mode) (setq org-directory "~/org/" org-agenda-files '("~/org/agenda.org") @@ -41,13 +42,30 @@ ;; (org-bullets-bullet-list '("●" "○" "●" "○" "●" "●" ))) ;; Org Themes +(defun apollo/org-theme-none () + "Enable Darkone theme for Org headers." + (interactive) + (dolist + (face + '((org-level-1 1.60) + (org-level-2 1.55) + (org-level-3 1.40) + (org-level-4 1.20) + (org-level-5 1.20) + (org-level-6 1.20) + (org-level-7 1.10) + (org-level-8 1.00))))) +(defun my-org-faces () + (set-face-attribute 'org-todo nil :height 0.8) + (set-face-attribute 'org-level-1 nil :height 1.70 :weight bold) + (set-face-attribute 'org-level-2 nil :height 1.50)) (defun apollo/org-theme-darkone () "Enable Darkone theme for Org headers." (interactive) (dolist (face - '((org-level-1 1.70 "#51afef" ultra-bold) - (org-level-2 1.55 "#7FBCD2" extra-bold) + '((org-level-1 1.70 "#51afef" bold) + (org-level-2 1.55 "#7FBCD2" bold) (org-level-3 1.40 "#da8548" bold) (org-level-4 1.20 "#da8548" semi-bold) (org-level-5 1.20 "#5699af" normal) -- cgit v1.2.3