Skip to content

WTFox/jellybeans.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🟣 Jellybeans.nvim

A port of the jellybeans colorscheme for Neovim, written in Lua.

Note: This colorscheme is very much a work in progress so breaking changes should be expected. If you find any issues, please report them. I don't have a lot of experience with colorschemes so pull requests are welcome.

jellybeans jellybeans

✨ Features

📦 Installation

Using lazy.nvim:

{
    "wtfox/jellybeans.nvim",
    priority = 1000,
    config = function()
        require("jellybeans").setup()
        vim.cmd.colorscheme("jellybeans")
    end,
}

🛠️ Configuration

Jellybeans ships with the following defaults

{
  style = "dark", -- "dark" or "light"
  transparent = false,
  italics = true,
  plugins = {
    all = false,
    auto = true, -- will read lazy.nvim and apply the colors for plugins that are installed
  },
  on_highlights = function(highlights, colors)
  end,
  on_colors = function(colors)
  end,
}

You can easily override the color palette. For example, here's how to change the background color:

  opts = {
    on_colors = function(c)
      local light_bg = "#ffffff"
      local dark_bg = "#000000"
      c.background = vim.o.background == "light" and light_bg or dark_bg
    end,
  }

If you want more control over highlight groups, that is also possible:

  opts = {
    on_highlights = function(hl, c)
      hl.Constant = { fg = "#00ff00", bold = true }
    end,
  },

Lualine

The theme includes a Lualine theme. To enable it:

require('lualine').setup {
    options = {
        theme = 'jellybeans'
    }
}

🔌 Extras Support

  • FZF
  • Wezterm
  • Windows Terminal
  • Yazi
  • and more...

💕 Inspirations

About

Lua port of Jellybeans.vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published