1
0
Fork 0
freesewing/designs/hugo/src/index.mjs
2024-01-27 22:48:30 -08:00

50 lines
1 KiB
JavaScript

import { Design, mergeI18n } from '@freesewing/core'
import { data } from '../data.mjs'
import { i18n as brianI18n } from '@freesewing/brian'
import { i18n as hugoI18n } from '../i18n/index.mjs'
import { back } from './back.mjs'
import { front } from './front.mjs'
import { sleeve } from './sleeve.mjs'
import { pocket } from './pocket.mjs'
import { pocketFacing } from './pocketfacing.mjs'
import { hoodSide } from './hoodside.mjs'
import { hoodCenter } from './hoodcenter.mjs'
import { waistband } from './waistband.mjs'
import { cuff } from './cuff.mjs'
import { neckBinding } from './neckbinding.mjs'
// Setup our new design
const Hugo = new Design({
data,
parts: [
back,
front,
sleeve,
pocket,
pocketFacing,
hoodSide,
hoodCenter,
waistband,
cuff,
neckBinding,
],
})
// Merge translations
const i18n = mergeI18n([brianI18n, hugoI18n])
// Named exports
export {
back,
front,
sleeve,
pocket,
pocketFacing,
hoodSide,
hoodCenter,
waistband,
cuff,
neckBinding,
Hugo,
i18n,
}