From 07b6f9222d743d54380faef01c5ebf7108d1f02c Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 10 Oct 2022 13:36:34 +0100 Subject: Add emacs themes changes --- doom/config.org | 19 ++++++++++++++++--- doom/packages.el | 3 +++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/doom/config.org b/doom/config.org index db10133..c58d898 100644 --- a/doom/config.org +++ b/doom/config.org @@ -48,13 +48,24 @@ #+begin_src emacs-lisp (use-package ef-themes :defer nil + :bind ("" . ef-themes-select) :config (custom-theme-set-faces! ef-themes-collection '(proof-locked-face :inherit hl-line) '(proof-queue-face :inherit region)) + (setq ef-themes-height-0 2.0736 + ef-themes-height-1 1.728 + ef-themes-height-2 1.44 + ef-themes-height-3 1.2 + ef-themes-height-4 1.0 + ef-themes-height-5 1.0 + ef-themes-height-6 1.0 + ef-themes-height-7 1.0 + ef-themes-height-8 1.0) (setq doom-theme 'ef-autumn)) (use-package modus-themes + :defer nil :init ;; Add all your customizations prior to loading the themes (setq modus-themes-region '(bg-only no-extend)) @@ -199,9 +210,7 @@ "Load theme, taking current system APPEARANCE into consideration." (mapc #'disable-theme custom-enabled-themes) (pcase appearance - ;;('light (load-theme 'modus-operandi t)) - ;;('dark (load-theme 'modus-vivendi t)) - ('light (load-theme 'ef-spring t)) + ('light (load-theme 'ef-day t)) ('dark (load-theme 'ef-autumn t)))) (add-hook 'ns-system-appearance-change-functions #'ymhg/apply-theme))) @@ -761,6 +770,10 @@ This function uses the date command line tool to do it." :submode c-mode :front "\\\\starthlC" :back "\\\\stophlC") + (embedded-metapost + :submode metapost-mode + :front "\\\\startuseMPgraphic" + :back "\\\\stopuseMPgraphic") )) (mmm-add-mode-ext-class 'ConTeXt-en/PS nil 'fancy-context) diff --git a/doom/packages.el b/doom/packages.el index 5207016..3d4e82a 100644 --- a/doom/packages.el +++ b/doom/packages.el @@ -28,6 +28,9 @@ :pin "bce665c79fc29f1e80f1eae7db7e91c56b0788fc") (package! elfeed-score) +(package! ef-themes + :recipe (:host nil :repo "https://git.sr.ht/~protesilaos/ef-themes")) + (package! alectryon) ;; Bibtex stuff -- cgit