Symptom: When uploading a tailwind config and clicking "Add Styles" the plugin is unresponsive.
Console Error:
TypeError: Cannot destructure property `theme` of 'undefined' or 'null'.
at i (PLUGIN_1_SOURCE:1)
at figma.ui.onmessage.e (PLUGIN_1_SOURCE:1)
at e.RealmsVm.callFunction (figma_app.74b6b7c35d7299663668407dd62f7a27.min.js:455)
at t.PluginUIHandle.z [as messageHandler] (figma_app.74b6b7c35d7299663668407dd62f7a27.min.js:821)
at windowMessageEventListener.e (figma_app.74b6b7c35d7299663668407dd62f7a27.min.js:816)
Symptom: When uploading a tailwind config and clicking "Add Styles" the plugin is unresponsive.
Console Error:
tailwind.config.js: