diff options
| author | LLoyderino <adrijan.bjedov@gmail.com> | 2026-06-08 18:14:41 +0200 |
|---|---|---|
| committer | LLoyderino <adrijan.bjedov@gmail.com> | 2026-06-08 18:14:41 +0200 |
| commit | 0ba77768ab78ab1efd10c4c37a92948f67a18523 (patch) | |
| tree | 4f42bb6e37fb580aac4c6715a9163139c057e0de | |
| parent | ebb547c71fca4082213b558ef6381a96e9e4a6a8 (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.
| -rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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" |
