0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-02-09 16:48:01 -05:00

chore(cli): temporarily avoid conflicting normalized typography names

This commit is contained in:
Roberto Redradix 2023-08-23 18:29:32 +02:00 committed by Roberto RedRadix
parent e19ea35b84
commit 61ec971192

View file

@ -21,6 +21,8 @@ export async function generateCssFromConfig(
const fileClassname = textToValidClassname(fileName)
for (const typography of typographies) {
if (typography.path === '📱Title') continue // FIXME Conflicting emoji names
const cssProps = Penpot.getTypographyAssetCssProps(typography)
const objectClassname = textToValidClassname(typography.name)
const className = `${fileClassname}--${objectClassname}`