mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 16:40:14 +00:00
more updates
This commit is contained in:
26
platforms/home-manager/theme.nix
Normal file
26
platforms/home-manager/theme.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
options.theme = {
|
||||
name = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
description = "Color palette name (fallback when individual colors aren't specified)";
|
||||
default = null;
|
||||
};
|
||||
colors = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
description = "Base16 color scheme.";
|
||||
default = (import ../colorscheme/gruvbox).dark;
|
||||
};
|
||||
mode = lib.mkOption {
|
||||
type = lib.types.enum [
|
||||
"light"
|
||||
"dark"
|
||||
];
|
||||
description = "Light or dark mode";
|
||||
default = "dark";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user