Gets the CSS code of the site's theme.
Use the getSiteThemeHtml()
function to get an HTML element containing the CSS code of a site's
theme colors and fonts.
Use this function when embedding a custom element in a Wix site where the page's stylesheet
is inaccessible, such as when using a shadow root or an internal iframe.
function getSiteThemeHtml(options: getSiteThemeHtmlOptions): Promise<string>;
The options used when getting the HTML element.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.