theme: fix tokyonight transparency

add optional sidebar and float transparency to stop the backgroudn
mismatch
This commit is contained in:
Md Taufik Khan 2025-10-21 23:57:01 +06:00
commit 8327c66c86

View file

@ -46,6 +46,18 @@ in {
}: '' }: ''
require('tokyonight').setup { require('tokyonight').setup {
transparent = ${boolToString transparent}; transparent = ${boolToString transparent};
styles = {
sidebars = ${
if transparent
then ''"transparent"''
else ''"dark"''
},
floats = ${
if transparent
then ''"transparent"''
else ''"dark"''
},
},
} }
vim.cmd[[colorscheme tokyonight-${style}]] vim.cmd[[colorscheme tokyonight-${style}]]
''; '';