Sfoglia il codice sorgente

adds font definitions

rosenclosed 2 anni fa
parent
commit
c259041908
1 ha cambiato i file con 20 aggiunte e 0 eliminazioni
  1. 20 0
      src/style/_fonts.scss

+ 20 - 0
src/style/_fonts.scss

@@ -0,0 +1,20 @@
+@font-face {
+    font-family: "fraunces";
+    src: url("/src/fonts/fraunces/Fraunces-VariableFont_SOFT\,WONK\,opsz\,wght.ttf");
+    font-weight: 100 900;
+    font-style: normal;
+}
+
+@font-face {
+    font-family: "fraunces";
+    src: url("/src/fonts/fraunces/Fraunces-Italic-VariableFont_SOFT\,WONK\,opsz\,wght.ttf");
+    font-weight: 100 900;
+    font-style: italic;
+}
+
+@font-face {
+    font-family: "geologica";
+    src: url("/src/fonts/geologica/Geologica-VariableFont_CRSV\,SHRP\,slnt\,wght.ttf");
+    font-weight: 100 900;
+    font-style: oblique 0deg 12deg;
+}