Skip to main content

lumina

note

This design is part of the FreeSewing collection

Named exports​

Constructor​

To create a new lumina Design, import the constructur as such:

import { Lumina } from '@freesewing/lumina'

Then you can instantiate it by passing a settings object:

const pattern = new Lumina(settings)

Design config​

You can access the design configuration without instantiating a design. It is available as the designConfig property of the design constructor:

import { Lumina } from '@freesewing/lumina'

// Access the design config from the constructor
const dConf = Lumina.designConfig

Pattern config​

You can access the pattern configuration without instantiating a design. It is available as the patternConfig property of the design constructor:

import { Lumina } from '@freesewing/lumina'

// Access the pattern config from the constructor
const pConf = Lumina.patternConfig

Metadata​

You can access the design's metadata through the about named export:

import { about } from '@freesewing/lumina'

I18n​

You can access the design's internationalization data through the i18n named export:

import { i18n } from '@freesewing/lumina'

Parts​

leg​

The part itself​

You can access this part as the leg named export:

import { leg } from '@freesewing/lumina'

panel​

The part itself​

You can access this part as the panel named export:

import { panel } from '@freesewing/lumina'

pocket​

The part itself​

You can access this part as the pocket named export:

import { pocket } from '@freesewing/lumina'

shape​

The part itself​

You can access this part as the shape named export:

import { shape } from '@freesewing/lumina'

waistband​

The part itself​

You can access this part as the waistband named export:

import { waistband } from '@freesewing/lumina'