Code Monkey home page Code Monkey logo

everforest-nvim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

everforest-nvim's Issues

Add option to override colors in config

It would be nice to be able to override specific colors via the config table, e.g.:

require("lazy").setup({
  "neanias/everforest-nvim",
  version = false,
  lazy = false,
  priority = 1000, -- make sure to load this before all the other start plugins
  -- Optional; default configuration will be used if setup isn't called.
  config = function()
    require("everforest").setup({
      -- Your config here
      palette = {
        bg0 = "#000000"
      }
    })
  end,
})

Opening a PR soon.

Git Gutter Different Background

With the theme configured as "medium" and with the transparent_background_level as 0 the gitgutter and lsp signs seem to have a different background. Am I configuring something wrong?
Screenshot 2023-06-13 at 12 12 17 PM

If I make the transparent_background_level then it all matches but I'd prefer not to use the transparent background.

Feat Request: Variable Transparency

I would like to be able to have a slightly transparent background instead of all or nothing. Is this something that can be reasonably added to the plugin?

How to get transparent background on LazyVim distro

Hi there,
I am currently using the LazyVim distro and currently trying to enable a transparent background on the theme, but I'm a bit lost at the moment. Would you be able to help me out?

This is what I've tried so far:

return {
  {
    "neanias/everforest-nvim",
    config = function()
      require("everforest").setup({
        transparent = true,
      })
    end,
  },
  {
    "LazyVim/LazyVim",
    opts = {
      colorscheme = "everforest",
    },
  },
}

StatusLineNC highlight causes infinite ^ in status line

If I don't supply my own highlight group for hl.StatusLineNC I get this:

CleanShot 2023-08-29 at 09 36 33@2x

Anytime I use a fuzzy find or open a split.

	{
		"neanias/everforest-nvim",
		version = false,
		lazy = false,
		priority = 1000, -- make sure to load this before all the other start plugins
		-- Optional; default configuration will be used if setup isn't called.
		config = function()
			require("everforest").setup({
				-- Your config here
				background = "soft",
				transparent_background_level = 2,
				italics = true,
				on_highlights = function(hl, palette)
					hl.StatusLineNC = { fg = palette.none, bg = palette.none, sp = palette.red }
				end,
			})
		end,
	},

I'm not sure why this is happening (on latest Neovim Nightly) but it looks like its related to the highlight groups being the same.
nordtheme/vim#37

Thought I would report in case other have issues with the workaround above.

Undesired transparent nvim tree with kitty

Hello,
Recently, I've migrated the terminal emulator from iTerm2 to kitty and faced a minor issue regarding transparency.

Screenshot 2024-04-10 at 01 52 48

As shown above, nvim tree's background is transparent which is not the desired behaviour.
I want to set the terminal transparent but not neovim so I have set background_opacity 0.85 from kitty.conf and not set the transparent_background_level to 1 or 2.

I tried :hi NvimTreeNormal and it says NvimTreeNormalxxx guifg=#d3c6aa guibg=#1e2326 normally. So I also tried :hi NvimTreeNormal guibg=#123456 with random colour, and it worked but only the default colour (#1e2326) seems not to be working.

And thanks a lot for the colorscheme! I'm really enjoying it :)

How can I change the style of the highlights?

I'd like to change some highlights style by overriding them, I have tried to put style = "bold in the highlights group, but it didn't work. After looking at the source code, I guess it might be stylings instead of style like below:

 config = function()
            require("everforest").setup({
                on_highlights = function(hl, palette)
                    hl.Boolean = { stylings = { "bold" } }
                    hl.Number = { stylings = { "bold" } }
                    hl.String = { stylings = { "bold" } }
                    hl.Function = { stylings = { "bold" } }
                    hl.Conditional = { stylings = { "bold" } }
                end,
            })
        end,

But it didn't work either, so how can I change the style?

Get palette colors

Is there a function to easily get the current palette's colors? For example, with catppuccin, there's the get_palette function:

local flavor = vim.g.catppuccin_flavour
local C = require("catppuccin.palettes").get_palette(flavor)

And then you can easily retrieve a color's hex value:

local green = C.green

[Feature request] Improved Svelte support

I really like that this colorscheme is capable of highlighting <style> blocks in Svelte, but in <script> section, comments or literals are not handled too well. See screenshot.
image

Flash.nvim legibility

