diff options
author | Thanos Apollo <[email protected]> | 2023-01-13 09:58:47 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-01-13 09:58:47 +0200 |
commit | a9b29460d95e616c5a643479982e8142f99e36e1 (patch) | |
tree | 56725975f5045039307ad1aa9e3a1a4b3241cc4c /.emacs.d/snippets/org-config.el | |
parent | 7f8c7f685c2a8f451807f108df35f4201f3e32b1 (diff) |
org-config: update styling
Diffstat (limited to '.emacs.d/snippets/org-config.el')
-rw-r--r-- | .emacs.d/snippets/org-config.el | 22 |
1 files changed, 20 insertions, 2 deletions
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) |