mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-05 13:12:21 +00:00
theme: fix tokyonight transparency
add optional sidebar and float transparency to stop the backgroudn mismatch
This commit is contained in:
parent
9df9d51fd9
commit
8327c66c86
1 changed files with 12 additions and 0 deletions
|
|
@ -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}]]
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue