feat(colorscheme): add gruvbox-material-medium-dark
This commit is contained in:
parent
788d6c605e
commit
56fbaafdd0
7 changed files with 93 additions and 57 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
cfg = config.ooknet.appearance;
|
||||
in {
|
||||
imports = [./palettes];
|
||||
# imports = [./palettes];
|
||||
options.ooknet.appearance = {
|
||||
theme = mkOption {
|
||||
type = nullOr (enum ["minimal" "phone"]);
|
||||
|
|
@ -57,7 +57,7 @@ in {
|
|||
};
|
||||
colorscheme = {
|
||||
name = mkOption {
|
||||
type = enum ["hozen"];
|
||||
type = enum ["hozen" "gruvbox-material-medium"];
|
||||
default = "hozen";
|
||||
};
|
||||
variant = mkOption {
|
||||
|
|
@ -70,7 +70,7 @@ in {
|
|||
};
|
||||
palette = mkOption {
|
||||
type = attrsOf (coercedTo str (removePrefix "#") hexColorType);
|
||||
default = {};
|
||||
default = (import ./palettes/${config.ooknet.appearance.colorscheme.slug}.nix).colorscheme.palette;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue