Update theme system

This commit is contained in:
Henry Sipp
2025-07-28 09:21:43 -05:00
parent 701953ccdc
commit e3f8ea40cf
5 changed files with 42 additions and 27 deletions
+5 -9
View File
@@ -17,27 +17,23 @@ lib: {
"nord"
"gruvbox"
"gruvbox-light"
"custom"
"generated_light"
"generated_dark"
]) lib.types.str;
default = "tokyo-night";
description = "Theme to use for Omarchy configuration";
};
customTheme = lib.mkOption {
theme_overrides = lib.mkOption {
type = lib.types.submodule {
options = {
wallpaperPath = lib.mkOption {
wallpaper_path = lib.mkOption {
type = lib.types.path;
description = "Path to the wallpaper image to extract colors from";
};
variant = lib.mkOption {
type = lib.types.enum [ "light" "dark" ];
default = "dark";
description = "Color scheme variant to extract (light or dark)";
};
};
};
default = {};
description = "Custom theme configuration when theme is set to 'custom'";
description = "Theme overrides including wallpaper path for generated themes";
};
primary_font = lib.mkOption {
type = lib.types.str;