diff --git a/README.md b/README.md index 32420cd..2a8f5ef 100644 --- a/README.md +++ b/README.md @@ -648,4 +648,8 @@ If you have any questions or suggestions, feel free to [create an issue](https:/ **2.2.0** - Added aliases handling for typography styles — [Related issue](https://github.com/tokens-bruecke/figma-plugin/issues/24) -- Added aliases handling for effects \ No newline at end of file +- Added aliases handling for effects + +**2.2.1** + +- Added `paragraphSpacing` and `paragraphIndent` to the typography styles \ No newline at end of file diff --git a/package.json b/package.json index fbc9f74..27e9629 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tokens-bruecke", - "version": "2.2.0", + "version": "2.2.1", "license": "MIT", "author": { "name": "Pavel Laptev", diff --git a/src/app/SettingsView/index.tsx b/src/app/SettingsView/index.tsx index 4f2d6fb..c89a868 100644 --- a/src/app/SettingsView/index.tsx +++ b/src/app/SettingsView/index.tsx @@ -672,7 +672,7 @@ export const SettingsView = (props: ViewProps) => { Documentation - v.2.2.0 + v.2.2.1 diff --git a/src/utils/styles/textStylesToTokens.ts b/src/utils/styles/textStylesToTokens.ts index 6a2cca3..7e3a586 100644 --- a/src/utils/styles/textStylesToTokens.ts +++ b/src/utils/styles/textStylesToTokens.ts @@ -45,6 +45,8 @@ export const textStylesToTokens = async ( fontSize: aliasVariables.fontSize || `${style.fontSize}px`, lineHeight: aliasVariables.lineHeight || getLineHeight(style.lineHeight), letterSpacing: aliasVariables.letterSpacing || getLetterSpacing(style.letterSpacing), + paragraphSpacing: aliasVariables.paragraphSpacing || `${style.paragraphSpacing}`, + paragraphIndent: aliasVariables.paragraphIndent || `${style.paragraphIndent}`, textDecoration: style.textDecoration, textCase: style.textCase },