Show the mark as the core's vector, and keep no raster of it #27

Merged
tiagoagueda merged 1 commit from 1238-vector-mark into main 2026-11-12 12:40:48 +00:00
Owner

Refs postulo/postulo#1238. Thunderbird accepts SVG icons (developer.thunderbird.net, Extension Icons), and nothing here sets an icon at run time, so every manifest icon and the popup use icons/postulo.svg, the core's own logo.svg, and the five PNG copies of the old raster go. The SVG joins shared.json once postulo-chromium's copy is released. npm test 32, the guard, lint and the build pass; worth a look in a real Thunderbird after installing the xpi.

🤖 Generated with Claude Code

Refs postulo/postulo#1238. Thunderbird accepts SVG icons (developer.thunderbird.net, Extension Icons), and nothing here sets an icon at run time, so every manifest icon and the popup use `icons/postulo.svg`, the core's own `logo.svg`, and the five PNG copies of the old raster go. The SVG joins `shared.json` once postulo-chromium's copy is released. `npm test` 32, the guard, lint and the build pass; worth a look in a real Thunderbird after installing the xpi. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Show the mark as the core's vector, and keep no raster of it
All checks were successful
CI / check (pull_request) Successful in 16s
b9b97afc44
The core now keeps its mark as a vector, serves it first, and keeps a PNG only where a
platform requires one, rendered from the vector (postulo/postulo#1238). Thunderbird requires
none: its MailExtension guide says "Thunderbird supports basic image types like PNG files,
but also SVG files" for the icons, and the action and message display action take the same
icon paths. Nothing here sets an icon at run time either, so there is no grey raster to
match, as there is in the browser extension.

So src/icons/postulo.svg, a byte-for-byte copy of the core's served logo.svg (the same file
postulo-chromium now keeps in src/icons/), is the add-on's icon at every size, both
buttons' icon and the popup's logo, and the five PNG copies of the old raster go, with
their entries in shared.json. The SVG is not in shared.json yet: postulo-chromium's copy is
not released, and shared.json may only name a commit that holds what it records. A test
holds the manifest and the popup to the vector and the vector to what Gecko asks of an SVG
icon.

Refs postulo/postulo#1238

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tiagoagueda deleted branch 1238-vector-mark 2026-11-12 12:40:48 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo-thunderbird!27
No description provided.