One of the limitations of modern SharePoint sites is the end-user options to brand them to meet company brand guidelines.

In this post, we will show you how to easily apply your corporate colour scheme to modern SharePoint sites, and add a logo to give your users a familiar UI experience.

  1. Create your modern SharePoint site
bascsite

2. Navigate to Microsoft UI Fabric Designer

3. Select corporate colour values

fabric

4. Select Export Theme, and copy PowerShell Values

5. Paste the powershell values into the following PowerShell script and run

Connect-SPOService “https://SPTenant-admin.sharepoint.com/” -Credential (Get-Credential)

$themeName = “SR1 Development”

$palette = @{
“themePrimary” = “#000000”;
“themeLighterAlt” = “#898989”;
“themeLighter” = “#737373”;
“themeLight” = “#595959”;
“themeTertiary” = “#373737”;
“themeSecondary” = “#2f2f2f”;
“themeDarkAlt” = “#252525”;
“themeDark” = “#151515”;
“themeDarker” = “#0b0b0b”;
“neutralLighterAlt” = “#faf9f8”;
“neutralLighter” = “#f3f2f1”;
“neutralLight” = “#edebe9”;
“neutralQuaternaryAlt” = “#e1dfdd”;
“neutralQuaternary” = “#d0d0d0”;
“neutralTertiaryAlt” = “#c8c6c4”;
“neutralTertiary” = “#a19f9d”;
“neutralSecondary” = “#605e5c”;
“neutralPrimaryAlt” = “#3b3a39”;
“neutralPrimary” = “#323130”;
“neutralDark” = “#201f1e”;
“black” = “#000000”;
“white” = “#ffffff”;

}

Add-SPOTheme -Name $themeName -Palette $palette -IsInverted:$false -Overwrite

6. Navigate back your your SharePoint site, and select your new Theme from the top right cog (Change the Look)

branded

You will also see options for changing the logo, header style, footer, and navigation style.

If you need any help implementing this in your site or have any more advanced branding requirements, then please get in touch.