Skip to content

Commit

Permalink
load Oswald font from directus file server
Browse files Browse the repository at this point in the history
  • Loading branch information
kciy committed Aug 9, 2023
1 parent ab4d2b4 commit 9e1b524
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file added src/assets/fonts/Oswald/Oswald-Regular.eot
Binary file not shown.
Binary file added src/assets/fonts/Oswald/Oswald-Regular.woff
Binary file not shown.
9 changes: 8 additions & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@

@font-face {
font-family: "Oswald", sans-serif;
src: url("./assets/fonts/Oswald/Oswald-Regular.ttf") format("truetype");
src: url("./assets/fonts/Oswald/Oswald-Regular.eot");
src:
url("https://directus.esn-germany.de/assets/d409a98e-851b-4817-a5d9-18b4bac8157e")
format("truetype"),
url("https://directus.esn-germany.de/assets/dab46c54-fc8a-44b8-adcb-e06b8c3f3800")
format("woff");
font-weight: normal;
// src: url("./assets/fonts/Oswald/Oswald-Regular.ttf") format("truetype");
}

:root {
Expand Down

0 comments on commit 9e1b524

Please sign in to comment.