mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2025-01-09 08:30:08 -05:00
wip
This commit is contained in:
parent
6dfe4dd582
commit
29fd52717f
2 changed files with 6304 additions and 6304 deletions
|
@ -48,7 +48,7 @@ export const createPenpotText = (
|
|||
type: Symbol.for('text'),
|
||||
content: {
|
||||
type: 'root',
|
||||
verticalAlign: translateVerticalAlign(node.textAlignVertical),
|
||||
// verticalAlign: translateVerticalAlign(node.textAlignVertical),
|
||||
children: [
|
||||
{
|
||||
type: 'paragraph-set',
|
||||
|
@ -58,13 +58,13 @@ export const createPenpotText = (
|
|||
fontStyle: 'normal',
|
||||
children: children,
|
||||
textTransform: translateTextTransform(node),
|
||||
textAlign: translateHorizontalAlign(node.textAlignHorizontal),
|
||||
fontId: 'gfont-' + slugify(node.fontName.family.toLowerCase()),
|
||||
// textAlign: translateHorizontalAlign(node.textAlignHorizontal),
|
||||
// fontId: 'gfont-' + slugify(node.fontName.family.toLowerCase()),
|
||||
fontSize: node.fontSize.toString(),
|
||||
fontWeight: node.fontWeight.toString(),
|
||||
type: 'paragraph',
|
||||
textDecoration: translateTextDecoration(node),
|
||||
letterSpacing: node.letterSpacing,
|
||||
// letterSpacing: node.letterSpacing,
|
||||
fills: translateFills(node.fills /*, node.width, node.height*/),
|
||||
fontFamily: node.fontName.family
|
||||
}
|
||||
|
|
12600
src/ui/lib/penpot.js
12600
src/ui/lib/penpot.js
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue