From 2aa53bd9d32ab13463abf3a43615f973850f46d9 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 20 Sep 2023 11:12:09 +0200 Subject: [PATCH] Make RST titles readable on my theme. --- .emacs.d/init.el | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 48dcbbb..09280bb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -241,10 +241,20 @@ (load-theme 'spacemacs-light t) (custom-theme-set-faces 'spacemacs-light - '(rst-level-1 ((t (:background "grey15" :foreground "white smoke")))) - '(rst-level-2 ((t (:background "grey15" :foreground "white smoke")))) - '(rst-reference ((t (:foreground "white smoke")))) + '(rst-level-1 ((t (:background "grey85" :foreground "white smoke")))) + '(rst-level-2 ((t (:background "grey78" :foreground "white smoke")))) + '(rst-level-3 ((t (:background "grey71" :foreground "white smoke")))) + '(rst-level-4 ((t (:background "grey64" :foreground "white smoke")))) + '(rst-level-5 ((t (:background "grey57" :foreground "white smoke")))) + '(rst-level-6 ((t (:background "grey50" :foreground "white smoke")))) ) + (enable-theme 'spacemacs-light) (add-to-list 'default-frame-alist '(font . "DejaVuSansMono:size=18")) (set-face-attribute 'default t :font "DejaVuSansMono:size=18") +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + )