From 0ba77768ab78ab1efd10c4c37a92948f67a18523 Mon Sep 17 00:00:00 2001 From: LLoyderino Date: Mon, 8 Jun 2026 18:14:41 +0200 Subject: 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. --- init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" -- cgit v1.3.1