diff options
Diffstat (limited to 'src/caelestia/utils/material/generator.py')
| -rw-r--r-- | src/caelestia/utils/material/generator.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caelestia/utils/material/generator.py b/src/caelestia/utils/material/generator.py index 222bdd4..d304d7a 100644 --- a/src/caelestia/utils/material/generator.py +++ b/src/caelestia/utils/material/generator.py @@ -185,6 +185,10 @@ def gen_scheme(scheme, primary: Hct) -> dict[str, str]: else: colours[colour_names[i]] = harmonize(hct, colours["primary_paletteKeyColor"], (-0.2 if light else 0.05)) + if scheme.variant == "neutral": + for name, hct in colours.items(): + colours[name].chroma -= 15 + # FIXME: deprecated stuff colours["text"] = colours["onBackground"] colours["subtext1"] = colours["onSurfaceVariant"] |