A dark and earthy colorscheme for Neovim. (mirror)
github.com/ptdewey/darkearth-nvim
neovim
neovim-colorscheme
fennel
1<h1 align="center">DarkEarth</h1>
2
3<p align="center">
4 A dark and earthy colorscheme for Neovim.
5</p>
6
7<p align="center">
8 <img src="assets/color_bar.png" alt="DarkEarth palette"/>
9</p>
10
11<p align="center">
12 <img src="assets/screenshot-0.png" alt="DarkEarth theme in neovim"/>
13</p>
14
15DarkEarth also comes with a light variant, LightEarth.
16
17<p align="center">
18 <img src="assets/lightearth-screenshot.png" alt="LightEarth theme in neovim"/>
19</p>
20
21## Installation
22
23Lazy:
24
25```lua
26{
27 "ptdewey/darkearth-nvim",
28 priority = 1000,
29},
30```
31
32`vim.pack`:
33
34```lua
35vim.pack.add({ "https://github.com/ptdewey/darkearth-nvim" })
36```
37
38## Usage
39
40```lua
41-- DarkEarth
42vim.cmd.colorscheme("darkearth")
43
44-- LightEarth
45vim.cmd.colorscheme("lightearth")
46```
47
48## Build or Modify
49
501. [fennel](https://github.com/bakpakin/Fennel) or [hotpot.nvim](https://github.com/rktjmp/hotpot.nvim/tree/main) is installed
512. Modify the source files as desired:
52 - Shared highlight groups are defined in [fnl/earth/macros.fnl](fnl/earth/macros.fnl)
53 - Theme-specific colors and overrides are in [fnl/darkearth/init.fnl](fnl/darkearth/init.fnl) and [fnl/lightearth/init.fnl](fnl/lightearth/init.fnl)
543. Rebuild the colorschemes
55 - With `fennel`: Use `./build.sh` or `just build`
56 - With `hotpot.nvim`: Builds are automatic upon saving
57
58Note: The version of darkearth built with [lush](https://github.com/rktjmp/lush.nvim) can be found on the [v1 branch](https://github.com/ptdewey/darkearth-nvim/tree/v1)
59
60## Extras
61
62I have also included a base16 colorscheme script [extras/base16-darkearth.sh](extras/base16-darkearth.sh) that can be used to set shell colors.
63
64## Inspiration
65
66- [miasma.nvim](https://github.com/xero/miasma.nvim) (What DarkEarth was originally forked from)
67- [Everforest](https://github.com/sainnhe/everforest)
68- [GruvBox](https://github.com/morhetz/gruvbox)