Skip to content

🌹 a comfy neovim colorscheme for cozy morning coding.

License

Notifications You must be signed in to change notification settings

comfysage/evergarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preview__lua

evergarden

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', 8 }, -- GUI color and cterm color for 'fg'
      { '#1d2021' },    -- GUI color for 'bg'

      -- Additional highlight options can be included here

      bold = true,
      italic = false,
    },
    Keyword = {
      fg = '#ce96de',         -- GUI color for 'fg'
      bg = { '#ae45be', 5 },  -- GUI color and cterm color for 'bg'
    },
  },
}

Features

  • Lots of style-customization options (contrast, color invertion etc.)
  • Support for Treesitter highlighting.
  • Support for transparent background.
  • Supported plugins: GitGutter, Telescope.

telescope preview

✨ Extras

License

MIT/X11