diff --git a/README.md b/README.md index 81aa994..a810e48 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ require("tokyonight").setup({ sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]` | day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors | hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**. | + dim_inactive = false, -- dims inactive windows lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold | --- You can override specific color groups to use other groups or a hex color | diff --git a/lua/tokyonight/config.lua b/lua/tokyonight/config.lua index 68a9700..3c6a14f 100644 --- a/lua/tokyonight/config.lua +++ b/lua/tokyonight/config.lua @@ -19,6 +19,7 @@ local defaults = { sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]` | day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors | hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**. | + dim_inactive = true, -- dims inactive windows lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold | --- You can override specific color groups to use other groups or a hex color | diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index b08bb83..bb7ebec 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -59,7 +59,7 @@ function M.setup() MoreMsg = { fg = c.blue }, -- |more-prompt| NonText = { fg = c.dark3 }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|. Normal = { fg = c.fg, bg = config.transparent and c.none or c.bg }, -- normal text - NormalNC = { fg = c.fg, bg = config.transparent and c.none or c.bg }, -- normal text in non-current windows + NormalNC = { fg = c.fg, bg = config.transparent and c.none or config.dim_inactive and c.bg_dark or c.bg }, -- normal text in non-current windows NormalSB = { fg = c.fg_sidebar, bg = c.bg_sidebar }, -- normal text in sidebar NormalFloat = { fg = c.fg, bg = c.bg_float }, -- Normal text in floating windows. FloatBorder = { fg = c.border_highlight, bg = c.bg_float },