tokyonight.nvim icon indicating copy to clipboard operation
tokyonight.nvim copied to clipboard

Please increase brightness of line numbers in gutter

Open rmunn opened this issue 7 months ago • 2 comments

Did you check the docs?

  • [x] I have read all the tokyonight.nvim docs

Is your feature request related to a problem? Please describe.

The default color for relative line numbers in the gutter (the fg_gutter color) is similar enough to the background color that it's quite hard to read the line numbers.

Image

Describe the solution you'd like

I'd like a little bit more contrast between the fg_gutter color and the background. For example, here's what I got when I bumped it up from #3b4261 to #434a6a:

Image

I eventually settled on bumping the luminosity up just a little bit more, getting #505878 which was bright enough to read while still dark enough to stay unobtrusive:

Image

Describe alternatives you've considered

I switched my default tokyonight style from "moon" to "night" and found it to be slightly better, as #3b4261 stood out a little more against the darker background of the "night" style, but it still wasn't enough. I had to bump the fg_gutter color up by about 10% more luminosity before I could comfortably read the relative line numbers at a glance.

Additional context

This was brought up before in https://github.com/folke/tokyonight.nvim/issues/52 but the original reporter closed the issue without a PR being made.

https://github.com/folke/tokyonight.nvim/issues/70 is also related; there, the issue reporter mentioned that he didn't want to increase the brightness of fg_gutter. Whereas I would like to ask that fg_gutter's brightness be increased, just a little.

rmunn avatar May 05 '25 07:05 rmunn

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 05 '25 02:06 github-actions[bot]

Not stale; I plan to submit a PR if there's interest, but have other things on my plate at the moment.

rmunn avatar Jun 05 '25 06:06 rmunn

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 06 '25 02:07 github-actions[bot]

Still not stale: still planning on submitting a PR at some point.

It would be nice if the stale-bot could be configured to NOT mark feature requests as stale.

rmunn avatar Jul 22 '25 09:07 rmunn

Why can't you just increase it yourself with a manual override to that highlight group?

Doesnt seem like something to change for all users

whoop-t avatar Aug 08 '25 12:08 whoop-t

Why can't you just increase it yourself with a manual override to that highlight group?

Doesnt seem like something to change for all users

I did increase it myself, but I thought others might not like the too-dark default and might appreciate a PR that brightens up the default a smidgeon.

rmunn avatar Aug 14 '25 09:08 rmunn

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Sep 14 '25 02:09 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Sep 21 '25 02:09 github-actions[bot]