Tokens Disappear After Manual Additions Post-Import

Hi everyone,

I’m facing an issue with the design tokens feature in Penpot. When I import a token file (JSON), it works fine initially. But after that, if I manually add new tokens to the same file inside Penpot, those new tokens disappear after I refresh the page. Only the originally imported tokens remain — all the manually added ones are lost.

Is this a known bug or am I doing something wrong? Is there any way to make sure that manually added tokens are saved properly after importing?

Thanks in advance for any help!

Hello @reham, could you send the Json file to support@penpot.app?

1 Like

I’ve opened a bug in our backlog for this, you can find the details on Taiga.

This is most likely happening because the data wasn’t actually saved before the browser was refreshed. While we work on this, as a workaround, if you wait a few seconds, the new tokens should be saved.

2 Likes

I tried again just now and it seems to be working the tokens stayed after refresh!
Really appreciate your help and support through this. Thank you!

3 Likes

Unfortunately, I’m afraid the problem is still there. The issue came back again, even when I tried updating existing tokens —not just when adding new ones. After refreshing the page, any changes I made (even to existing tokens) disappear, despite the green dot indicating they were saved.