]> git.armaanb.net Git - config.org.git/commitdiff
Switch modus-themes to using use-package
authorArmaan Bhojwani <me@armaanb.net>
Mon, 31 May 2021 19:59:44 +0000 (15:59 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 31 May 2021 19:59:44 +0000 (15:59 -0400)
config.org

index fd1033e514a7e744f792d9312e43855aa4ac5a95..43e7c29798be8cb222aa6931e5a1a4cf191126f6 100644 (file)
@@ -42,12 +42,14 @@ straight.el is really nice for managing package, and it integrates nicely with u
 ** Theme
 Use the Modus Operandi theme by Protesilaos Stavrou. Its the best theme for Emacs by far, because how clear and readable it is. It is highly customizable, but I just set a few options here.
 #+begin_src emacs-lisp
-  (setq modus-themes-slanted-constructs t
-        modus-themes-bold-constructs t
-        modus-themes-mode-line '3d
-        modus-themes-scale-headings t
-        modus-themes-diffs 'desaturated)
-  (load-theme 'modus-vivendi t)
+  (use-package modus-themes
+    :custom
+    (modus-themes-slanted-constructs t)
+    (modus-themes-bold-constructs t)
+    (modus-themes-mode-line '3d)
+    (modus-themes-scale-headings t)
+    (modus-themes-diffs 'desaturated)
+    :config (load-theme 'modus-vivendi t))
 #+end_src
 ** Typography
 *** Font