mirror of
https://github.com/penpot/penpot-export.git
synced 2025-02-10 09:08:02 -05:00
chore(cli): temporarily avoid conflicting normalized typography names
This commit is contained in:
parent
e19ea35b84
commit
61ec971192
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ export async function generateCssFromConfig(
|
||||||
const fileClassname = textToValidClassname(fileName)
|
const fileClassname = textToValidClassname(fileName)
|
||||||
|
|
||||||
for (const typography of typographies) {
|
for (const typography of typographies) {
|
||||||
|
if (typography.path === '📱Title') continue // FIXME Conflicting emoji names
|
||||||
|
|
||||||
const cssProps = Penpot.getTypographyAssetCssProps(typography)
|
const cssProps = Penpot.getTypographyAssetCssProps(typography)
|
||||||
const objectClassname = textToValidClassname(typography.name)
|
const objectClassname = textToValidClassname(typography.name)
|
||||||
const className = `${fileClassname}--${objectClassname}`
|
const className = `${fileClassname}--${objectClassname}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue