
Evergarden for Neovim
evergarden is a comfy neovim colorscheme for cozy morning coding.
evergarden's palette is inspired by the [everforest
colorscheme](https://github.com/sainnhe/everforest) and [nord
colorscheme](https://github.com/nordtheme/nord) and its design is largely
influenced by [catppuccin](https://github.com/catppuccin/catppuccin).
evergarden was designed as a cozy theme with a focus on readability and visual
comfort.
### Previews
Winter
Fall
Spring
Summer
more screenshots
###### font in screenshots is [maple mono](https://github.com/subframe7536/maple-font)
## Installation
using `vim.pack`:
```lua
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',
},
},
})
```
using lazy.nvim
```lua
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',
},
},
}
}
```
using [vim-plug](https://github.com/junegunn/vim-plug):
```Vim
Plug 'https://codeberg.org/evergarden/nvim.git', { 'as': 'evergarden' }
```
## Configuration
```lua
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
```lua
{
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: `{ '#', '#' }`.
> [!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 (`#`).
```lua
require 'evergarden'.setup {
overrides = {
Normal = {
'#fddce3',
'#1d2021',
-- Additional highlight options can be included here
style = { 'bold', 'italic' }
},
Keyword = {
fg = '#ce96de',
bg = '#ae45be',
},
},
}
```
## Features
- Lots of style-customization options (background variants, color invertion, italics etc.)
- Support for Treesitter highlighting.
- Support for transparent background.
- Supported plugins: [blink_cmp][] [cmp][] [fzf_lua][] [gitsigns][] [indent_blankline][] [mini][] [neotree][] [nvimtree][] [rainbow_delimiters][] [symbols_outline][] [telescope][] [which_key][].
[blink_cmp]: https://github.com/Saghen/blink.cmp
[cmp]: https://github.com/hrsh7th/nvim-cmp
[fzf_lua]: https://github.com/ibhagwan/fzf-lua
[gitsigns]: https://github.com/lewis6991/gitsigns.nvim
[indent_blankline]: https://github.com/lukas-reineke/indent-blankline.nvim
[mini]: https://github.com/echasnovski/mini.nvim
[neotree]: https://github.com/nvim-neo-tree/neo-tree.nvim
[nvimtree]: https://github.com/nvim-tree/nvim-tree.lua
[rainbow_delimiters]: https://github.com/hiphish/rainbow-delimiters.nvim
[symbols_outline]: https://github.com/simrat39/symbols-outline.nvim
[telescope]: https://github.com/nvim-telescope/telescope.nvim
[which_key]: https://github.com/folke/which-key.nvim
## :sparkles: Extras
evergarden has been brought to many tools and editors by kind contributors you
can explore them on the [official site](https://evergarden.moe).
new ports are always welcome - if you’ve made one, feel free to reach out!
## License
[EUPL-1.2](https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12)