diff --git a/.gitignore b/.gitignore index b53c1dcf5..16ef4139e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ node_modules static/fonts/* !static/fonts/.gitkeep !static/fonts/redaction +!static/fonts/inter* static/twemoji/* !static/twemoji/.gitkeep /coverage diff --git a/src/styles/fonts.css b/src/styles/fonts.css index 7d708d3bd..19e9cb52a 100644 --- a/src/styles/fonts.css +++ b/src/styles/fonts.css @@ -2,27 +2,27 @@ @font-face { font-family: 'Inter Bold'; - src: url('fonts/inter-bold-webfont.woff2'); + src: url('/fonts/inter-bold-webfont.woff2'); } @font-face { font-family: 'Inter SemiBold'; - src: url('fonts/inter-semibold-webfont.woff2'); + src: url('/fonts/inter-semibold-webfont.woff2'); } @font-face { font-family: 'Inter Regular'; - src: url('fonts/inter-regular-webfont.woff2'); + src: url('/fonts/inter-regular-webfont.woff2'); } @font-face { font-family: 'SourceCodePro Bold'; - src: url('fonts/SourceCodePro-Bold.otf'); + src: url('/fonts/SourceCodePro-Bold.otf'); } @font-face { font-family: 'SourceCodePro Regular'; - src: url('fonts/SourceCodePro-Regular.otf'); + src: url('/fonts/SourceCodePro-Regular.otf'); } :root { diff --git a/static/fonts/inter-bold-webfont.woff2 b/static/fonts/inter-bold-webfont.woff2 new file mode 100644 index 000000000..ce6cd4801 Binary files /dev/null and b/static/fonts/inter-bold-webfont.woff2 differ diff --git a/static/fonts/inter-regular-webfont.woff2 b/static/fonts/inter-regular-webfont.woff2 new file mode 100644 index 000000000..d62fb7151 Binary files /dev/null and b/static/fonts/inter-regular-webfont.woff2 differ diff --git a/static/fonts/inter-semibold-webfont.woff2 b/static/fonts/inter-semibold-webfont.woff2 new file mode 100644 index 000000000..20cb55260 Binary files /dev/null and b/static/fonts/inter-semibold-webfont.woff2 differ