Skip to content

Commit

Permalink
fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
rinyafii committed Feb 21, 2024
1 parent 9eb9e2d commit a58030e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Binary file added public/font/SegoeUI-VF.ttf
Binary file not shown.
Binary file added public/font/bahnschrift-var.ttf
Binary file not shown.
15 changes: 15 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
@font-face {
font-family: 'Segoe UI';
src: url('/font/SegoeUI-VF.ttf') format('truetype-variations');
font-weight: 300 700;
font-style: normal;
}

@font-face {
font-family: 'Comfortaa';
src: url('/font/Comfortaa-Variable.ttf') format('truetype-variations');
font-weight: 300 700;
font-style: normal;
}

@font-face {
font-family: 'Bahnschrift';
src: url('/font/bahnschrift-var.ttf') format('truetype-variations');
font-weight: 300 700;
font-stretch: 75% 100%;
font-style: normal;
}

@media (prefers-color-scheme: dark) {
:root{
--col-txt-main: var(--col-txt-L);
Expand Down

0 comments on commit a58030e

Please sign in to comment.