Sharepoint 365 应用程序使用默认主题而不是主机主题

Sharepoint 365 App using default theme instead of host theme

我们的提供商托管的 Sharepoint 365 应用程序不再提供应用于 SharePoint(应用程序托管)网站的主题。

我们使用内置主题之一(橙色)- 已正确应用于主机站点并用于我们的应用程序。

我们将 CSS 添加到以下标签中

<link href='@ViewBag.SPHostUrl/_layouts/15/defaultcss.ashx' type='text/css' rel='stylesheet' />

其中@ViewBag.SPHostUrl替换为App宿主url。

结果 URL 重定向到 (HostUrl)/_layouts/15/16.0.4208.1224/1033/styles/corev15app.css

其中不包含橙色主题的 css,而是提供默认的蓝色 Office 主题。

虽然最近更新了站点,但检索主题的方法没有-我找不到解释,更改主机站点的外观无效。

如有任何帮助,我们将不胜感激!

这似乎是暂时的共享点问题,最终在没有我们干预的情况下得到解决。