Skip to content

Commit 74d6657

Browse files
committed
fix: missing style
1 parent 069aace commit 74d6657

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

astro.config.mjs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,27 @@ export default defineConfig({
3535
variants: [
3636
{
3737
src: ['./src/assets/fonts/Inter-Regular.woff2'],
38+
style: 'normal',
3839
weight: 400,
3940
},
4041
{
4142
src: ['./src/assets/fonts/Inter-Medium.woff2'],
43+
style: 'normal',
4244
weight: 500,
4345
},
4446
{
4547
src: ['./src/assets/fonts/Inter-SemiBold.woff2'],
48+
style: 'normal',
4649
weight: 600,
4750
},
4851
{
4952
src: ['./src/assets/fonts/Inter-Bold.woff2'],
53+
style: 'normal',
5054
weight: 700,
5155
},
5256
{
5357
src: ['./src/assets/fonts/Inter-ExtraBold.woff2'],
58+
style: 'normal',
5459
weight: 800,
5560
},
5661
],
@@ -59,7 +64,13 @@ export default defineConfig({
5964
name: 'InterVariable',
6065
cssVariable: '--font-inter-variable',
6166
provider: 'local',
62-
variants: [{ src: ['./src/assets/fonts/InterVariable.woff2'] }],
67+
variants: [
68+
{
69+
src: ['./src/assets/fonts/InterVariable.woff2'],
70+
style: 'normal',
71+
weight: 400,
72+
},
73+
],
6374
},
6475
],
6576
},

0 commit comments

Comments
 (0)