feat(icons): support PNG as fallback source for favicon generation

Add PNG source file detection in `make-favicon.js` so the script can
use either `favicon.svg` or `favicon.png` as input. Previously, only
SVG was supported, causing failures when no SVG was present.

- Introduce `detectSourceFile()` to check for SVG first, then PNG
- Rename variables to avoid shadowing (`pngPath` → `outPath`, loop var)
- Log detected source type for better visibility during generation
- Update generated `favicon.ico` accordingly
This commit is contained in:
2026-04-13 13:23:05 -04:00
parent 3df841897d
commit 59a33380df
4 changed files with 19 additions and 15 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 101 KiB