summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-07-16 12:51:17 +0200
committerAlan Pearce2017-07-16 12:51:17 +0200
commitceeb734d82fda4bd7430f9c263a33ebd89162d39 (patch)
tree7b38e7189a81836d4aaead64ec844862d260bf11
parent7b67188b59125f580579d7d62a27448337c760d7 (diff)
downloadnixfiles-ceeb734d82fda4bd7430f9c263a33ebd89162d39.tar.lz
nixfiles-ceeb734d82fda4bd7430f9c263a33ebd89162d39.tar.zst
nixfiles-ceeb734d82fda4bd7430f9c263a33ebd89162d39.zip
Emacs: Install base16 theme package
-rw-r--r--emacs/.emacs.d/init.org11
-rw-r--r--nix/.config/nixpkgs/emacs.nix1
2 files changed, 12 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index bc6cb69e..8a383fc2 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -195,6 +195,17 @@ White-theme.  Sounds like a good idea.
                                     '(font-lock-string-face ((t (:slant normal)))))))
 #+END_SRC
 
+Base16 theming allows me have a consistent style between applications
+quite easily.
+
+#+BEGIN_SRC emacs-lisp
+(use-package base16-theme
+  :if (or window-system
+          (daemon-p))
+  :config (progn
+            (load-theme 'base16-mexico-light t)))
+#+END_SRC
+
 Highlighting quasi-quoted expressions in lisps is quite useful, but I
 don't need it all the time.  I'll keep it around for a while so that I
 can enable it if needed.
diff --git a/nix/.config/nixpkgs/emacs.nix b/nix/.config/nixpkgs/emacs.nix
index 6e53368b..02b74964 100644
--- a/nix/.config/nixpkgs/emacs.nix
+++ b/nix/.config/nixpkgs/emacs.nix
@@ -59,6 +59,7 @@ in
     async
     auto-compile
     avy
+    base16-theme
     bbdb
     beginend
     cider