That theme component hasn’t been updated for a while and the Discourse theme system has changed a lot since it was released. I would not recommend that you use it.
I’ve moved it to the #customization:theme:broken-theme category to prevent any further confusion.
If you have more questions about CORS that relate to Discourse, please feel free to create another topic for that.