Skip to content

Files

Latest commit

a28044a · Aug 30, 2020

History

History
72 lines (50 loc) · 2.47 KB

README.org

File metadata and controls

72 lines (50 loc) · 2.47 KB

https://img.shields.io/badge/license-GPL_3-green.svg https://melpa.org/packages/hybrid-reverse-theme-badge.svg

Hybrid Reverse theme for Emacs

Material color scheme based on kristijanhusak/vim-hybrid-material for Vim.

Installation

Manual

Download hybrid-reverse-theme.el to the directory ~/.emacs.d/themes/.

Before activating the theme, add this to your init.el.

(add-to-list 'custom-theme-load-path (expand-file-name "~/.emacs.d/themes/"))

Now you can activate the theme:

  1. press M-x
  2. type load-theme and confirm with
  3. type hybrid-reverse and confirm with

Package.el

hybrid-reverse-theme is available on MELPA:

  1. add MELPA as a package source
  2. press M-x
  3. type package-install and confirm with
  4. type hybrid-reverse-theme and confirm with

To activate the theme automatically on Emacs startup, add this to your init.el:

(load-theme 'hybrid-reverse t)

Customization

Custom Colors

If you’d like to tweak the theme by changing the pallete colors, you can do so by defining new values in the following variable before loading the theme:

(setq hybrid-reverse-theme-override-colors-alist
	  '(("hr-red"   . "#FF0000")
		("hr-green" . "#00FF00")
		("hr-blue"  . "#0000FF")))
(load-theme 'hybrid-reverse t)

To see the full list of the pallete color names you can override:

  1. press C-h v
  2. type hybrid-reverse-theme-default-colors-alist and confirm with

Custom Faces

If you’d like to tweak the theme by changing the colors of specific faces, you can do so with the set-face functions:

(hybrid-reverse-theme-with-color-variables
   (set-face-foreground 'link hr-red)
   (set-face-background 'cursor hr-green)
   (set-face-attribute  'default nil :foreground hr-blue :background "#FFFF00"))

To see the full list of the pallete color names or the faces, consult the hybrid-reverse-theme.el source file.