1
0
Fork 0

@eriese recommendations

This commit is contained in:
Wouter van Wageningen 2023-04-21 03:48:37 +00:00
parent 9536476512
commit 8887a97dd2
13 changed files with 65 additions and 120 deletions

View file

@ -1,17 +1,14 @@
const markers = `
// Export defs
export const pleatDefs = [
{
name: 'notch',
def: `
<marker id="pleatTo" markerWidth="12" markerHeight="8" orient="auto" refY="4" refX="12">
<path class="note fill-note" d="M 12,4 L 0,0 C 2,2 2,6 0,8 z" />
</marker>
`
// Export hooks
export const pleatHooks = {
preRender: [
function (svg) {
svg.defs.setIfUnset('pleatTo', markers)
},
],
}
`,
},
]
// Export macros
export const pleatMacros = {