No description
doom-molokai-theme.el | ||
doom-neotree.el | ||
doom-nlinum.el | ||
doom-one-light-theme.el | ||
doom-one-theme.el | ||
doom-themes.el | ||
LICENSE | ||
README.md |
doom-themes
An opinionated UI plugin/pack of themes extracted from my emacs.d, inspired by the One Dark/Light UI and syntax themes in Atom.
Notes:
- Uses
face-remapping-alist
, which won't work in terminal emacs (but fails gracefully). - Tested mainly on Emacs 25.1+
Features
- An assortment of color schemes (feel free to request or contribute more)
Optional features:
- Dimming of non-source buffers (and minibuffer) to visually distinguish file buffers from temporary or special buffers.
- A neotree theme with configurable font icons (requires the fonts in all-the-icons to be installed).
- Highlighting of the current line number (requires
nlinum
andhl-line-mode
). - (soon) A mode-line config.
Currently available colorschemes:
- doom-one: inspired by Atom One Dark
- doom-molokai: based on molokai
Soon to come:
- doom-one-classic: a more vibrant version of doom-one
- doom-one-light: inspired by Atom One Light
- doom-tron: daylerees' Tron Legacy colorscheme
- doom-peacock: daylerees' Peacock colorscheme
- doom-spacegrey: I'm sure you've heard of it
- doom-mono-dark: A minimalistic, custom colorscheme
- doom-mono-light: A minimalistic, custom colorscheme
Installation
M-x package-install RET doom-themes
, or clone the repo somewhere in
your load-path
.
A comprehensive configuration example:
(require 'doom-themes)
;;; Settings (defaults)
(setq doom-enable-bold t ; if nil, bolding are universally disabled
doom-enable-italic t ; if nil, italics are universally disabled
;; doom-one specific settings
doom-one-brighter-modeline nil
doom-one-brighter-comments nil)
;; Load the theme (doom-one, doom-dark, etc.)
(load-theme 'doom-one t)
;;; OPTIONAL
;; brighter source buffers (that represent files)
(add-hook 'find-file-hook 'doom-buffer-mode-maybe)
;; if you use auto-revert-mode
(add-hook 'after-revert-hook 'doom-buffer-mode-maybe)
;; you can brighten other buffers (unconditionally) with:
(add-hook 'ediff-prepare-buffer-hook 'doom-buffer-mode)
;; brighter minibuffer when active
(add-hook 'minibuffer-setup-hook 'doom-brighten-minibuffer)
;; Enable custom neotree theme
(require 'doom-neotree) ; all-the-icons fonts must be installed!
;; Enable nlinum line highlighting
(require 'doom-nlinum) ; requires nlinum and hl-line-mode
Integrations
Org-mode
To get the most out of these themes in org-mode, you need:
(setq org-fontify-whole-heading-line t
org-fontify-done-headline t
org-fontify-quote-and-verse-blocks t)
neotree
(require 'doom-neotree)
Modifies neotree to use icons for folders and files (as shown in the screenshots).
Note:
- This disables
neo-vc-integration
, because the two are incompatible. doom-neotree-enable-file-icons
(default:t
)doom-neotree-enable-folder-icons
(default:t
)doom-neotree-enable-chevron-icons
(default:t
)doom-neotree-file-icons
determines what style of icons to use:t
: use the wide range of all-the-icons file type icons.'simple
: use a minimialistic set of file icons (most akin to Atom's default iconset).nil
: only use the folder icon for directories. No icons for files.
- Customize the icons with:
doom-neotree-enable-type-colors
(default:t
): if non-nil, anddoom-neotree-file-icons
issimple
, then color files/folders by category (hidden, media, documentation, data or build file). Seedoom-neotree-file-face-re-alist
to configure this, and what face to assign each file type.doom-neotree-project-size
(default:1.4
) The:height
to display the project icons (at the top) at.doom-neotree-folder-size
(default:1.05
) The:height
to display folder icons at.doom-neotree-chevron-size
(default:0.8
) The:height
to display chevron icons at.doom-neotree-line-spacing
(default:2
): line-spacing to use in the neotree buffer.doom-neotree-enable-variable-pitch
(default:t
): if non-nil, file/folder labels will have thevariable-pitch
face applied to them.
- These faces can be customized:
doom-neotree-dir-face
: face for foldersdoom-neotree-file-face
: face for files
- If
doom-neotree-enable-type-colors
is non-nil, file and folder entries will be colored with these faces, depending on their "type":doom-neotree-hidden-file-face
(dotfiles, *.o, *.pyc, *.elc, etc)doom-neotree-text-file-face
(READMEs, LICENSEs, org, md, etc.)doom-neotree-media-file-face
(images, video, audio, archives, etc.)doom-neotree-data-file-face
(json, xml, toml, yaml, etc.)
mode-line config
The custom mode-line isn't part of doom-themes yet, but will be soon.
In the meantime, check out my mode-line configuration in my emacs.d.