feat: Subset fonts
This commit is contained in:
parent
b0af4f396d
commit
57239a60c3
3 changed files with 14 additions and 13 deletions
|
@ -121,25 +121,25 @@ code.inline {
|
||||||
} */
|
} */
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iAWriterDuo";
|
font-family: "iAWriterDuoSub";
|
||||||
src: url("/fonts/iAWriterDuoV.ttf") format('truetype');
|
src: url("/fonts/iAWriterDuoSubV-subset.ttf") format('truetype');
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iAWriterDuo";
|
font-family: "iAWriterDuoSub";
|
||||||
src: url("/fonts/iAWriterDuoV-Italic.ttf") format('truetype');
|
src: url("/fonts/iAWriterDuoSubV-Italic-subset.ttf") format('truetype');
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iAWriterMono";
|
font-family: "iAWriterMonoSub";
|
||||||
src: url("/fonts/iAWriterMonoV.ttf") format('truetype');
|
src: url("/fonts/iAWriterMonoSubV-subset.ttf") format('truetype');
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iAWriterMono";
|
font-family: "iAWriterMonoSub";
|
||||||
src: url("/fonts/iAWriterMonoV-Italic.ttf") format('truetype');
|
src: url("/fonts/iAWriterMonoSubV-Italic-subset.ttf") format('truetype');
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ module.exports = {
|
||||||
extend: {
|
extend: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
mono: [
|
mono: [
|
||||||
'iAWriterMono',
|
'iAWriterMonoSub',
|
||||||
'ui-monospace',
|
'ui-monospace',
|
||||||
'SFMono-Regular',
|
'SFMono-Regular',
|
||||||
'Menlo',
|
'Menlo',
|
||||||
|
@ -51,7 +51,7 @@ module.exports = {
|
||||||
'monospace',
|
'monospace',
|
||||||
],
|
],
|
||||||
sans: [
|
sans: [
|
||||||
'iAWriterDuo',
|
'iAWriterDuoSub',
|
||||||
'ui-sans-serif',
|
'ui-sans-serif',
|
||||||
'system-ui',
|
'system-ui',
|
||||||
'sans-serif',
|
'sans-serif',
|
||||||
|
|
|
@ -188,9 +188,10 @@ defmodule PreDotHn do
|
||||||
<meta name="author" content="Robert Prehn">
|
<meta name="author" content="Robert Prehn">
|
||||||
<link rel="alternate" type="application/rss+xml" title="Robert Prehn" href="https://pre.hn/feed.rss">
|
<link rel="alternate" type="application/rss+xml" title="Robert Prehn" href="https://pre.hn/feed.rss">
|
||||||
|
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
rel="icon"
|
||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
href={"data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%221.1em%22 font-size=%2272%22>⌨️</text></svg>"}
|
||||||
|
/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/assets/app.css?v=1.0">
|
<link rel="stylesheet" href="/assets/app.css?v=1.0">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue