evergarden/nvim

comfy neovim colorscheme for cozy morning coding

git clone https://git.robinwobin.dev/evergarden/nvim

junedoc: update site url477ad8d

main
7.3 KiB256 linesraw
<h3 align="center"> <img src="https://github.com/everviolet/.github/raw/main/assets/logo-circle.png" width="100" alt="Logo"/><br/> Evergarden for <a href="https://github.com/neovim/neovim">Neovim</a> </h3> <p align="center"> <a href="https://github.com/everviolet/nvim/stargazers"><img src="https://img.shields.io/github/stars/everviolet/nvim?style=for-the-badge&colorA=313B40&colorB=DBBC7F"></a> <a href="https://github.com/everviolet/nvim/issues"><img src="https://img.shields.io/github/issues/everviolet/nvim?style=for-the-badge&colorA=313B40&colorB=E69875"></a> <a href="https://github.com/everviolet/nvim/contributors"><img src="https://img.shields.io/github/contributors/everviolet/nvim?style=for-the-badge&colorA=313B40&colorB=97C9C3"></a> </p> <p align="center"> <img src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/preview.webp"/> </p>

evergarden is a comfy neovim colorscheme for cozy morning coding.

evergarden's palette is inspired by the everforest colorscheme and nord colorscheme and its design is largely influenced by catppuccin.

evergarden was designed as a cozy theme with a focus on readability and visual comfort.

Previews

<details> <summary>Winter</summary> <img alt="winter variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/winter.webp"/> </details> <details> <summary>Fall</summary> <img alt="fall variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/fall.webp"/> </details> <details> <summary>Spring</summary> <img alt="spring variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/spring.webp"/> </details> <details> <summary>Summer</summary> <img alt="summer variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/summer.webp"/> </details> <details> <summary>more screenshots</summary> <img alt="preview image of zig code" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/zig.webp"/> <img alt="preview image of nix code" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/nix.webp"/> </details>
font in screenshots is maple mono

Installation

using vim.pack:

vim.pack.add({ { src = "https://codeberg.org/evergarden/nvim.git", name = "evergarden" } })

require('evergarden').setup({
  theme = {
    variant = 'fall', -- 'winter'|'fall'|'spring'|'summer'
    accent = 'green',
  },
  editor = {
    transparent_background = false,
    sign = { color = 'none' },
    float = {
      color = 'mantle',
      solid_border = false,
    },
    completion = {
      color = 'surface0',
    },
  },
})
<details> <summary> using <a href="https://github.com/folke/lazy.nvim">lazy.nvim</a> </summary>
return {
  'everviolet/nvim', name = 'evergarden',
  priority = 1000, -- Colorscheme plugin is loaded first before any other plugins
  opts = {
    theme = {
      variant = 'fall', -- 'winter'|'fall'|'spring'|'summer'
      accent = 'green',
    },
    editor = {
      transparent_background = false,
      sign = { color = 'none' },
      float = {
        color = 'mantle',
        solid_border = false,
      },
      completion = {
        color = 'surface0',
      },
    },
  }
}
</details>

using vim-plug:

Plug 'https://codeberg.org/evergarden/nvim.git', { 'as': 'evergarden' }

Configuration

require 'evergarden'.setup {
  theme = {
    variant = 'fall', -- 'winter'|'fall'|'spring'|'summer'
    accent = 'green',
  },
  editor = {
    transparent_background = false,
    override_terminal = true,
    sign = { color = 'none' },
    float = {
      color = 'mantle',
      solid_border = false,
    },
    completion = {
      color = 'surface0',
    },
  },
  style = {
    tabline = { 'reverse' },
    search = { 'italic', 'reverse' },
    incsearch = { 'italic', 'reverse' },
    types = { 'italic' },
    keyword = { 'italic' },
    comment = { 'italic' },
  },
  overrides = {},
  color_overrides = {},
}

Integrations

{
  integrations = {
    blink_cmp = true,
    cmp = true,
    fzf_lua = true,
    gitsigns = true,
    indent_blankline = { enable = true, scope_color = 'green' },
    mini = {
      enable = true,
      animate = true,
      clue = true,
      completion = true,
      cursorword = true,
      deps = true,
      diff = true,
      files = true,
      hipatterns = true,
      icons = true,
      indentscope = true,
      jump = true,
      jump2d = true,
      map = true,
      notify = true,
      operators = true,
      pick = true,
      starters = true,
      statusline = true,
      surround = true,
      tabline = true,
      test = true,
      trailspace = true,
    },
    nvimtree = true,
    rainbow_delimiters = true,
    symbols_outline = true,
    telescope = true,
    which_key = true,
    neotree = true,
  },
}

