matrix-spec/layouts/partials/hooks/head-end.html
Andrew Morgan 58cfd048b2 Rename custom.scss to _styles_project.scss
This is how docsy expects custom styles to be defined
2023-08-03 12:19:02 +01:00

19 lines
619 B
HTML

{{/*
This template is included at the end of each page's `<head>`.
We're using it here to include the custom CSS for the Matrix spec.
*/}}
{{/*
Load the Inter font.
We load it from a local copy, which is downloaded from
Google Fonts manually via a script:
https://github.com/matrix-org/matrix-spec/tree/main/static/css/fonts
*/}}
<link rel="preload" href="{{ "/css/fonts/Inter.css" | relURL }}" as="style">
<link rel="stylesheet" href="{{ "/css/fonts/Inter.css" | relURL }}">
{{/* Note the missing postCSS. This makes it snappier to develop in Chrome, but makes it look sub-optimal in other browsers. */}}