-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade to astro 2 + add unplugin-fonts
- Loading branch information
1 parent
0f6bf36
commit 5163871
Showing
6 changed files
with
803 additions
and
1,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,23 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import Unfonts from 'unplugin-fonts/astro' | ||
|
||
// https://astro.build/config | ||
export default defineConfig({}); | ||
export default defineConfig({ | ||
integrations: [ | ||
Unfonts({ | ||
google: { | ||
families: [ | ||
'Material+Icons', | ||
{ | ||
name: 'Roboto', | ||
styles: 'wght@300;400;500;700', | ||
}, | ||
{ | ||
name: 'Nunito', | ||
styles: 'wght@400;600;700;800' | ||
}, | ||
], | ||
}, | ||
}) | ||
] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.