Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix migration script for lineHeight

Oleg Isonen7ee3a3565f41
diff --git a/codemod/migrate-tokens.ts b/codemod/migrate-tokens.ts
index 6d394c3b9a..fd1780f25b 100644
--- a/codemod/migrate-tokens.ts
+++ b/codemod/migrate-tokens.ts
@@ -193,9 +193,9 @@ const fontSizeValues = new Map([
const lineHeightProps = ["lineHeight"];
const lineHeightValues = new Map([
- ["15px", "$3"],
- ["16px", "$3"],
- ["20px", "$4"],
+ ["15px", "3"],
+ ["16px", "3"],
+ ["20px", "4"],
]);
const updateProperty = (