In the Spectrum Components UXP plugin in the plugin marketplace you can create the user interface of the Spectrum components like SP-Button, SP-Input and so on and modify their colors and properties via the plugin panel.
If an Adobe XD user or designer changes a spectrum component instance on the artboard can the Spectrum UXP plugin add that information to the shared plugin data property? Have you already thought about adding this?
For example, if the graphic designer adds a Spectrum button to the artboard and changes the background from blue to green from the Spectrum UXP Panel can the Spectrum plugin add
component.sharedPluginData = {type: "sp-button"; backgroundColor: "rgba(0, 255, 0, 1)" };
That way, other plugins can see what has changed and use that information when exporting. “Here is a spectrum component, that has a blue background. OK I will export ‘SP-Button’ with a blue background instead of SVG ellipse.”
https://adobexdplatform.com/plugin-docs/reference/scenegraph.html#SceneNode-sharedPluginData