docs: brand styling — CipherStash code theme + Geist Sans headings#70
Merged
Conversation
Replace Shiki's default GitHub themes with two custom themes (light + dark) built from the site palette: the lime-green brand accent for keywords, warm neutrals for text and comments, and teal / gold / amber supporting hues tuned to the near-black and off-white grounds the docs already use. Shiki already runs in dual-theme mode, so this is purely a themes swap in rehypeCodeOptions — the copy button, line highlighting, diff/focus transformers, and Fira Code font are unchanged, and every code block picks it up.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Match the marketing site: H2 and below now render in Geist Sans (loaded via next/font/google), while H1 keeps its Fira Code monospace treatment. Body text and code are unchanged.
-0.02em reads too tight on the smaller Geist Sans headings; H2-H3 keep it.
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.
Two brand-styling changes to bring the docs in line with the marketing site. Independent and self-contained.
1. CipherStash code syntax theme
Replaces Shiki's default GitHub themes with two custom themes (light + dark) built from the CipherStash palette — code blocks stop looking like generic GitHub red/purple/blue.
#b7e64f#567d0d#5ec8b8#15776a#7fd0c4#1c8577#d9b36a#946618#e0a35c#9a5f18#6b6559italic#8b8676#e7e2d4#2b2822Anchored on the lime accent for keywords, with a tight harmonized set of warm/cool supporting hues (no rainbow), on warm near-black / off-white grounds. Shiki already runs in dual-theme mode, so this is purely a
themesswap inrehypeCodeOptions(source.config.ts) — the copy button, line highlighting, diff/focus transformers, and Fira Code font are untouched.Palette preview (with a GitHub before/after toggle): https://claude.ai/code/artifact/448cedef-0414-4c14-8435-330f9ea46fa4
2. Geist Sans headings
H2 and below now render in Geist Sans (loaded via
next/font/google), matching the marketing site. H1 keeps its Fira Code monospace treatment. Body text and code are unchanged.Verification
bun run buildcompiles with 0 errors.<html>alongside Fira Code and Inter.Best reviewed on the Vercel preview: check a few pages (SQL / TypeScript / bash / JSON) in both light and dark for the code theme, and eyeball the heading hierarchy (H1 mono vs H2+ sans).
https://claude.ai/code/session_01NkxKebM3qffTB7FayXsfxP