all repos — nixfiles @ 85e5ec5e21dc780a8da3194be221dcec53127969

System and user configuration, managed by nix and home-manager

emacs: use a more colourful theme (modus-operandi)
Alan Pearce alan@alanpearce.eu
Thu, 23 Jun 2022 23:53:48 +0200
commit

85e5ec5e21dc780a8da3194be221dcec53127969

parent

5f709f7ef2fd35a3a1b61aa525ac2afa69fc1d44

2 files changed, 16 insertions(+), 4 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -63,10 +63,16 @@ (ding)))) 
 (when (or (daemonp)
           window-system)
-  (use-package almost-mono-themes
-    :config (load-theme 'almost-mono-white t))
-  (use-package doom-themes
-    :config (load-theme 'doom-homage-white t))
+  (use-package modus-themes
+    :config (progn
+              (setq modus-themes-fringes 'subtle
+                    modus-themes-lang-checkers '(background)
+                    modus-themes-mode-line '(borderless accented)
+                    modus-themes-syntax '(alt-syntax)
+                    modus-themes-hl-line 'nil
+                    modus-themes-region '(bg-only)
+                    modus-themes-diffs 'desaturated)
+              (load-theme 'modus-operandi t)))
   (if (eq window-system 'x)
       (setq-default line-spacing 0.2))
   (setq frame-background-mode 'light)
@@ -788,6 +794,10 @@ (use-package clojure-mode)
 (use-package cider
   :after clojure-mode)
+(use-package rainbow-delimiters
+  :ghook ('clojure-mode-hook
+          'emacs-lisp-mode-hook))
+
 ;;;; kubernetes
 (setq k8s-site-docs-version "v1.13")
 
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -147,6 +147,7 @@ lsp-ivy       lsp-treemacs
       magit
       markdown-mode
+      modus-themes
       doom-modeline
       nginx-mode
       nix-mode
@@ -160,6 +161,7 @@ projectile-ripgrep       quickrun
       racket-mode
       rainbow-mode
+      rainbow-delimiters
       restclient
       ripgrep
       rjsx-mode