Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-gupta7 committed Jan 7, 2025
1 parent 4fad30c commit 708f438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/tokens-studio-for-figma/src/plugin/pullStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ export default function pullStyles(styleTypes: PullStyleOptions): void {
}));

typography = figmaTextStyles.map((style) => {
console.log("figmatextstyle", style);
const foundFamily = fontFamilies.find((el: StyleToCreateToken) => el.value === style.fontName.family);
const foundFontWeight = fontWeights.find(
(el: StyleToCreateToken) => el.name.includes(slugify(style.fontName.family)) && el.value === style.fontName?.style,
Expand Down
3 changes: 1 addition & 2 deletions packages/tokens-studio-for-figma/src/plugin/pullVariables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ export default async function pullVariables(options: PullVariablesOptions): Prom
tokenValue = `${(Number(tokenValue) / parseFloat(String(baseRem))).toFixed(3)}rem`;
} else if (options.useDimensions) {
tokenValue = `${tokenValue.toFixed(3)}px`;
}
else {
} else {
tokenValue = Number(tokenValue.toFixed(3));
}
}
Expand Down

0 comments on commit 708f438

Please sign in to comment.