From 98a178cfef6d84ce5cdb069ce291284a83def48a Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 27 Jun 2024 21:28:53 -0700 Subject: Better Theming --- elchemy.el | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'elchemy.el') diff --git a/elchemy.el b/elchemy.el index c5eb916..18ac73f 100644 --- a/elchemy.el +++ b/elchemy.el @@ -26,12 +26,22 @@ ;; 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. - '(cursor ((t (:background "gray30")))) - '(link ((t (:foreground "blue" :underline t)))) - '(minibuffer-prompt ((t (:foreground "#771C9B")))) - '(mode-line ((t (:box (:line-width (1 . 1) :color "grey75" :style flat-button) :height 1.1)))) - '(mode-line-inactive ((t (:foreground "gray20")))) + `(default ((t (:height ,elchemy/user/font-height)))) + '(link ((t (:underline t)))) + '(mode-line ((t (:box (:line-width (1 . 1) :style flat-button) :height 1.1)))) '(org-document-title ((t (:height 2.0 :underline nil)))) '(org-level-1 ((t (:inherit outline-1 :extend nil :weight extra-bold :height 1.4)))) '(org-level-2 ((t (:inherit outline-2 :extend nil :slant italic :weight bold :height 1.2)))) '(org-level-3 ((t (:inherit outline-3 :extend nil :weight semi-bold))))) + +(unless (or elchemy/user/light-theme elchemy/user/dark-theme) + (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. + '(cursor ((t (:background "gray30")))) + '(link ((t (:foreground "blue")))) + '(minibuffer-prompt ((t (:foreground "#771C9B")))) + '(mode-line ((t (:box (:color "grey75"))))) + '(mode-line-inactive ((t (:foreground "gray20")))))) -- cgit v1.2.1