Create Custom Theme in Sharepoint Online Modern UI using PowerShell

Create New Theme in Sharepoint Online Modern UI

Step 1: Decide your Hex color code e.g. #5DBCD2 , To find color code use https://imagecolorpicker.com/


Step 2: Open Site https://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/theming-designer/index.html

Step 3: Enter your color Code in Primary color

Step 4: Click on "Export Theme" Button form Top Right corner

Step 5: Copy Powershell Text and Execute Below command with your Powershell

Step 6: Powershell Commad run in Sharepoint Online Management Shell

Connect-SPOService -Url https://contoso-admin.sharepoint.com

$themeColors =@{
"themePrimary" = "#5dbcd2";
"themeLighterAlt" = "#f7fcfd";
"themeLighter" = "#e1f4f8";
"themeLight" = "#c9eaf1";
"themeTertiary" = "#97d5e3";
"themeSecondary" = "#6dc3d7";
"themeDarkAlt" = "#53a9bc";
"themeDark" = "#468f9f";
"themeDarker" = "#346975";
"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 -Identity "My First Theme" -Palette $themeColors -IsInverted $false

Comments

Unknown said…
As claimed by Stanford Medical, It is really the ONLY reason this country's women live 10 years longer and weigh 19 kilos less than we do.

(Just so you know, it has NOTHING to do with genetics or some secret exercise and really, EVERYTHING to do with "how" they are eating.)

BTW, What I said is "HOW", and not "what"...

CLICK on this link to uncover if this little test can help you decipher your true weight loss possibilities