html2figma
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -194,3 +194,3 @@ import { __assign, __awaiter, __generator } from "tslib"; | ||
} | ||
frame = __assign(__assign({ type: 'FRAME', clipsContent: overflowHidden, x: rect.left - parentRect.left, y: rect.top - parentRect.top, width: rect.width, height: rect.height, fills: fills, layoutMode: layoutMode, primaryAxisSizingMode: 'FIXED', counterAxisSizingMode: 'FIXED', primaryAxisAlignItems: primaryAxisAlignItems, counterAxisAlignItems: counterAxisAlignItems, paddingLeft: parseUnits(computedStyle.paddingLeft).value, paddingRight: parseUnits(computedStyle.paddingRight).value, paddingTop: parseUnits(computedStyle.paddingTop).value, paddingBottom: parseUnits(computedStyle.paddingBottom).value, children: [], effects: shadowEffects }, strokes), borderRadii); | ||
frame = __assign(__assign({ type: 'FRAME', clipsContent: overflowHidden, x: rect.left - parentRect.left, y: rect.top - parentRect.top, width: rect.width, height: rect.height, fills: fills, layoutMode: layoutMode, primaryAxisSizingMode: 'FIXED', counterAxisSizingMode: 'FIXED', primaryAxisAlignItems: primaryAxisAlignItems, counterAxisAlignItems: counterAxisAlignItems, paddingLeft: parseUnits(computedStyle.paddingLeft).value, paddingRight: parseUnits(computedStyle.paddingRight).value, paddingTop: parseUnits(computedStyle.paddingTop).value, paddingBottom: parseUnits(computedStyle.paddingBottom).value, children: [], effects: shadowEffects, opacity: parseFloat(computedStyle.opacity) }, strokes), borderRadii); | ||
frame.children = layers; | ||
@@ -197,0 +197,0 @@ return [2 /*return*/, frame]; |
{ | ||
"name": "html2figma", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "convert HTML to figma Layers", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
133657
57
1822