From 85e5ec5e21dc780a8da3194be221dcec53127969 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 23 Jun 2022 23:53:48 +0200 Subject: emacs: use a more colourful theme (modus-operandi) --- user/emacs/init.el | 18 ++++++++++++++---- user/settings/emacs.nix | 2 ++ 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'user') diff --git a/user/emacs/init.el b/user/emacs/init.el index c6c37467..9626e386 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -63,10 +63,16 @@ (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 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (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") diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 43fead37..65b87756 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -147,6 +147,7 @@ in lsp-treemacs magit markdown-mode + modus-themes doom-modeline nginx-mode nix-mode @@ -160,6 +161,7 @@ in quickrun racket-mode rainbow-mode + rainbow-delimiters restclient ripgrep rjsx-mode -- cgit 1.4.1