├── .gitignore ├── img ├── dark.png ├── grey.png └── light.png ├── ayu-theme.el ├── LICENSE ├── readme.org ├── ayu-light-theme.el ├── ayu-dark-theme.el └── ayu-grey-theme.el /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /img/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vutran1710/Ayu-Theme-Emacs/HEAD/img/dark.png -------------------------------------------------------------------------------- /img/grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vutran1710/Ayu-Theme-Emacs/HEAD/img/grey.png -------------------------------------------------------------------------------- /img/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vutran1710/Ayu-Theme-Emacs/HEAD/img/light.png -------------------------------------------------------------------------------- /ayu-theme.el: -------------------------------------------------------------------------------- 1 | ;;; ayu-theme.el --- Ayu theme -*- lexical-binding: t -*- 2 | 3 | ;; Copyright (C) 2020 Tran Anh Vu 4 | 5 | ;; Author: Tran Anh Vu 6 | ;; Keywords: lisp theme emacs 7 | ;; URL: https://github.com/vutran1710/Ayu-Theme-Emacs 8 | ;; Package-Version: 1.0 9 | ;; Package-Requires: ((emacs "24.1")) 10 | 11 | ;; SPDX-License-Identifier: MIT 12 | 13 | ;;; Commentary: 14 | ;; Ayu-Theme Pack for Emacs with 3 versions: the light, they grey & the dark 15 | 16 | ;;; Code: 17 | 18 | ;;;###autoload 19 | (and load-file-name 20 | (add-to-list 'custom-theme-load-path 21 | (file-name-as-directory 22 | (file-name-directory load-file-name)))) 23 | 24 | (provide 'ayu-theme) 25 | 26 | ;;; ayu-theme.el ends here 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Vutr 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /readme.org: -------------------------------------------------------------------------------- 1 | #+OPTIONS: ^:nil 2 | #+TITLE: Ayu-Theme Pack for Emacs 3 | #+DATE: <2018-07-31 Tue> 4 | #+AUTHOR: Vu Tran 5 | #+EMAIL: me@vutr.io` 6 | 7 | * Content :TOC: 8 | - [[#introduction][Introduction]] 9 | - [[#screenshots][Screenshots]] 10 | - [[#installing][Installing]] 11 | - [[#manual][Manual]] 12 | - [[#melpa][Melpa]] 13 | - [[#quelpa][Quelpa]] 14 | - [[#licensecredit][License/Credit]] 15 | 16 | * Introduction 17 | Refer to the original [[https://github.com/dempfi/ayu][Ayu-theme]]. It's truly an amazing set of theme and someone has to port it to Emacs eventually. 18 | 19 | This repo currently provides 3 versions of Ayu-theme: the light, they grey & the dark. Refer to the files with correspondent 20 | names. 21 | 22 | 23 | * Screenshots 24 | 25 | #+ATTR_HTML: :style margin-left: auto; margin-right: auto; :width 300 26 | [[./img/light.png]] 27 | 28 | 29 | 30 | #+ATTR_HTML: :style margin-left: auto; margin-right: auto; :width 300 31 | [[./img/dark.png]] 32 | 33 | #+ATTR_HTML: :style margin-left: auto; margin-right: auto; :width 300 34 | [[./img/grey.png]] 35 | 36 | * Installing 37 | 38 | ** Manual 39 | 40 | Just copy the lisp files to your emacs config dir (ie: *~/.emacs.d*) and load them... 41 | 42 | *Example* 43 | #+begin_src sh 44 | cp ayu-*.el ~/.emacs.d/themes 45 | #+end_src 46 | 47 | And somewhere, with a little lisp... 48 | #+begin_src emacs-lisp 49 | (setq custom-theme-directory "~/.emacs.d/themes") 50 | #+end_src 51 | 52 | ** Melpa 53 | 54 | With *use-package* macro: 55 | 56 | #+begin_src emacs-lisp 57 | (use-package ayu-theme 58 | :config (load-theme 'ayu-dark t)) 59 | #+end_src 60 | 61 | ** Quelpa 62 | 63 | It's possible to install them using [[https://github.com/quelpa/quelpa][Quelpa]], though. 64 | 65 | #+BEGIN_SRC emacs-lisp 66 | (use-package ayu-theme 67 | :quelpa 68 | (ayu-theme :repo "vutran1710/Ayu-Theme-Emacs" :fetcher github) 69 | :config 70 | (load-theme 'ayu-dark t)) 71 | #+END_SRC 72 | 73 | * License/Credit 74 | All go to the original author of Ayu-theme. 75 | 76 | I just did the copy works. 77 | 78 | The colors might not be 100% accurate. 79 | -------------------------------------------------------------------------------- /ayu-light-theme.el: -------------------------------------------------------------------------------- 1 | ;;; ayu-light-theme.el --- Ayu light -*- lexical-binding: t; -*- 2 | 3 | ;; SPDX-License-Identifier: MIT 4 | 5 | ;; URL: https://github.com/vutran1710/Ayu-Theme-Emacs 6 | ;; Package-Version: 1.0 7 | ;; Package-Requires: ((emacs "24.1")) 8 | 9 | ;;; Commentary: 10 | ;; Ayu light 11 | 12 | ;;; Code: 13 | 14 | (deftheme ayu-light 15 | "Crafted by vutr.io, as a emacs-port version of the amazing Ayu theme") 16 | 17 | (custom-theme-set-faces 18 | 'ayu-light 19 | '(default ((t (:foreground "#5a6c75" :background "#f9fbfc")))) 20 | '(cursor ((t (:background "#f8c363")))) 21 | '(fixed-pitch ((t (:family "Monospace")))) 22 | '(variable-pitch ((((type w32)) (:foundry "outline" :family "Arial")) (t (:family "Sans Serif")))) 23 | '(escape-glyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown")))) 24 | '(minibuffer-prompt ((t (:foreground "#2196f3")))) 25 | '(highlight ((t (:inverse-video nil :background "#ECEFF1")))) 26 | '(region ((t (:background "#f8c363" :foreground "#fff")))) 27 | '(shadow ((t (:foreground "#607d8b")))) 28 | '(secondary-selection ((t (:background "#ffa500")))) 29 | '(trailing-whitespace ((t (:underline t :inverse-video t :foreground "#bc0404")))) 30 | '(font-lock-builtin-face ((t (:foreground "#2fb3e5")))) 31 | '(font-lock-comment-delimiter-face ((t (:foreground "gray60")))) 32 | '(font-lock-comment-face ((t (:foreground "gray70")))) 33 | '(font-lock-constant-face ((t (:foreground "#30b0b2")))) 34 | '(font-lock-doc-face ((t (:slant italic :foreground "#a9d500")))) 35 | '(font-lock-function-name-face ((t (:foreground "#ffae00")))) 36 | '(font-lock-keyword-face ((t (:foreground "#ff772d")))) 37 | '(font-lock-negation-char-face ((t (:foreground "#2196f3")))) 38 | '(font-lock-preprocessor-face ((t (:foreground "OrangeRed1")))) 39 | '(font-lock-regexp-grouping-backslash ((t (:foreground "#FFA000")))) 40 | '(font-lock-regexp-grouping-construct ((t (:foreground "#4527A0")))) 41 | '(font-lock-string-face ((t (:foreground "#68b527")))) 42 | '(font-lock-type-face ((t (:foreground "#c4a31c")))) 43 | '(font-lock-variable-name-face ((t (:foreground "#ad7f00")))) 44 | '(font-lock-warning-face ((t (:weight bold :foreground "#B71C1C")))) 45 | '(button ((t (:inherit (link))))) 46 | '(link ((t (:underline (:color foreground-color :style line))))) 47 | '(link-visited ((t (:foreground "magenta4" :inherit (link))))) 48 | '(fringe ((t nil))) 49 | '(header-line ((t (:foreground "#4527A0" :inherit (mode-line))))) 50 | '(tooltip ((t (:foreground "black" :background "lightyellow" :inherit (variable-pitch))))) 51 | '(mode-line ((t (:box (:line-width 1 :color "#ECEFF1" :style nil) :foreground "#212121" :background "gray98")))) 52 | '(mode-line-buffer-id ((t (:weight bold :foreground "dark orange")))) 53 | '(mode-line-emphasis ((t (:slant italic :foreground "salmon")))) 54 | '(mode-line-highlight ((t (:box nil :foreground "green4")))) 55 | '(mode-line-inactive ((t (:weight normal :foreground "#a7adba" :background "gray90" :inherit (mode-line))))) 56 | '(isearch ((t (:foreground "#FAFAFA" :background "#558b2f")))) 57 | '(isearch-fail ((t (:inverse-video t :background "#FAFAFA" :inherit (font-lock-warning-face))))) 58 | '(lazy-highlight ((t (:inverse-video nil :foreground "#FAFAFA" :background "#558b2f")))) 59 | '(match ((t (:inverse-video nil :foreground "#FAFAFA" :background "#558b2f")))) 60 | '(next-error ((t (:inherit (region))))) 61 | '(query-replace ((t (:inherit (isearch))))) 62 | '(line-number ((t (:foreground "#e3e4e5")))) 63 | '(line-number-current-line ((t (:foreground "#ff772d"))))) 64 | 65 | ;;;###autoload 66 | (and load-file-name 67 | (add-to-list 'custom-theme-load-path 68 | (file-name-as-directory 69 | (file-name-directory load-file-name)))) 70 | 71 | (provide-theme 'ayu-light) 72 | 73 | ;;; ayu-light-theme.el ends here 74 | -------------------------------------------------------------------------------- /ayu-dark-theme.el: -------------------------------------------------------------------------------- 1 | ;;; ayu-dark-theme.el --- Ayu dark -*- lexical-binding: t; -*- 2 | 3 | ;; SPDX-License-Identifier: MIT 4 | 5 | ;; URL: https://github.com/vutran1710/Ayu-Theme-Emacs 6 | ;; Package-Version: 1.0 7 | ;; Package-Requires: ((emacs "24.1")) 8 | 9 | ;;; Commentary: 10 | ;; Auy dark 11 | 12 | ;;; Code: 13 | 14 | (deftheme ayu-dark 15 | "Created 2018-05-06. An emacs-port of the dark verions of the amazing Ayu-theme") 16 | 17 | (custom-theme-set-faces 18 | 'ayu-dark 19 | '(default ((t (:foreground "#c3c0bb" :background "#000919" )))) 20 | '(cursor ((t (:background "DarkOrange1")))) 21 | '(escape-glyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown")))) 22 | '(minibuffer-prompt ((t (:foreground "#9DA5B4")))) 23 | '(highlight ((t (:background "#3E4451")))) 24 | '(region ((t (:background "#3E4451")))) 25 | '(shadow ((((class color grayscale) (min-colors 88) (background light)) (:foreground "grey50")) (((class color grayscale) (min-colors 88) (background dark)) (:foreground "grey70")) (((class color) (min-colors 8) (background light)) (:foreground "green")) (((class color) (min-colors 8) (background dark)) (:foreground "yellow")))) 26 | '(secondary-selection ((t (:background "#121417")))) 27 | '(trailing-whitespace ((((class color) (background light)) (:background "red1")) (((class color) (background dark)) (:background "red1")) (t (:inverse-video t)))) 28 | '(font-lock-builtin-face ((t (:foreground "DeepSkyBlue1")))) 29 | '(font-lock-comment-delimiter-face ((t (:inherit (font-lock-comment-face))))) 30 | '(font-lock-comment-face ((t (:foreground "#5C6370")))) 31 | '(font-lock-constant-face ((t (:foreground "#01fcff")))) 32 | '(font-lock-doc-face ((t (:inherit (font-lock-string-face))))) 33 | '(font-lock-function-name-face ((t (:foreground "#00bbea")))) 34 | '(font-lock-keyword-face ((t (:foreground "#ff6503")))) 35 | '(font-lock-negation-char-face ((t nil))) 36 | '(font-lock-preprocessor-face ((t (:foreground "#828997")))) 37 | '(font-lock-regexp-grouping-backslash ((t (:inherit (bold))))) 38 | '(font-lock-regexp-grouping-construct ((t (:inherit (bold))))) 39 | '(font-lock-string-face ((t (:slant italic :foreground "#bfe438")))) 40 | '(font-lock-type-face ((t (:foreground "#eec900")))) 41 | '(font-lock-variable-name-face ((t (:foreground "#9ba0a9")))) 42 | '(font-lock-warning-face ((t (:weight bold :foreground "#5C6370")))) 43 | '(button ((t (:inherit (link))))) 44 | '(link ((t (:weight bold :underline (:color foreground-color :style line) :foreground "#61AFEF")))) 45 | '(link-visited ((t (:weight normal :underline (:color foreground-color :style line) :foreground "#61AFEF")))) 46 | '(fringe ((t (:background "black")))) 47 | '(header-line ((t (:box nil :foreground "grey90" :background "grey20" :inherit (mode-line))))) 48 | '(tooltip ((t (:foreground "black" :background "lightyellow" :inherit (variable-pitch))))) 49 | '(mode-line ((t (:box (:line-width 1 :color "#181A1F" :style nil) :foreground "#9DA5B4" :background "#21252B")))) 50 | '(mode-line-buffer-id ((t (:weight bold)))) 51 | '(mode-line-emphasis ((t (:weight bold)))) 52 | '(mode-line-highlight ((((class color) (min-colors 88)) (:box (:line-width 2 :color "grey40" :style released-button))) (t (:inherit (highlight))))) 53 | '(mode-line-inactive ((t (:box (:line-width 1 :color "#181A1F" :style nil) :foreground "#3E4451" :background "#181A1F")))) 54 | '(isearch ((t (:foreground "#282C34" :background "#C678DD")))) 55 | '(isearch-fail ((t (:foreground "#BE5046")))) 56 | '(lazy-highlight ((t (:underline (:color "#C678DD" :style line) :foreground "#C678DD" :background "#121417")))) 57 | '(match ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "RoyalBlue3")) (((class color) (min-colors 8) (background light)) (:foreground "black" :background "yellow")) (((class color) (min-colors 8) (background dark)) (:foreground "white" :background "blue")) (((type tty) (class mono)) (:inverse-video t)) (t (:background "gray")))) 58 | '(next-error ((t (:inherit (region))))) 59 | '(query-replace ((t (:inherit (isearch))))) 60 | '(linum-highlight-face ((t (:foreground "gray70")))) 61 | '(linum ((t (:foreground "gray30"))))) 62 | 63 | 64 | ;;;###autoload 65 | (and load-file-name 66 | (add-to-list 'custom-theme-load-path 67 | (file-name-as-directory 68 | (file-name-directory load-file-name)))) 69 | 70 | (provide-theme 'ayu-dark) 71 | 72 | ;;; ayu-dark-theme.el ends here 73 | -------------------------------------------------------------------------------- /ayu-grey-theme.el: -------------------------------------------------------------------------------- 1 | ;;; ayu-grey-theme.el --- Ayu-theme gray -*- lexical-binding: t; -*- 2 | 3 | ;; SPDX-License-Identifier: MIT 4 | 5 | ;; URL: https://github.com/vutran1710/Ayu-Theme-Emacs 6 | ;; Package-Version: 1.0 7 | ;; Package-Requires: ((emacs "24.1")) 8 | 9 | ;;; Commentary: 10 | ;; Ayu gray 11 | 12 | ;;; Code: 13 | 14 | (deftheme ayu-grey 15 | "Created 2018-05-06. An emacs-port of the dark verions of the amazing Ayu-theme") 16 | 17 | (custom-theme-set-faces 18 | 'ayu-grey 19 | '(default ((t (:foreground "#fff2cc" :background "#232937")))) 20 | '(cursor ((t (:background "DarkOrange1")))) 21 | '(fixed-pitch ((t (:family "Monospace")))) 22 | '(variable-pitch ((((type w32)) (:foundry "outline" :family "Arial")) (t (:family "Sans Serif")))) 23 | '(escape-glyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown")))) 24 | '(minibuffer-prompt ((t (:foreground "#9DA5B4")))) 25 | '(highlight ((t (:background "#3E4451")))) 26 | '(region ((t (:background "#3E4451")))) 27 | '(shadow ((((class color grayscale) (min-colors 88) (background light)) (:foreground "grey50")) (((class color grayscale) (min-colors 88) (background dark)) (:foreground "grey70")) (((class color) (min-colors 8) (background light)) (:foreground "green")) (((class color) (min-colors 8) (background dark)) (:foreground "yellow")))) 28 | '(secondary-selection ((t (:background "#121417")))) 29 | '(trailing-whitespace ((((class color) (background light)) (:background "red1")) (((class color) (background dark)) (:background "red1")) (t (:inverse-video t)))) 30 | '(font-lock-builtin-face ((t (:foreground "#5de2e3")))) 31 | '(font-lock-comment-delimiter-face ((t (:inherit (font-lock-comment-face))))) 32 | '(font-lock-comment-face ((t (:foreground "#578697")))) 33 | '(font-lock-constant-face ((t (:foreground "#0efecd")))) 34 | '(font-lock-doc-face ((t (:foreground "#f1c232")))) 35 | '(font-lock-function-name-face ((t (:foreground "#ffeb99")))) 36 | '(font-lock-keyword-face ((t (:foreground "#ffb266")))) 37 | '(font-lock-negation-char-face ((t nil))) 38 | '(font-lock-preprocessor-face ((t (:foreground "#f37070")))) 39 | '(font-lock-regexp-grouping-backslash ((t (:inherit (bold))))) 40 | '(font-lock-regexp-grouping-construct ((t (:inherit (bold))))) 41 | '(font-lock-string-face ((t (:foreground "#a8ff45")))) 42 | '(font-lock-type-face ((t (:foreground "#67d7ef")))) 43 | '(font-lock-variable-name-face ((t (:foreground "#ffd966")))) 44 | '(font-lock-warning-face ((t (:weight bold :foreground "#5C6370")))) 45 | '(button ((t (:inherit (link))))) 46 | '(link ((t (:weight bold :underline (:color foreground-color :style line) :foreground "#61AFEF")))) 47 | '(link-visited ((t (:weight normal :underline (:color foreground-color :style line) :foreground "#61AFEF")))) 48 | '(fringe ((t (:background "#232937")))) 49 | '(header-line ((t (:box nil :foreground "grey90" :background "grey20" :inherit (mode-line))))) 50 | '(tooltip ((t (:foreground "black" :background "lightyellow" :inherit (variable-pitch))))) 51 | '(mode-line ((t (:foreground "#f6b26b" :background "#181e26")))) 52 | '(mode-line-buffer-id ((t (:weight bold)))) 53 | '(mode-line-emphasis ((t (:weight bold)))) 54 | '(mode-line-highlight ((((class color) (min-colors 88)) (:box (:line-width 2 :color "grey40" :style released-button))) (t (:inherit (highlight))))) 55 | '(mode-line-inactive ((t (:foreground "#3E4451" :background "#181A1F")))) 56 | '(isearch ((t (:foreground "#282C34" :background "#C678DD")))) 57 | '(isearch-fail ((t (:foreground "#BE5046")))) 58 | '(lazy-highlight ((t (:underline (:color "#C678DD" :style line) :foreground "#C678DD" :background "#121417")))) 59 | '(match ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "RoyalBlue3")) (((class color) (min-colors 8) (background light)) (:foreground "black" :background "yellow")) (((class color) (min-colors 8) (background dark)) (:foreground "white" :background "blue")) (((type tty) (class mono)) (:inverse-video t)) (t (:background "gray")))) 60 | '(next-error ((t (:inherit (region))))) 61 | '(query-replace ((t (:inherit (isearch))))) 62 | '(line-number ((t (:foreground "#353c4e")))) 63 | '(vertical-border ((t (:foreground "#101319")))) 64 | '(line-number-current-line ((t (:foreground "#ffe599"))))) 65 | 66 | ;;;###autoload 67 | (and load-file-name 68 | (add-to-list 'custom-theme-load-path 69 | (file-name-as-directory 70 | (file-name-directory load-file-name)))) 71 | 72 | (provide-theme 'ayu-grey) 73 | 74 | ;;; ayu-grey-theme.el ends here 75 | --------------------------------------------------------------------------------