Skip to content

Commit

Permalink
fix: store font locally
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Oct 11, 2024
1 parent 9a498ce commit 316a5f9
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
Binary file added packages/server/assets/fonts/Roboto-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file added packages/server/assets/fonts/Roboto-Italic.ttf
Binary file not shown.
Binary file added packages/server/assets/fonts/Roboto-Regular.ttf
Binary file not shown.
35 changes: 35 additions & 0 deletions packages/server/assets/fonts/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@font-face {
font-family: 'Roboto';
src: url('Roboto-Regular.ttf');
src: local('Roboto'), local('Roboto-Regular'),
url('Roboto-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('Roboto-Bold.ttf');
src: local('Roboto Bold'), local('Roboto-Bold'),
url('Roboto-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'Roboto';
src: url('Roboto-Italic.ttf');
src: local('Roboto Italic'), local('Roboto-Italic'),
url('Roboto-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('Roboto-BoldItalic.ttf');
src: local('Roboto Bold Italic'), local('Roboto-Bold-Italic'),
url('Roboto-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
}

0 comments on commit 316a5f9

Please sign in to comment.