chore(icons): update icon assets and script source image reference

- Replaced existing icon assets with updated versions for better visual quality.
- Modified the script to generate icons from the new source image 'iconTC4S.png' instead of 'iconTC2.png'.
This commit is contained in:
Julien Froidefond
2025-11-18 08:39:05 +01:00
parent deb3097047
commit f404f06d14
11 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 KiB

After

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 40 KiB

BIN
public/icons/iconTC3S.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

BIN
public/icons/iconTC4S.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env tsx #!/usr/bin/env tsx
/** /**
* Script pour générer les icônes PNG et ICO à partir de iconTC2.png * Script pour générer les icônes PNG et ICO à partir de iconTC4S.png
* Préserve la transparence du PNG source * Préserve la transparence du PNG source
* *
* Usage: pnpm tsx scripts/generate-icons-from-jpg.ts * Usage: pnpm tsx scripts/generate-icons-from-jpg.ts
@@ -13,7 +13,7 @@ import { join } from 'path';
const sizes = [16, 32, 180, 192, 512]; const sizes = [16, 32, 180, 192, 512];
const publicDir = join(process.cwd(), 'public'); const publicDir = join(process.cwd(), 'public');
const sourceImage = join(process.cwd(), 'public', 'icons', 'iconTC2.png'); const sourceImage = join(process.cwd(), 'public', 'icons', 'iconTC4S.png');
async function generateIcons() { async function generateIcons() {
// Vérifier si sharp est disponible // Vérifier si sharp est disponible
@@ -33,7 +33,7 @@ async function generateIcons() {
} }
console.log( console.log(
'🎨 Génération des icônes à partir de iconTC2.png (avec transparence)...\n' '🎨 Génération des icônes à partir de iconTC4S.png (avec transparence)...\n'
); );
// Obtenir les métadonnées de l'image pour détecter la couleur dominante du fond // Obtenir les métadonnées de l'image pour détecter la couleur dominante du fond