Skip to content

Commit

Permalink
feat: include webfont
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Oct 11, 2023
1 parent 7a61dcb commit 6d45ad5
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2 deletions.
Binary file removed src/assets/fonts/Cadiz-Black.woff2
Binary file not shown.
Binary file removed src/assets/fonts/Cadiz-Regular.woff2
Binary file not shown.
Binary file added src/assets/fonts/CadizWeb-Black.woff
Binary file not shown.
Binary file added src/assets/fonts/CadizWeb-Black.woff2
Binary file not shown.
Binary file added src/assets/fonts/CadizWeb-Regular.woff
Binary file not shown.
Binary file added src/assets/fonts/CadizWeb-Regular.woff2
Binary file not shown.
6 changes: 4 additions & 2 deletions src/styles/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
@font-face {
font-family: 'Cadiz';
src: url('/assets/fonts/Cadiz-Regular.woff2') format('woff2');
src: url('/assets/fonts/CadizWeb-Regular.woff2') format('woff2'),
url('/assets/fonts/CadizWeb-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'CadizBlack';
src: url('/assets/fonts/Cadiz-Black.woff2') format('woff2');
src: url('/assets/fonts/CadizWeb-Black.woff2') format('woff2'),
url('/assets/fonts/CadizWeb-Black.woff') format('woff');
font-weight: 800;
font-style: normal;
}
Expand Down

0 comments on commit 6d45ad5

Please sign in to comment.