You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: blog identity, unified code renderer, logo-bright syntax palette
Blog section
- Year-as-poster list layout with sticky spine, warm blogAccent color
- Split BlogMeta into byline (top) and colophon (bottom)
- Magazine HR treatment scoped to blog routes
- Drop 100ch content cap so blog matches docs width
Layout
- Add theme.layout.gutterFluid (clamp(2rem, 5vw, 5rem)) token
- Navbar and docs/blog/hero content share the same fluid gutter
- HeroContent styled component replaces plain .hero-content class
- Update markdown-to-jsx to 9.7.15 (restores releases page)
Syntax highlighting
- Unify all code blocks through HighlightedCode component — static
CodeBlock, interactive LiveEdit, and HomepageHeroEditor share the
same annotation pipeline and token rendering
- Extract codeTextMixin so all code blocks share font weight, colors,
family, and letter-spacing
- CSS grammar extension: tokenize CSS value keywords (inline-block,
ease-in-out, all, etc.) as constants
- TSX grammar extension: re-tokenize __html template literals as JS
so dangerouslySetInnerHTML script content gets full highlighting
- TSX grammar extension: recognize styled.div<Generic> template
literals so their CSS content still renders with CSS sub-grammar
- JSX tag depth annotator: 4-level complementary palette (cyan,
blue, amber, teal) stamped on tag fragments only, not embedded
JS inside attribute expressions
- Property access chain depth: stamp deep class on 2nd+ member so
the leaf of props.theme.fg renders distinctly
- Optional chaining fix: stamp property-access on identifiers after
?. so the depth counter continues through them
- Function machinery group: attr-name, arrow, and parameter share
brand pink with function calls
- Operators removed from theme dict so arrow wins cascade
- Code palette matches PlatonicLogo brightness profile in dark mode
(L 0.82, high chroma across all chromatic tokens)
- Warm-tinted neutrals (hue 60) so code text feels inky not disabled
- codeProperty and codePropertyDeep for chain members
- Medium font weight in light mode, light weight in dark mode
0 commit comments