aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-04-22 07:04:52 +0530
committerBobby <[email protected]>2026-04-22 07:04:52 +0530
commitd7679cff3a0e54e27e4415e5b340b16afeedbf86 (patch)
treec0e9ebd021863754325d59b561a13788fcdc0129 /app
parent9f0c3b0341d3ad29f3201d56fff5f19662a6f0b6 (diff)
downloadhollowdark-d7679cff3a0e54e27e4415e5b340b16afeedbf86.tar.xz
hollowdark-d7679cff3a0e54e27e4415e5b340b16afeedbf86.zip
Add Literata and Inter fonts, title-screen audio
Fonts (SIL Open Font License; licenses preserved alongside the files): static/fonts/Literata-Regular.ttf body — 400 weight static/fonts/Literata-Italic.ttf body — 400 italic static/fonts/Literata-Medium.ttf body — 500 weight static/fonts/Inter-Regular.ttf UI chrome — 400 weight static/fonts/Inter-Medium.ttf UI chrome — 500 weight static/fonts/Literata.OFL.txt static/fonts/Inter.OFL.txt Google Fonts' Inter distribution is optical-size-tiered — the 18pt variants are tuned for the 13–18px range our UI uses, so they're aliased as the base "Inter" family. Crimson Pro (memoir body) is not yet sourced; its @font-face block and preload hint both drop out of app.css / app.html for now and land when the memoir screen is built. app.css swaps the woff2 references for ttf (format: 'truetype'), and the @font-face comment now reflects the reality of what's on disk. app.html preloads the ttf variants. svelte.config.js drops the prerender handleHttpError shim that was tolerating missing /fonts/ 404s — the files exist now, so the build should fail loudly if any preloaded font goes missing. Title-screen audio: static/audio/title/piano-relaxing.mp3 — "Piano Relaxing" by atlasaudio, Pixabay Content License static/audio/title/piano-relaxing.license.txt — Pixabay license certificate Note on design: docs/17-first-hour.md said "no menu music" on the title screen. Running with this addition per the director's current direction (the design docs reflect an earlier stage of thinking).
Diffstat (limited to 'app')
-rw-r--r--app/app.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/app.html b/app/app.html
index 328f243..5f5f1cb 100644
--- a/app/app.html
+++ b/app/app.html
@@ -10,9 +10,9 @@
<link rel="icon" href="%sveltekit.assets%/favicon.svg" type="image/svg+xml" />
<link rel="stylesheet" href="%sveltekit.assets%/css/app.css" />
- <link rel="preload" href="%sveltekit.assets%/fonts/Literata-Regular.woff2" as="font" type="font/woff2" crossorigin />
- <link rel="preload" href="%sveltekit.assets%/fonts/Literata-Italic.woff2" as="font" type="font/woff2" crossorigin />
- <link rel="preload" href="%sveltekit.assets%/fonts/Inter-Regular.woff2" as="font" type="font/woff2" crossorigin />
+ <link rel="preload" href="%sveltekit.assets%/fonts/Literata-Regular.ttf" as="font" type="font/ttf" crossorigin />
+ <link rel="preload" href="%sveltekit.assets%/fonts/Literata-Italic.ttf" as="font" type="font/ttf" crossorigin />
+ <link rel="preload" href="%sveltekit.assets%/fonts/Inter-Regular.ttf" as="font" type="font/ttf" crossorigin />
<title>Hollowdark</title>
%sveltekit.head%