chore(brand): refresh app icons + add brand source artwork
Replaces desktop and web icon binaries with the new brand mark, ships PNG raster exports under assets/brand/ alongside the existing SVG sources, adds Alternative Styles artwork variants, and updates the icon generation script and System Prompt doc. deploy.sh excludes the new local-only artifacts (*.rtfd, assets/brand, electronbuild.sh, multi-platform-roadmap.md) so they don't get rsync'd to the live boxes. Drops ARCHITECTURE_AUDIT.md (obsolete).
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Icon Generator
|
||||
|
||||
Regenerates every brand artefact from `assets/brand/*.svg`:
|
||||
Regenerates every brand artefact from sources in `assets/brand/`:
|
||||
|
||||
- macOS `.icns`, Windows `.ico`, Linux per-size PNGs (`packages/desktop/build/`)
|
||||
- Tray icons for all three platforms (`packages/desktop/resources/`)
|
||||
@@ -35,12 +35,20 @@ same PR. That follow-up commit isn't an artwork change — it's encoder
|
||||
output drift, and gating it inside the dep PR keeps the artwork-change
|
||||
git history clean.
|
||||
|
||||
## Source SVGs
|
||||
## Sources
|
||||
|
||||
| Brand source | Drives |
|
||||
|---------------------------------|-----------------------------------------------|
|
||||
| `assets/brand/app-icon.svg` | Every full app icon, all favicons, PWA, in-app `logo.png` (with `#1d1d1b → #000` bg swap for sidebar contrast) |
|
||||
| `assets/brand/mark.svg` | Win/Linux tray, PWA maskable inner mark |
|
||||
| `assets/brand/mark-mono-dark.svg` | macOS menu-bar template (alpha + black) |
|
||||
App-icon outputs use a hybrid pipeline: SVG <128 px (crisp pixel-grid alignment, where 3D detail wouldn't read), 3D-rendered raster ≥128 px (the designed render shows). The closest-fit picker selects the smallest raster source whose native dimension is ≥ the target output size, so every output is a downscale — no upscale anywhere.
|
||||
|
||||
| Brand source | Drives |
|
||||
|------------------------------------|-------------------------------------------------------------------------------------|
|
||||
| `assets/brand/app-icon.svg` | App-icon outputs <128 px (favicons 16/32, small Linux launcher reps 16/32/48/64, small `.ico` reps 16/24/32/48/64) |
|
||||
| `assets/brand/app-icon-x1.png` (149) | App-icon outputs ≥128 and ≤149 (Linux 128, Windows `.ico` 128 rep) |
|
||||
| `assets/brand/app-icon-x2.png` (294) | App-icon outputs >149 and ≤294 (Linux 256, Windows `.ico` 256 rep, apple-touch 180, PWA 192, in-app `logo.png` 256) |
|
||||
| `assets/brand/app-icon-x3.png` (440) | App-icon outputs >294 and ≤440 (currently unused — reserved for future intermediate targets) |
|
||||
| `assets/brand/app-icon-1024.png` | App-icon outputs >440 (Linux 512, Linux 1024, `build/icon.png` 512, PWA 512, `.icns` synthesis input 1024) |
|
||||
| `assets/brand/mark.svg` | Win/Linux tray, PWA maskable inner mark |
|
||||
| `assets/brand/mark-mono-dark.svg` | macOS menu-bar template (alpha + black) |
|
||||
|
||||
After raster resize, every app-icon raster output is masked with a 22 %-radius rounded-square (matches Apple's macOS template ratio and the existing `app-icon.svg` geometry of `rx=32.42 / 147.46 ≈ 21.99 %`) so launchers/docks/homescreens that render the icon as-is produce the rounded silhouette they expect.
|
||||
|
||||
`Artworks-Backspace/` is the design archive — never read by this script.
|
||||
|
||||
Reference in New Issue
Block a user