mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-13 23:31:07 +08:00
update: 换成Nunito字体
This commit is contained in:
+5
-5
@@ -60,11 +60,11 @@ export default defineConfig({
|
||||
},
|
||||
fonts: [
|
||||
{
|
||||
name: "Google Sans Code",
|
||||
cssVariable: "--font-google-sans-code",
|
||||
name: "Nunito",
|
||||
cssVariable: "--font-nunito",
|
||||
provider: fontProviders.google(),
|
||||
fallbacks: ["monospace"],
|
||||
weights: [300, 400, 500, 600, 700],
|
||||
fallbacks: ["sans-serif"],
|
||||
weights: [300, 400, 500, 600, 700, 800],
|
||||
styles: ["normal", "italic"],
|
||||
formats: ["woff", "ttf"],
|
||||
},
|
||||
@@ -81,4 +81,4 @@ export default defineConfig({
|
||||
experimental: {
|
||||
svgOptimizer: svgoOptimizer(),
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user