From 161a535ae1956985123a7c21b225b2f0c23bcc52 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 Jul 2016 22:14:42 +0200 Subject: Add a theme --- emacs/.emacs.d/init.el | 7 +++++ .../vendor-lisp/eternal-theme/eternal-theme.el | 36 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 emacs/.emacs.d/vendor-lisp/eternal-theme/eternal-theme.el (limited to 'emacs/.emacs.d') 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 +;; 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 . + +;;; 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 -- cgit v1.2.3-54-g00ecf