├── .gitignore ├── autumn-light-theme.png ├── README.md ├── LICENSE └── autumn-light-theme.el /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.elc 3 | -------------------------------------------------------------------------------- /autumn-light-theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalpern/emacs-color-theme-autumn-light/HEAD/autumn-light-theme.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This is an emacs color theme that I've been toting around in my 2 | `.emacs` for nearly two decades now, dating back to before Emacs even 3 | had a color theme package. I eventually updated it to work with 4 | `color-theme`, then `deftheme`, and finally split it out on its own to be a sharable 5 | package. 6 | 7 | ### Screenshot 8 | 9 | ![autumn-light-theme](autumn-light-theme.png) 10 | 11 | ### Installation 12 | 13 | #### From MELPA 14 | 15 | If you've configured Emacs 24's `package.el` package manager to load 16 | from the [MELPA](http://melpa.org/) package archive, it can be 17 | installed simply thus: 18 | 19 | ``` 20 | M-x package-install RET autumn-light-theme RET 21 | ``` 22 | 23 | #### Manually 24 | 25 | Alternatively, To use it, 26 | [download autumn-light-theme.el](/autumn-light-theme.el) to 27 | a directory in your load-path, then put the following in your Emacs 28 | configuration file: 29 | 30 | ```emacs-lisp 31 | (load-theme 'autumn-light t) 32 | ``` 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Adam Alpern 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /autumn-light-theme.el: -------------------------------------------------------------------------------- 1 | ;;; autumn-light-theme.el --- A light color theme with muted, autumnal colors. 2 | ;;; 3 | ;; Copyright 2015 Adam Alpern 4 | ;; 5 | ;; Author: Adam Alpern 6 | ;; Maintainer: Adam Alpern 7 | ;; URL: http://github.com/aalpern/emacs-color-theme-autumn-light 8 | ;; Keywords: color, theme 9 | ;; Version: 1.0.0 10 | ;; 11 | ;;; License: MIT 12 | ;; 13 | ;; Permission is hereby granted, free of charge, to any person obtaining a copy 14 | ;; of this software and associated documentation files (the "Software"), to deal 15 | ;; in the Software without restriction, including without limitation the rights 16 | ;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 17 | ;; copies of the Software, and to permit persons to whom the Software is 18 | ;; furnished to do so, subject to the following conditions: 19 | 20 | ;; The above copyright notice and this permission notice shall be included in 21 | ;; all copies or substantial portions of 22 | ;; the Software. 23 | 24 | ;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | ;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | ;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | ;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | ;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | ;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | ;; THE SOFTWARE. 31 | ;; 32 | ;;; Commentary: 33 | ;; 34 | ;; To use it, add this file to a directory in your load-path, then put 35 | ;; the following in your Emacs configuration file: 36 | ;; 37 | ;; (load-theme 'autumn-light t) 38 | ;; 39 | ;;; Code: 40 | 41 | (deftheme autumn-light) 42 | 43 | (custom-theme-set-faces 44 | 'autumn-light 45 | 46 | '(default ((t (:foreground "black" :background "wheat" :inherit nil)))) 47 | '(fringe ((t (:background "wheat")))) 48 | '(cursor ((t (:background "red")))) 49 | '(highlight ((t (:foreground "white" :background "DarkSlateBlue")))) 50 | '(region ((t (:foreground "gray90" :background "DarkSlateBlue")))) 51 | '(button ((t (:inherit (link))))) 52 | '(link ((t (:underline (:color foreground-color :style line) :foreground "DarkSlateBlue"))) ) 53 | '(link-visited ((t (:foreground "Purple" :underline (:color foreground-color :style line))))) 54 | '(show-paren-match ((t (:foreground "wheat" :background "black")))) 55 | 56 | '(trailing-whitespace ((((class color) (background light)) (:background "red1")) 57 | (((class color) (background dark)) (:background "red1")) 58 | (t (:inverse-video t)))) 59 | 60 | ;; font-lock 61 | '(font-lock-builtin-face ((t (:foreground "MediumPurple4")))) 62 | '(font-lock-comment-delimiter-face ((t (:foreground "firebrick4")))) 63 | '(font-lock-comment-face ((t (:foreground "firebrick4")))) 64 | '(font-lock-doc-face ((t (:foreground "firebrick4")))) 65 | '(font-lock-constant-face ((t (:foreground "blue4")))) 66 | '(font-lock-function-name-face ((t (:foreground "MediumBlue")))) 67 | '(font-lock-keyword-face ((t (:foreground "DarkOrchid4")))) 68 | '(font-lock-negation-char-face ((t (nil nil)))) 69 | '(font-lock-preprocessor-face ((t (:inherit (font-lock-builtin-face))))) 70 | '(font-lock-regexp-grouping-backslash ((t (:foreground "DarkOliveGreen")))) 71 | '(font-lock-regexp-grouping-construct ((t (:foreground "DarkOliveGreen")))) 72 | '(font-lock-string-face ((t (:foreground "gray30")))) 73 | '(font-lock-type-face ((t (:foreground "purple4")))) 74 | '(font-lock-variable-name-face ((t (:foreground "DarkGreen")))) 75 | '(font-lock-warning-face ((t (:foreground "red")))) 76 | 77 | ;; powerline 78 | '(powerline-active1 ((t (:foreground "white" :background "gray20")))) 79 | '(powerline-active2 ((t (:foreground "gray90" :background "gray40")))) 80 | '(powerline-inactive1 ((t (:foreground "gray70" :background "gray20")))) 81 | '(powerline-inactive2 ((t (:foreground "gray60" :background "gray40")))) 82 | '(mode-line ((t (:foreground "white" :background "firebrick" :box nil)))) 83 | 84 | ;; git-gutter 85 | '(git-gutter+-added ((t (:foreground "green4" :background "green4")))) 86 | '(git-gutter+-modified ((t (:foreground "purple" :background "purple")))) 87 | '(git-gutter+-deleted ((t (:foreground "red3" :background "red3")))) 88 | 89 | ;; web-mode 90 | '(web-mode-html-tag-face ((t (:foreground "DarkOrchid4" :weight bold)))) 91 | '(web-mode-html-tag-bracket-face ((t (:foreground "DarkOrchid4" :weight bold)))) 92 | '(web-mode-html-attr-name-face ((t (:foreground "MediumBlue")))) 93 | 94 | ;; js3-mode 95 | '(js3-external-variable-face ((t (:foreground "red4" :weight bold)))) 96 | 97 | ;; markdown-mode 98 | '(markdown-header-face-1 ((t (:foreground "firebrick" :weight bold)))) 99 | '(markdown-header-face-2 ((t (:foreground "firebrick" :weight bold)))) 100 | '(markdown-header-face-3 ((t (:foreground "firebrick" :weight bold)))) 101 | '(markdown-header-face-4 ((t (:foreground "firebrick")))) 102 | '(markdown-header-face-5 ((t (:foreground "firebrick")))) 103 | '(markdown-header-face-6 ((t (:foreground "firebrick")))) 104 | '(markdown-header-rule-face ((t (:foreground "firebrick" :weight bold)))) 105 | '(markdown-header-delimiter-face ((t (:foreground "firebrick")))) 106 | '(markdown-link-face ((t (:foreground "DarkOrchid4")))) 107 | '(markdown-url-face ((t (:foreground "MediumBlue")))) 108 | '(markdown-list-face ((t (:foreground "DarkGreen")))) 109 | '(markdown-inline-code-face ((t (:foreground "black" :background "DarkKhaki")))) 110 | ) 111 | 112 | ;;;###autoload 113 | (and load-file-name 114 | (boundp 'custom-theme-load-path) 115 | (add-to-list 'custom-theme-load-path 116 | (file-name-as-directory 117 | (file-name-directory load-file-name)))) 118 | 119 | (provide-theme 'autumn-light) 120 | 121 | ;;; autumn-light-theme.el ends here 122 | --------------------------------------------------------------------------------