diff --git a/assets/fonts/InstrumentSans.woff2 b/assets/fonts/InstrumentSans.woff2 new file mode 100644 index 0000000..6cc0b91 Binary files /dev/null and b/assets/fonts/InstrumentSans.woff2 differ diff --git a/docs.json b/docs.json index 16c0f2a..542b7b0 100644 --- a/docs.json +++ b/docs.json @@ -339,5 +339,18 @@ "source": "/testing", "destination": "/v2/advanced/testing" } - ] + ], + "fonts": { + "body": { + "family": "Instrument Sans", + "source": "/assets/fonts/InstrumentSans.woff2", + "format": "woff2" + }, + "heading": { + "family": "Instrument Sans", + "source": "/assets/fonts/InstrumentSans.woff2", + "format": "woff2", + "weight": 500 + } + } } diff --git a/fonts/inter/InterVariable-Italic.woff2 b/fonts/inter/InterVariable-Italic.woff2 deleted file mode 100644 index b3530f3..0000000 Binary files a/fonts/inter/InterVariable-Italic.woff2 and /dev/null differ diff --git a/fonts/inter/InterVariable.woff2 b/fonts/inter/InterVariable.woff2 deleted file mode 100644 index 5a8d3e7..0000000 Binary files a/fonts/inter/InterVariable.woff2 and /dev/null differ diff --git a/style.css b/style.css index adea8a6..06cf053 100644 --- a/style.css +++ b/style.css @@ -1,9 +1,8 @@ -@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400..500&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300..600&display=swap"); -body { - font-family: "Instrument Sans"; - font-weight: 400; +html { + /* Single story "a", alternate "R", alternate "Q" */ + font-feature-settings: "ss02"1, "ss05"1, "ss09"1; } h1, @@ -18,6 +17,7 @@ code, pre { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-feature-settings: normal; } b,