-
Notifications
You must be signed in to change notification settings - Fork 0
/
fonts.ts
34 lines (32 loc) 路 842 Bytes
/
fonts.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { Work_Sans } from 'next/font/google'
import localFont from 'next/font/local'
export const work_sans = Work_Sans({
subsets: ['latin'],
weight: ['400', '500', '600', '700'],
variable: '--ff-work-sans',
})
export const sarasa_gothic = localFont({
src: [
{
path: '../../public/fonts/SarasaGothic/sarasa-gothic-tc-light.ttf',
weight: '300',
style: 'normal',
},
{
path: '../../public/fonts/SarasaGothic/sarasa-gothic-tc-regular.ttf',
weight: '400',
style: 'normal',
},
{
path: '../../public/fonts/SarasaGothic/sarasa-gothic-tc-semibold.ttf',
weight: '600',
style: 'normal',
},
{
path: '../../public/fonts/SarasaGothic/sarasa-gothic-tc-bold.ttf',
weight: '700',
style: 'normal',
},
],
variable: '--ff-sarasa-gothic-tc',
})