From 8327c66c86bf33863f52bdbbe79b607fe97f9fc8 Mon Sep 17 00:00:00 2001 From: Md Taufik Khan <147173391+kmdtaufik@users.noreply.github.com> Date: Tue, 21 Oct 2025 23:57:01 +0600 Subject: [PATCH] theme: fix tokyonight transparency add optional sidebar and float transparency to stop the backgroudn mismatch --- modules/plugins/theme/supported-themes.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 17ba23115..6419ba140 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -46,6 +46,18 @@ in { }: '' require('tokyonight').setup { transparent = ${boolToString transparent}; + styles = { + sidebars = ${ + if transparent + then ''"transparent"'' + else ''"dark"'' + }, + floats = ${ + if transparent + then ''"transparent"'' + else ''"dark"'' + }, + }, } vim.cmd[[colorscheme tokyonight-${style}]] '';