+ ${Object.entries(compObj).map(([key, c]: [string, any]) => {
+ const props = Object.fromEntries(c.properties);
+ const typo = props.typography as any;
+ const typoStyles = typo?.type === 'typography' ? `
+ font-family: '${typo.fontFamily || 'inherit'}';
+ font-size: ${toCssValue(typo.fontSize) || 'inherit'};
+ font-weight: ${typo.fontWeight || 'inherit'};
+ ` : '';
+
+ return `
+
+
+
+
+ ${Object.entries(props).map(([pk, pv]) => `
+ ${pk}
+ ${toCssValue(pv)}
+ `).join('')}
+
+
+ `;
+ }).join('')}
+
+