Refactor into a Library Format #1

Merged
cal merged 7 commits from refactor/library into main 2026-05-20 01:34:48 +00:00
Showing only changes of commit e60d9a3173 - Show all commits
+4 -1
View File
@@ -50,7 +50,10 @@ class ColourValue(str):
else:
name = ""
return name # ty:ignore[invalid-return-type]
assert isinstance(name, str), \
TypeError(f"`name` should be an instance of `str` not `{type(name)}`")
return name
@property
def hex(self) -> str: