Compare commits

..

1 commit

Author SHA1 Message Date
raf
6a19292de8
Merge 6082da3e20 into c08d0a79cc 2024-11-10 22:39:44 +00:00
2 changed files with 1 additions and 4 deletions

View file

@ -93,7 +93,6 @@ in {
setup = { setup = {
style ? "dark", style ? "dark",
transparent ? false, transparent ? false,
...
}: let }: let
style' = style' =
warnIf (style == "light") "oxocarbon: light theme is not well-supported" style; warnIf (style == "light") "oxocarbon: light theme is not well-supported" style;
@ -118,7 +117,6 @@ in {
setup = { setup = {
style ? "dark", style ? "dark",
transparent ? false, transparent ? false,
...
}: '' }: ''
-- Gruvbox theme -- Gruvbox theme
require("gruvbox").setup({ require("gruvbox").setup({
@ -154,7 +152,6 @@ in {
setup = { setup = {
style ? "main", style ? "main",
transparent ? false, transparent ? false,
...
}: '' }: ''
require("rose-pine").setup({ require("rose-pine").setup({
dark_variant = "${style}", -- main, moon, or dawn dark_variant = "${style}", -- main, moon, or dawn

View file

@ -62,7 +62,7 @@
}; };
setupOpts = mkOption { setupOpts = mkOption {
type = attrsOf anything; type = submodule {freeformType = attrsOf anything;};
description = "Options to pass to the setup function"; description = "Options to pass to the setup function";
default = {}; default = {};
}; };