folke / tokyonight.nvim

🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
Apache License 2.0
6.42k stars 433 forks source link

feature: customise lualine colour #546

Closed karshPrime closed 4 months ago

karshPrime commented 4 months ago

Did you check the docs?

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

as evident in the screenshot bellow, red text is hardly visible on the default gray background.

image

Describe the solution you'd like

may be possible already, but couldn't figure out by just reading the docs, but I was wondering if it was possible to change this background gray colour. I scrolled through other similar issues and the closest one I found was #516 that dealt with making the rest of the line transparent.

Describe alternatives you've considered

I could always change that red text to something else in gitgutter settings, but that'd break the convention :/

Additional context

No response

karshPrime commented 4 months ago

nevermind found property by going through source code. for anyone looking for this in future, add the following to setup

    on_colors = function(colors)
        colors.fg_gutter = colors.black -- or any other colour
    end,