pdf export working
This commit is contained in:
parent
922cfd02b9
commit
d8cb8a7783
9 changed files with 313 additions and 273 deletions
|
@ -53,7 +53,7 @@ const colors = {
|
|||
* scale: the scale of the markings
|
||||
* stripped: should nested declarations be stripped out? Necessary for svgToPdfkit
|
||||
* */
|
||||
export const buildStylesheet = (scale, stripped) => `
|
||||
export const buildStylesheet = (scale = 1, stripped) => `
|
||||
${!stripped ? '/* Reset */' : ''}
|
||||
${!stripped ? 'svg.freesewing ' : ''}path,
|
||||
${!stripped ? 'svg.freesewing ' : ''}circle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue