Add Geist palette#21
Open
LeaVerou wants to merge 1 commit into
Open
Conversation
✅ Deploy Preview for colorjs-palettes ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Adds Vercel's Geist design system color ramps: gray, blue, red, amber, green, teal, purple, pink (each 10 steps, 100-1000), plus 2 background neutrals. Normalized to sRGB hex from the published hsla source.
5154c0b to
5d7a620
Compare
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.
Adds Vercel's Geist design system color ramps.
Hue ramps
8 hue ramps, each with 10 steps (100, 200, 300, 400, 500, 600, 700, 800, 900, 1000):
gray,blue,red,amber,green,teal,purple,pink. Plus a 2-stepbackground(single colors, surfaced asother).Light-mode sRGB values, normalized from Geist's published
hsla()light tokens.Hand-tuning evidence
Geist is clearly hand-tuned, not generated by a locked-L algorithm. Computed OKLCH L per step across the 7 chromatic ramps (excluding gray):
The mid-to-dark steps (600-800) show L stddev well above the 0.02 algorithmic threshold. Amber notably runs much lighter at the peak-chroma steps (L = 0.82 at step 700 vs ~0.58 for blue/purple/pink) — a hand-tuned choice to preserve perceived warmth and chroma in yellows, rather than forcing equal lightness across hues.
Design rationale
Background and color philosophy: https://vercel.com/geist/colors
Source
The Geist palette is documented at https://vercel.com/geist/colors. The raw values were taken from the published
geist-colorspackage source: https://github.com/ephraimduncan/geist-colors/blob/main/src/light.ts (saved verbatim todata/raw/geist.ts, including a handful of typos in the upstream file that do not affect the normalized hex values).Generated by Claude Code