feat(vi): add project VI assets - logo iconset, PSD, vector, banner (#425)
- darklogo/lightlogo iconset (16-512px) and .ico - PSD source files (darklogo, lightlogo, bannersource) - Vector file (dsa_logo.ai) - banner.png for repo Social preview # skip
BIN
sources/dsa_vi/banner.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
sources/dsa_vi/bannersource.psd
Normal file
BIN
sources/dsa_vi/darklogo.ico
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_128x128.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_128x128@2x.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_16x16.png
Normal file
|
After Width: | Height: | Size: 845 B |
BIN
sources/dsa_vi/darklogo.iconset/icon_16x16@2x.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_256x256.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_256x256@2x.png
Normal file
|
After Width: | Height: | Size: 118 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_32x32.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_32x32@2x.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_512x512.png
Normal file
|
After Width: | Height: | Size: 118 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_512x512@2x.png
Normal file
|
After Width: | Height: | Size: 386 KiB |
BIN
sources/dsa_vi/darklogo.iconset/icon_64x64.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
sources/dsa_vi/darklogo.png
Normal file
|
After Width: | Height: | Size: 386 KiB |
BIN
sources/dsa_vi/darklogo.psd
Normal file
484
sources/dsa_vi/dsa_logo.ai
Normal file
35
sources/dsa_vi/gen_icons.py
Normal file
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Generate .ico files from source PNG. Uses largest available from iconset or source.
|
||||
Sizes: 16, 32, 64, 128, 256, 512.
|
||||
"""
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
raise SystemExit("Pillow required: pip install Pillow")
|
||||
|
||||
ICON_DIR = Path(__file__).parent
|
||||
SIZES = [(16, 16), (32, 32), (64, 64), (128, 128), (256, 256), (512, 512)]
|
||||
|
||||
|
||||
def make_ico(name: str, source: Path) -> None:
|
||||
"""Create multi-resolution .ico from source image."""
|
||||
img = Image.open(source).convert("RGBA")
|
||||
out = ICON_DIR / f"{name}.ico"
|
||||
img.save(out, format="ICO", sizes=SIZES)
|
||||
print(f"Created {out}")
|
||||
|
||||
|
||||
def main() -> None:
|
||||
for name in ("darklogo", "lightlogo"):
|
||||
src = ICON_DIR / f"{name}.png"
|
||||
if src.exists():
|
||||
make_ico(name, src)
|
||||
else:
|
||||
print(f"Skip {name}: {src} not found")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
BIN
sources/dsa_vi/lightlogo.ico
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_128x128.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_128x128@2x.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_16x16.png
Normal file
|
After Width: | Height: | Size: 742 B |
BIN
sources/dsa_vi/lightlogo.iconset/icon_16x16@2x.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_256x256.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_256x256@2x.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_32x32.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_32x32@2x.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_512x512.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_512x512@2x.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
sources/dsa_vi/lightlogo.iconset/icon_64x64.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
sources/dsa_vi/lightlogo.png
Normal file
|
After Width: | Height: | Size: 37 KiB |