scheme refactor

This commit is contained in:
Zacharias-Brohn
2026-02-19 13:05:30 +01:00
parent ee62e61b06
commit b701badbc7
6 changed files with 39 additions and 26 deletions
-5
View File
@@ -92,11 +92,6 @@ def generate(
is_dark = mode.lower() == "dark"
if is_dark:
seed = Hct.from_hct(seed.hue, seed.chroma, min(seed.tone, 20))
else:
seed = Hct.from_hct(seed.hue, seed.chroma, max(seed.tone, 70))
scheme = Scheme(
seed,
is_dark,