This article is deprecated. The issue was fixed in the 7.1.5.xx ShortPoint version.
Please proceed with the upgrade:
- Download the latest ShortPoint version:
- Follow the upgrade steps here: Tutorial: How to Upgrade to ShortPoint SPFx 7.1.5.xx Version (New Upgrade)?
You have noticed that some colors on your Modern Communication and Teams site pages revert to the default SharePoint theme color:
Colors from Theme Builder Color Palette:
Refreshing the page sometimes fixes the issue.
Due to recent update from Microsoft side, SharePoint is now applying the default out-of-the-box color theme on some Communication and Teams sites instead of theme colors selected by user.
Important: The following workaround will not fix the colors on the system pages (e.g., Site contents, Site pages, Documents etc.). We are planning to fix this issue in our upcoming release.
Step 2: Add the fix code
var themeData = JSON.parse(response.d.GetContextWebThemeData);
var theming = shortpoint.branding.util.spfx.theming;
var theme = theming.convertOldThemeStructureToSpfx(themeData);
Note: if the changes do not reflect immediately, try re-entering the theme colors (Theme Builder > Branding > Color Palette) and publishing them again.