Skip to content

Commit

Permalink
docs: add example for variable fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Dec 8, 2023
1 parent 9722275 commit e08dc43
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/content/1.getting-started/1.setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,17 @@ export default defineNuxtConfig({
families: {
Roboto: true,
Inter: [400, 700],
'Josefin+Sans': true,
'Josefin+Sans': true,
Lato: [100, 300],
Raleway: {
wght: [100, 400],
ital: [100]
},
Inter: '200..700',
'Crimson Pro': {
wght: '200..900',
ital: '200..700',
}
}
}],
],
Expand Down
5 changes: 5 additions & 0 deletions docs/content/1.getting-started/2.options.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export default {
wght: [100, 400],
ital: [100]
},
Inter: '200..700',
'Crimson Pro': {
wght: '200..900',
ital: '200..700',
}
}
}
}
Expand Down

0 comments on commit e08dc43

Please sign in to comment.