113 lines
2.2 KiB
JavaScript
113 lines
2.2 KiB
JavaScript
import fs from 'node:fs'
|
|
|
|
export const DMSans = [
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Thin.ttf'),
|
|
weight: 100,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-ThinItalic.ttf'),
|
|
weight: 100,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-ExtraLight.ttf'),
|
|
weight: 200,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-ExtraLightItalic.ttf'),
|
|
weight: 200,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Light.ttf'),
|
|
weight: 300,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-LightItalic.ttf'),
|
|
weight: 300,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Regular.ttf'),
|
|
weight: 400,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Italic.ttf'),
|
|
weight: 400,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Medium.ttf'),
|
|
weight: 500,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-MediumItalic.ttf'),
|
|
weight: 500,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-SemiBold.ttf'),
|
|
weight: 600,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-SemiBoldItalic.ttf'),
|
|
weight: 600,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Bold.ttf'),
|
|
weight: 700,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-BoldItalic.ttf'),
|
|
weight: 700,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-ExtraBold.ttf'),
|
|
weight: 800,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-ExtraBoldItalic.ttf'),
|
|
weight: 800,
|
|
style: 'italic'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-Black.ttf'),
|
|
weight: 900,
|
|
style: 'normal'
|
|
},
|
|
{
|
|
name: 'DM Sans',
|
|
data: fs.readFileSync('./assets/DMSans/DMSans-BlackItalic.ttf'),
|
|
weight: 900,
|
|
style: 'normal'
|
|
}
|
|
]
|