Overrides

Overrides can take a few options:

  • fg: foreground color (e.g., "#fddce3")
  • bg: background color (e.g., "#1d2021")
  • style: styles for highlight (e.g., { 'bold', 'italic' })

Foreground and background colors can also be written with a shorthand: { '#<fg>', '#<bg>' }.

[!note]

  • Ensure that fg (foreground color) and bg (background color) are correctly positioned as the first and second elements in the table, respectively. The fg and bg fields can also be refered to directly.
  • Confirm that fg and bg are strings, starting with a hash (#).
require 'evergarden'.setup {
  overrides = {
    Normal = {
      '#fddce3',
      '#1d2021',

      -- Additional highlight options can be included here
      style = { 'bold', 'italic' }
    },
    Keyword = {
      fg = '#ce96de',
      bg = '#ae45be',
    },
  },
}

Features

:sparkles: Extras

evergarden has been brought to many tools and editors by kind contributors you can explore them on the official site.

new ports are always welcome - if you’ve made one, feel free to reach out!

License

EUPL-1.2

1<h3 align="center">
2	<img src="https://github.com/everviolet/.github/raw/main/assets/logo-circle.png" width="100" alt="Logo"/><br/>
3	Evergarden for <a href="https://github.com/neovim/neovim">Neovim</a>
4</h3>
5
6<p align="center">
7	<a href="https://github.com/everviolet/nvim/stargazers"><img src="https://img.shields.io/github/stars/everviolet/nvim?style=for-the-badge&colorA=313B40&colorB=DBBC7F"></a>
8	<a href="https://github.com/everviolet/nvim/issues"><img src="https://img.shields.io/github/issues/everviolet/nvim?style=for-the-badge&colorA=313B40&colorB=E69875"></a>
9	<a href="https://github.com/everviolet/nvim/contributors"><img src="https://img.shields.io/github/contributors/everviolet/nvim?style=for-the-badge&colorA=313B40&colorB=97C9C3"></a>
10</p>
11
12<p align="center">
13	<img src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/preview.webp"/>
14</p>
15
16evergarden is a comfy neovim colorscheme for cozy morning coding.
17
18evergarden's palette is inspired by the [everforest
19colorscheme](https://github.com/sainnhe/everforest) and [nord
20colorscheme](https://github.com/nordtheme/nord) and its design is largely
21influenced by [catppuccin](https://github.com/catppuccin/catppuccin).
22
23evergarden was designed as a cozy theme with a focus on readability and visual
24comfort.
25
26### Previews
27
28<details>
29<summary>Winter</summary>
30<img alt="winter variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/winter.webp"/>
31</details>
32<details>
33<summary>Fall</summary>
34<img alt="fall variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/fall.webp"/>
35</details>
36<details>
37<summary>Spring</summary>
38<img alt="spring variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/spring.webp"/>
39</details>
40<details>
41<summary>Summer</summary>
42<img alt="summer variant preview" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/summer.webp"/>
43</details>
44
45<details>
46<summary>more screenshots</summary>
47<img alt="preview image of zig code" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/zig.webp"/>
48<img alt="preview image of nix code" src="https://raw.githubusercontent.com/everviolet/nvim/mega/assets/previews/nix.webp"/>
49</details>
50
51###### font in screenshots is [maple mono](https://github.com/subframe7536/maple-font)
52
53## Installation
54
55using `vim.pack`:
56
57```lua
58vim.pack.add({ { src = "https://codeberg.org/evergarden/nvim.git", name = "evergarden" } })
59
60require('evergarden').setup({
61  theme = {
62    variant = 'fall', -- 'winter'|'fall'|'spring'|'summer'
63    accent = 'green',
64  },
65  editor = {
66    transparent_background = false,
67    sign = { color = 'none' },
68    float = {
69      color = 'mantle',
70      solid_border = false,
71    },
72    completion = {
73      color = 'surface0',
74    },
75  },
76})
77```
78
79<details>
80<summary> using <a href="https://github.com/folke/lazy.nvim">lazy.nvim</a> </summary>
81
82```lua
83return {
84  'everviolet/nvim', name = 'evergarden',
85  priority = 1000, -- Colorscheme plugin is loaded first before any other plugins
86  opts = {
87    theme = {
88      variant = 'fall', -- 'winter'|'fall'|'spring'|'summer'
89      accent = 'green',
90    },
91    editor = {
92      transparent_background = false,
93      sign = { color = 'none' },
94      float = {
95        color = 'mantle',
96        solid_border = false,
97      },
98      completion = {
99        color = 'surface0',
100      },
101    },
102  }
103}
104```
105
106</details>
107
108using [vim-plug](https://github.com/junegunn/vim-plug):
109
110```Vim
111Plug 'https://codeberg.org/evergarden/nvim.git', { 'as': 'evergarden' }
112```
113
114## Configuration
115
116```lua
117require 'evergarden'.setup {
118  theme = {
119    variant = 'fall', -- 'winter'|'fall'|'spring'|'summer'
120    accent = 'green',
121  },
122  editor = {
123    transparent_background = false,
124    override_terminal = true,
125    sign = { color = 'none' },
126    float = {
127      color = 'mantle',
128      solid_border = false,
129    },
130    completion = {
131      color = 'surface0',
132    },
133  },
134  style = {
135    tabline = { 'reverse' },
136    search = { 'italic', 'reverse' },
137    incsearch = { 'italic', 'reverse' },
138    types = { 'italic' },
139    keyword = { 'italic' },
140    comment = { 'italic' },
141  },
142  overrides = {},
143  color_overrides = {},
144}
145```
146
147### Integrations
148
149```lua
150{
151  integrations = {
152    blink_cmp = true,
153    cmp = true,
154    fzf_lua = true,
155    gitsigns = true,
156    indent_blankline = { enable = true, scope_color = 'green' },
157    mini = {
158      enable = true,
159      animate = true,
160      clue = true,
161      completion = true,
162      cursorword = true,
163      deps = true,
164      diff = true,
165      files = true,
166      hipatterns = true,
167      icons = true,
168      indentscope = true,
169      jump = true,
170      jump2d = true,
171      map = true,
172      notify = true,
173      operators = true,
174      pick = true,
175      starters = true,
176      statusline = true,
177      surround = true,
178      tabline = true,
179      test = true,
180      trailspace = true,
181    },
182    nvimtree = true,
183    rainbow_delimiters = true,
184    symbols_outline = true,
185    telescope = true,
186    which_key = true,
187    neotree = true,
188  },
189}
190```
191
192### Overrides
193
194Overrides can take a few options:
195
196- `fg`: foreground color (e.g., `"#fddce3"`)
197- `bg`: background color (e.g., `"#1d2021"`)
198- `style`: styles for highlight (e.g., `{ 'bold', 'italic' }`)
199
200Foreground and background colors can also be written with a shorthand: `{ '#<fg>', '#<bg>' }`.
201
202> [!note]
203>
204> - Ensure that `fg` (foreground color) and `bg` (background color) are
205>   correctly positioned as the first and second elements in the table,
206>   respectively. The `fg` and `bg` fields can also be refered to directly.
207> - Confirm that `fg` and `bg` are strings, starting with a hash (`#`).
208
209```lua
210require 'evergarden'.setup {
211  overrides = {
212    Normal = {
213      '#fddce3',
214      '#1d2021',
215
216      -- Additional highlight options can be included here
217      style = { 'bold', 'italic' }
218    },
219    Keyword = {
220      fg = '#ce96de',
221      bg = '#ae45be',
222    },
223  },
224}
225```
226
227## Features
228
229- Lots of style-customization options (background variants, color invertion, italics etc.)
230- Support for Treesitter highlighting.
231- Support for transparent background.
232- Supported plugins: [blink_cmp][] [cmp][] [fzf_lua][] [gitsigns][] [indent_blankline][] [mini][] [neotree][] [nvimtree][] [rainbow_delimiters][] [symbols_outline][] [telescope][] [which_key][].
233
234[blink_cmp]: https://github.com/Saghen/blink.cmp
235[cmp]: https://github.com/hrsh7th/nvim-cmp
236[fzf_lua]: https://github.com/ibhagwan/fzf-lua
237[gitsigns]: https://github.com/lewis6991/gitsigns.nvim
238[indent_blankline]: https://github.com/lukas-reineke/indent-blankline.nvim
239[mini]: https://github.com/echasnovski/mini.nvim
240[neotree]: https://github.com/nvim-neo-tree/neo-tree.nvim
241[nvimtree]: https://github.com/nvim-tree/nvim-tree.lua
242[rainbow_delimiters]: https://github.com/hiphish/rainbow-delimiters.nvim
243[symbols_outline]: https://github.com/simrat39/symbols-outline.nvim
244[telescope]: https://github.com/nvim-telescope/telescope.nvim
245[which_key]: https://github.com/folke/which-key.nvim
246
247## :sparkles: Extras
248
249evergarden has been brought to many tools and editors by kind contributors you
250can explore them on the [official site](https://evergarden.moe).
251
252new ports are always welcome - if you’ve made one, feel free to reach out!
253
254## License
255
256[EUPL-1.2](https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12)