File tree Expand file tree Collapse file tree 1 file changed +32
-5
lines changed
Expand file tree Collapse file tree 1 file changed +32
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,35 @@ export default defineConfig({
1818 vite : {
1919 plugins : [ tailwindcss ( ) ] ,
2020 } ,
21- integrations : [ react ( ) , sitemap ( ) , mdx ( {
22- optimize : true ,
23- syntaxHighlight : 'shiki' ,
24- } ) ] ,
25- } ) ;
21+ integrations : [
22+ react ( ) ,
23+ sitemap ( ) ,
24+ mdx ( {
25+ optimize : true ,
26+ syntaxHighlight : 'shiki' ,
27+ } ) ,
28+ ] ,
29+ experimental : {
30+ fonts : [
31+ {
32+ name : 'Inter' ,
33+ cssVariable : '--font-inter' ,
34+ provider : 'local' ,
35+ variants : [
36+ { src : [ './src/assets/fonts/Inter-Regular.woff2' ] , weight : 400 } ,
37+ { src : [ './src/assets/fonts/Inter-Medium.woff2' ] , weight : 500 } ,
38+ { src : [ './src/assets/fonts/Inter-SemiBold.woff2' ] , weight : 600 } ,
39+ { src : [ './src/assets/fonts/Inter-Bold.woff2' ] , weight : 700 } ,
40+ { src : [ './src/assets/fonts/Inter-ExtraBold.woff2' ] , weight : 800 } ,
41+ { src : [ './src/assets/fonts/InterVariable.woff2' ] } ,
42+ ] ,
43+ } ,
44+ {
45+ name : 'InterVariable' ,
46+ cssVariable : '--font-inter-variable' ,
47+ provider : 'local' ,
48+ variants : [ { src : [ './src/assets/fonts/InterVariable.woff2' ] } ] ,
49+ } ,
50+ ] ,
51+ } ,
52+ } ) ;
You can’t perform that action at this time.
0 commit comments