Repository navigation
Add Pare, the first template that is not dark - #437
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 3, 2026
This branch was successfully deployed
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.
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.
baseFillnow 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
baseFillwas 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.