feat: update editor ui framework and assets

This commit is contained in:
2026-03-28 15:07:19 +08:00
parent 4a12e26860
commit 4717b595c4
45 changed files with 2434 additions and 461 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

View File

@@ -0,0 +1,25 @@
from PIL import Image
import os
import sys
def resize_png(input_path, output_path, size=(30, 30)):
img = Image.open(input_path)
img = img.resize(size, Image.Resampling.LANCZOS)
img.save(output_path, "PNG")
print(f"Resized {input_path} to {output_path}")
if __name__ == "__main__":
if len(sys.argv) < 2:
print("Usage: python resize_png.py <input.png> [output.png]")
sys.exit(1)
input_file = sys.argv[1]
output_file = (
sys.argv[2]
if len(sys.argv) > 2
else f"{os.path.splitext(input_file)[0]}_30x30.png"
)
resize_png(input_file, output_file)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB