mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 11:40:17 +01: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
Reference in a new issue