Skip to content

Commit 8327c66

Browse files
committed
theme: fix tokyonight transparency
add optional sidebar and float transparency to stop the backgroudn mismatch
1 parent 9df9d51 commit 8327c66

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

modules/plugins/theme/supported-themes.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ in {
4646
}: ''
4747
require('tokyonight').setup {
4848
transparent = ${boolToString transparent};
49+
styles = {
50+
sidebars = ${
51+
if transparent
52+
then ''"transparent"''
53+
else ''"dark"''
54+
},
55+
floats = ${
56+
if transparent
57+
then ''"transparent"''
58+
else ''"dark"''
59+
},
60+
},
4961
}
5062
vim.cmd[[colorscheme tokyonight-${style}]]
5163
'';

0 commit comments

Comments
 (0)