UNPKG
@freesewing/plugin-annotations
Version:
latest (4.3.1)
next (4.0.1-rc.1)
4.3.1
4.3.0
4.2.0
4.1.0
4.0.3
4.0.2
4.0.1
4.0.1-rc.1
4.0.0
4.0.0-rc.16
4.0.0-rc.15
4.0.0-rc.14
4.0.0-rc.13
4.0.0-rc.12
4.0.0-rc.11
4.0.0-rc.10
4.0.0-rc.9
4.0.0-rc.8
4.0.0-rc.7
4.0.0-rc.5
4.0.0-rc.4
4.0.0-rc.3
4.0.0-rc.2
4.0.0-rc.1
3.3.0-rc.1
3.2.0-rc.0
3.1.0
3.1.0-rc.0
3.0.0
3.0.0-beta.0
3.0.0-alpha.14
3.0.0-alpha.13
3.0.0-alpha.12
3.0.0-alpha.11
3.0.0-alpha.10
3.0.0-alpha.9
A FreeSewing plugin that provides pattern annotations
freesewing.org
freesewing/freesewing
@freesewing/plugin-annotations
/
src
/
logo.mjs
12 lines
(10 loc)
•
275 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import { logoPath } from
'@freesewing/config'
export
const logoDefs = [ { name:
'logo'
, def: (scale) => `<g
id
=
"logo"
transform=
"scale(
${ 2 * scale }
) translate(-12.55 -18)"
><path class=
"logo"
fill=
"currentColor"
d=
"
${logoPath}
"
/></g>`, }, ]