Using JavaScript in SharePoint Online how can I get the current site's theme name?
I'm writing a script that needs to make some decisions based on whether the site is set to the default "Office" theme or not.
I've found examples online of how to do something similar using server-side code and plenty on how to set the theme but there seems to be a lack of information on how to read the theme data through JavaScript.