Skip to content

Commit

Permalink
add google font swap loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsbyqx20 committed Sep 17, 2023
1 parent cd15cea commit eed1ef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"*": [
"../../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!cai!jimmy/hugo-theme-stack/[email protected]/assets/*"
"../../../tmp/hugo_cache_node/modules/filecache/modules/pkg/mod/github.com/!cai!jimmy/hugo-theme-stack/[email protected]/assets/*"
]
}
}
Expand Down
2 changes: 2 additions & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
You can add your own custom styles here.
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
--base-font-family: "Nunito", var(--sys-font-family), var(--zh-font-family), sans-serif;
Expand Down

0 comments on commit eed1ef8

Please sign in to comment.