No description
Find a file
2017-04-27 15:55:04 -04:00
doom-molokai-theme.el Add terminal colors 2017-03-12 22:18:01 +01:00
doom-neotree.el doom--first-match => cl-find-if 2017-02-17 17:43:33 -05:00
doom-nlinum.el nlinum: fix lingering highlight on first line of files 2017-02-17 17:43:49 -05:00
doom-one-light-theme.el Move doom.el into doom-themes.el (fix #12) 2016-09-19 17:40:51 +02:00
doom-one-theme.el doom-one: tweak org-mode faces 2017-04-27 15:55:04 -04:00
doom-themes.el v1.2.0 bump 2017-04-11 18:23:51 -04:00
LICENSE Update license 2017-01-06 17:38:09 -05:00
README.md Update README 2017-04-11 18:22:03 -04:00

MIT MELPA MELPA Stable

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.

See the screenshots.

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 and hl-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, and doom-neotree-file-icons is simple, then color files/folders by category (hidden, media, documentation, data or build file). See doom-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 the variable-pitch face applied to them.
  • These faces can be customized:
    • doom-neotree-dir-face: face for folders
    • doom-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.