Hey! We’d love to share with you the plugin we’ve developed to migrate your current Color Styles to Tokens easily.
What does this plugin do?
It converts the color styles you’ve already created in Penpot into a JSON file compatible with Design Tokens. Then, you can import this file into the Tokens tab to replicate the same structure as your styles.
Things to keep in mind:
-
If your styles are grouped, those groups will be turned into token sets.
-
It works with solid colors and colors with opacity, but not with images or gradients (those aren’t supported by tokens yet).
-
Keep in mind that styles only store raw values, while tokens can also store references to other existing colors, so you will be able to create those references once imported.
-
This file gives you a solid starting point for your color system - no need to recreate everything manually.
Plugin page:
Install URL:
https://colors-to-tokens-plugin.pages.dev/assets/manifest.json