Skip to content

Commit 0636278

Browse files
author
Latif
committed
Self-host Manrope font for GitHub Pages reliability
1 parent 415aa2b commit 0636278

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎assets/scss/template.scss‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
1+
@font-face {
2+
font-family: 'Manrope';
3+
src: url('/fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
4+
font-weight: 200 800;
5+
font-style: normal;
6+
font-display: swap;
7+
}
28

39
:root {
410
--site-font-sans: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
162 KB
Binary file not shown.

0 commit comments

Comments
 (0)