Skip to content

fix: align chip rims with updated Penpot design - #3

Merged
saeedet merged 2 commits into
mainfrom
feat/chip-rim
Oct 15, 2026
Merged

saeedet merged 2 commits into
mainfrom
feat/chip-rim

Conversation

@saeedet

@saeedet saeedet commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Aligns the chip renderer with the current Penpot master: a separate, continuous 1px inner Rim above all eight Edge Inserts and below Inner Ring. CHIP.rim defines the black color, 28% opacity and width. Single chips, custom denominations and every visible stack layer use the same geometry, scaled with chip size.

The existing renderer already drew an equivalent rim above the inserts. This update makes the layer order and stroke width explicit and records the inspected Penpot master and canonical instances. It does not add a second border or thicken the existing rim.

The playground adds One continuous edge under Chips & markers, with 4× close-ups of light, dark and custom chips without shadows. The README and API reference describe the border. Contact shadows and live denomination labels continue to work; no font files or static chip assets are imported.

Validation passed: formatting, lint, strict types, 89 unit/rendering tests, asset and package inspection, React 18 and Next.js tarball consumers, and all 14 browser checks. A raster regression verifies the border over every insert on all seven standard denominations and the custom chip; stack checks verify a rim on every visible layer. Desktop and mobile WebKit close-ups have been reviewed. Successful CI run, screenshots and downloadable playground preview.

Merged and released as FeltForge 0.2.2. npm is verified at 0.2.2 with the latest tag; the public playground includes the new rim close-ups. Successful publishing pipeline.

@saeedet
saeedet marked this pull request as ready for review October 15, 2026 10:28
@saeedet
saeedet merged commit 4b7e770 into main Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant