1
0
Fork 0

chore: Updated pattern-info to reflect Fu -> Florence name change. See #382

This commit is contained in:
Joost De Cock 2020-04-26 11:09:22 +02:00
parent f7b27dbc88
commit d6076e500b
3 changed files with 6 additions and 56 deletions

View file

@ -1,50 +0,0 @@
## Included patterns
### Blocks
Blocks or slopers are basic patterns shapes that you can extend into fully detailed patterns.
- [brian](https://github.com/freesewing/brian) : A basic body block for menswear, and the basis for many of our menswear patterns.
- [bent](https://github.com/freesewing/bent) : A version of [brian](https://github.com/freesewing/brian) with a two-part sleeve, and the and the basis of our menswear coat and jacket patterns.
### Menswear
- [aaron](https://github.com/freesewing/aaron) : A tank top or A-shirt
- [bruce](https://github.com/freesewing/bruce) : Boxer briefs
- [carlton](https://github.com/freesewing/carlton) : A long coat, perfect for Sherlock Holmes cosplay
- [huey](https://github.com/freesewing/huey) : A zip-up hoodie
- [hugo](https://github.com/freesewing/hugo) : A hooded sweatshirt with raglan sleeves
- [jaeger](https://github.com/freesewing/jaeger) : A sportscoat
- [simon](https://github.com/freesewing/simon) : A versatile button-down shirt
- [sven](https://github.com/freesewing/sven) : A straightforward sweater
- [wahid](https://github.com/freesewing/wahid) : A classic waistcoat
### Womenswear
- [cathrin](https://github.com/freesewing/cathrin) : An underbust corset or waist trainer
- [tamiko](https://github.com/freesewing/tamiko) : A zero-waste top
### Accessories
- [trayvon](https://github.com/freesewing/trayvon) : A (neck) tie
> #### Note: menswear/womenswear has nothing to do with gender
>
> Freesewing is gender-neutral. When we use the terms **menswear** or **womenswear**
> we are not talking about clothes for men or women. It is merely a category of clothing
> much like **accessories** or **shoes** are categories.
>
> The category gives you an idea what to expect, and is there to help you find things.
> It is not a limitation, or even a suggestion, of what you can or should wear or make.
>
> Wear whatever you want, and be proud of the things you make.
## Usage
This package has 2 exports:
- `patterns` : (the default export) An object holding pattern constructors
- `patternList` : An array of pattern names

View file

@ -17,7 +17,7 @@ export const list = [
'carlton',
'cathrin',
'florent',
'fu',
'florence',
'holmes',
'huey',
'hugo',
@ -43,7 +43,7 @@ export const withoutBreasts = [
'bruce',
'carlton',
'florent',
'fu',
'florence',
'holmes',
'huey',
'hugo',

View file

@ -11,7 +11,7 @@ const carlita = require('@freesewing/carlita').config
const carlton = require('@freesewing/carlton').config
const cathrin = require('@freesewing/cathrin').config
const florent = require('@freesewing/florent').config
const fu = require('@freesewing/fu').config
const florence = require('@freesewing/florence').config
const holmes = require('@freesewing/holmes').config
const huey = require('@freesewing/huey').config
const hugo = require('@freesewing/hugo').config
@ -40,7 +40,7 @@ const patterns = {
carlton,
cathrin,
florent,
fu,
florence,
holmes,
huey,
hugo,
@ -57,7 +57,7 @@ const patterns = {
wahid,
waralee
}
const patternOptions = config => {
const patternOptions = (config) => {
let all = []
let groups = config.optionGroups
for (let group of Object.keys(groups)) {
@ -74,7 +74,7 @@ const patternOptions = config => {
return all
}
const patternParts = config => {
const patternParts = (config) => {
let parts = {}
if (config.parts) {
for (let p of config.parts) parts[p] = p