feat: added dim_inactive
This commit is contained in:
parent
8e691022f7
commit
805272a2f0
@ -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"]` |
|
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 |
|
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**. |
|
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 |
|
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 |
|
--- You can override specific color groups to use other groups or a hex color |
|
||||||
|
@ -19,6 +19,7 @@ local defaults = {
|
|||||||
sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]` |
|
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 |
|
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**. |
|
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 |
|
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 |
|
--- You can override specific color groups to use other groups or a hex color |
|
||||||
|
@ -59,7 +59,7 @@ function M.setup()
|
|||||||
MoreMsg = { fg = c.blue }, -- |more-prompt|
|
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|.
|
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
|
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
|
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.
|
NormalFloat = { fg = c.fg, bg = c.bg_float }, -- Normal text in floating windows.
|
||||||
FloatBorder = { fg = c.border_highlight, bg = c.bg_float },
|
FloatBorder = { fg = c.border_highlight, bg = c.bg_float },
|
||||||
|
Loading…
Reference in New Issue
Block a user