From a07e113f3a3cc572e1ccfddae44b37003290158d Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Tue, 12 Nov 2024 10:39:31 +0100 Subject: [PATCH] theme/supported-themes.nix: fix themes Make all themes work by adding `...` to every theme attrset. --- modules/plugins/theme/supported-themes.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index ca539b1d..e185eb0d 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -93,6 +93,7 @@ in { setup = { style ? "dark", transparent ? false, + ... }: let style' = warnIf (style == "light") "oxocarbon: light theme is not well-supported" style; @@ -117,6 +118,7 @@ in { setup = { style ? "dark", transparent ? false, + ... }: '' -- Gruvbox theme require("gruvbox").setup({ @@ -152,6 +154,7 @@ in { setup = { style ? "main", transparent ? false, + ... }: '' require("rose-pine").setup({ dark_variant = "${style}", -- main, moon, or dawn