Lay the Almanacka design foundation: tokens, type, shell
New token system in global.css (near-white surfaces, one ink-blue accent, no sub-12px type), self-hosted Schibsted Grotesk, rewritten primitives (buttons, fields, modal shell, segmented, disclosure, skeleton), a borderless 56px header with an SV | EN language toggle, an Icon component replacing glyphs, page skeletons that keep the layout during loading, and leave-type colours moved out of TS into CSS variables. Feature blocks keep their structure for later phases. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -61,6 +61,14 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# Self-hosted webfonts are versioned in their filename (…-v7.woff2), so
|
||||
# a glyph update ships as a new file and the old one can be cached forever.
|
||||
location /fonts/ {
|
||||
access_log off;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# index.html is the only mutable entry point — never cache it, or a deploy
|
||||
# leaves clients pinned to a stale asset graph.
|
||||
location = /index.html {
|
||||
|
||||
Reference in New Issue
Block a user