mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
Compare commits
3 commits
6a19292de8
...
46a691c637
Author | SHA1 | Date | |
---|---|---|---|
46a691c637 | |||
|
a07e113f3a | ||
|
12b650fea7 |
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
};
|
||||
|
||||
setupOpts = mkOption {
|
||||
type = submodule {freeformType = attrsOf anything;};
|
||||
type = attrsOf anything;
|
||||
description = "Options to pass to the setup function";
|
||||
default = {};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue