summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2026-06-08 18:14:41 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2026-06-08 18:14:41 +0200
commit0ba77768ab78ab1efd10c4c37a92948f67a18523 (patch)
tree4f42bb6e37fb580aac4c6715a9163139c057e0de /init.el
parentebb547c71fca4082213b558ef6381a96e9e4a6a8 (diff)
Improved readability for org files on tokyonight theme
For some reason the h1-headings for tokyonight in org mode were the same color as the basic text. Obviously this makes things unreadable in a longer document. I simply swapped h1 and h6 colors.
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el
index e8b03b5..97df10d 100644
--- a/init.el
+++ b/init.el
@@ -128,7 +128,12 @@
;; Emacs theme
(use-package tokyonight-themes
:vc (:url "https://github.com/xuchengpeng/tokyonight-themes")
- :config (load-theme 'tokyonight-moon :no-confirm))
+ :config
+ (load-theme 'tokyonight-moon :no-confirm)
+ (tokyonight-themes-with-colors
+ (custom-set-faces
+ `(org-level-1 ((,c :foreground ,red)))
+ `(org-level-6 ((,c :foreground ,fg))))))
(set-face-attribute 'variable-pitch nil
:family "DejaVu Serif"