mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2025-01-10 09:00:08 -05:00
881ccabe86
* fixes in text nodes * fix comment * allow design.penpot.app * wip * wip * add position data * wip agaaain * added translate growtype * use a random url just to get a 404 on gfonts call * leave the config, just in case someone wants to try it * translated line height & letter spacing; Created new type for text positionData * text strokes * several fixes * compiled penpot lib with fix * updated penpot lib * fix lint * remove proxy * correctly translate font style * fix grow type to reflect vertical trim * Fix font segments * remove comment * changeset --------- Co-authored-by: Alex Sánchez <sion333@gmail.com>
3 lines
111 B
TypeScript
3 lines
111 B
TypeScript
export const translateFontVariantId = (style: string) => {
|
|
return style.toLowerCase().replace(/\s/g, '');
|
|
};
|