Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colours in highlight groups are too similar #172

Open
reidrac opened this issue Jun 17, 2022 · 1 comment
Open

Colours in highlight groups are too similar #172

reidrac opened this issue Jun 17, 2022 · 1 comment

Comments

@reidrac
Copy link

reidrac commented Jun 17, 2022

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:
image

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

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 ❤️

@reidrac
Copy link
Author

reidrac commented Jun 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant