feat: config object migration path and add new options to settings

This commit is contained in:
2026-09-30 14:40:22 +02:00
parent 60293abe61
commit 08bb221699
14 changed files with 274 additions and 80 deletions
+2 -2
View File
@@ -625,8 +625,8 @@ def generate(
scheme_type = config["colors"].get("schemeType", "fruit-salad")
scheme = scheme or scheme_type
assert isinstance(scheme, str)
config_mode = config["general"]["color"]["mode"]
smart = bool(config["general"]["color"].get("smart", False))
config_mode = config["colors"]["mode"]
smart = bool(config["colors"].get("smart", False))
scheme_class = get_scheme_class(scheme)
p_variant = "default"