
This is a plugin which can generate Ubuntu style pet names for selected text nodes in Figma and Penpot.
To build the plugins run npm run build
. This will create a dist
folder. Follow Figmas and Penpots on how to locally import these build plugins.
This is esentially a React app. Both plugins share most of their code. They just need different plugin Typescript files which are located under ./src/plugin/
and different manifest files located under ./plugin-manifests
.
The vite config contains different build modes for the HTML and Javascript for both Figma and Penpot. Executing npm run build
runs all of them.
The contents of the public folder are required by the Penpot plugin.