Skip to content

Rebrand typography to sans-forward design system#122

Open
developit wants to merge 1 commit into
mainfrom
claude/update-demo-homepage-RXPHT
Open

Rebrand typography to sans-forward design system#122
developit wants to merge 1 commit into
mainfrom
claude/update-demo-homepage-RXPHT

Conversation

@developit

Copy link
Copy Markdown
Owner

Summary

This PR transitions the design system from a serif-forward to a sans-forward typography hierarchy. The display face changes from Newsreader (serif italic) to Manrope (geometric sans-serif bold), while Public Sans remains the body typeface. This creates a more modern, geometric aesthetic while maintaining the display/body hierarchy.

Key Changes

Font Stack Updates:

  • Removed Newsreader serif font from Google Fonts import
  • Updated --kh-font-serif CSS variable to use Manrope instead of Newsreader (variable name retained for backward compatibility across selectors)
  • Updated logo component to use Manrope instead of Newsreader

Typography Adjustments Across Components:

  • Hero title: Reduced from 88px to 58px, increased weight from 400 to 700, adjusted line-height and letter-spacing
  • Hero title emphasis (em): Changed from italic 500 to normal 800 weight with primary color
  • Facade title: Reduced from 76px to 64px, increased weight to 700, adjusted spacing
  • Section titles: Reduced from 44px to 38px, increased weight to 700, added primary color to emphasis
  • Race column names: Changed from italic 400 to normal 700, reduced size from 22px to 19px
  • Budget numbers: Changed from italic to normal 700 weight, adjusted sizing and spacing
  • Race caption: Changed from serif italic to sans-serif, adjusted sizing
  • Pricing amounts: Increased weight to 700, adjusted sizing, added tabular number formatting
  • HTML titles: Increased weight to 700, added emphasis styling with primary color
  • Ship title: Changed from italic 400 to normal 800 weight, adjusted sizing
  • Various smaller text elements: Updated weights and removed italic styling throughout

Responsive Breakpoint Adjustments:

  • Updated font sizes at tablet and mobile breakpoints to maintain visual hierarchy with new weights and sizes

Logo Component Updates:

  • Changed from Newsreader italic to Manrope bold
  • Updated SVG text rendering and inline styles to reflect new typography
  • Updated documentation comment to reflect sans-forward design

Implementation Details

  • The --kh-font-serif variable name is preserved to avoid updating every heading selector and demo route, but now contains the geometric-sans stack
  • Emphasis elements (em tags) throughout the design now use bold weight (800) with primary color instead of italic styling
  • All italic styling has been systematically replaced with appropriate weight increases (typically 700-800)
  • Tabular number formatting (font-feature-settings: "tnum") added to numeric displays for better alignment

https://claude.ai/code/session_01DUgxYfgnh6r7HxoNvkm15Y

@developit developit marked this pull request as ready for review May 19, 2026 23:48
@netlify

netlify Bot commented May 19, 2026

Copy link
Copy Markdown

Deploy Preview for kinu-sh ready!

Name Link
🔨 Latest commit b645068
🔍 Latest deploy log https://app.netlify.com/projects/kinu-sh/deploys/6a2173d1a67c880007d89a03
😎 Deploy Preview https://deploy-preview-122--kinu-sh.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Base automatically changed from claude/implement-kinu-identity-design-AGFyq to main June 4, 2026 12:34
Replaces the Newsreader-italic display treatment with a system-font
sans-forward variant, but keeps the original serif design available
via a toggle in the theme customizer (default = serif, so the
behaviour at first paint matches what's been on the PR).

- Font stack: per-OS UI fonts (SF / Segoe / Roboto) with Inter as a
  designed web-font fallback before bare sans-serif, plus
  JetBrains Mono behind ui-monospace.
- Display headings drop to 300 (sans variant) with 400 em accents
  carried by the brand color, not a heavy weight jump.
- A .theme-serif class on :root selects the serif variant; an
  override block in style.css restores Newsreader font-family +
  per-selector size/weight/letter-spacing/italic for the homepage
  headings, race elements, demo-card internals, logo, and the
  docs / getting-started h1s, including responsive breakpoints.
- Theme customizer gains a Typeface row; the choice persists in the
  existing settings localStorage entry. An inline script in
  index.html applies the class before first paint so there's no
  flash. Reset restores DEFAULT_SETTINGS.typeface (serif).
- Logo's font properties move from JSX inline styles onto CSS
  classes (.kinu-logo-mark-k, .kinu-logo-wordmark) so the same
  class-based override mechanism reaches it.
@developit developit force-pushed the claude/update-demo-homepage-RXPHT branch from a0b7ce8 to b645068 Compare June 4, 2026 12:47
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 37.7 kB

ℹ️ View Unchanged
Filename Size
benchmarks/size/.tmp/few-components/bundle.css 3.03 kB
benchmarks/size/.tmp/few-components/bundle.js 637 B
benchmarks/size/.tmp/nearly-all-components/bundle.css 10.9 kB
benchmarks/size/.tmp/nearly-all-components/bundle.js 4 kB
benchmarks/size/.tmp/one-component/bundle.css 1.52 kB
benchmarks/size/.tmp/one-component/bundle.js 341 B
dist/index.css 10.9 kB
dist/index.js 6.34 kB

compressed-size-action

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.

2 participants