feat: add local font files and update global styles to use them
This commit is contained in:
33
src/styles/fonts.css
Normal file
33
src/styles/fonts.css
Normal file
@@ -0,0 +1,33 @@
|
||||
/* Local Fonts - Archivo */
|
||||
@font-face {
|
||||
font-family: 'Archivo';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/archivo-400.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Archivo';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-stretch: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/archivo-700.ttf') format('truetype');
|
||||
}
|
||||
|
||||
/* Local Fonts - Space Grotesk */
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('./fonts/space-grotesk-400.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url('./fonts/space-grotesk-700.ttf') format('truetype');
|
||||
}
|
||||
Reference in New Issue
Block a user