feat(assets): white monochrome launcher icon
The app icon is a dark glyph on transparency — invisible on dark launcher backgrounds. icon-white.png keeps the exact silhouette/alpha with opaque pixels recolored white; generated by make_icon_white.py. Used by the desktop entry (launcher/taskbar); in-app artwork unchanged.
This commit is contained in:
parent
abc27819cb
commit
eea6f0e6b1
2 changed files with 9 additions and 0 deletions
BIN
frontend/public/icon-white.png
Normal file
BIN
frontend/public/icon-white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
9
frontend/public/make_icon_white.py
Normal file
9
frontend/public/make_icon_white.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
"""Generate icon-white.png: same silhouette as icon.png, opaque pixels
|
||||
recolored to white, alpha preserved. Run from frontend/public."""
|
||||
from PIL import Image
|
||||
|
||||
im = Image.open("icon.png").convert("RGBA")
|
||||
out = Image.new("RGBA", im.size)
|
||||
out.putdata([(255, 255, 255, a) for _, _, _, a in im.getdata()])
|
||||
out.save("icon-white.png")
|
||||
print("wrote icon-white.png", out.size)
|
||||
Loading…
Add table
Add a link
Reference in a new issue