From 86237bfd2d6272ce5e61f5064a43f2eb098be5a0 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Mon, 17 Jul 2023 23:31:21 +0200 Subject: [PATCH] feat: add transparency support for tokyonight docs: update release notes --- docs/release-notes/rl-0.5.adoc | 11 +++++++++++ modules/theme/supported_themes.nix | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 docs/release-notes/rl-0.5.adoc diff --git a/docs/release-notes/rl-0.5.adoc b/docs/release-notes/rl-0.5.adoc new file mode 100644 index 0000000..403e9a5 --- /dev/null +++ b/docs/release-notes/rl-0.5.adoc @@ -0,0 +1,11 @@ +[[sec-release-0.5]] +== Release 0.5 + + +[[sec-release-0.5-changelog]] +=== Changelog + + +https://github.com/horriblename[horriblename]: + +* Add transparency support for tokyonight theme diff --git a/modules/theme/supported_themes.nix b/modules/theme/supported_themes.nix index 7338edb..f4e2477 100644 --- a/modules/theme/supported_themes.nix +++ b/modules/theme/supported_themes.nix @@ -18,6 +18,9 @@ style ? "night", transparent, }: '' + require('tokyonight').setup { + transparent = ${lib.boolToString transparent}; + } vim.cmd[[colorscheme tokyonight-${style}]] ''; styles = ["day" "night" "storm" "moon"];