Material color scheme based on kristijanhusak/vim-hybrid-material for Vim.
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:
- press M-x
- type
load-theme
and confirm with ↲ - type
hybrid-reverse
and confirm with ↲
hybrid-reverse-theme
is available on MELPA:
- add MELPA as a package source
- press M-x
- type
package-install
and confirm with ↲ - 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)
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:
- press C-h v
- type
hybrid-reverse-theme-default-colors-alist
and confirm with ↲
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.