Note*
In order to perform this step you need to be an administrator of your O365 Tenant.
Make sure that you have the latest version of the SharePoint Online Management Shell available on the Microsoft Download site.
Connect to your SharePoint Online tenant by running the SharePoint Online Management Shell as Administrator (right-click on the icon).
Connect-SPOService -Url https://tenant-admin.sharepoint.com -credential $credential
When the Sign in window pops up, use your admin credentials to log in:
e.g.
administrator@tenant.onmicrosoft.com
Important Note:
This is just an example of a section between the dotted lines. It is not for installation. To install color palettes, copy the sections directly from the MT-ModernColorPalettes.pdf file, not from this example.
...............................................................................
$themepallette = @{
"themePrimary" = "#00ffff";
"themeLighterAlt" = "#00ffff";
"themeLighter" = "#00ffff";
"themeLight" = "#00ffff";
"themeTertiary" = "#00ffff";
"themeSecondary" = "#00ffff";
"themeDarkAlt" = "#00ffff";
"themeDark" = "#00ffff";
"themeDarker" = "#00ffff";
"neutralLighterAlt" = "#00ffff";
"neutralLighter" = "#00ffff";
"neutralLight" = "#00ffff";
"neutralQuaternaryAlt" = "#00ffff";
"neutralQuaternary" = "#00ffff";
"neutralTertiaryAlt" = "#00ffff";
"neutralTertiary" = "#00ffff";
"neutralSecondary" = "#00ffff";
"neutralPrimaryAlt" = "#00ffff";
"neutralPrimary" = "#00ffff";
"neutralDark" = "#00ffff";
"black" = "#00ffff";
"white" = "#00ffff";
"bodyBackground" = "#00ffff";
"bodyText" = "#00ffff";
"accent" = "#00ffff";
}
Add-SPOTheme -Name "MT Palette Name" -Palette $themepallette -IsInverted $false -Overwrite
...............................................................................
Note:
To remove the color palette (SPO theme) use the following cmdlet:
Remove-SPOTheme -Name "MT Palette Name"