Add favicon and logo generation scripts

- Implemented `generate-favicons.js` to create various favicon formats from a single SVG file.
- Created `update-data.js` to scan logo directories, generate PNG and JPG images from SVGs, and update the logos JSON data.
- Added a `.gitignore` file in the `flags_gen` directory to exclude all files except the `.gitignore` itself.
- Updated `logos.json` to ensure proper formatting.
This commit is contained in:
sHa
2025-06-17 16:15:15 +03:00
parent cff94aacb8
commit 8b2adef1af
8 changed files with 2078 additions and 35 deletions

View File

@@ -32,7 +32,7 @@ jobs:
run: npm run build
- name: Generate logos.json
run: node scripts/scanLogos.js
run: node scripts/update-data.js
- name: Generate SVG variants
run: node scripts/generate-svg-variants.js