This website uses cookies to ensure you get the best experience on our website.
Accept

Efficient Way To Create And Send Invitation For Bid

Every day, general contractors send out individual project bid requests, which can take time and energy. General contractors can use...
Read More
Efficient Way To Create And Send Invitation For Bid

What is RFQ And How A Bids Managing Software Uses It?

Companies rely on different vendors for procuring services or products that will benefit them. As a part of the procurement...
Read More
What is RFQ And How A Bids Managing Software Uses It?

Benefits of Employee Database Software

Many companies that maintain manual employee records without using appropriate employee database software face issues such as missing documents, outdated...
Read More
Benefits of Employee Database Software

Employee Offboarding Checklist : Improve Offboarding Process

No matter under what circumstances an employee leaves the organization, the overall employee offboarding process should not hurt any relationship...
Read More
Employee Offboarding Checklist : Improve Offboarding Process

Everything You Need to Know About Extranet

What is an Extranet? An organization's intranet includes an extranet. A network of communication that uses TCP/IP, or the Internet...
Read More
Everything You Need to Know About Extranet

How to get Custom SharePoint Theme for your Modern SharePoint site

A couple of months ago, Microsoft introduced new branding and theming capabilities for the Modern SharePoint sites in Office 365. It came up with eight attractive themes which were in-built and you could simply choose any one and apply. But as a SharePoint administrator it also provided the ability to create your own custom theme using the office UI Fabric Theme Generator.

This attractive SharePoint Site theming option allows user to apply custom or default themes to all modern sites (communication or team sites) to deliver new engaging and familiar looks.

The process is extremely simple. In this article below, we are sharing the step by step process of using the theme generator using PowerShell.

1. Go to https://developer.microsoft.com/en-us/fabric

2. Then go to Components>>Customizations>>Colors

(https://developer.microsoft.com/en-us/fabric#/customizations/colors)

Customizations

3. As we proceed further to create our custom theme, we can choose from various color options available under:

a) Primary color theme

b) Body text color

c) Body background color

4. From the color palette choose a specific shade for each one of them; these colors will determine what your custom theme will look like.

Color Platte

5. Copy the PowerShell generated in the Output.

Output

6. Now open PowerShell and connect to your SharePoint Tenant. To Open PowerShell, go to your Windows menu and search for “Windows PowerShell ISE”– Run as administrator.

7. To run the PowerShell cmdlets for theme management, you must do the following:

Download and install the SharePoint Online Management Shell. If you already have a previous version of the shell installed, uninstall it first and then install the latest version.

8. To connect PowerShell with your SharePoint online tenant-

Run “Connect-SPOService” command in your PowerShell.

9. Next, It will ask for SharePoint tenant URl where you want to add the custom color theme.

10. Enter your Microsoft account credentials if prompted.

11. Write “$themecontoso = “ and paste copied PowerShell script

12. Now again write “$themecontoso” at the end of the script and press enter and you will find that the values are assigned to variables.

13. To add this theme, write the below command, and assign a proper name to your theme so it is easily identified.

a) For Light colored theme the command will be: Add-SPOTheme –Name “Theme Name” –Palette $themecontoso –IsInverted $false

b) And for Dark colored theme the command will be : Add-SPOTheme –Name “Theme Name” –Palette $themecontoso –IsInverted $fTrue

14. To Apply the theme:

a) Open your modern site and click on the cog icon

b) Click on “Change the Look”

c) Select your custom theme and click Apply

15. Your custom theme will start appearing on the right side panel.

SharePoint site theming: PowerShell cmdlets

The following cmdlets are available for managing site themes from PowerShell:

a) Add-SPOTheme – Creates a new custom theme, or overwrites an existing theme to modify its settings.

b) Get-SPOTheme – Retrieves settings for an existing theme.

c) Remove-SPOTheme – Removes a theme from the theme gallery.

d) Set-SPOHideDefaultThemes – Specifies whether the default themes should be available.

e) Get-SPOHideDefaultThemes – Queries the current SPOHideDefaultThemes setting.

Try on your own or ask for help!

So, isn’t it simple to create your own branded theme which can be easily applied all over your Modern SharePoint tenant? Just try the simple steps and let us know how it went.

Even if you face any challenges, the Beyond Intranet SharePoint Consulting team of expert developers is always there to help. Connect with us at [email protected] and we will respond to you as soon as we can.

 

Post a Comment