mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 05:33:02 -05:00
more fixes (#196)
This commit is contained in:
parent
53672d8b43
commit
b0670b875e
1 changed files with 1 additions and 3 deletions
|
@ -12,8 +12,6 @@ import { TypographyStyle } from '@ui/lib/types/shapes/textShape';
|
|||
import { translateStyleName, translateStylePath } from '.';
|
||||
|
||||
export const translateTextStyle = (figmaStyle: TextStyle): TypographyStyle => {
|
||||
const name = (figmaStyle.remote ? 'Remote / ' : '') + figmaStyle.name;
|
||||
|
||||
return {
|
||||
name: translateStyleName(figmaStyle),
|
||||
textStyle: {
|
||||
|
@ -28,7 +26,7 @@ export const translateTextStyle = (figmaStyle: TextStyle): TypographyStyle => {
|
|||
},
|
||||
typography: {
|
||||
path: translateStylePath(figmaStyle),
|
||||
name
|
||||
name: translateStyleName(figmaStyle)
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue