-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test use of shared libraries / Penpot #46
Comments
would love to take this |
@editwentyone hope you don't mind, I grabbed this because I wanted to move further and build wallet designs already
Yes. There's a dialog to confirm the action. In a separate file, I updated the component and it changed immediately in the shared library. However, inly the icon changed, and the color didn't. I did similar with Small icon text button, this time color changed, but the copy didn't: Tried it several times, and sometimes color updates, other times not - I don't understand the underlying logic |
I duplicated whole test team to my local "Default" team. Copied files are already a shared library and there's no reference to the original files, no issues there. |
I found performance way better, however that may be affected by other optimisations I did with my browser (I had an extension which slowed down some sites), so I am not sure how it was it. Jumping now to our original files, it seems that it was mostly the extension fault, but performance still feels better in the test files. |
I think the answer is yes - each team need to copy the library into their team. |
I think it's not possible - I may be wrong though, but I haven't succeeded in doing so |
I saw in the export help page, that you can export multiple Penpot files as a single .penpot file. So let's say we have a main file with all the screens and 3 shared library files. When you want to download the main file, it will bundle all libraries in as well. If you then import this again, you get 4 files added to your account. That is pretty crucial for letting people easily clone this multi-file setup. |
Shared libraries can potentially be very useful in improving our workflows, but also add a bit of complexity. Let's feel out what's possible.
One approach could be to split the icons into one library, as that's a separate project already. Second, the screens could be in a separate file from the UI Kit elements (colors, type, buttons, etc).
Things to look into:
Eventually, we could post the UI Kit files on the Penpot shared libraries page.
The text was updated successfully, but these errors were encountered: