2

My question is quite simple: how do you do (or which strategy do you have) when you theme a SP2019 Modern in prod env?

Since site design doesnt work in SP2019, I wonder what the easiest thing would be for site admins to change the colors etc on their sites, and newly created.

Upload a customized theme in the classic look, and use that for the modern sites maybe?

2

You can upload custom color palettes and font schemes to the Theme Gallery, and then use PnP PowerShell to apply the theme in SharePoint Server 2019.

The sample script should look like:

#Parameters
$SiteURL= "<SiteURL>"
 
#Connect to SP19
Connect-PnPOnline -Url $SiteURL -Credential (Get-Credential) #-UseWebLogin
 
#Change Set Theme
Set-PnPTheme -ColorPaletteUrl "/_catalogs/theme/15/palette008.spcolor" -BackgroundImageUrl "/_layouts/15/images/image_bg008.jpg" -FontSchemeUrl "/_catalogs/theme/15/fontscheme003.spfont"

Reference: Set-PnPTheme.

1
  • Thank you for the reply!
    – Rich Jnsn
    Jan 20 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.