From 768fd34e988abdcbbe67e972d52ad71a13c8ce8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Tue, 21 Apr 2026 13:39:36 -0400 Subject: [PATCH] feat(design): apply kami serif 500 to app headings Extend the @layer base h1/h2/h3 rule so every application-level heading inherits the kami serif stack at weight 500, matching design.md rule 4 (serif carries headline authority) and rule 5 (single serif weight is the design signature). Prose headings inside .paperclip-markdown already inherit the same stack via the prose rules added in the token rewrite. Components that override font-family/font-weight on headings will continue to win via CSS specificity; the base rule sets the kami default for every heading that does not opt out. Typecheck and build:verify clean. --- src/renderer/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/styles.css b/src/renderer/styles.css index 48896947..3d62ff80 100644 --- a/src/renderer/styles.css +++ b/src/renderer/styles.css @@ -201,6 +201,9 @@ h1, h2, h3 { + font-family: var(--font-serif); + font-weight: 500; + letter-spacing: -0.005em; text-wrap: balance; } /* Prevent double-tap-to-zoom on interactive elements for mobile */