comfysage/evergarden

github github
colorschemetreesitter-colorschemes
stars 165
issues 0
subscribers 2
forks 5
CREATED

2023-09-13

UPDATED

4 days ago


preview__lua

evergarden is a comfy neovim colorscheme for cozy morning coding.

evergarden is inspired by the everforest colorscheme and nord colorscheme.

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

hard preview-hard__rust
medium preview-rust
soft preview-soft__rust

Installation

using lazy.nvim:

return {
  'comfysage/evergarden',
  priority = 1000, -- Colorscheme plugin is loaded first before any other plugins
  opts = {
    transparent_background = true,
    contrast_dark = 'medium', -- 'hard'|'medium'|'soft'
    overrides = { }, -- add custom overrides
  }
}

using vim-plug:

Plug 'comfysage/evergarden'

Configuration

require 'evergarden'.setup {
  transparent_background = false,
  contrast_dark = 'medium', -- 'hard'|'medium'|'soft'
  override_terminal = true,
  style = {
    tabline = { reverse = true, color = 'green' },
    search = { reverse = false, inc_reverse = true },
    types = { italic = true },
    keyword = { italic = true },
    comment = { italic = false },
    sign = { highlight = false },
  },
  overrides = { }, -- add custom overrides
}

Overrides

Overrides can take all options passed to vim.api.nvim_set_hl().

[!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 or arrays, with the first element representing the GUI color, and the second element representing the CTERM (Color Terminal) color, if specified.
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 (contrast, color invertion etc.)

  • Support for Treesitter highlighting.

  • Support for transparent background.

  • Supported plugins: GitGutter, Telescope.

telescope preview

:sparkles: Extras

License

MIT/X11