Skip to content

fix(assets): replace the T3 brand glyph with P3 - #2

Merged
Iweisc merged 1 commit into
mainfrom
brand-glyph-p3
Aug 1, 2026
Merged

Iweisc merged 1 commit into
mainfrom
brand-glyph-p3

Conversation

@Iweisc

@Iweisc Iweisc commented Aug 1, 2026

Copy link
Copy Markdown

Brand glyph: T3 → P3

Four tracked brand SVGs still drew the old T3 wordmark as raw path data, so the
app icons and favicons were shipping the pre-rebrand mark. #1 renamed the product
to Piku Code but couldn't catch these — the letterforms live in an SVG d
attribute, so no grep for t3 or T3 Code touches them.

T3 to P3, all four brand glyph sources

Both columns are rasterized with Chromium from the actual files — left from
origin/main, right from this branch. The grey plate is a visibility backdrop for
the white-fill glyphs, not part of the asset.

File Scale Notes
assets/prod/logo.svg 128×128 black plate is part of the asset
assets/nightly/app-icon.icon/Assets/text.svg 128×128 white fill
assets/dev/app-icon.icon/Assets/text.svg 128×128 white fill
assets/prod/app-icon.icon/Assets/text.svg 77×47 pre-scaled variant

How the P was built

Matched to the 3 it sits beside rather than drawn freehand:

  • Cap at y=37, baseline at y=93 — the same range the T occupied
  • Left edge at x=15.5309, the T's left edge, so the pair stays aligned
  • Stem and bowl both 13.04 units, measured off the 3 as 109.925 − 96.8853
  • Counter wound opposite the outer contour so it punches through under the default
    nonzero fill rule

The 3 subpath is byte-for-byte identical in all four files, and the old T path
string no longer appears anywhere under assets/.

assets/prod/app-icon.icon/Assets/text.svg is a pre-scaled variant, so its P is
derived through the transform that maps the 128-unit glyph onto it rather than
redrawn:

x′ = 0.8125 × (x − 15.5309)
y′ = 0.8125 × (y − 37)

Verified against that file's own T before use: 0.8125 × (33.4509 − 15.5309) = 14.56 and 0.8125 × (93 − 37) = 45.5, both exact.

Follow-up still needed: the raster exports

The tracked PNG/ICO files still show T3. They could not be regenerated in this
environment. Every output in scripts/export-brand-icons.ts — including the Linux
universal PNGs and the web favicons, not only the macOS ones — routes through
render() → Icon Composer's ictool, which is macOS-only:

$ node scripts/export-brand-icons.ts --check
ERROR: IconExportToolResolutionError: Could not find an Icon Composer 2.x
exporter compatible with design generation 26.

The icons are also multi-layer composites (glass, shadow, translucency per
icon.json), so a generic rasterizer could not reproduce them faithfully even if
one were available — and none is installed here (no rsvg, inkscape, or
imagemagick).

Completing this needs, on macOS: vp run icons:export, then the manual
macOS pre-Tahoe exports documented in assets/README.md.

Not a CI risk: icons:check is not referenced by any workflow in
.github/workflows/, so the temporary source/export mismatch fails nothing.

Verification

SVG-only change, 4 files, +4/−4. All four parse and render as a recognizable P
with a visible counter (see image above, rendered from the committed files rather
than asserted). No code paths touched, so no typecheck or test surface is affected.

🤖 Generated with Claude Code

All four tracked brand SVGs still drew the old "T3" wordmark as raw path
data, so the app icons and favicons carried the pre-rebrand mark. The "T"
subpath is replaced with a "P" matching the adjacent "3" glyph: cap 37 to
baseline 93, stem and bowl at 13.04 units (measured off the "3" as
109.925 - 96.8853), counter wound opposite the outer contour so it punches
through under nonzero fill. The "3" subpath is byte-identical in all four.

assets/prod/app-icon.icon/Assets/text.svg is a pre-scaled 77x47 variant;
its P is derived through the transform that maps the 128-unit glyph onto
it, x' = 0.8125(x - 15.5309), y' = 0.8125(y - 37), rather than redrawn.

The tracked PNG/ICO exports still show T3. Every one of them, including
the Linux and web favicons, renders through Icon Composer's ictool, which
is macOS-only, so they cannot be regenerated here and need a follow-up
`vp run icons:export` pass on macOS. icons:check is not wired into CI.

Co-Authored-By: Claude Opus 5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Aug 1, 2026
@Iweisc
Iweisc merged commit 5ae3e7d into main Aug 1, 2026
5 of 8 checks passed
@Iweisc
Iweisc deleted the brand-glyph-p3 branch August 1, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants