🎨 Updated prettier config
This commit is contained in:
parent
b8e632998b
commit
6710d76b08
401 changed files with 13193 additions and 15620 deletions
|
@ -1,41 +1,30 @@
|
|||
export default function(part) {
|
||||
let {
|
||||
Point,
|
||||
points,
|
||||
paths,
|
||||
macro,
|
||||
complete,
|
||||
snippets,
|
||||
Snippet
|
||||
} = part.shorthand();
|
||||
let { Point, points, paths, macro, complete, snippets, Snippet } = part.shorthand()
|
||||
|
||||
// Complete?
|
||||
if (complete) {
|
||||
snippets.snapMale = new Snippet("snap-male", points.snapLeft);
|
||||
snippets.snapFemale = new Snippet("snap-female", points.snapRight).attr(
|
||||
"opacity",
|
||||
0.5
|
||||
);
|
||||
snippets.snapMale = new Snippet('snap-male', points.snapLeft)
|
||||
snippets.snapFemale = new Snippet('snap-female', points.snapRight).attr('opacity', 0.5)
|
||||
|
||||
paths.bias = paths.seam
|
||||
.offset(-5)
|
||||
.attr("class", "various dashed")
|
||||
.attr("data-text", "finishWithBiasTape")
|
||||
.attr("data-text-class", "center fill-various");
|
||||
.attr('class', 'various dashed')
|
||||
.attr('data-text', 'finishWithBiasTape')
|
||||
.attr('data-text-class', 'center fill-various')
|
||||
|
||||
points.title = points.bottom.shift(-90, 45);
|
||||
macro("title", {
|
||||
points.title = points.bottom.shift(-90, 45)
|
||||
macro('title', {
|
||||
at: points.title,
|
||||
nr: 1,
|
||||
title: "bib"
|
||||
});
|
||||
title: 'bib'
|
||||
})
|
||||
|
||||
points.scalebox = points.title.shift(-90, 55);
|
||||
macro("scalebox", { at: points.scalebox });
|
||||
points.scalebox = points.title.shift(-90, 55)
|
||||
macro('scalebox', { at: points.scalebox })
|
||||
|
||||
points.logo = new Point(0, 0);
|
||||
snippets.logo = new Snippet("logo", points.logo);
|
||||
points.logo = new Point(0, 0)
|
||||
snippets.logo = new Snippet('logo', points.logo)
|
||||
}
|
||||
|
||||
return part;
|
||||
return part
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue