Imaginet blog

Customizing SharePoint Themes Using PowerShell

When it comes to choosing the color scheme for your SharePoint site, the default options may not be quite what you are looking for. Out of the box, SharePoint only comes with 12 distinct color schemes. And most of the time, these color schemes do not mesh well with your Company’s branding. To perfectly match your Company’s color scheme, you can create and upload custom themes.

Using Microsoft theme designer, customizing SharePoint themes is pain-free and made even easier. This designer is available at Fluent UI Theme Designer (windows.net). With this designer, you can set primary, secondary, and background colors. These color options are shown in real time using an example of a SharePoint page with icons, drop-down menus, and free text boxes.

customizing Sharepoint themes

 One of the best features of the Fluent UI Theme Designer is the “Accessibility Checker” which shows how legible the text is with the chosen color scheme.

accessinility checker

As you can see in the example above, the color scheme chosen shows a contrast ratio error with the primary and background colors. Playing around with the different shades of these colors can give you a theme that passes all the accessibility tests and is ready to export and install.

After choosing the appropriate colors for your customized theme, follow the instructions below to export and install.

1.     Click the “Export Theme” button at the top right of the page.

2.     Click on the PowerShell option, select all and copy the text to a text editor, such as Notepad.

3.     Download and install the SharePoint Online Management app from Microsoft here.

4.     Open the SharePoint Online Management app.

5.     At the prompt type: Connect-SPOService -Url https://domain-admin.sharepoint.com (replace domain with the appropriate SharePoint domain name), then press Enter.

6.     At the login screen, log in with your SharePoint Admin credentials.

7.     Once logged in, at the command prompt, type $themepalette =Paste in the code from Step 2. The window should look like this:

Sharepoint online management shell

8.     Press Enter, then type the following: Add-SPOTheme -Identity “Theme Name” -Palette $themepalette -IsInverted $false (Replace Theme Name with the name you want to give your theme). Note this name will be visible to those with access to the change the look, so give it a name appropriate to your Company. Press Enter and the theme will be installed and can be chosen from the “Change the Look” menu.

Sharepoint theme customization

Hope this tutorial helps you quickly and easily customize the look of your SharePoint site to reflect your professional style and brand.

discover more

Business AUtomation with Powe Automate Workflows

How to Enhance Power Automate Flows

Power Automate is an incredibly powerful tool, but it can be difficult to get the most out of it. Learn how to enhance your flows with this comprehensive guide. Get…

ChatGPT for Application Development, How to use ChatGPT, OpenAI, Bing Chatbot,

Optimise Learning & Efficiency of Application Development with ChatGPT

The article discusses how artificial intelligence (AI), specifically the AI-powered language model ChatGPT, can be integrated into software development processes. ChatGPT can be utilized for tasks such as providing explanations…

microsoft intune device management, intune secure remote work access, intune secure remote work setup, intune secure remote work policy, intune secure remote work authentication, microsoft intune remote access, microsoft intune secure access, intune user access control, microsoft intune secure remote desktop access, microsoft intune remote app access

Uses of Intune in a Remote Work Environment

Microsoft Intune is the perfect solution to help you manage and secure your remote work environment. It provides easy access to all your apps, data, and resources while ensuring compliance…

Let’s Build Something Amazing Together

From concept to handoff, we’d love to learn more about what you are working on. Send us a message below or call us at 1-800-989-6022.