Refactor pass 1

This commit is contained in:
2026-04-29 14:53:35 -05:00
parent bd248ee91c
commit 61f69af35a
38 changed files with 1007 additions and 1541 deletions
+3 -3
View File
@@ -61,9 +61,9 @@ for name, (r, g, b, a) in colors.items():
"",
]
js += [
f"function color{camel}() {{",
f" return color({r8}, {g8}, {b8}, {a8});",
"}",
f"Color.{name.lower()} = function() {{",
f" return Color.rgba({r8}, {g8}, {b8}, {a8});",
"};",
"",
]