feat(web): Pressing Plant design tokens + self-hosted Fraunces
globals.css defines the manila/spruce palette as CSS custom properties for both themes (prefers-color-scheme + explicit data-theme override), paper grain, base reset, focus-visible, reduced-motion. Fraunces vendored as woff2 and wired via next/font/local with a Palatino/Georgia fallback. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import localFont from "next/font/local";
|
||||
|
||||
// Fraunces — a warm, optical variable serif (Fontsource, latin wght axis).
|
||||
// Self-hosted so the container build needs no network and the CSP never bites.
|
||||
export const fraunces = localFont({
|
||||
src: "../fonts/Fraunces.woff2",
|
||||
variable: "--font-fraunces",
|
||||
weight: "100 900",
|
||||
display: "swap",
|
||||
fallback: ["Palatino Linotype", "Palatino", "Book Antiqua", "Georgia", "serif"],
|
||||
});
|
||||
Reference in New Issue
Block a user