Skip to content

Add Pare, the first template that is not dark - #437

Merged
singhharsh1708 merged 1 commit into
mainfrom
feat/portfolio-pare
Oct 3, 2026
Merged

singhharsh1708 merged 1 commit into
mainfrom
feat/portfolio-pare

Conversation

@singhharsh1708

Copy link
Copy Markdown
Owner

Second of the three in #413, and the first template in the catalogue that is not dark.

Pare is an independent engineer who makes slow databases fast. Its own pairing, JetBrains Mono with Public Sans, appears nowhere else, nor does a light ground. The copy is specific enough that it could not be moved to another business: a forty second report that now takes three hundred milliseconds, two week engagements on your branch, explain plans handed over so you do not need him twice, and a section on the work he turns down.

Making it light meant fixing the engine, because every template before it was dark and not by choice: each style began with a hardcoded near-black fill, so a light third colour was painted over before anybody saw it. baseFill now uses the palette's own third colour when that colour is light. Every dark palette keeps the exact fill it had, and a test walks the whole catalogue to prove not one of them moved. drawGradient is left alone: its stops multiply the palette down to rgb(5,5,15), so light there needs different maths, not a different base.

Measured on a production build. Site: headline 13.40:1 desktop and 12.22:1 phone, eyebrow 5.33:1, button 5.13:1. Gallery card: text 11.09:1, mean luma 223 against every other card at 18 to 59, so it reads as the one light card in the grid. Background movement across five sample points: a spread of 9 to 22 luminance steps, against 0 for forge-devtool, the dark geometric template that already ships.

Two things were caught rather than shipped:

An existing test found that the exported runtime inlines the drawing functions by name, and baseFill was not in that list. Types passed and the app was fine; every exported site using geometric, particles or wave would have thrown in the visitor's browser. A new test now compares what the inlined source calls against what it defines.

The export gate from #417 refused this template at accessibility 95. The footer's legal line takes the muted colour, which already carries 72% alpha, and dimmed it again with opacity 0.75; compounded to 54% it measured 3.73:1 on a light page. The second dimming is gone, Pare now clears at 100, and weft, kept and aurabeauty still clear at 100.

tsc and eslint clean, vitest 725 of 725.

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scrollcraft Ready Ready Preview Oct 3, 2026 6:39pm UTC

@singhharsh1708
singhharsh1708 merged commit 80e7b28 into main Oct 3, 2026
3 checks passed
@singhharsh1708
singhharsh1708 deleted the feat/portfolio-pare branch October 3, 2026 18:39

This branch was successfully deployed

1 active deployment
Preview — dbfe3eb3 Deployed Oct 3, 2026 by vercel[bot]
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