summaryrefslogtreecommitdiff
path: root/src/caelestia/utils/material
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-12 16:00:43 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-12 16:00:43 +1000
commit672ef4a2d9291fb4333e6d6aa807826d6860259a (patch)
tree14e72d0e75e4686b56cae3fbbe62e071ffe5c01a /src/caelestia/utils/material
parentfeat: generate dynamic schemes (diff)
downloadcaelestia-cli-672ef4a2d9291fb4333e6d6aa807826d6860259a.tar.gz
caelestia-cli-672ef4a2d9291fb4333e6d6aa807826d6860259a.tar.bz2
caelestia-cli-672ef4a2d9291fb4333e6d6aa807826d6860259a.zip
scheme: impl random + fix single schemes
Diffstat (limited to 'src/caelestia/utils/material')
-rwxr-xr-xsrc/caelestia/utils/material/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caelestia/utils/material/generator.py b/src/caelestia/utils/material/generator.py
index 33ff0e8..235b2ce 100755
--- a/src/caelestia/utils/material/generator.py
+++ b/src/caelestia/utils/material/generator.py
@@ -187,6 +187,6 @@ def gen_scheme(scheme, primary: Hct, colours: list[Hct]) -> dict[str, str]:
colours["success"] = harmonize(base[8], primary)
# For debugging
- print("\n".join(["{}: \x1b[48;2;{};{};{}m \x1b[0m".format(n, *c.to_rgba()[:3]) for n, c in colours.items()]))
+ # print("\n".join(["{}: \x1b[48;2;{};{};{}m \x1b[0m".format(n, *c.to_rgba()[:3]) for n, c in colours.items()]))
return {k: hex(v.to_int())[4:] for k, v in colours.items()}