Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Jun 28, 2024
1 parent 53672d8 commit 951b327
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugin-src/translators/styles/translateTextStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -28,7 +26,7 @@ export const translateTextStyle = (figmaStyle: TextStyle): TypographyStyle => {
},
typography: {
path: translateStylePath(figmaStyle),
name
name: translateStyleName(figmaStyle)
}
};
};

0 comments on commit 951b327

Please sign in to comment.