tokyonight.nvim
tokyonight.nvim copied to clipboard
Does not dim night theme
Thank you for the awesome theme!
The config
dim_inactive = false, -- dims inactive windows
works well for the storm theme but not for the night theme. This is probably because we set the bg_dark for the dim.
NormalNC = { fg = c.fg, bg = options.transparent and c.none or options.dim_inactive and c.bg_dark or c.bg }, -- normal text in non-current windows
Should the dim feature make the text darker than the background? 🤔
I ran into this as well, but I was able to get around it by re-mapping the background color schemes for night theme:
require("tokyonight").setup({
style = "night",
dim_inactive = true,
on_colors = function(colors)
colors.bg = "#181818"
colors.bg_dark = "#101010"
end
})