8000 GitHub - RazikSF/themes at v1.1.5
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RazikSF/themes

Repository files navigation

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.

Includes optional dimming of non-source buffers (and minibuffer), a neotree theme with font icons, and (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-light: inspired by Atom One Light
  • doom-tron: doom-one, but with daylerees' Tron Legacy colorscheme
  • doom-peacock: doom-one, but with daylerees' Peacock colorscheme

Notes:

  • Uses face-remapping-alist, which won't work in terminal emacs (but degrades gracefully).
  • Tested mainly on Emacs 24.5+

Screenshots

Find them in the screenshots branch

Installation

  1. Install from MELPA M-x package-install RET doom-themes, or clone the repo somewhere in your load-path.

  2. If you want the neotree theme, download and install the fonts included with all-the-icons.

  3. (require 'doom-themes) and then load the theme you want.

Example configuration:

(require 'doom-themes)
(load-theme 'doom-one t) ;; or doom-dark, etc.

;;; OPTIONAL
;; brighter source buffers
(add-hook 'find-file-hook 'doom-buffer-mode)
;; brighter minibuffer when active
(add-hook 'minibuffer-setup-hook 'doom-brighten-minibuffer)
;; Custom neotree theme
(require 'doom-neotree)

Configuration

  • global
    • doom-enable-bold (default: t): if nil, bolding will be disabled across all faces.
    • doom-enable-italic (default: t): if nil, italicization will be disabled across all faces.
  • doom-one
    • doom-one-brighter-modeline (default: nil): If non-nil, the mode-line background is slightly brighter.
    • doom-one-brighter-comments (default: nil): If non-nil, comments are brighter and easier to see.

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)

Enabling other features

Dimmed non-source buffers/windows

(add-hook 'find-file-hook 'doom-buffer-mode)

Enable doom-buffer-mode in buffers where you want a slightly brighter background. I use it to visually set apart source buffers from popups, the minibuffer, or temporary buffers.

This works by remapping the default, hl-line and linum faces to doom-default, doom-hl-line and doom-linum.

Ediff and doom-buffer-mode

The temporary buffers ediff spin up will not be dimmed. You can fix this with:

(add-hook 'ediff-prepare-buffer-hook 'doom-buffer-mode)

Neotree integration

(require 'doom-neotree)

Modifies neotree to use icons for folders and files (as shown in the screenshots).

Note:

  • File icons are disabled by default. Use (setq doom-neotree-enable-file-icons t) to enable them.
  • doom-neotree-file-icons determines what style of icons to use:
    • t: use the wide range of all-the-icons file 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.
  • This disables neo-vc-integration, because the two are incompatible.
  • This can be customized by changing these variables:
    • doom-neotree-folder-size (default: 1.0) 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-file-icons (default: nil) If t, display filetype icons next to each file. If set to simple, a minimalistic set of icons will be used (much closer to Atom's look).
    • doom-neotree-enable-folder-icons (default: t)
    • doom-neotree-enable-chevron-icons (default: t)
  • These faces can be customized:
    • doom-neotree-folder-face: face for folder icons
    • doom-neotree-chevron-face: face for chevron icons

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.

Brighter minibuffer

(add-hook 'minibuffer-setup-hook 'doom-brighten-minibuffer)

This highlights the minibuffer while its active by remapping the default face to doom-minibuffer-active.

Note: there is no way to reliably change the minibuffer's background permanently.

About

A megapack of themes for GNU Emacs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%
0