Forum Discussion
NeilNorpa
Jan 17, 2022Copper Contributor
Site Design Template not Applying
Hello, i have had an ongoing nightmare for too long now and its based around simply " i say simply" building a template for my default team sites. So my steps have been as follows i conne...
AlRoome1060
May 31, 2024Copper Contributor
NeilNorpa a little late but hopefully helpful, I'd remove everything from here "themeJson": {} and replace it with "themeName": "Title of your theme" under the "verb": "applyTheme", You need to set the theme first before you applyTheme.
To apply your theme use this below.
Connect-SPOService -Url https://<Tenant Name>-admin.sharepoint.com/
$themepalette = @{
"themeLight"="#c7c8ca";
"themeTertiary"="#659ffc";
"black"="#454142";
"neutralSecondary"="#939598";
"themeSecondary"="#005EB8";
"themeDarker"="#00368c";
"neutralQuaternary"="#d0d0d0";
"neutralPrimaryAlt"="#8a8486";
"neutralPrimary"="#636466";
"themeDark"="#00A3E0";
"themeLighter"="#EDEEF1";
"themePrimary"="#000000";
"neutralTertiary"="#004B87";
"neutralQuaternaryAlt"="#cccccc";
"themeLighterAlt"="#edeef1";
"white"="#ffffff";
"neutralLighter"="#f0f0f0";
"neutralTertiaryAlt"="#c8c6c4";
"neutralDark"="#5c5759";
"themeDarkAlt"="#61e26e";
"neutralLighterAlt"="#f0f0f0";
"neutralLight"="#edebe9";
}
Add-SPOTheme -Identity "<name of your theme>" -Palette $themepalette -IsInverted $false