Skip to content

Commit

Permalink
Use local fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
GilOliveira committed Dec 10, 2024
1 parent 1356eff commit 159dcbc
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 5 deletions.
4 changes: 2 additions & 2 deletions css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"author": "@hatuhay",
"license": "MIT",
"dependencies": {
"@fontsource/lato": "^5.1.0",
"@fontsource/noticia-text": "^5.1.0",
"@fontsource/raleway": "^5.1.0",
"@fontsource/roboto-slab": "^5.1.0",
"@popperjs/core": "^2.9.2",
"academicons": "^1.9.2",
"bootstrap": "^5.3.0",
Expand Down
1 change: 1 addition & 0 deletions scss/import.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@

// 8. Add additional custom code here
@import "mixins";

// barrio
@import "barrio";
8 changes: 6 additions & 2 deletions scss/typography.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
/* TYPOGRAPHY */

/* Fonts */
@import url(https://fonts.bunny.net/css?family=lato:100,100i,300,300i,400,400i,700,700i,900,900i|raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|roboto-slab:100,200,300,400,500,600,700,800,900|noticia-text:400,400i,700,700i);
@import url("https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css");
@import "../node_modules/academicons/css/academicons.min.css";
@import "~@fontsource/roboto-slab";
@import "~@fontsource/lato";
@import "~@fontsource/raleway";
@import "~@fontsource/noticia-text";


// font families
$font-lato: 'Lato',
Expand Down

0 comments on commit 159dcbc

Please sign in to comment.