Repository navigation
Add true-vector dark logo and brand colour record - #258
Merged
Merged
Conversation
Traces the owner-supplied dark logo into a genuine SVG: two-colour alpha unmix, marching squares at the 0.5 coverage level, then Douglas-Peucker. No embedded raster; 869 path points plus six circles, 13.5 KB. Verified by rendering at 1024x1024 against the source raster: IoU teal 0.9965, red 0.9964, white 0.9909, total 0.9959; mean per-channel pixel difference 0.244/255. brand-colors.json records the exact flat palette: #222325, #4FD1C5, #FF6B6B, #FFFFFF. Refs CC-168
jaywedgeworth22
enabled auto-merge (squash)
October 18, 2026 11:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Traces the owner-supplied dark CodeCaps logo into a genuine SVG, plus a machine-readable record of its palette.
Why a trace rather than a redraw. The obvious model for this mark — two elliptical annuli with a rectangular bite — does not fit. The best-fit ellipse deviates from the actual outline by tens of pixels near the poles, which is what capped an earlier analytic reconstruction at 0.9553 IoU. Tracing the real contour is both simpler and provably faithful.
Pipeline.
Verification. The SVG is rendered with headless Chrome at 1024×1024 and compared against the source raster:
Mean per-channel pixel difference is 0.244/255. The earlier analytic candidate was 0.9553.
The residual is a half-pixel rasteriser convention difference; a uniform +0.5/+0.5 offset is applied, after which the residual misalignment measures 0.01–0.03 px.
Contents.
assets/brand/codecaps-logo-dark.svg— 13.5 KB, no embedded raster. Delete the first<rect>for a transparent-background variant.assets/brand/brand-colors.json— the exact flat palette:#222325,#4FD1C5,#FF6B6B,#FFFFFF, with the method and fidelity numbers recorded alongside.Refs CC-168