forked from rougier/nano-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nano-theme.el
45 lines (34 loc) · 1.48 KB
/
nano-theme.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;;; nano-theme.el --- N Λ N O theme -*- lexical-binding: t -*-
;; Copyright (C) 2021,2022 Free Software Foundation, Inc.
;; Maintainer: Nicolas P. Rougier <[email protected]>
;; URL: https://github.com/rougier/nano-theme
;; Version: 0.3.4
;; Package-Requires: ((emacs "27.1"))
;; Keywords: theme, dark, light
;; This file is not part of GNU Emacs.
;; This file 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, or (at your option)
;; any later version.
;; This file 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.
;; For a full copy of the GNU General Public License
;; see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;
;; N Λ N O theme is a consistent theme that comes in two flavors:
;; - a light theme that is based on Material (https://material.io/)
;; - a dark theme that is based on Nord (https://www.nordtheme.com/).
;;
;; A theme is fully defined by a set of (1+6) faces as explained in
;; "On the Design of Text Editors" / https://arxiv.org/abs/2008.06030
;;
;;; Code:
(require 'nano-theme-support)
;;;###autoload
(deftheme nano "N Λ N O theme.")
(nano-theme 'nano (frame-parameter (selected-frame) 'background-mode))
(provide-theme 'nano)
;;; nano-theme.el ends here