Skip to content

Commit

Permalink
feat(frontend): Apply global font bb-104 (#113)
Browse files Browse the repository at this point in the history
* feat(frontend): added global font bb-104

* chore(frontend): added font locally bb-104

* chore(frontend): minimal css change bb-104

* chore(frontend): merge main bb-104

---------

Co-authored-by: Farid Shabanov <[email protected]>
  • Loading branch information
JD-Rosales and fshabanov authored Aug 23, 2024
1 parent 5918591 commit 88e87bf
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
7 changes: 7 additions & 0 deletions apps/frontend/src/assets/css/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@font-face {
font-family: Nunito;
font-style: normal;
font-weight: 300 800;
src: url("../fonts/Nunito.ttf") format("truetype-variations");
font-display: swap;
}
9 changes: 8 additions & 1 deletion apps/frontend/src/assets/css/scaffolding.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body {
min-width: 320px;
min-height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
font-family: Nunito, Arial, sans-serif;
font-size: 14px;
line-height: 1.5;
}
Expand Down Expand Up @@ -41,3 +41,10 @@ h5,
h6 {
margin: 0;
}

input,
button,
textarea,
select {
font-family: inherit;
}
1 change: 1 addition & 0 deletions apps/frontend/src/assets/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@import url("./fonts.css");
@import url("./scaffolding.css");
@import url("./variables.css");
Binary file added apps/frontend/src/assets/fonts/Nunito.ttf
Binary file not shown.
15 changes: 13 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88e87bf

Please sign in to comment.