Typography: Declare Merriweather @font-faces

This commit is contained in:
Eryn Wells 2024-07-03 07:42:22 -07:00
parent 199731551e
commit 7fd398bd01

View file

@ -19,6 +19,21 @@
@import url("https://use.typekit.net/fji8aoy.css");
{{ with resources.Get "fonts/merriweather.woff2" -}}
@font-face {
font-family: "merriweather";
src: url("{{ .Permalink }}");
}
{{- end }}
{{ with resources.Get "fonts/merriweather-italic.woff2" -}}
@font-face {
font-family: "merriweather";
font-style: italic;
src: url("{{ .Permalink }}");
}
{{- end }}
:root {
--font-family-body: system-ui, Arial, sans-serif;
/* --font-family-heading: "rockwell", serif; */