Use transparent v3 logo for extension and popup icons
Regenerate icon-{16,32,48,128}.png from the new transparent
OpenScript_v3.png master so the toolbar button and popup header
no longer show a white square on dark backgrounds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
After Width: | Height: | Size: 138 KiB |
@@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
- `OpenScript_v1.png`: Original monochrome terminal prompt (`> _`) concept.
|
- `OpenScript_v1.png`: Original monochrome terminal prompt (`> _`) concept.
|
||||||
- `OpenScript_v2.png`: Ocean wave terminal monogram (`>_ O`) master logo introduced for Chrome Web Store release.
|
- `OpenScript_v2.png`: Ocean wave terminal monogram (`>_ O`) master logo introduced for Chrome Web Store release.
|
||||||
- `icon-{16,32,48,128}.png`: Production extension icons generated from v2 master via `npm run build:icons`.
|
- `OpenScript_v3.png`: Transparent-background version of the v2 logo; current master for extension icons.
|
||||||
|
- `icon-{16,32,48,128}.png`: Production extension icons generated from v3 master via `npm run build:icons`.
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -10,6 +10,7 @@ execFileSync(process.execPath, ['node_modules/vite/bin/vite.js', 'build'], { std
|
|||||||
[
|
[
|
||||||
'dist/icons/OpenScript_v1.png',
|
'dist/icons/OpenScript_v1.png',
|
||||||
'dist/icons/OpenScript_v2.png',
|
'dist/icons/OpenScript_v2.png',
|
||||||
|
'dist/icons/OpenScript_v3.png',
|
||||||
'dist/icons/logo.png',
|
'dist/icons/logo.png',
|
||||||
'dist/screenshot1.png',
|
'dist/screenshot1.png',
|
||||||
'dist/scripts.png',
|
'dist/scripts.png',
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
import sharp from 'sharp';
|
import sharp from 'sharp';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
const src = 'public/icons/OpenScript_v2.png';
|
const src = 'public/icons/OpenScript_v3.png';
|
||||||
const sizes = [16, 32, 48, 128];
|
const sizes = [16, 32, 48, 128];
|
||||||
|
|
||||||
for (const s of sizes) {
|
for (const s of sizes) {
|
||||||
await sharp(src)
|
await sharp(src)
|
||||||
.resize(s, s, { fit: 'contain' })
|
.resize(s, s, { fit: 'contain', background: { r: 0, g: 0, b: 0, alpha: 0 } })
|
||||||
.png()
|
.png()
|
||||||
.toFile(`public/icons/icon-${s}.png`);
|
.toFile(`public/icons/icon-${s}.png`);
|
||||||
console.log(`✓ Generated icon-${s}.png`);
|
console.log(`✓ Generated icon-${s}.png`);
|
||||||
|
|||||||