image

๐Ÿ‘‹

I've been using Flash.nvim -- appreciate your adding support for it! Unfortunately the fg on top of purple (for atl least the hard variation of everforest) is not very legible. Would dropping the background change and using purple for the text color work, as the rest of the theme is greyed?

Overriding Lualine Highlights

I want to override the Lualine A section to use the highlight fg and bg of Lualine C. Am I getting the highlight group correctly in the code below

  on_highlights = function(highlight_groups, palette)
        highlight_groups.lualine_a_normal =
          { bg = palette.bg1, fg = palette.grey1 }
  end,

Lualine

I am running into an issue attempting to use the everforest theme in lualine. If I just set `theme = "everforest" in the lualine setup options as suggested by the README, lualine complains that it doesn't know about the everforest theme and falls back to "auto".

I then copied lua/lualine/themes/everforest.lua from this repository to my neovim cconfig as lua/themes/lualine/everforest.lua and in my lualine config did:

theme = require("themes.lualine.everforest")

This produced the following error:

๏™™  Error  04:58:08 PM notify.error lazy.nvim Failed to run `config` for lualine.nvim

...e/.config/nvim-lazyman/lua/themes/lualine/everforest.lua:12: attempt to index local 'palette' (a nil value)

# stacktrace:
  - everforest.lua:12
  - ~/.config/nvim-lazyman/lua/config/lualine.lua:20
  - ~/.config/nvim-lazyman/lua/plugins/ui.lua:135 _in_ **config**
  - /tabline.nvim/lua/tabline.lua:841 _in_ **setup**
  - ~/.config/nvim-lazyman/lua/config/tabline.lua:1
  - ~/.config/nvim-lazyman/lua/plugins/ui.lua:143 _in_ **config**

My setup is somewhat convoluted as I am supporting multiple themes and multiple neovim configurations so it is entirely possible the issue is on my end. But, I like everforest and I am glad there is a lua implementation so I wanted to inform you of this potential issue with the lualine support.

The good news is that lualine's "auto" support for everforest is very good. So for now I am just using theme = "auto" in my lualine config for everforest.

Neovim 0.10 compatibility

It appears that neovim 0.10 did something about highlight groups
https://github.com/neovim/neovim/blob/42aa69b076cb338e20b5b4656771f1873e8930d8/runtime/doc/news-0.10.txt#L25-L36

โ€ข This also might result into some color schemes looking differently due
  to them relying on implicit assumptions about how highlight groups are
  defined by default. To account for this, define all attributes of
  highlight groups explicitly. Alternatively, use `:colorscheme vim` or
  `:source $VIMRUNTIME/colors/vim.lua` to restore previous definitions.

and this has caused some issues
https://github.com/neovim/novim/issues/29013

For my usecase, mini.diff was not using the right colors in sign column because:

  1. MiniDiff highlight groups are not defined in everforest
    -- echasnovski/mini.nvim
  2. mini.diff falls back to Added instead of GitAdded in neovim >= 0.10 https://github.com/echasnovski/mini.diff/blob/441975a43bbec22442a91fe2ab1c7c06984e4d8a/lua/mini/diff.lua#L1005-L1007

I've solved by linking the new highlights, but maybe there is a better solution

    hl.Added = { link ="DiffAdded" }
    hl.Changed = { link ="DiffChanged" }
    hl.Removed = { link ="DiffRemoved" }

Go Packages and colors

First of all thank you for the plugin. Since finding it i've not switched coloscheme, it is soo good so congratulations.

I'm opening this issue because since the latest updates to match the new treesitter tags (or so it seems with your latest commits) the packages in golang have the same color as the types and it's a bit annoying, previously packages were white.
image

Would it be possible to set it up with a different color? is this change intented or it's a bug? If it's intented would you help me override it in my config? i've tried overriding it with the "on_highlights" config in the setup but i couldn't make it work.

Again thanks for the theme and the maintainance!

How do I darken the bg of the CursorLine?

I tried several variations of this:

require("everforest").setup({
  on_highlights = function (hl, palette)
    hl.CursorLine = { fg = palette.none, bg = palette.bg0, sp = palette.red }
  end
})

What's the correct way of doing this?

Italic on strings!?

Hi there,

First of all the theme is awesome! So, is just a basic question, is there a way to set italic only for strings? Something like gruvbox theme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.