73 lines
1.6 KiB
Markdown
73 lines
1.6 KiB
Markdown
# Everforest Emacs Theme
|
|
|
|
An Emacs port of the [Everforest](https://github.com/sainnhe/everforest) Vim
|
|
theme, a low-contrast green-coloured theme. This is a current work in progress,
|
|
so expect issues and unorthodox coloring occasionally. The port is quite
|
|
opinionated from the original everforest theme, but I try to keep as true to the
|
|
original theme as possible, but making changes where needed for both functional
|
|
and cosmetic reasons.
|
|
|
|
This package is adopted from [the original everforest theme from theorytoe](https://git.sr.ht/~theorytoe/everforest-theme)
|
|
|
|
![Dark | Light](./dark_light.png)
|
|
|
|
## Installation
|
|
|
|
This theme is not on MELPA (yet), so a manual install is required
|
|
for stock emacs.
|
|
|
|
### straight.el
|
|
|
|
```elisp
|
|
(straight-use-package
|
|
'(everforest :type git :repo "https://git.solarpunk.moe/mossfet/Everforest"))
|
|
|
|
(load-theme 'everforest-hard-dark t)
|
|
;; (load-theme 'everforest-hard-light t)
|
|
```
|
|
|
|
### Doom Emacs (package!)
|
|
|
|
In `package.el`
|
|
```elisp
|
|
(package! everforest
|
|
:recipe (:repo "https://git.solarpunk.moe/mossfet/Everforest"))
|
|
```
|
|
|
|
And in `config.el`
|
|
```elisp
|
|
(use-package! everforest)
|
|
|
|
(load-theme 'everforest-hard-dark t)
|
|
;; (load-theme 'everforest-hard-light t)
|
|
```
|
|
|
|
### Manual
|
|
|
|
Clone the Repo
|
|
|
|
```bash
|
|
git clone https://git.solarpunk.moe/mossfet/Everforest ~/.emacs.d/everforest-theme
|
|
```
|
|
|
|
Add the theme to your custom-theme alist and load it
|
|
|
|
```elisp
|
|
(add-to-list 'custom-theme-load-path "~/.emacs.d/everforest")
|
|
(load-theme 'everforest-hard-dark t)
|
|
```
|
|
|
|
### Usage
|
|
|
|
Load the theme (disable any existing theme):
|
|
|
|
```
|
|
M-x load-theme RET everforest-hard-dark RET
|
|
```
|
|
|
|
To load the theme on emacs startup:
|
|
|
|
```elisp
|
|
(load-theme 'everforest-hard-dark t)
|
|
```
|