From b0670b875e0529c17b8938809870630ca6975aa4 Mon Sep 17 00:00:00 2001 From: Jordi Sala Morales Date: Fri, 28 Jun 2024 08:45:02 +0200 Subject: [PATCH] more fixes (#196) --- plugin-src/translators/styles/translateTextStyle.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin-src/translators/styles/translateTextStyle.ts b/plugin-src/translators/styles/translateTextStyle.ts index 70519a3..69adaad 100644 --- a/plugin-src/translators/styles/translateTextStyle.ts +++ b/plugin-src/translators/styles/translateTextStyle.ts @@ -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) } }; };