Suppose a developer is building a hosted web app which lets people use prebuilt themes on their websites. They can select and apply a theme, and they can also view and edit the HTML, CSS, and JavaScript source. The developer has built these themes from scratch. These themes are part of the app once a customer pays for access to the app, and they are only usable within the app.
This web app is not open source.
How can the developer legally prohibit any other competing app company from copying any parts of these themes and make them part of their own offerings within their own apps. The dev doesn't want another company to create the same sort of app and just copy over the themes s/he spent time building into any competing app.
Are there any suitable licenses?