tokyonight.nvim
tokyonight.nvim copied to clipboard
Colours in highlight groups are too similar
I don't know if this is on purpose, or if this is a problem with my setup, or if there's potential for improvement by having more difference between colours of some of the groups.
Looking at help syntax and the groups on Tokyo Night:

And looking at one of the neovim's themes (desert):

This makes that the highlighting of Tokyo Night looks too similar (probably because identifiers and statements groups).
Thank you for Tokyo Night, it is a lovely theme :heart:
I made a small change and it improves readability. I'm not great with colours (that's why I use Tokyo Night), so there's probably a better colour.
diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua
index 7e106cf..8c5e249 100644
--- a/lua/tokyonight/theme.lua
+++ b/lua/tokyonight/theme.lua
@@ -92,7 +92,7 @@ function M.setup(config)
Identifier = { fg = c.magenta, style = config.variableStyle }, -- (preferred) any variable name
Function = { fg = c.blue, style = config.functionStyle }, -- function name (also: methods for classes)
- Statement = { fg = c.magenta }, -- (preferred) any statement
+ Statement = { fg = c.magenta2 }, -- (preferred) any statement
-- Conditional = { }, -- if, then, else, endif, switch, etc.
-- Repeat = { }, -- for, do, while, etc.
-- Label = { }, -- case, default, etc.