aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-25 22:14:42 +0200
committerGravatar Tom Willemse2016-07-25 22:14:42 +0200
commit161a535ae1956985123a7c21b225b2f0c23bcc52 (patch)
treea3bfb4295dbc886ba7b9810ba69a6acc6c54a27a /emacs
parent425c0318851fbd88485185f1be091af7c56c794d (diff)
downloadnew-dotfiles-161a535ae1956985123a7c21b225b2f0c23bcc52.tar.gz
new-dotfiles-161a535ae1956985123a7c21b225b2f0c23bcc52.zip
Add a theme
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el7
-rw-r--r--emacs/.emacs.d/vendor-lisp/eternal-theme/eternal-theme.el36
2 files changed, 43 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 5db6481..cb56980 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -182,6 +182,13 @@ This is currently the data directory under the
;; some strange results. Github diffs are an example.
(setq require-final-newline t)
+;;;; Load theme:
+(ensure-library eternal-theme
+ :path "vendor-lisp/eternal-theme")
+(add-to-list 'custom-theme-load-path
+ (concat user-emacs-directory "vendor-lisp/eternal-theme"))
+(load-theme 'eternal :no-confirm)
+
;;;; Minor modes:
;;;;; Paredit:
diff --git a/emacs/.emacs.d/vendor-lisp/eternal-theme/eternal-theme.el b/emacs/.emacs.d/vendor-lisp/eternal-theme/eternal-theme.el
new file mode 100644
index 0000000..a936667
--- /dev/null
+++ b/emacs/.emacs.d/vendor-lisp/eternal-theme/eternal-theme.el
@@ -0,0 +1,36 @@
+;;; eternal-theme.el --- Eternal theme -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2016 Tom Willemse
+
+;; Author: Tom Willemse <chelys@drd>
+;; Keywords: faces
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; A new theme.
+
+;;; Code:
+
+(deftheme eternal
+ "Created 2016-07-25")
+
+(custom-theme-set-faces
+ 'eternal
+
+ '(default ((t (:background "#111811" :foreground "#d5cad5")))))
+
+(provide 'eternal-theme)
+;;; eternal-theme.el ends here