feat: enhance color handling in templates and dashboard with hex support

This commit is contained in:
2026-05-10 12:55:39 +02:00
parent 8f8c3655db
commit 565c4078bb
5 changed files with 39 additions and 8 deletions
+3
View File
@@ -20,6 +20,9 @@ def test_save_and_load_templates_roundtrip(tmp_path):
}
save_templates(path, data)
raw = path.read_text(encoding="utf-8")
assert '"color": "#00007B"' in raw
loaded = load_templates(path)
assert loaded["420"]["text"] == "Custom"
assert loaded["420"]["color"] == 123