Bundle the Instrument Sans typeface (refs #13)
ci / test (postgres) (push) Successful in 2m23s
ci / test (sqlite) (push) Successful in 2m5s
ci / image (push) Successful in 30s
ci / test (postgres) (pull_request) Successful in 2m14s
ci / test (sqlite) (pull_request) Successful in 1m58s
ci / image (pull_request) Successful in 9s
ci / test (postgres) (push) Successful in 2m23s
ci / test (sqlite) (push) Successful in 2m5s
ci / image (push) Successful in 30s
ci / test (postgres) (pull_request) Successful in 2m14s
ci / test (sqlite) (pull_request) Successful in 1m58s
ci / image (pull_request) Successful in 9s
The user allowed the download, so the interface now uses the typeface of the mockups instead of the system one. The variable file (weights 400-700) and its SIL OFL licence are embedded and served by the app itself, never fetched from the internet; source and SHA-256 are in API-NOTES. The typeface is slightly wider, so top-bar labels and buttons move to 13 px as in the mockup, keeping the date line whole at 1440 px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cf6d0536aa
commit
992467ff04
10 files changed
+132
-5
No files matched your search
@@ -79,7 +79,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Instrument Sans when installed; the file served by the app arrives once its licence and download are approved (ADR 0007). */
|
||||
/* Instrument Sans served by the app itself, never from the internet (ADR 0004, SIL OFL: assets/InstrumentSans-OFL.txt).
|
||||
One variable file covers weights 400 to 700; italics are drawn by the browser from it. */
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
src: url("/assets/InstrumentSans.ttf") format("truetype");
|
||||
font-weight: 400 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
--font: "Instrument Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
|
||||
color-scheme: light dark;
|
||||
@@ -162,6 +171,8 @@ code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-siz
|
||||
.topbar-actions { flex-wrap: wrap; }
|
||||
}
|
||||
.topbar-actions form { margin: 0; }
|
||||
/* As in the mockup: one point smaller up here, so the date line keeps its full length at 1440 px. */
|
||||
.topbar-actions .pill, .topbar-actions .btn, .topbar-actions .currency select { font-size: 13px; }
|
||||
.phone-brand, .phone-bot, .mode-band, .bottombar { display: none; }
|
||||
|
||||
.pill {
|
||||
|
||||
Reference in new issue
Block a user