Skip to content

Commit adc83a2

Browse files
authored
Merge pull request #17 from inertiajs/revert-15-update-font-settings
Revert "Use local Instrument Sans font to enable `font-feature-settings`"
2 parents ffaec8c + dbdca69 commit adc83a2

File tree

5 files changed

+5
-18
lines changed

5 files changed

+5
-18
lines changed

assets/fonts/InstrumentSans.woff2

-86.7 KB
Binary file not shown.

docs.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -339,18 +339,5 @@
339339
"source": "/testing",
340340
"destination": "/v2/advanced/testing"
341341
}
342-
],
343-
"fonts": {
344-
"body": {
345-
"family": "Instrument Sans",
346-
"source": "/assets/fonts/InstrumentSans.woff2",
347-
"format": "woff2"
348-
},
349-
"heading": {
350-
"family": "Instrument Sans",
351-
"source": "/assets/fonts/InstrumentSans.woff2",
352-
"format": "woff2",
353-
"weight": 500
354-
}
355-
}
342+
]
356343
}
379 KB
Binary file not shown.

fonts/inter/InterVariable.woff2

344 KB
Binary file not shown.

style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400..500&display=swap");
12
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300..600&display=swap");
23

3-
html {
4-
/* Single story "a", alternate "R", alternate "Q" */
5-
font-feature-settings: "ss02"1, "ss05"1, "ss09"1;
4+
body {
5+
font-family: "Instrument Sans";
6+
font-weight: 400;
67
}
78

89
h1,
@@ -17,7 +18,6 @@ code,
1718
pre {
1819
font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
1920
Consolas, "Liberation Mono", "Courier New", monospace;
20-
font-feature-settings: normal;
2121
}
2222

2323
b,

0 commit comments

Comments
 (0)