2019-02-04 18:32:45 +01:00
|
|
|
import { box } from "./shared";
|
|
|
|
|
|
|
|
export default part => {
|
|
|
|
let { Point, points, Snippet, snippets } = part.shorthand();
|
|
|
|
|
2019-05-25 11:11:46 +02:00
|
|
|
points.anchor = new Point(35, 35);
|
|
|
|
snippets.demo = new Snippet("logo", points.anchor).attr(
|
|
|
|
"style",
|
|
|
|
"color: #f006"
|
|
|
|
);
|
2019-02-04 18:32:45 +01:00
|
|
|
|
2019-05-25 11:11:46 +02:00
|
|
|
snippets.clone = snippets.demo.clone().attr("data-scale", 0.5);
|
2019-02-04 18:32:45 +01:00
|
|
|
|
|
|
|
return box(part);
|
|
|
|
};
|