Skip to content

Conversation

@floscr
Copy link
Collaborator

@floscr floscr commented Sep 5, 2025

Need to add this to the tokens plugin runtime (I've just edited the file in node_modules)
frontend/node_modules/@penpot/plugins-runtime/index.js

      getTokens() {
        return e("content:read"), t.context.getTokens();
      },
      setTokens(tokens) {
        return e("content:write"), t.context.setTokens(tokens);
      },

Here's the plugin that uses the API:
https://github.com/tokens-studio/penpot-github-sync-mvp/

@floscr floscr force-pushed the hyma/135-import-export-composite-typography-token branch 4 times, most recently from 425b090 to 2e540ce Compare September 9, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants