Make registerComponent accept style tokens as choices

registerComponent could accept the style tokens as choices.

For instance, I am registering the components of nextui in Plasmic.
Even though I already created all the style tokens I want to use, when defining the size of a Text component I have to manually write a size value.
I wish I could just select the size from my style tokens list

How would you want the code component to receive the selected token? As the resolved value (“12px”) or a css variable reference, etc?

That’s a good question, but I think we probably can’t find a one-fits-all solution. The resolved value is probably the most universal and least error-prone solution.