Posts

Showing posts from August, 2022

Powershell to Create Custom theme for Modern SharePoint Pages

I used the theming designer to get me started with the theme color set. https://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/7.0/theming-designer/index.html I then changed a few colors directly to more match the specific cooperate color codes. Easy as you please. #Set Admin Center URL $AdminCenterURL = "https://XXXXXXXXXXXXXXXXXXXXX.sharepoint.com/" #Connect to Admin Center Connect-PnPOnline -Url $AdminCenterURL -Interactive #Define the color palette $ThemePalette = @ { "themePrimary" = "#313842" ; "themeLighterAlt" = "#f5f6f7" ; "themeLighter" = "#d7dbe1" ; "themeLight" = "#b7bdc6" ; "themeTertiary" = "#e26653" ; "themeSecondary" = "#de543e" ; "themeDarkAlt" = "#2c333c" ; "themeDark" = "#252b32" ; "themeDarker" = "#1b1f25...