From 25322d0c6588ad80d656c8e234c1662757b61c73 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 30 Aug 2024 07:40:04 -0700 Subject: use the ef-theme --- config/init-ui.el | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/init-ui.el b/config/init-ui.el index ad43161..61e4070 100644 --- a/config/init-ui.el +++ b/config/init-ui.el @@ -71,13 +71,26 @@ :font "Monaspace Radon" :height 150) -(add-to-list 'default-frame-alist '(background-color . "#FFFCF6")) -(add-to-list 'default-frame-alist '(foreground-color . "#101010")) - -(custom-set-faces - ;; make sure comments are distinct from the rest - `(font-lock-comment-face ((t (:font "Monaspace Radon" :italic t :bold t :height 1.0 :background "#eeefff" :foreground "#7f0000")))) - `(font-lock-doc-face ((t (:font "Monaspace Radon" :italic t :bold t :height 1.0 :background "#eeefff" :foreground "#7f0000"))))) +(use-package ef-themes + :ensure t + :custom + (ef-themes-region '(intense no-extend neutral)) + (ef-themes-variable-pitch-ui t) + (ef-themes-mixed-fonts t) + (ef-themes-disable-other-themes t) + :config + (ef-themes-select 'ef-light) + (setq ef-themes-to-toggle '(ef-cyprus ef-deuteranopia-light)) + (setq ef-themes-headings ; read the manual's entry or the doc string + '((0 . (variable-pitch light 1.9)) + (1 . (variable-pitch light 1.8)) + (2 . (variable-pitch regular 1.7)) + (3 . (variable-pitch regular 1.6)) + (4 . (variable-pitch regular 1.5)) + (5 . (variable-pitch 1.4)) ; absence of weight means `bold' + (6 . (variable-pitch 1.3)) + (7 . (variable-pitch 1.2)) + (t . (variable-pitch 1.1))))) (provide 'init-ui) ;;; init-ui.el ends here -- cgit 1.4.1