diff options
author | 2020-04-25 12:17:59 -0400 | |
---|---|---|
committer | 2020-04-25 12:17:59 -0400 | |
commit | 9c48decc134b5785c2f5bd0535e88928b06bb813 (patch) | |
tree | e6c572707a629cb6e157b1592d8c4e7417f8db27 /lisp/smart-mode-line-bandali-theme.el | |
parent | 878e4e445a28e4a92d6ce0621b7a891e3d78a45b (diff) | |
download | configs-9c48decc134b5785c2f5bd0535e88928b06bb813.tar.gz configs-9c48decc134b5785c2f5bd0535e88928b06bb813.tar.xz configs-9c48decc134b5785c2f5bd0535e88928b06bb813.zip |
Add and use my new Refinery colour theme
Assimilate 4 drones
Assimilate minions v0.3.3-2-gbc1edab
Assimilate refinery-theme 71b5501
Assimilate rich-minority 1.0.3-2-ga03e693
Assimilate smart-mode-line 2.13-1-g999be06
* init.el: Move theme-related things from here...
* lisp/bandali-theme.el: ...to here.
* lisp/bandali-ivy.el: Face customizations now in Refinery.
Diffstat (limited to 'lisp/smart-mode-line-bandali-theme.el')
-rw-r--r-- | lisp/smart-mode-line-bandali-theme.el | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lisp/smart-mode-line-bandali-theme.el b/lisp/smart-mode-line-bandali-theme.el new file mode 100644 index 0000000..c3a2fb3 --- /dev/null +++ b/lisp/smart-mode-line-bandali-theme.el @@ -0,0 +1,51 @@ +;;; smart-mode-line-bandali-theme.el --- bandali's smart-mode-line theme -*- lexical-binding: t; -*- + +;; Copyright (C) 2019-2020 Amin Bandali + +;; Author: Amin Bandali <bandali@gnu.org> +;; Version: 0.1.0 +;; Package-Requires: ((emacs "24.3") (smart-mode-line "2.10")) +;; Keywords: faces + +;; This file is NOT part of GNU Emacs. + +;; 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 <https://www.gnu.org/licenses/>. + +;;; Commentary: + +;; My custom theme for smart-mode-line. + +;;; Code: + +(deftheme smart-mode-line-bandali + "My custom theme for smart-mode-line.") + +(custom-theme-set-faces + 'smart-mode-line-bandali + '(mode-line-buffer-id ((t :inherit sml/filename :foreground nil :background nil))) + '(mode-line-inactive ((t :background "#e1e1e1"))) + '(mode-line ((t :background "#e7e7e7"))) + '(sml/global ((t :inherit font-lock-preprocessor-face))) + '(sml/filename ((t :inherit mode-line-buffer-id))) + '(sml/modes ((t :foreground nil :inherit sml/filename :weight normal))) + '(sml/prefix ((t :inherit (font-lock-variable-name-face sml/global)))) + '(sml/read-only ((t :inherit (font-lock-type-face sml/not-modified))))) + +;;;###autoload +(when load-file-name + (add-to-list 'custom-theme-load-path + (file-name-as-directory (file-name-directory load-file-name)))) + +(provide-theme 'smart-mode-line-bandali) +;;; smart-mode-line-bandali-theme.el ends here. |