Some code component questions

It’s synced from plasmic

PlasmicDesignTokenItem.tsx

I see, so somewhere you are using DesignTokenItem and you are passing in a color?

I registered ColorComponent and use it in DesignTokenItem in Plasmic

hmm sorry I think I maybe misunderstood the use case. What color are you trying to pass into the ColorComponent?

I have a json file with a list of color names and values.
This is being used to populate a Token sheet.
I can get the text values and the hex values, but I can’t apply the Hex value to the color swatch.

As you can see here, there are 3 hex values, needed to replace 3 blues squares(swatches)

Happy to huddle, so I can share my screen, if you prefer.

Can you show me how you are passing the hex color from your json list?

Thanks for asking. As I could see the FIXED!!!
colorSwatch2 needed to be color

 <DesignTokenItem
    description={description}
    textValue={value}
    tokenName={tokenName}
    value={value}
    variant={variant}
    radius={value}
    fontSize={value}
    color={value}
/>

Awesome.