Adding font

This commit is contained in:
2020-05-31 05:21:14 +01:00
parent 9dbf2d80d7
commit 78c6cfcbd9
11 changed files with 60 additions and 0 deletions

60
src/scss/fonts.scss Normal file
View File

@@ -0,0 +1,60 @@
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-Light.ttf");
font-weight: 300;
font-display: swap;
}
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-Medium.ttf");
font-display: swap;
}
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-Medium.ttf");
font-weight: 500;
font-display: swap;
}
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-SemiBold.ttf");
font-weight: 600;
font-display: swap;
}
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-Bold.ttf");
font-weight: 700;
font-display: swap;
}
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-ExtraBold.ttf");
font-weight: 800;
font-display: swap;
}
@font-face {
font-family: "RNSSanz";
src: url("../../src/fonts/RNSSanz/RNSSanz-Black.ttf");
font-weight: 900;
font-display: swap;
}
@font-face {
font-family: "BergenMono";
src: url("../../src/fonts/BergenMono/BergenMono-Regular.otf");
font-display: swap;
}
@font-face {
font-family: "BergenMono";
src: url("../../src/fonts/BergenMono/BergenMono-Bold.otf");
font-weight: 700;
font-display: swap;
}