Capabilities API doesn't provide a way to know the theme that was used for developing app in the HUB.
This is extremely inconvenient creating mashups as by default it's using Sense Classic ("sense") theme.
My idea is to apply the same HUB theme automatically when app is opened in mashup scenario or alternatively provide a way to know the theme, e.g. as a property in app layout or using some new method in the API.
NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.