generated from stacks-network/.github
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: commenting out fonts logic for now
- Loading branch information
Showing
1 changed file
with
54 additions
and
49 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,59 +1,64 @@ | ||
import { Instrument_Sans, Inter } from 'next/font/google'; | ||
import localFont from 'next/font/local'; | ||
|
||
export const inter = Inter({ | ||
subsets: ['latin'], | ||
display: 'swap', | ||
}); | ||
// export const inter = Inter({ | ||
// subsets: ['latin'], | ||
// display: 'swap', | ||
// }); | ||
|
||
export const instrumentSans = Instrument_Sans({ | ||
subsets: ['latin'], | ||
display: 'swap', | ||
}); | ||
// export const instrumentSans = Instrument_Sans({ | ||
// subsets: ['latin'], | ||
// display: 'swap', | ||
// }); | ||
|
||
export const openSauce = localFont({ | ||
src: [ | ||
{ | ||
path: './fonts/opensaucesans-medium-webfont.woff2', | ||
weight: '500', | ||
}, | ||
{ | ||
path: './fonts/opensaucesans-regular-webfont.woff2', | ||
weight: '400', | ||
}, | ||
], | ||
}); | ||
// export const openSauce = localFont({ | ||
// src: [ | ||
// { | ||
// path: './fonts/opensaucesans-medium-webfont.woff2', | ||
// weight: '500', | ||
// }, | ||
// { | ||
// path: './fonts/opensaucesans-regular-webfont.woff2', | ||
// weight: '400', | ||
// }, | ||
// ], | ||
// }); | ||
|
||
export const matterRegular = localFont({ | ||
src: [ | ||
{ | ||
path: './fonts/matter-regular.woff', | ||
weight: '500', | ||
}, | ||
{ | ||
path: './fonts/matter-regular.woff2', | ||
weight: '400', | ||
}, | ||
], | ||
}); | ||
// export const matterRegular = localFont({ | ||
// src: [ | ||
// { | ||
// path: './fonts/matter-regular.woff', | ||
// weight: '500', | ||
// }, | ||
// { | ||
// path: './fonts/matter-regular.woff2', | ||
// weight: '400', | ||
// }, | ||
// ], | ||
// }); | ||
|
||
export const matterMonoRegular = localFont({ | ||
src: [ | ||
{ | ||
path: './fonts/matter-mono-regular.woff', | ||
weight: '500', | ||
}, | ||
{ | ||
path: './fonts/matter-mono-regular.woff2', | ||
weight: '400', | ||
}, | ||
], | ||
}); | ||
// export const matterMonoRegular = localFont({ | ||
// src: [ | ||
// { | ||
// path: './fonts/matter-mono-regular.woff', | ||
// weight: '500', | ||
// }, | ||
// { | ||
// path: './fonts/matter-mono-regular.woff2', | ||
// weight: '400', | ||
// }, | ||
// ], | ||
// }); | ||
|
||
export const FONTS = { | ||
body: inter.style.fontFamily, | ||
heading: openSauce.style.fontFamily, | ||
matter: matterRegular.style.fontFamily, | ||
matterMono: matterMonoRegular.style.fontFamily, | ||
instrument: instrumentSans.style.fontFamily, | ||
// body: inter.style.fontFamily, | ||
// heading: openSauce.style.fontFamily, | ||
// matter: matterRegular.style.fontFamily, | ||
// matterMono: matterMonoRegular.style.fontFamily, | ||
// instrument: instrumentSans.style.fontFamily, | ||
body: { value: 'Inter, sans-serif' }, | ||
heading: { value: 'Open Sauce, sans-serif' }, | ||
matter: { value: 'Matter, sans-serif' }, | ||
matterMono: { value: 'Matter Mono, sans-serif' }, | ||
instrument: { value: 'Instrument Sans, sans-serif' }, | ||
}; |